Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c8abe9e0
authored
Jul 06, 2016
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: add vxlan to circle bridge
openvswitch: add bind-utils for salt openvswitch module
parent
ba8b8e5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
salt/network/init.sls
+11
-0
salt/openvswitch/init.sls
+8
-0
No files found.
salt/network/init.sls
View file @
c8abe9e0
...
@@ -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:
...
...
salt/openvswitch/init.sls
View file @
c8abe9e0
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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment