Fix default route in multiple nics net isolation templates
authorDan Sneddon <dsneddon@redhat.com>
Wed, 2 Dec 2015 02:04:46 +0000 (18:04 -0800)
committerDan Sneddon <dsneddon@redhat.com>
Wed, 2 Dec 2015 02:04:46 +0000 (18:04 -0800)
The non-controller nodes in the network/config/multiple-nics
directory do not have a default route configured. This change
adds the default route to the non-controller nodes using the
ControlPlaneDefaultRoute parameter, which was already a part
of these templates.

Change-Id: Idaaeb2a539555ac14cc613b202c428108bc19a30

network/config/multiple-nics/ceph-storage.yaml
network/config/multiple-nics/cinder-storage.yaml
network/config/multiple-nics/compute.yaml
network/config/multiple-nics/swift-storage.yaml

index a050858..7d650f4 100644 (file)
@@ -92,6 +92,9 @@ resources:
                 -
                   ip_netmask: 169.254.169.254/32
                   next_hop: {get_param: EC2MetadataIp}
+                -
+                  default: true
+                  next_hop: {get_param: ControlPlaneDefaultRoute}
             -
               type: interface
               name: nic2
index c84586b..fdb6c9d 100644 (file)
@@ -92,6 +92,9 @@ resources:
                 -
                   ip_netmask: 169.254.169.254/32
                   next_hop: {get_param: EC2MetadataIp}
+                -
+                  default: true
+                  next_hop: {get_param: ControlPlaneDefaultRoute}
             -
               type: interface
               name: nic2
index 70a1808..0032a28 100644 (file)
@@ -80,6 +80,9 @@ resources:
                 -
                   ip_netmask: 169.254.169.254/32
                   next_hop: {get_param: EC2MetadataIp}
+                -
+                  default: true
+                  next_hop: {get_param: ControlPlaneDefaultRoute}
             -
               type: interface
               name: nic2
index 25ac75f..00e4f35 100644 (file)
@@ -92,6 +92,9 @@ resources:
                 -
                   ip_netmask: 169.254.169.254/32
                   next_hop: {get_param: EC2MetadataIp}
+                -
+                  default: true
+                  next_hop: {get_param: ControlPlaneDefaultRoute}
             -
               type: interface
               name: nic2