From 84bdcb23d171d3511688d0f54f0bf62479544376 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Fri, 19 Dec 2014 21:35:48 -0500 Subject: Controller: Drive os-net-config via software conf This example extends the controller software configuration so that heat metadata is used to model the os-net-config YAML (ultimately JSON) directly. The existing os-net-config element already supports this format. Configuring the physical network layer in this manner would supplant the ever growing list of Heat parameters that we have and is something that could be automatically generated via tuskar. The default is to use net-config-noop.yaml which will pass no config metadata into the os-net-config element which will essentially disable it in favor of using parameters w/ init-neutron-ovs. Change-Id: Ifba60454ee11222173a9762882e767a836a4545c --- controller.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/controller.yaml b/controller.yaml index 739b683c..77025143 100644 --- a/controller.yaml +++ b/controller.yaml @@ -375,6 +375,19 @@ resources: - network: ctlplane user_data_format: SOFTWARE_CONFIG + NetworkConfig: + type: OS::TripleO::Net::SoftwareConfig + + NetworkDeployment: + type: OS::TripleO::SoftwareDeployment + properties: + signal_transport: NO_SIGNAL + config: {get_attr: [NetworkConfig, config_id]} + server: {get_resource: Controller} + input_values: + bridge_name: br-ex + interface_name: {get_param: NeutronPublicInterface} + ControllerConfig: type: OS::TripleO::Controller::SoftwareConfig properties: -- cgit 1.2.3-korg