Puppet provider for virtual switches.
Go to file
Rob Sweet b27b55b42a Fix ovs status command
Make sure the status command returns failure if either the ovsdb-server
or ovs-vswitchd are stopped.

Closes-Bug: 1453211
Change-Id: I372e3f387deb2930d10c209afa3773c7ba3877e3
2016-01-29 11:30:35 -07:00
lib Merge "Fix kernel module filename for OVS versions" 2016-01-29 14:44:46 +00:00
manifests Fix ovs status command 2016-01-29 11:30:35 -07:00
spec Fix ovs status command 2016-01-29 11:30:35 -07:00
.gitignore Try to use zuul-cloner to prepare fixtures 2016-01-17 13:31:14 +03:00
.gitreview Update .gitreview file for project rename 2015-06-12 23:12:30 +00:00
CHANGELOG.md release: prepare 3.0.0 (liberty) 2015-11-26 10:24:34 +01:00
Gemfile drop mock dependency 2016-01-22 10:13:45 -05:00
LICENSE Added LICENSE file 2013-01-16 21:39:20 -08:00
metadata.json release: prepare 3.0.0 (liberty) 2015-11-26 10:24:34 +01:00
Rakefile Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 2016-01-19 22:38:44 -05:00
README.md release: prepare 3.0.0 (liberty) 2015-11-26 10:24:34 +01:00

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