Networking OVN Puppet Module
4e9e55987d
When ovn-northd is started, along with it ovsdb servers for the southbound
and northbound databases are also started. Without additional options for the
ovn-northd service, the DB servers will be listenting on 0.0.0.0.
This patch creates a systemd environment file that will create the db listen
options for the northd service. It also sets the other options
db-nb-create-insecure-remote and db-sb-create-insecure-remote which
are required to start the ovsdb-server's listening on TCP
connections. Please see this commit [1] for more details.
[1] -
|
||
---|---|---|
manifests | ||
releasenotes | ||
spec | ||
.gitignore | ||
.gitreview | ||
bindep.txt | ||
Gemfile | ||
LICENSE | ||
metadata.json | ||
Rakefile | ||
README.md | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Team and repository tags
OVN
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with ovn
- Functional testing with Beaker-Rspec
Overview
Puppet module for the OVN project.
Module Description
This module has two class
- ovn::northd to be used in machines that needs to run ovn-northd daemon
- 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: