Commit ea2eda72 by Czémán Arnold Committed by cloud

network: add vxlan to circle bridge

openvswitch: add bind-utils for salt openvswitch module
parent 704489ee
...@@ -6,6 +6,17 @@ ovs-bridge: ...@@ -6,6 +6,17 @@ ovs-bridge:
openvswitch_bridge.present: openvswitch_bridge.present:
- name: cloud - name: cloud
circle-vxlan:
openvswitch_port.present:
- bridge: cloud
- type: vxlan
- id: 42
- remote: 239.1.1.1
- dst_port: 4789
- require:
- openvswitch_bridge: ovs-bridge
- pkg: bind-utils
{% if grains['os_family'] == 'RedHat' %} {% if grains['os_family'] == 'RedHat' %}
net_config: net_config:
file.managed: file.managed:
......
bind-utils: # for salt.states.openvswitch_port module
pkg.installed:
{% if grains['os_family'] == "RedHat" %}
- name: bind-utils
{% else %}
- name: dnsutils
{% endif %}
{% if grains['os_family'] == "RedHat" %} {% if grains['os_family'] == "RedHat" %}
openvswitch: openvswitch:
pkg.installed: pkg.installed:
......
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