summaryrefslogtreecommitdiffstats
path: root/scenarios/os-odl-bgpvpn/role/os-odl-bgpvpn/files/user_variables_os-odl-bgpvpn.yml
blob: 47ef29b185f2cdbf4ff319e24303c39f38b28050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
# Copyright (c) 2017 Ericsson AB and others.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# ##
# ## This file contains commonly used overrides for convenience. Please inspect
# ## the defaults for each role to find additional override options.
# ##

# Ensure the openvswitch kernel module is loaded
openstack_host_specific_kernel_modules:
  - name: "openvswitch"
    pattern: "CONFIG_OPENVSWITCH"
    group: "network_hosts"

# Use OpenDaylight SDN Controller
neutron_plugin_type: "ml2.opendaylight"
neutron_opendaylight_conf_ini_overrides:
  ml2_odl:
    username: "admin"
    password: "admin"
    port_binding_controller: "pseudo-agentdb-binding"
    url: "http://{{ internal_lb_vip_address }}:8180/controller/nb/v2/neutron"

neutron_ml2_drivers_type: "flat,vlan,vxlan"

neutron_plugin_base:
  - odl-router_v2
  - bgpvpn

# The neutron server node on which OSA configures ODL
# as the BGP speaker
odl_bgp_speaker_host: "{{ ((groups['neutron_server'] | intersect(ansible_play_hosts)) | list)[0] }}"

# The neutron server node ip address (br-admin) on which OSA configures ODL
# as the BGP speaker
odl_bgp_speaker_host_ip_address: "{{ hostvars[groups['neutron_server'][0]]['container_address'] }}"

# Configure OpenDaylight with Quagga
quagga: true