Networking OVN Puppet Module
Go to file
Kamil Sambor 9bbc14b4f2 Set external_ids:ovn-chassis-mac-mappings
For distributed vlan in ovn we need to add support of
creating mac addresses per compute and seting them in
external_ids:ovn-chassis-mac-mappings.

Conflicts:
	manifests/controller.pp
	spec/classes/ovn_controller_spec.rb

Backport note to Victoria:
Resolved conflicts caused by the enable_ovn_match_northd parameter[1]
which is not backported to Victoria.
 [1] 392ad7946e

Backport note to Ussuri:
Resolved conflicts caused by the ovn_transport_zones parameter[2] which
is not backported to Ussuri.
 [2] dba349dad0

Related-Bug: #1881593
Co-Authored-By: Takashi Kajinami <tkajinam@redhat.com>
Change-Id: Iddca7d8942bc52127525847f129eac8ea03934a1
(cherry picked from commit 73a1d56922)
(cherry picked from commit 490f7e56d2)
(cherry picked from commit 74d2389c2a)
2021-03-31 11:38:06 +09:00
doc Sync Sphinx requirement 2019-08-02 14:40:54 +08:00
manifests Set external_ids:ovn-chassis-mac-mappings 2021-03-31 11:38:06 +09:00
releasenotes Set external_ids:ovn-chassis-mac-mappings 2021-03-31 11:38:06 +09:00
spec Set external_ids:ovn-chassis-mac-mappings 2021-03-31 11:38:06 +09:00
.gitignore Dissuade .gitignore references to personal tools 2018-10-08 11:39:25 +08:00
.gitreview Update .gitreview for stable/train 2019-10-04 13:34:53 +00:00
.zuul.yaml switch documentation job to new PTI 2018-08-31 08:24:43 -04:00
Gemfile Switch to Train 2019-10-10 01:28:43 +02:00
LICENSE Following are done 2016-03-02 07:31:57 +00:00
README.md Fix Repository 2019-04-21 12:59:10 +08:00
Rakefile Added spec classes for controller and northd 2016-03-04 05:02:58 +00:00
bindep.txt modulesync: sync and add nodepool-bionic for beaker 2018-07-18 16:19:35 +02:00
metadata.json Prepare Train RC1 2019-09-25 13:45:43 +08:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-02 18:20:28 +01:00
setup.py Add release note files for reno 2016-05-20 00:12:39 +02:00
tox.ini Update TOX/UPPER_CONSTRAINTS_FILE for stable/train 2019-10-04 13:34:57 +00:00

README.md

Team and repository tags

Team and repository tags

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:

Release notes for the project can be found at: https://docs.openstack.org/releasenotes/puppet-ovn/

The project source code repository is located at: https://opendev.org/openstack/puppet-ovn/

Developer documentation for the entire puppet-openstack project can be found at: https://docs.openstack.org/puppet-openstack-guide/latest/