diff options
author | Tim Rozet <trozet@redhat.com> | 2017-07-31 17:17:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-07-31 17:17:52 +0000 |
commit | 31ee4874f2d0f5e71a3b18752a8ac9b7c9133b4f (patch) | |
tree | 4b71ea6e5a3a564ec2d76b0ba3d8e856f3935dce /puppet/services/neutron-vpp-agent.yaml | |
parent | 11d7f03bde60873385e01901975cee06b98a59ac (diff) | |
parent | baaad6f6e5fb15f131858ac0f49e02ec336118bc (diff) |
Merge "Add VPP and Honeycomb services (#104)"
Diffstat (limited to 'puppet/services/neutron-vpp-agent.yaml')
-rw-r--r-- | puppet/services/neutron-vpp-agent.yaml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/puppet/services/neutron-vpp-agent.yaml b/puppet/services/neutron-vpp-agent.yaml new file mode 100644 index 00000000..3c51c90f --- /dev/null +++ b/puppet/services/neutron-vpp-agent.yaml @@ -0,0 +1,48 @@ +heat_template_version: newton + +description: > + OpenStack Neutron ML2/VPP agent configured with Puppet + +parameters: + ServiceNetMap: + default: {} + description: > + Mapping of service_name -> network name. Typically set via + parameter_defaults in the resource registry. This mapping overrides those + in ServiceNetMapDefaults. + type: json + DefaultPasswords: + default: {} + type: json + EndpointMap: + default: {} + description: Mapping of service endpoint -> protocol. Typically set + via parameter_defaults in the resource registry. + type: json + NeutronVPPAgentPhysnets: + description: > + List of <physical_network>:<VPP Interface> + Example: "physnet1:GigabitEthernet2/2/0,physnet2:GigabitEthernet2/3/0" + type: comma_delimited_list + default: "" + +resources: + + NeutronBase: + type: ./neutron-base.yaml + properties: + ServiceNetMap: {get_param: ServiceNetMap} + DefaultPasswords: {get_param: DefaultPasswords} + EndpointMap: {get_param: EndpointMap} + +outputs: + role_data: + description: Role data for the Neutron ML2/VPP agent service. + value: + service_name: neutron_vpp_agent + config_settings: + map_merge: + - get_attr: [NeutronBase, role_data, config_settings] + - tripleo::profile::base::neutron::agents::vpp::physnet_mapping: {get_param: NeutronVPPAgentPhysnets} + step_config: | + include ::tripleo::profile::base::neutron::agents::vpp |