Apply provider-configuration for 'ml2.ovs.dvr' also
neutron_plugin_type can be ml2.ovs and ml2.ovs.dvr and this would still apply to both configurations. Create a symlink from dvr_config -> ovs_config to work around; # Include provider specific config(s) - include_tasks: "{{ item }}" with_first_found: - files: - "{{ neutron_plugin_type.split('.')[-1] }}_config.yml" in tasks/main.yml Change-Id: Ieb87d87688bb56cc274bf41311a2b5d6c73fc046
This commit is contained in:
parent
ffa057d9b8
commit
e944f06a8e
1
tasks/providers/dvr_config.yml
Symbolic link
1
tasks/providers/dvr_config.yml
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
ovs_config.yml
|
@ -21,7 +21,7 @@
|
|||||||
state: present
|
state: present
|
||||||
when:
|
when:
|
||||||
- neutron_services['neutron-openvswitch-agent']['group'] in group_names
|
- neutron_services['neutron-openvswitch-agent']['group'] in group_names
|
||||||
- neutron_plugin_type == 'ml2.ovs'
|
- neutron_plugin_type in ['ml2.ovs', 'ml2.ovs.dvr']
|
||||||
- neutron_provider_networks.network_mappings is defined
|
- neutron_provider_networks.network_mappings is defined
|
||||||
|
|
||||||
- name: Add port to External Network Provider Bridge
|
- name: Add port to External Network Provider Bridge
|
||||||
@ -31,6 +31,6 @@
|
|||||||
state: present
|
state: present
|
||||||
when:
|
when:
|
||||||
- neutron_services['neutron-openvswitch-agent']['group'] in group_names
|
- neutron_services['neutron-openvswitch-agent']['group'] in group_names
|
||||||
- neutron_plugin_type == 'ml2.ovs'
|
- neutron_plugin_type in ['ml2.ovs', 'ml2.ovs.dvr']
|
||||||
- neutron_provider_networks.network_mappings is defined
|
- neutron_provider_networks.network_mappings is defined
|
||||||
- neutron_provider_networks.network_interface is defined
|
- neutron_provider_networks.network_interface is defined
|
||||||
|
Loading…
Reference in New Issue
Block a user