Make sure share01 is generated for virtual-mcp-pike-ovs with reclass
This patch makes sure that share01 is generated when applying reclass
state as well when do dynamic node clasification (Models where changes
where made: virtual-mcp-pike-ovs, virtual-mcp-pike-dvr,
virtual-mcp-pike-dvr-ssl).
Added linux:network pillar for static share01 node inventory
Change-Id: I88e873cc53f9b92b29c6750180895d376a4d5fdc
diff --git a/classes/cluster/virtual-mcp-pike-ovs/openstack/init.yml b/classes/cluster/virtual-mcp-pike-ovs/openstack/init.yml
index 6918620..647c79f 100644
--- a/classes/cluster/virtual-mcp-pike-ovs/openstack/init.yml
+++ b/classes/cluster/virtual-mcp-pike-ovs/openstack/init.yml
@@ -8,6 +8,7 @@
openstack_control_node01_hostname: ctl01
openstack_control_node02_hostname: ctl02
openstack_control_node03_hostname: ctl03
+ openstack_share_node01_hostname: share01
openstack_control_node01_address: 172.16.10.101
openstack_control_node02_address: 172.16.10.102
openstack_control_node03_address: 172.16.10.103
diff --git a/classes/cluster/virtual-mcp-pike-ovs/openstack/share.yml b/classes/cluster/virtual-mcp-pike-ovs/openstack/share.yml
index 57625ca..449310b 100644
--- a/classes/cluster/virtual-mcp-pike-ovs/openstack/share.yml
+++ b/classes/cluster/virtual-mcp-pike-ovs/openstack/share.yml
@@ -10,3 +10,12 @@
manila_lvm_devices:
- /dev/loop0
loopback_device1_size: 20
+ linux:
+ network:
+ interface:
+ ens4:
+ enabled: true
+ type: eth
+ proto: static
+ address: ${_param:single_address}
+ netmask: 255.255.255.0