Puppet provider for virtual switches.
b27b55b42a
Make sure the status command returns failure if either the ovsdb-server or ovs-vswitchd are stopped. Closes-Bug: 1453211 Change-Id: I372e3f387deb2930d10c209afa3773c7ba3877e3 |
||
---|---|---|
lib | ||
manifests | ||
spec | ||
.gitignore | ||
.gitreview | ||
CHANGELOG.md | ||
Gemfile | ||
LICENSE | ||
metadata.json | ||
Rakefile | ||
README.md |
VSwitch
3.0.0 - 2015.2 - Liberty
A Puppet module providing things for vSwitches. At the moment OVS is the only one I've added but please feel free to contribute new providers through Stackforge. It's based upon types and providers so we can support more then just OVS or one vSwitch type.
The current layout is:
- bridges - A "Bridge" is basically the thing you plug ports / interfaces into.
- ports - A Port is a interface you plug into the bridge (switch).
USAGE:
To create a new bridge, use the vs_bridge
type:
vs_bridge { 'br-ex':
ensure => present,
}
You can then attach a device to the bridge with a virtual port:
vs_port { 'eth2':
ensure => present,
bridge => 'br-ex',
}
Beaker-Rspec
This module has beaker-rspec tests
To run:
shell bundle install bundle exec rspec spec/acceptance
TODO:
- OpenFlow controller settings
- OpenFlow Settings
- OpenFlow Tables
- More facts
- Others that are not named here