Networking OVN Puppet Module
Go to file
Emilien Macchi df267d25fc Ubuntu acceptance tests and status workarounds
This change adds beaker acceptance testing for Ubuntu and addresses the
bad service status commands for the services running under Ubuntu.

Also change the way we test of ovn is running by listing the virtual
ports, instead of trying to start the service again.
Also improve the doc about controller.

Change-Id: I6edb2363c196ae4a24cda800e59690eefb223384
Co-Authored-By: Alex Schultz <aschultz@mirantis.com>
2016-05-04 08:15:54 -04:00
manifests Ubuntu acceptance tests and status workarounds 2016-05-04 08:15:54 -04:00
spec Ubuntu acceptance tests and status workarounds 2016-05-04 08:15:54 -04:00
.gitignore Added spec classes for controller and northd 2016-03-04 05:02:58 +00:00
.gitreview Added .gitreview for the puppet-ovn project 2016-04-07 11:16:22 +00:00
Gemfile Added .gitreview for the puppet-ovn project 2016-04-07 11:16:22 +00:00
LICENSE Following are done 2016-03-02 07:31:57 +00:00
metadata.json Added validate_* checks in controller class 2016-03-04 06:41:01 +00:00
Rakefile Added spec classes for controller and northd 2016-03-04 05:02:58 +00:00
README.md Added params for debian packages 2016-04-22 11:10:16 -04:00

OVN

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with ovn
  4. Functional testing with Beaker-Rspec

Overview

Puppet module for the OVN project.

Module Description

This module has two class

  1. ovn::northd to be used in machines that needs to run ovn-northd daemon
  2. ovn::controller to be used in the compute nodes

Setup

Effects

ovn::northd just installs the ovn package and starts the ovn-northd serivce. ovn::controller installs ovn package and starts the ovn-controller service. Before starting ovn-controller process it updates the external_ids column of Open_vSwitch table in vswitchd ovsdb. It relies on external data for some of its parameters

  • ovn_remote_ip - This should point to the url where ovn-nb and ovn-sb db server is running
  • ovn_encap_ip - This should point to the ip address that other hypervisors would use to tunnel to this hypervisor.
  • ovn_encap_type - Encapsulation type to be used by this controller. Defaults to geneve

Beaker-Rspec

This module has beaker-rspec tests. To run the tests on the default vagrant node:

bundle install
bundle exec rake acceptance

For more information on writing and running beaker-rspec tests visit the documentation: