aboutsummaryrefslogtreecommitdiffstats
path: root/scenarios/os-odl-sfc/role/os-odl-sfc/templates/ha/user_sfc_scenarios_variables_ubuntu.yml.j2
blob: 9cc272792264c837fe79e5d63608f6e3fc7239ad (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
---
# Copyright 2014, Rackspace US, Inc.
#
# 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.
# ##

{% raw %}
# # Debug and Verbose options.
debug: false

haproxy_keepalived_external_vip_cidr: "192.168.122.3/32"
haproxy_keepalived_internal_vip_cidr: "172.29.236.11/32"
haproxy_keepalived_external_interface: br-vlan
haproxy_keepalived_internal_interface: br-mgmt
gnocchi_db_sync_options: ""

ovs_nsh_support: true
cluster: true

# 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://{{ hostvars[groups['neutron_server'][0]]['ansible_eth1']['ipv4']['address'] }}:8180/controller/nb/v2/neutron"
neutron_plugin_base:
  - odl-router_v2
  - metering
  - networking_sfc.services.flowclassifier.plugin.FlowClassifierPlugin
  - networking_sfc.services.sfc.plugin.SfcPlugin
provider_networks:
  - network:
      container_bridge: "br-mgmt"
      container_type: "veth"
      container_interface: "eth1"
      ip_from_q: "container"
      type: "raw"
      group_binds:
        - all_containers
        - hosts
      is_container_address: true
      is_ssh_address: true
  - network:
      container_bridge: "br-vxlan"
      container_type: "veth"
      container_interface: "eth10"
      ip_from_q: "tunnel"
      type: "vxlan"
      range: "1:1000"
      net_name: "vxlan"
      group_binds:
        - neutron_openvswitch_agent
  - network:
      container_bridge: "br-vlan"
      container_type: "veth"
      container_interface: "eth12"
      host_bind_override: "eth12"
      type: "flat"
      net_name: "flat"
      group_binds:
        - neutron_openvswitch_agent
  - network:
      container_bridge: "br-vlan"
      container_type: "veth"
      container_interface: "eth11"
      host_bind_override: "eth12"
      type: "vlan"
      range: "1:1"
      net_name: "vlan"
      group_binds:
        - neutron_openvswitch_agent
  - network:
      container_bridge: "br-storage"
      container_type: "veth"
      container_interface: "eth2"
      ip_from_q: "storage"
      type: "raw"
      group_binds:
        - glance_api
        - cinder_api
        - cinder_volume
        - nova_compute

user_external_repos_list:
  - repo: 'ppa:mardim/mardim-ppa'

openstack_host_specific_kernel_modules:
  - name: openvswitch

ovs_nsh_required_metal_packages:
  - linux-headers-{{ ansible_kernel }}
  - openvswitch-datapath-dkms

openstack_host_metal_distro_packages: "{{ ovs_nsh_required_metal_packages + _openstack_host_metal_distro_packages }}"
{% endraw %}

{% if odl_repo_version is defined %}
odl_version: "{{ odl_repo_version }}"
{% endif %}