diff options
author | your name <email@163.com> | 2015-09-09 03:26:11 -0400 |
---|---|---|
committer | your name <email@163.com> | 2015-09-09 03:26:11 -0400 |
commit | 72039e915d1fc960bd0d7fccd910ea282d61bee7 (patch) | |
tree | 60452129b1b9f3c3419b4a29a038f5f0cbade5f7 /deploy/adapters/ansible/roles/neutron-network | |
parent | cf87d3067a63cb8be315a3addfd9c27d86be3b5a (diff) |
Compass Netconfig optimization
Change-Id: Icbcfc7d794623436f22be5f6763b212a25d4fac7
JIRA: COMPASS-30
Diffstat (limited to 'deploy/adapters/ansible/roles/neutron-network')
-rw-r--r-- | deploy/adapters/ansible/roles/neutron-network/tasks/main.yml | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/deploy/adapters/ansible/roles/neutron-network/tasks/main.yml b/deploy/adapters/ansible/roles/neutron-network/tasks/main.yml index 6e4ed200..d1052897 100644 --- a/deploy/adapters/ansible/roles/neutron-network/tasks/main.yml +++ b/deploy/adapters/ansible/roles/neutron-network/tasks/main.yml @@ -44,7 +44,7 @@ dest=/etc/neutron/metadata_agent.ini backup=yes - name: config ml2 plugin - template: src=ml2_conf.ini + template: src=templates/ml2_conf.ini dest=/etc/neutron/plugins/ml2/ml2_conf.ini backup=yes @@ -58,13 +58,6 @@ - meta: flush_handlers -- name: add br-int - openvswitch_bridge: bridge=br-int state=present - -- name: add br-ex - openvswitch_bridge: bridge=br-ex state=present - when: "'openvswitch' in {{ NEUTRON_MECHANISM_DRIVERS }}" - - name: ln plugin.ini file: src=/etc/neutron/plugins/ml2/ml2_conf.ini dest=/etc/neutron/plugin.ini state=link @@ -73,11 +66,6 @@ - meta: flush_handlers -- name: assign a port to br-ex for physical ext interface - openvswitch_port: bridge=br-ex port={{ INTERFACE_NAME }} - state=present - when: "'openvswitch' in {{ NEUTRON_MECHANISM_DRIVERS }}" - - include: igmp-router.yml when: "'vxlan' in {{ NEUTRON_TUNNEL_TYPES }} and ansible_os_family == 'Debian'" |