aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0004-classes-baremetal-AArch64-virtio-NIC-names-sync.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/opnfv-fuel/0004-classes-baremetal-AArch64-virtio-NIC-names-sync.patch')
-rw-r--r--patches/opnfv-fuel/0004-classes-baremetal-AArch64-virtio-NIC-names-sync.patch91
1 files changed, 34 insertions, 57 deletions
diff --git a/patches/opnfv-fuel/0004-classes-baremetal-AArch64-virtio-NIC-names-sync.patch b/patches/opnfv-fuel/0004-classes-baremetal-AArch64-virtio-NIC-names-sync.patch
index d01c520c..aafa3c81 100644
--- a/patches/opnfv-fuel/0004-classes-baremetal-AArch64-virtio-NIC-names-sync.patch
+++ b/patches/opnfv-fuel/0004-classes-baremetal-AArch64-virtio-NIC-names-sync.patch
@@ -30,7 +30,7 @@ Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
---
.../baremetal-mcp-ocata-odl-ha/infra/config.yml | 4 ++--
.../baremetal-mcp-ocata-odl-ha/infra/kvm.yml | 18 +++++++++-----
- .../baremetal-mcp-ocata-odl-ha/infra/maas.yml | 8 +++----
+ .../baremetal-mcp-ocata-odl-ha/infra/maas.yml | 6 ++---
.../opendaylight/control.yml | 2 +-
.../openstack/compute.yml | 28 ++++++++--------------
.../openstack/control.yml | 6 ++---
@@ -40,16 +40,16 @@ Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
.../baremetal-mcp-ocata-odl-ha/openstack/proxy.yml | 6 ++---
.../openstack/telemetry.yml | 6 ++---
.../baremetal-mcp-ocata-ovs-ha/infra/config.yml | 4 ++--
- .../baremetal-mcp-ocata-ovs-ha/infra/kvm.yml | 18 +++++++++-----
- .../baremetal-mcp-ocata-ovs-ha/infra/maas.yml | 8 +++----
- .../openstack/compute.yml | 27 ++++++++-------------
+ .../baremetal-mcp-ocata-ovs-ha/infra/kvm.yml | 16 +++++++++----
+ .../baremetal-mcp-ocata-ovs-ha/infra/maas.yml | 6 ++---
+ .../openstack/compute.yml | 19 +++++----------
.../openstack/control.yml | 6 ++---
.../openstack/dashboard.yml | 4 ++--
.../openstack/database.yml | 6 ++---
.../openstack/message_queue.yml | 6 ++---
.../baremetal-mcp-ocata-ovs-ha/openstack/proxy.yml | 6 ++---
.../openstack/telemetry.yml | 6 ++---
- 21 files changed, 91 insertions(+), 94 deletions(-)
+ 21 files changed, 84 insertions(+), 87 deletions(-)
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/config.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/config.yml
index 3f72e18..bd439a4 100644
@@ -67,7 +67,7 @@ index 3f72e18..bd439a4 100644
master:
accept_policy: open_mode
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml
-index acd6a6d..76e32bc 100644
+index e55bcbf..bbdf354 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml
@@ -25,7 +25,8 @@ parameters:
@@ -125,21 +125,19 @@ index acd6a6d..76e32bc 100644
- - ${_param:deploy_nic}.300
+ - ${_param:trunk_nic}.2183
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/maas.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/maas.yml
-index 72b9f52..08a3b48 100644
+index 64ae85a..40d9c2d 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/maas.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/maas.yml
-@@ -4,10 +4,10 @@ classes:
+@@ -4,9 +4,9 @@ classes:
- cluster.baremetal-mcp-ocata-odl-ha.infra
parameters:
_param:
- dhcp_interface: ens3
- primary_interface: ens4
- pxe_interface: ens5
-- external_interface: ens6
+ dhcp_interface: enp1s0
+ primary_interface: enp2s0
+ pxe_interface: enp3s0
-+ external_interface: enp4s0
interface_mtu: 1500
# MaaS has issues using MTU > 1500 for PXE interface
pxe_interface_mtu: 1500
@@ -157,7 +155,7 @@ index 0a01af7..367343a 100644
type: eth
proto: static
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
-index c5333fe..6f1162d 100644
+index d2495c2..79cea91 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
@@ -24,10 +24,9 @@ parameters:
@@ -173,7 +171,7 @@ index c5333fe..6f1162d 100644
interface_mtu: 1500
keepalived_vip_interface: br-ctl
keepalived_vip_virtual_router_id: 69
-@@ -71,12 +70,6 @@ parameters:
+@@ -76,12 +75,6 @@ parameters:
type: eth
proto: manual
name: ${_param:tenant_nic}
@@ -186,7 +184,7 @@ index c5333fe..6f1162d 100644
br-mesh:
enabled: true
type: bridge
-@@ -84,19 +77,19 @@ parameters:
+@@ -89,19 +82,19 @@ parameters:
netmask: 255.255.255.0
mtu: 1500
use_interfaces:
@@ -212,7 +210,7 @@ index c5333fe..6f1162d 100644
use_interfaces:
- ${_param:tenant_nic}
br-ctl:
-@@ -106,7 +99,7 @@ parameters:
+@@ -111,7 +104,7 @@ parameters:
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
@@ -221,7 +219,7 @@ index c5333fe..6f1162d 100644
br-floating:
enabled: true
type: ovs_bridge
-@@ -123,7 +116,6 @@ parameters:
+@@ -128,7 +121,6 @@ parameters:
address: ${_param:external_address}
netmask: 255.255.255.0
use_interfaces:
@@ -357,10 +355,10 @@ index 4e90090..c08f209 100644
server:
logging:
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/config.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/config.yml
-index a75b41d..3979fd1 100644
+index 4520621..40b62d4 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/config.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/config.yml
-@@ -32,8 +32,8 @@ parameters:
+@@ -31,8 +31,8 @@ parameters:
linux:
network:
interface:
@@ -372,7 +370,7 @@ index a75b41d..3979fd1 100644
master:
accept_policy: open_mode
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml
-index 7550c1a..40e800f 100644
+index 3e9879b..0ae3f4d 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/kvm.yml
@@ -25,7 +25,8 @@ parameters:
@@ -406,50 +404,43 @@ index 7550c1a..40e800f 100644
br-mgmt:
enabled: true
proto: dhcp
-@@ -149,13 +155,13 @@ parameters:
- use_interfaces:
- - ${_param:deploy_nic}
- noifupdown: true
-- vlan300:
-+ vlan2183:
+@@ -151,9 +157,9 @@ parameters:
enabled: true
proto: manual
type: vlan
-- name: ${_param:deploy_nic}.300
-+ name: ${_param:trunk_nic}.2183
+- name: ${_param:deploy_nic}.${_param:opnfv_net_mgmt_vlan}
++ name: ${_param:trunk_nic}.${_param:opnfv_net_mgmt_vlan}
use_interfaces:
- - ${_param:deploy_nic}
+ - ${_param:trunk_nic}
br-ctl:
enabled: true
type: bridge
-@@ -163,4 +169,4 @@ parameters:
+@@ -161,4 +167,4 @@ parameters:
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
-- - ${_param:deploy_nic}.300
-+ - ${_param:trunk_nic}.2183
+- - ${_param:deploy_nic}.${_param:opnfv_net_mgmt_vlan}
++ - ${_param:trunk_nic}.${_param:opnfv_net_mgmt_vlan}
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 f77abea..37e8377 100644
+index 3a98fac..799e31f 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:
+@@ -4,9 +4,9 @@ classes:
- cluster.baremetal-mcp-ocata-ovs-ha.infra
parameters:
_param:
- dhcp_interface: ens3
- primary_interface: ens4
- pxe_interface: ens5
-- external_interface: ens6
+ dhcp_interface: enp1s0
+ primary_interface: enp2s0
+ pxe_interface: enp3s0
-+ external_interface: enp4s0
interface_mtu: 1500
# MaaS has issues using MTU > 1500 for PXE interface
pxe_interface_mtu: 1500
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
-index 93a26b1..7f5a602 100644
+index fca4065..19c7f0b 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
@@ -23,9 +23,8 @@ parameters:
@@ -464,7 +455,7 @@ index 93a26b1..7f5a602 100644
linux_system_codename: xenial
interface_mtu: 1500
keepalived_vip_interface: br-ctl
-@@ -54,12 +53,6 @@ parameters:
+@@ -59,12 +58,6 @@ parameters:
type: eth
proto: manual
name: ${_param:tenant_nic}
@@ -477,42 +468,28 @@ index 93a26b1..7f5a602 100644
br-mesh:
enabled: true
type: bridge
-@@ -67,19 +60,19 @@ parameters:
- netmask: 255.255.255.0
- mtu: 1500
- use_interfaces:
-- - ${_param:tenant_nic}.302
-- vlan300:
-+ - ${_param:tenant_nic}.2185
-+ vlan2183:
+@@ -77,9 +70,9 @@ parameters:
enabled: true
proto: manual
type: vlan
-- name: ${_param:mgmt_nic}.300
-+ name: ${_param:tenant_nic}.2183
+- name: ${_param:mgmt_nic}.${_param:opnfv_net_mgmt_vlan}
++ name: ${_param:tenant_nic}.${_param:opnfv_net_mgmt_vlan}
use_interfaces:
- - ${_param:mgmt_nic}
-- vlan302:
+ - ${_param:tenant_nic}
-+ vlan2185:
+ tenant-vlan:
enabled: true
proto: manual
- type: vlan
-- name: ${_param:tenant_nic}.302
-+ name: ${_param:tenant_nic}.2185
- use_interfaces:
- - ${_param:tenant_nic}
- br-ctl:
-@@ -89,7 +82,7 @@ parameters:
+@@ -94,7 +87,7 @@ parameters:
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
-- - ${_param:mgmt_nic}.300
-+ - ${_param:tenant_nic}.2183
+- - ${_param:mgmt_nic}.${_param:opnfv_net_mgmt_vlan}
++ - ${_param:tenant_nic}.${_param:opnfv_net_mgmt_vlan}
br-floating:
enabled: true
type: ovs_bridge
-@@ -106,6 +99,6 @@ parameters:
+@@ -111,6 +104,6 @@ parameters:
address: ${_param:external_address}
netmask: 255.255.255.0
use_interfaces: