blob: 3543c2dfb4e7c2de70be3948624f2871f3f100d2 (
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
|
###############################################################################
# [ WARNING ]
# Configuration file maintained by Juju. Local changes may be overwritten.
###############################################################################
{%- if control_nodes %}
[CONTROL-NODE]
server = {{ control_nodes|join(" ") }}
{%- endif %}
{%- if discovery_server %}
[DISCOVERY]
server = {{ discovery_server }}
{%- endif %}
[METADATA]
metadata_proxy_secret = {{ metadata_secret }}
[NETWORKS]
control_network_ip = {{ control_network_ip }}
[VIRTUAL-HOST-INTERFACE]
name = vhost0
ip = {{ vhost_ip }}
gateway = {{ vhost_gateway }}
physical_interface = {{ vhost_physical }}
{%- for vgw in vgws %}
[GATEWAY-{{ loop.index0 }}]
routing_instance = {{ vgw["domain"] }}:{{ vgw["project"] }}:{{ vgw["network"] }}:{{ vgw["network"] }}
interface = {{ vgw["interface"] }}
ip_blocks = {{ vgw["subnets"]|join(" ") }}
routes = {{ vgw["routes"]|join(" ") }}
{%- endfor %}
[SERVICE-INSTANCE]
netns_command = /usr/bin/opencontrail-vrouter-netns
docker_command = /usr/bin/opencontrail-vrouter-docker
|