Merge "OVN: Provide the option to define NeutronBridgeMappings as a role parameter"
This commit is contained in:
commit
48e232d19a
@ -23,3 +23,6 @@ parameter_defaults:
|
|||||||
NeutronNetworkType: 'geneve'
|
NeutronNetworkType: 'geneve'
|
||||||
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
||||||
NeutronVniRanges: ['1:65536', ]
|
NeutronVniRanges: ['1:65536', ]
|
||||||
|
|
||||||
|
ComputeParameters:
|
||||||
|
NeutronBridgeMappings: ""
|
||||||
|
@ -23,3 +23,6 @@ parameter_defaults:
|
|||||||
NeutronNetworkType: 'geneve'
|
NeutronNetworkType: 'geneve'
|
||||||
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
||||||
NeutronVniRanges: ['1:65536', ]
|
NeutronVniRanges: ['1:65536', ]
|
||||||
|
|
||||||
|
ComputeParameters:
|
||||||
|
NeutronBridgeMappings: ""
|
||||||
|
@ -23,3 +23,6 @@ parameter_defaults:
|
|||||||
NeutronNetworkType: 'geneve'
|
NeutronNetworkType: 'geneve'
|
||||||
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
||||||
NeutronVniRanges: ['1:65536', ]
|
NeutronVniRanges: ['1:65536', ]
|
||||||
|
|
||||||
|
ComputeParameters:
|
||||||
|
NeutronBridgeMappings: ""
|
||||||
|
@ -23,3 +23,6 @@ parameter_defaults:
|
|||||||
NeutronNetworkType: 'geneve'
|
NeutronNetworkType: 'geneve'
|
||||||
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
NeutronServicePlugins: 'qos,ovn-router,trunk'
|
||||||
NeutronVniRanges: ['1:65536', ]
|
NeutronVniRanges: ['1:65536', ]
|
||||||
|
|
||||||
|
ComputeParameters:
|
||||||
|
NeutronBridgeMappings: ""
|
||||||
|
@ -101,6 +101,20 @@ resources:
|
|||||||
DefaultPasswords: {get_param: DefaultPasswords}
|
DefaultPasswords: {get_param: DefaultPasswords}
|
||||||
EndpointMap: {get_param: EndpointMap}
|
EndpointMap: {get_param: EndpointMap}
|
||||||
|
|
||||||
|
# Merging role-specific parameters (RoleParameters) with the default parameters.
|
||||||
|
# RoleParameters will have the precedence over the default parameters.
|
||||||
|
RoleParametersValue:
|
||||||
|
type: OS::Heat::Value
|
||||||
|
properties:
|
||||||
|
type: json
|
||||||
|
value:
|
||||||
|
map_replace:
|
||||||
|
- map_replace:
|
||||||
|
- neutron::agents::ml2::ovs::bridge_mappings: NeutronBridgeMappings
|
||||||
|
- values: {get_param: [RoleParameters]}
|
||||||
|
- values:
|
||||||
|
NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
description: Role data for the Neutron OVS agent service.
|
description: Role data for the Neutron OVS agent service.
|
||||||
@ -113,10 +127,10 @@ outputs:
|
|||||||
config_settings:
|
config_settings:
|
||||||
map_merge:
|
map_merge:
|
||||||
- get_attr: [NeutronBase, role_data, config_settings]
|
- get_attr: [NeutronBase, role_data, config_settings]
|
||||||
|
- get_attr: [RoleParametersValue, value]
|
||||||
- neutron::agents::ml2::ovs::l2_population: {get_param: NeutronEnableL2Pop}
|
- neutron::agents::ml2::ovs::l2_population: {get_param: NeutronEnableL2Pop}
|
||||||
neutron::agents::ml2::ovs::enable_distributed_routing: {get_param: NeutronEnableDVR}
|
neutron::agents::ml2::ovs::enable_distributed_routing: {get_param: NeutronEnableDVR}
|
||||||
neutron::agents::ml2::ovs::arp_responder: {get_param: NeutronEnableARPResponder}
|
neutron::agents::ml2::ovs::arp_responder: {get_param: NeutronEnableARPResponder}
|
||||||
neutron::agents::ml2::ovs::bridge_mappings: {get_param: NeutronBridgeMappings}
|
|
||||||
neutron::agents::ml2::ovs::tunnel_types: {get_param: NeutronTunnelTypes}
|
neutron::agents::ml2::ovs::tunnel_types: {get_param: NeutronTunnelTypes}
|
||||||
neutron::agents::ml2::ovs::extensions: {get_param: NeutronAgentExtensions}
|
neutron::agents::ml2::ovs::extensions: {get_param: NeutronAgentExtensions}
|
||||||
# NOTE: bind IP is found in Heat replacing the network name with the
|
# NOTE: bind IP is found in Heat replacing the network name with the
|
||||||
|
@ -55,25 +55,41 @@ parameters:
|
|||||||
default: "br-int"
|
default: "br-int"
|
||||||
|
|
||||||
|
|
||||||
|
resources:
|
||||||
|
# Merging role-specific parameters (RoleParameters) with the default parameters.
|
||||||
|
# RoleParameters will have the precedence over the default parameters.
|
||||||
|
RoleParametersValue:
|
||||||
|
type: OS::Heat::Value
|
||||||
|
properties:
|
||||||
|
type: json
|
||||||
|
value:
|
||||||
|
map_replace:
|
||||||
|
- map_replace:
|
||||||
|
- ovn::controller::ovn_bridge_mappings: NeutronBridgeMappings
|
||||||
|
- values: {get_param: [RoleParameters]}
|
||||||
|
- values:
|
||||||
|
NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
description: Role data for the OVN Controller agent
|
description: Role data for the OVN Controller agent
|
||||||
value:
|
value:
|
||||||
service_name: ovn_controller
|
service_name: ovn_controller
|
||||||
config_settings:
|
config_settings:
|
||||||
ovn::southbound::port: {get_param: OVNSouthboundServerPort}
|
map_merge:
|
||||||
ovn::controller::ovn_encap_type: {get_param: OVNTunnelEncapType}
|
- get_attr: [RoleParametersValue, value]
|
||||||
ovn::controller::ovn_encap_ip: {get_param: [ServiceNetMap, NeutronTenantNetwork]}
|
- ovn::southbound::port: {get_param: OVNSouthboundServerPort}
|
||||||
ovn::controller::ovn_bridge_mappings: {get_param: NeutronBridgeMappings}
|
ovn::controller::ovn_encap_type: {get_param: OVNTunnelEncapType}
|
||||||
ovn::controller::ovn_bridge: {get_param: OVNIntegrationBridge}
|
ovn::controller::ovn_encap_ip: {get_param: [ServiceNetMap, NeutronTenantNetwork]}
|
||||||
nova::compute::force_config_drive: true
|
ovn::controller::ovn_bridge: {get_param: OVNIntegrationBridge}
|
||||||
tripleo.ovn_controller.firewall_rules:
|
nova::compute::force_config_drive: true
|
||||||
'118 neutron vxlan networks':
|
tripleo.ovn_controller.firewall_rules:
|
||||||
proto: 'udp'
|
'118 neutron vxlan networks':
|
||||||
dport: 4789
|
proto: 'udp'
|
||||||
'119 neutron geneve networks':
|
dport: 4789
|
||||||
proto: 'udp'
|
'119 neutron geneve networks':
|
||||||
dport: 6081
|
proto: 'udp'
|
||||||
|
dport: 6081
|
||||||
step_config: |
|
step_config: |
|
||||||
include ::tripleo::profile::base::neutron::agents::ovn
|
include ::tripleo::profile::base::neutron::agents::ovn
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
Loading…
Reference in New Issue
Block a user