Connect proxy nodes to public network 05/46205/3
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 25 Oct 2017 13:43:49 +0000 (17:43 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Tue, 31 Oct 2017 09:41:57 +0000 (13:41 +0400)
cloudify vnf requires public enpoints to be available from instance
with manager, so connect nodes w/ nginx to routed public network.

JIRA: FUEL-286
Change-Id: Id0caa699519b9b46dad51deac6955afe6a0050de
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/infra/kvm.yml
mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/infra/kvm_init.yml.j2
mcp/scripts/pharos

index 757295a..d098fa6 100644 (file)
@@ -78,7 +78,7 @@ parameters:
           cpu: 2
           ram: 2048
           disk_profile: small
-          net_profile: default
+          net_profile: default_ext
       cluster:
         internal:
           node:
@@ -120,6 +120,13 @@ parameters:
         eth0:
           bridge: br-ctl
           model: virtio
+      default_ext:
+        eth1:
+          bridge: br-mgmt
+          model: virtio
+        eth0:
+          bridge: br-ex
+          model: virtio
   glusterfs:
     server:
       volumes:
index 08abc36..d14f905 100644 (file)
@@ -88,3 +88,12 @@ parameters:
           netmask: 255.255.255.0
           use_interfaces:
             - {{ nic_mgmt }}{% if vlan_mgmt and vlan_mgmt != 'native' %}.{{ vlan_mgmt }}{% endif %}
+        br-ex:
+          enabled: true
+          proto: manual
+          address: 0.0.0.0
+          netmask: 255.255.255.0
+          type: bridge
+          use_interfaces:
+            - {{ nic_public }}{% if vlan_public and vlan_public != 'native' %}.{{ vlan_public }}{% endif %}
+          noifupdown: true
index 2c4fac2..af9e2a9 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 2c4fac2e41aaca9dd679b200ffc968eeb448b395
+Subproject commit af9e2a904ad7f1e44ba26cf9cebbc8bb3f7d8842