Allow separate control and vhost0 IPs in contrail-vrouter-agent.conf

Add possibility to separate the control path for XMPP communication
between vrouter and contrail controllers to go over a separate network
from tenant traffic.

Change-Id: If618adcf6a06c2da3089b62d7433adac2c431acd
Closes-bug: PROD-8436
This commit is contained in:
Jakub Pavlik 2016-11-30 10:04:13 +01:00
parent bdbc7519a1
commit 0d1f67e417
3 changed files with 20 additions and 1 deletions

View File

@ -624,6 +624,19 @@ Vrouter configuration on a kubernetes node(s)
engine: kubernetes
...
vRouter with separated control plane
------------------------------------
Separate XMPP traffic from dataplane interface.
.. code-block:: yaml
opencontrail:
compute:
bind:
address: 172.16.0.50
...
Disable Contrail API authentication
-----------------------------------

View File

@ -124,7 +124,11 @@ type=kvm
[NETWORKS]
# control-channel IP address used by WEB-UI to connect to vnswad to fetch
# required information (Optional)
{%- if compute.bind is defined %}
control_network_ip={{ compute.bind.address }}
{%- else %}
control_network_ip={{ compute.interface.address }}
{%- endif %}
[VIRTUAL-HOST-INTERFACE]
# Everything in this section is mandatory

View File

@ -16,10 +16,12 @@ opencontrail:
enabled: True
discovery:
host: 127.0.0.1
bind:
address: 127.0.0.1
interface:
address: 127.0.0.1
dev: eth0
gateway: 127.0.0.1
mask: /24
dns: 127.0.0.1
mtu: 9000
mtu: 9000