From 58da71c2a4c42a354462ee8c6e332c98c1560a58 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sun, 20 Aug 2017 00:08:14 +0200 Subject: p/fuel: Rebase for MaaS dynamic fabric support Change-Id: Ia5bab57d6081790ac431eab9c9b5abfb2b9cd853 Signed-off-by: Alexandru Avadanii --- .../0004-mcp-salt-formulas-Add-enable-armband-formula.patch | 4 ++-- .../0009-classes-baremetal-AArch64-virtio-NIC-names-sync.patch | 2 +- .../0010-maas-Add-curtin_userdata_arm64_generic_xenial.patch | 10 +++++----- .../0011-network-public-mgmt-Use-arm-pod3-POD-config.patch | 2 +- .../0012-classes-baremetal-arm-pod3-config-hardcode.patch | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/patches/opnfv-fuel/0004-mcp-salt-formulas-Add-enable-armband-formula.patch b/patches/opnfv-fuel/0004-mcp-salt-formulas-Add-enable-armband-formula.patch index 47c6d256..ab0462d0 100644 --- a/patches/opnfv-fuel/0004-mcp-salt-formulas-Add-enable-armband-formula.patch +++ b/patches/opnfv-fuel/0004-mcp-salt-formulas-Add-enable-armband-formula.patch @@ -36,10 +36,10 @@ Signed-off-by: Alexandru Avadanii create mode 100644 mcp/salt-formulas/armband/vgabios.sls diff --git a/mcp/config/states/maas b/mcp/config/states/maas -index e470cea..018eb54 100755 +index acee8c0..f0de58d 100755 --- a/mcp/config/states/maas +++ b/mcp/config/states/maas -@@ -48,6 +48,7 @@ wait_for "! salt '*' test.ping | fgrep -q 'Not connected'" +@@ -48,6 +48,7 @@ wait_for "! salt '*' test.ping | tee /dev/stderr | fgrep -q 'Not connected'" salt -C '* and not cfg01* and not mas01*' state.apply linux,ntp diff --git a/patches/opnfv-fuel/0009-classes-baremetal-AArch64-virtio-NIC-names-sync.patch b/patches/opnfv-fuel/0009-classes-baremetal-AArch64-virtio-NIC-names-sync.patch index 2c8059d0..5609a976 100644 --- a/patches/opnfv-fuel/0009-classes-baremetal-AArch64-virtio-NIC-names-sync.patch +++ b/patches/opnfv-fuel/0009-classes-baremetal-AArch64-virtio-NIC-names-sync.patch @@ -106,7 +106,7 @@ index 5c33f9e..8b09e76 100644 - - ${_param:deploy_nic}.300 + - ${_param:trunk_nic}.2183 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml -index b2813f9..c67bc3e 100644 +index d193469..73215ee 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml @@ -4,10 +4,10 @@ classes: diff --git a/patches/opnfv-fuel/0010-maas-Add-curtin_userdata_arm64_generic_xenial.patch b/patches/opnfv-fuel/0010-maas-Add-curtin_userdata_arm64_generic_xenial.patch index b1c3ca58..aa521a1f 100644 --- a/patches/opnfv-fuel/0010-maas-Add-curtin_userdata_arm64_generic_xenial.patch +++ b/patches/opnfv-fuel/0010-maas-Add-curtin_userdata_arm64_generic_xenial.patch @@ -94,11 +94,11 @@ index 0000000..b969e07 ++{{endif}} ++{% endraw %} diff --git a/mcp/patches/patches.list b/mcp/patches/patches.list -index acacb47..8bc328a 100644 +index 1a651cf..c66ecb0 100644 --- a/mcp/patches/patches.list +++ b/mcp/patches/patches.list -@@ -4,3 +4,4 @@ - /usr/share/salt-formulas/env: 0004-maas-region-use-authorized_keys-1st-entry.patch - /usr/share/salt-formulas/env: 0005-maas-vlan-DHCP-enable-on-fabric-2.patch - /usr/share/salt-formulas/env: 0006-linux.network.interface-noifupdown-support.patch +@@ -5,3 +5,4 @@ + /usr/share/salt-formulas/env: 0005-maas-module-Obtain-fabric-ID-from-CIDR.patch + /usr/share/salt-formulas/env: 0006-maas-module-Add-VLAN-DHCP-enable-support.patch + /usr/share/salt-formulas/env: 0007-linux.network.interface-noifupdown-support.patch +/usr/share/salt-formulas/env: 0101-maas-Add-curtin_userdata_arm64_generic_xenial.patch diff --git a/patches/opnfv-fuel/0011-network-public-mgmt-Use-arm-pod3-POD-config.patch b/patches/opnfv-fuel/0011-network-public-mgmt-Use-arm-pod3-POD-config.patch index d0ad8784..b12cf277 100644 --- a/patches/opnfv-fuel/0011-network-public-mgmt-Use-arm-pod3-POD-config.patch +++ b/patches/opnfv-fuel/0011-network-public-mgmt-Use-arm-pod3-POD-config.patch @@ -27,7 +27,7 @@ index cf7b3b3..2b4e724 100755 # Variables below are disabled for now, to be re-introduced or removed later diff --git a/mcp/config/states/maas b/mcp/config/states/maas -index 018eb54..2dc3845 100755 +index f0de58d..4b306af 100755 --- a/mcp/config/states/maas +++ b/mcp/config/states/maas @@ -20,7 +20,7 @@ salt -C 'mas01*' state.apply linux.network.interface diff --git a/patches/opnfv-fuel/0012-classes-baremetal-arm-pod3-config-hardcode.patch b/patches/opnfv-fuel/0012-classes-baremetal-arm-pod3-config-hardcode.patch index 932f1829..229ea3a0 100644 --- a/patches/opnfv-fuel/0012-classes-baremetal-arm-pod3-config-hardcode.patch +++ b/patches/opnfv-fuel/0012-classes-baremetal-arm-pod3-config-hardcode.patch @@ -12,10 +12,10 @@ Signed-off-by: Alexandru Avadanii 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml -index c67bc3e..60a9459 100644 +index 73215ee..26115fe 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml -@@ -44,57 +44,57 @@ parameters: +@@ -48,57 +48,57 @@ parameters: machines: kvm01: interface: -- cgit 1.2.3-korg