Improvements for CICD 78/278/2
authorNaga Sugguna <ns156u@att.com>
Sun, 23 Sep 2018 23:56:48 +0000 (19:56 -0400)
committerNaga Sugguna <ns156u@att.com>
Thu, 27 Sep 2018 20:52:10 +0000 (16:52 -0400)
site type changed from edge to foundry
/opt/akraino/redfish changed to /opt/akraino/tools
sriov label added back, to controle plane and compute nodes

Change-Id: I149301d0d377aba8792fb09de7f2d15ba6423e88
Signed-off-by: Naga Sugguna <ns156u@att.com>
scripts/update_bios_settings.py
site/dellgen10/networks/common-addresses.yaml
site/dellgen10/profiles/host/compute-r01.yaml
site/dellgen10/profiles/host/cp-r01.yaml
site/dellgen10/site-definition.yaml
site/hpgen10/secrets/passphrases/ipmi_admin_password.yaml [deleted file]
templates/networks/common-addresses.j2
templates/profiles/host/compute-r01.j2
templates/profiles/host/cp-r01.j2
templates/site-definition.j2
tools/2genesis.sh

index d85d521..cd1736b 100644 (file)
@@ -56,7 +56,7 @@ def create_rc_masters(source, target_suffix):
     fd2.write("\n")
     fd2.close()
     print '{0} -> {1}'.format(source, target_file)
-    command = '/opt/akraino/redfish/apply_dellxml.sh --rc {0} --template dell_r740_g14_uefi_base.xml.template --no-confirm'.format(target_file)
+    command = '/opt/akraino/tools/apply_dellxml.sh --rc {0} --template dell_r740_g14_uefi_base.xml.template --no-confirm'.format(target_file)
     print 'command: {0}'.format(command)
     os.system(command)
 
index 398038a..21e5812 100644 (file)
@@ -62,6 +62,11 @@ data:
     - hostname: aknode41
     - hostname: aknode42
 
+  proxy:
+    http: ""
+    https: ""
+    no_proxy: []
+
   node_ports:
     drydock_api: 30000
     maas_api: 30001
index 2c1bd4d..b8a8fe4 100644 (file)
@@ -119,5 +119,6 @@ data:
       openstack-nova-compute: enabled
       openvswitch: enabled
       openstack-libvirt: kernel
+      sriov: enabled
       beta.kubernetes.io/fluentd-ds-ready: 'true'
 ...
index 677e4c7..bd74315 100644 (file)
@@ -169,5 +169,6 @@ data:
       elasticsearch-data: enabled
       postgresql: enabled
       kube-ingress: enabled
+      sriov: enabled
       beta.kubernetes.io/fluentd-ds-ready: 'true'
 ...
index c70996a..0aa12b2 100644 (file)
@@ -25,5 +25,5 @@ metadata:
   storagePolicy: cleartext
 data:
   revision: v4.0
-  site_type: edge
+  site_type: foundry
 ...
diff --git a/site/hpgen10/secrets/passphrases/ipmi_admin_password.yaml b/site/hpgen10/secrets/passphrases/ipmi_admin_password.yaml
deleted file mode 100644 (file)
index 523484d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
----
-##############################################################################
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.        #
-#                                                                            #
-# Licensed under the Apache License, Version 2.0 (the "License"); you may    #
-# not use this file except in compliance with the License.                   #
-#                                                                            #
-# You may obtain a copy of the License at                                    #
-#       http://www.apache.org/licenses/LICENSE-2.0                           #
-#                                                                            #
-# Unless required by applicable law or agreed to in writing, software        #
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT  #
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.           #
-# See the License for the specific language governing permissions and        #
-# limitations under the License.                                             #
-##############################################################################
-
-schema: deckhand/Passphrase/v1
-metadata:
-  schema: metadata/Document/v1
-  name: ipmi_admin_password
-  layeringDefinition:
-    abstract: false
-    layer: site
-  storagePolicy: cleartext
-data: calvin
-...
index e785ef2..c38ca28 100644 (file)
@@ -63,6 +63,11 @@ data:
     - hostname: {{master.name}}
 {% endfor %}
 
+  proxy:
+    http: ""
+    https: ""
+    no_proxy: []
+
   node_ports:
     drydock_api: 30000
     maas_api: 30001
index 52d93a6..be609de 100644 (file)
@@ -108,5 +108,6 @@ data:
       openstack-nova-compute: enabled
       openvswitch: enabled
       openstack-libvirt: kernel
+      sriov: enabled
       beta.kubernetes.io/fluentd-ds-ready: 'true'
 ...
index 9eba946..e59df91 100644 (file)
@@ -158,5 +158,6 @@ data:
       elasticsearch-data: enabled
       postgresql: enabled
       kube-ingress: enabled
+      sriov: enabled
       beta.kubernetes.io/fluentd-ds-ready: 'true'
 ...
index 5d33c32..bf44d95 100644 (file)
@@ -25,5 +25,5 @@ metadata:
   storagePolicy: cleartext
 data:
   revision: v4.0
-  site_type: edge
+  site_type: foundry
 ...
index 6b8c28f..0b70cd4 100644 (file)
@@ -44,7 +44,7 @@ source $(dirname $0)/env_$SITE.sh
 cd $YAML_BUILDS
 # Install OS on Genesis
 python $YAML_BUILDS/scripts/jcopy.py $SITE.yaml $YAML_BUILDS/tools/j2/serverrc.j2 $YAML_BUILDS/tools/"$GENESIS_NAME"rc
-/opt/akraino/redfish/install_server_os.sh --rc /opt/akraino/yaml_builds/tools/"$GENESIS_NAME"rc --skip-confirm
+/opt/akraino/tools/install_server_os.sh --rc /opt/akraino/yaml_builds/tools/"$GENESIS_NAME"rc --skip-confirm
 
 scp $YAML_BUILDS/tars/promenade-bundle-$SITE.tar $GENESIS_HOST:/tmp/
 ssh $GENESIS_HOST << EOF