Puppet provider for virtual switches.
Go to file
Rob Sweet 9c991e1188 Fix kernel module filename for OVS versions
Better kernel module filename handling to support OVS v2; New fact for
OVS version

Closes-Bug: 1453213
Change-Id: I5bcfd00366bea5c46bb3a62cacd9e5b55d8c2ffe
2016-01-28 12:30:17 -08:00
lib Fix kernel module filename for OVS versions 2016-01-28 12:30:17 -08:00
manifests Fix kernel module filename for OVS versions 2016-01-28 12:30:17 -08:00
spec Fix kernel module filename for OVS versions 2016-01-28 12:30:17 -08: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