diff options
author | carey.xu <carey.xuhan@huawei.com> | 2016-01-11 16:44:59 +0800 |
---|---|---|
committer | Justin chi <chigang@huawei.com> | 2016-01-12 13:11:05 +0000 |
commit | 94035e341ff51daf1b1a5ed297f78b8bcbf71882 (patch) | |
tree | 10887eaa7e9a2f1b36ceede8354d9fb2a90109cb /deploy/adapters/ansible/roles/neutron-network/tasks/main.yml | |
parent | 8af3e2688a659e7f5a92b24cd0b594272914cc43 (diff) |
create a virtual port on jumpserver for functest
- create a virtual port on jumpserver, for functest communicate with openstack admin network
- force mtu to 1450 when vxlan mode
- make only one mysql node primary(bug workaround)
JIRA: COMPASS-243
Change-Id: I498ed05f4b1b64f4f4db2455dd58dd2b4e82ae82
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/neutron-network/tasks/main.yml')
-rw-r--r-- | deploy/adapters/ansible/roles/neutron-network/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/neutron-network/tasks/main.yml b/deploy/adapters/ansible/roles/neutron-network/tasks/main.yml index a3a62b11..bb6b952b 100644 --- a/deploy/adapters/ansible/roles/neutron-network/tasks/main.yml +++ b/deploy/adapters/ansible/roles/neutron-network/tasks/main.yml @@ -65,6 +65,13 @@ template: src=templates/neutron.conf dest=/etc/neutron/neutron.conf backup=yes +- name: force mtu to 1450 for vxlan + lineinfile: + dest: /etc/neutron/dnsmasq-neutron.conf + regexp: '^dhcp-option-force' + line: 'dhcp-option-force=26,1450' + when: "'vxlan' in {{ NEUTRON_TUNNEL_TYPES }}" + - include: firewall.yml when: enable_fwaas == True |