summaryrefslogtreecommitdiffstats
path: root/roles/contiv/templates/netplugin.j2
blob: a4928cc3d9d21670985f51d1db6489d3338dc7d1 (plain)
1
2
3
4
5
6
7
{% if contiv_encap_mode == "vlan" %}
NETPLUGIN_ARGS='-vlan-if {{ netplugin_interface }} -ctrl-ip {{ netplugin_ctrl_ip }} -plugin-mode kubernetes -cluster-store etcd://{{ etcd_url }}'
{% endif %}
{% if contiv_encap_mode == "vxlan" %}
NETPLUGIN_ARGS='-vtep-ip {{ netplugin_ctrl_ip }} -ctrl-ip {{ netplugin_ctrl_ip }} -plugin-mode kubernetes -cluster-store etcd://{{ etcd_url }}'
{% endif %}