diff options
author | wutianwei <wutianwei1@huawei.com> | 2017-06-27 19:49:07 +0800 |
---|---|---|
committer | wutianwei <wutianwei1@huawei.com> | 2017-06-30 12:10:05 +0800 |
commit | 5371004738b1430e56a3e7679284a5e822255d2e (patch) | |
tree | 036ee67714b08a7cc62e35deda0ef66a889ec6a0 /deploy/adapters/ansible/roles/config-deployment/templates/user_variables.yml | |
parent | 7107ed60659e23863ffcd227600bf741489f24d8 (diff) |
setup ovs create network flavor
1. replace the linuxbridge with openvswitch
2. create the network and flavors
3. fix the haproxy when public endpoint using http
Change-Id: I6fe93d0c4d5305e5dcab8d2e6c628eb5fa23ab56
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/config-deployment/templates/user_variables.yml')
-rw-r--r-- | deploy/adapters/ansible/roles/config-deployment/templates/user_variables.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-deployment/templates/user_variables.yml b/deploy/adapters/ansible/roles/config-deployment/templates/user_variables.yml index 30b2c6b2..16f78ff8 100644 --- a/deploy/adapters/ansible/roles/config-deployment/templates/user_variables.yml +++ b/deploy/adapters/ansible/roles/config-deployment/templates/user_variables.yml @@ -21,7 +21,27 @@ # # Debug and Verbose options. debug: false +openstack_service_publicuri_proto: http haproxy_keepalived_external_vip_cidr: "{{ public_vip.ip }}/32" haproxy_keepalived_internal_vip_cidr: "10.1.0.22/32" haproxy_keepalived_external_interface: br-vlan haproxy_keepalived_internal_interface: br-mgmt + +{% if "openvswitch" == NEUTRON_MECHANISM_DRIVERS[0] or + "opendaylight" == NEUTRON_MECHANISM_DRIVERS[0] + %} +openstack_host_specific_kernel_modules: + - name: "openvswitch" + pattern: "CONFIG_OPENVSWITCH=" + group: "network_hosts" + +neutron_plugin_type: ml2.ovs + +neutron_ml2_drivers_type: "local,flat,vlan,vxlan" + +neutron_provider_networks: + network_flat_networks: "*" + network_types: "vxlan" + network_vxlan_ranges: "1:1000" + network_mappings: "physnet:br-provider" +{% endif %} |