diff options
author | Justin chi <chigang@huawei.com> | 2017-06-30 07:01:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-06-30 07:01:48 +0000 |
commit | 81ddb0a110736415cab48240935b436cd6656ac7 (patch) | |
tree | eeeb1c847bccb80ea46d39a8dd850ae21a609ccd /deploy/adapters/ansible/roles/config-deployment/templates/user_variables.yml | |
parent | f0e6a736f8cc1f98e5f067b4e433f5af594e7c48 (diff) | |
parent | 5371004738b1430e56a3e7679284a5e822255d2e (diff) |
Merge "setup ovs create network flavor"
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 %} |