Commit b9193642 by barni2000

vxlan base network is now optional

parent 48613706
network:
vxlan_base: False
if_name: eth0
vxlan_name: circle-vxlan
vxlan_id: 42
......
{% if pillar["deployment_mode"] == "node" %}
{% if pillar["network"]["vxlan_base"] == True %}
{% set vxlan_port = pillar["network"]["vxlan_port"]["port"] %}
{% set vxlan_proto = pillar["network"]["vxlan_port"]["proto"] %}
......
......@@ -7,6 +7,7 @@ ovs-bridge:
- name: cloud
{% set net = pillar["network"] %}
{% if net["vxlan_base"] == True %}
circle-vxlan-if:
cmd.run:
- name: >
......@@ -22,6 +23,7 @@ circle-vxlan:
- openvswitch_bridge: ovs-bridge
- pkg: bind-utils
- cmd: circle-vxlan-if
{% endif %}
{% if grains['os_family'] == 'RedHat' %}
net_config:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment