Create public network in virtual_mcp11_aio during deploy
Related-Prod: OSCORE-270
Change-Id: Ibbb93774335052da37c02df6227293d9698424e7
diff --git a/classes/cluster/virtual-mcp11-aio/init.yml b/classes/cluster/virtual-mcp11-aio/init.yml
index d72518e..3482262 100755
--- a/classes/cluster/virtual-mcp11-aio/init.yml
+++ b/classes/cluster/virtual-mcp11-aio/init.yml
@@ -56,6 +56,13 @@
br-floating:
enabled: true
type: ovs_bridge
+ phy-public:
+ enabled: true
+ type: ovs_port
+ bridge: br-floating
+ proto: static
+ address: ${_param:openstack_public_neutron_subnet_gateway}
+ netmask: 255.255.255.0
mysql:
server:
version: '5.6'
diff --git a/classes/cluster/virtual-mcp11-aio/openstack/init.yml b/classes/cluster/virtual-mcp11-aio/openstack/init.yml
index 3984c02..fe37cb6 100755
--- a/classes/cluster/virtual-mcp11-aio/openstack/init.yml
+++ b/classes/cluster/virtual-mcp11-aio/openstack/init.yml
@@ -21,6 +21,7 @@
- system.glance.control.single
- system.nova.control.single
- system.neutron.control.openvswitch.single
+- system.neutron.client.service.public
- system.heat.server.single
- system.nova.compute.single
- service.neutron.gateway.single
@@ -99,7 +100,11 @@
rndc_host: ${_param:single_address}
rndc_port: 953
rndc_key_file: /etc/designate/rndc.key
- linux_system_repo: 'deb [arch=amd64] http://mirror.fuel-infra.org/mcp-repos/ocata/xenial ocata main'
+ linux_system_repo: deb [arch=amd64] http://mirror.fuel-infra.org/mcp-repos/${_param:openstack_version}/xenial ${_param:openstack_version} main
+ openstack_public_neutron_subnet_gateway: 192.168.130.1
+ openstack_public_neutron_subnet_cidr: 192.168.130.0/24
+ openstack_public_neutron_subnet_allocation_start: 192.168.130.10
+ openstack_public_neutron_subnet_allocation_end: 192.168.130.254
neutron:
server:
message_queue: