aboutsummaryrefslogtreecommitdiffstats
path: root/environments/net-single-nic-linux-bridge-with-vlans.yaml
diff options
context:
space:
mode:
authorJaume Devesa <devvesa@gmail.com>2016-01-20 14:07:28 +0000
committerJaume Devesa <devvesa@gmail.com>2016-01-20 15:11:03 +0100
commit9d13f73a75e5a7a21bab3db8d7191ff1a66c8f5d (patch)
treef0bd08b49047e406aec80e9de9cef627f6ee862b /environments/net-single-nic-linux-bridge-with-vlans.yaml
parenta2300bc50e4675bbd6d892d40dd14221ebbf0c5d (diff)
Create linux bridge vlans environments
Define environments to create VLANs attached to a single physical nic as 'single-nic-vlans' does, but using linux_bridge instead of ovs_bridge Change-Id: I8c6fe9ec7028178f783e7d9c0a1cc67a1517eb3d
Diffstat (limited to 'environments/net-single-nic-linux-bridge-with-vlans.yaml')
-rw-r--r--environments/net-single-nic-linux-bridge-with-vlans.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/environments/net-single-nic-linux-bridge-with-vlans.yaml b/environments/net-single-nic-linux-bridge-with-vlans.yaml
new file mode 100644
index 00000000..d5f2ed62
--- /dev/null
+++ b/environments/net-single-nic-linux-bridge-with-vlans.yaml
@@ -0,0 +1,23 @@
+# This template configures each role to use Vlans on a single nic for
+# each isolated network.
+# This template assumes use of network-isolation.yaml.
+#
+# FIXME: if/when we add functionality to heatclient to include heat
+# environment files we should think about using it here to automatically
+# include network-isolation.yaml.
+resource_registry:
+ OS::TripleO::BlockStorage::Net::SoftwareConfig: ../network/config/single-nic-linux-bridge-vlans/cinder-storage.yaml
+ OS::TripleO::Compute::Net::SoftwareConfig: ../network/config/single-nic-linux-bridge-vlans/compute.yaml
+ OS::TripleO::Controller::Net::SoftwareConfig: ../network/config/single-nic-linux-bridge-vlans/controller.yaml
+ OS::TripleO::ObjectStorage::Net::SoftwareConfig: ../network/config/single-nic-linux-bridge-vlans/swift-storage.yaml
+ OS::TripleO::CephStorage::Net::SoftwareConfig: ../network/config/single-nic-linux-bridge-vlans/ceph-storage.yaml
+
+# We use parameter_defaults instead of parameters here because Tuskar munges
+# the names of top level and role level parameters with the role name and a
+# version. Using parameter_defaults makes it such that if the parameter name is
+# not defined in the template, we don't get an error.
+parameter_defaults:
+ # This sets 'external_network_bridge' in l3_agent.ini to an empty string
+ # so that external networks act like provider bridge networks (they
+ # will plug into br-int instead of br-ex)
+ NeutronExternalNetworkBridge: "''"