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-mcp10-dvr/infra/config.yml b/classes/cluster/virtual-mcp10-dvr/infra/config.yml
index e1ca1e7..93dd07a 100644
--- a/classes/cluster/virtual-mcp10-dvr/infra/config.yml
+++ b/classes/cluster/virtual-mcp10-dvr/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-mcp10-dvr/openstack/control.yml b/classes/cluster/virtual-mcp10-dvr/openstack/control.yml
index b0d9a71..7a60877 100644
--- a/classes/cluster/virtual-mcp10-dvr/openstack/control.yml
+++ b/classes/cluster/virtual-mcp10-dvr/openstack/control.yml
@@ -43,7 +43,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-mcp10-dvr/openstack/dashboard.yml b/classes/cluster/virtual-mcp10-dvr/openstack/dashboard.yml
index b38a35a..70ef115 100644
--- a/classes/cluster/virtual-mcp10-dvr/openstack/dashboard.yml
+++ b/classes/cluster/virtual-mcp10-dvr/openstack/dashboard.yml
@@ -19,4 +19,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-mcp10-dvr/stacklight/server.yml b/classes/cluster/virtual-mcp10-dvr/stacklight/server.yml
index f5a17ec..08cfa82 100644
--- a/classes/cluster/virtual-mcp10-dvr/stacklight/server.yml
+++ b/classes/cluster/virtual-mcp10-dvr/stacklight/server.yml
@@ -40,4 +40,6 @@
         ens4:
           enabled: true
           type: eth
-          proto: dhcp
+          proto: static
+          address: ${_param:single_address}
+          netmask: 255.255.255.0