Forge Home

vswitch

A module for providing things (ports, bridges) to vSwitches (OVS)

49,433 downloads

162 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 19.0.0 (latest)
  • 18.0.0
  • 17.0.0
  • 16.3.1
  • 16.3.0
  • 16.2.0
  • 16.1.0
  • 16.0.0
  • 15.4.1
  • 15.4.0
  • 15.3.0
  • 15.2.0
  • 15.1.0
  • 15.0.0
  • 14.4.2
  • 14.4.1
  • 14.4.0
  • 14.3.0
  • 14.2.0
  • 14.1.0
  • 14.0.0
  • 13.5.0
  • 13.4.0
  • 13.3.0
  • 13.2.0
  • 13.1.0
  • 12.4.0
  • 12.3.0
  • 12.2.1
  • 12.1.0
  • 12.0.0
  • 11.5.0
  • 11.4.0
  • 11.2.0
  • 11.1.0
  • 11.0.0
  • 10.4.0
  • 10.3.0
  • 10.2.0
  • 6.0.0
  • 4.0.0
  • 3.0.0
  • 2.1.0
  • 2.0.0
released Oct 16th 2023
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
  • Puppet >= 7.0.0 < 8.0.0
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'openstack-vswitch', '19.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add openstack-vswitch
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install openstack-vswitch --version 19.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

openstack/vswitch — version 19.0.0 Oct 16th 2023

Team and repository tags

Team and repository tags

VSwitch

Table of Contents

  1. Overview - What is the AODH module?
  2. Development - Guide for contributing to the module
  3. Contributors - Those with commits
  4. Release Notes - Release notes for the project
  5. Repository - The project source code repository
  6. Usage - The usage of the module
  7. TODO - What to do next

Overview

4.0.0 - 2016.1 - Mitaka

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).
  • configs - Configuration settings, if any

Development

Developer documentation for the entire puppet-openstack project.

Contributors

Release Notes

Repository

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',
}

You can change the vswitch configuration settings using.

vs_config { 'parameter_name':
  ensure => present,
  value => "some_value"
}

For configuration parameters that are 'hash' data type, the resource name should be of the following format

parameter-name:key-name

Ex.
vs_config { 'external_ids:ovn-remote':
  ensure => present,
  value => 'tcp:127.0.0.1:6640'
}

For 'set/array' data types, value should be in the following format

'[<values>]'

Ex.
vs_config { 'array_key':
  ensure => present,
  value => '[2, 1, 6, 4]'
}

TODO:

  • OpenFlow controller settings
  • OpenFlow Settings
  • OpenFlow Tables
  • More facts
  • Others that are not named here