Fix dhcp multiple default gateways issue

The system only adds one gateway and if it receives default gateway from
incorrect interface (like control plane primary interface), the instance loses
access to external network.

Fixing by making primary interfaces (control plane) static.

Change-Id: I511f6721c2ecac29eccbdd63160f748c1cc2ee07
diff --git a/classes/cluster/virtual-mcp05-ovs/infra/config.yml b/classes/cluster/virtual-mcp05-ovs/infra/config.yml
index 231babf..f09d72e 100644
--- a/classes/cluster/virtual-mcp05-ovs/infra/config.yml
+++ b/classes/cluster/virtual-mcp05-ovs/infra/config.yml
@@ -39,7 +39,9 @@
         ens4:
           enabled: true
           type: eth
-          proto: dhcp
+          proto: static
+          address: ${_param:single_address}
+          netmask: 255.255.255.0
   nginx:
     server:
       site:
diff --git a/classes/cluster/virtual-mcp05-ovs/openstack/control.yml b/classes/cluster/virtual-mcp05-ovs/openstack/control.yml
index 4b29e9e..0610079 100644
--- a/classes/cluster/virtual-mcp05-ovs/openstack/control.yml
+++ b/classes/cluster/virtual-mcp05-ovs/openstack/control.yml
@@ -42,7 +42,9 @@
         eth1:
           enabled: true
           type: eth
-          proto: dhcp
+          proto: static
+          address: ${_param:single_address}
+          netmask: 255.255.255.0
   keepalived:
     cluster:
       instance:
diff --git a/classes/cluster/virtual-mcp05-ovs/openstack/dashboard.yml b/classes/cluster/virtual-mcp05-ovs/openstack/dashboard.yml
index 1a2e6b0..87bfbdf 100644
--- a/classes/cluster/virtual-mcp05-ovs/openstack/dashboard.yml
+++ b/classes/cluster/virtual-mcp05-ovs/openstack/dashboard.yml
@@ -27,4 +27,6 @@
         eth1:
           enabled: true
           type: eth
-          proto: dhcp
+          proto: static
+          address: ${_param:single_address}
+          netmask: 255.255.255.0
diff --git a/classes/cluster/virtual-mcp05-ovs/stacklight/server.yml b/classes/cluster/virtual-mcp05-ovs/stacklight/server.yml
index 943cc4e..2288aeb 100644
--- a/classes/cluster/virtual-mcp05-ovs/stacklight/server.yml
+++ b/classes/cluster/virtual-mcp05-ovs/stacklight/server.yml
@@ -40,4 +40,7 @@
         ens4:
           enabled: true
           type: eth
-          proto: dhcp
+          proto: static
+          address: ${_param:single_address}
+          netmask: 255.255.255.0
+