Network Isolation support for containerized compute
authorRyan Hallisey <rhallise@redhat.com>
Mon, 7 Dec 2015 16:57:21 +0000 (11:57 -0500)
committerRyan Hallisey <rhallise@redhat.com>
Mon, 4 Jan 2016 20:41:41 +0000 (20:41 +0000)
The template will all neutron-agents to be configured so that it can
run the network isolation templates on the containerized compute node.

Co-Authored-By: Dan Prince <dpince@redhat.com>
Change-Id: I7837ed7ed3e807ec5c1276904893695918bef293

docker/README-containers.md
environments/docker-network-isolation.yaml [new file with mode: 0644]
environments/docker-network.yaml [new file with mode: 0644]
environments/docker.yaml [moved from environments/docker-rdo.yaml with 93% similarity]

index 17990b5..ff062a9 100644 (file)
@@ -22,7 +22,12 @@ https://github.com/openstack/tripleo-common/blob/master/scripts/tripleo.sh
 
 Create the Overcloud:
 ```
-$ openstack overcloud deploy --templates=tripleo-heat-templates -e tripleo-heat-templates/environments/docker-rdo.yaml --libvirt-type=qemu
+$ openstack overcloud deploy --templates=tripleo-heat-templates -e tripleo-heat-templates/environments/docker.yaml -e tripleo-heat-templates/environments/docker-network.yaml --libvirt-type=qemu
+```
+
+Using Network Isolation in the Overcloud:
+```
+$ openstack overcloud deploy --templates=tripleo-heat-templates -e tripleo-heat-templates/environments/docker.yaml -e tripleo-heat-templates/environments/docker-network-isolation.yaml --libvirt-type=qemu
 ```
 
 Source the overcloudrc and then you can use the overcloud.
diff --git a/environments/docker-network-isolation.yaml b/environments/docker-network-isolation.yaml
new file mode 100644 (file)
index 0000000..257d03d
--- /dev/null
@@ -0,0 +1,4 @@
+parameter_defaults:
+  NeutronAgentConfig: "/etc/neutron/neutron.conf,/etc/neutron/plugins/openvswitch/openvswitch_agent.ini"
+  NeutronAgentPluginVolume: "/var/lib/etc-data/neutron/plugins/ml2/openvswitch_agent.ini:/var/lib/kolla/config_files/openvswitch_agent.ini:ro"
+  NeutronAgentOvsVolume: "/var/lib/etc-data/neutron/conf.d/neutron-openvswitch-agent:/etc/neutron/conf.d/neutron-openvswitch-agent:ro"
diff --git a/environments/docker-network.yaml b/environments/docker-network.yaml
new file mode 100644 (file)
index 0000000..f10ec38
--- /dev/null
@@ -0,0 +1,2 @@
+resource_registry:
+  OS::TripleO::Compute::Net::SoftwareConfig: ../net-config-bridge.yaml
similarity index 93%
rename from environments/docker-rdo.yaml
rename to environments/docker.yaml
index 66824fe..6376b74 100644 (file)
@@ -2,7 +2,6 @@ resource_registry:
   # Docker container with heat agents for containerized compute node.
   OS::TripleO::ComputePostDeployment: ../docker/compute-post.yaml
   OS::TripleO::NodeUserData: ../docker/firstboot/install_docker_agents.yaml
-  OS::TripleO::Compute::Net::SoftwareConfig: ../net-config-bridge.yaml
 
 parameters:
   NovaImage: atomic-image