Add Puppet Litmus

Depends-On: https://review.opendev.org/#/c/752202/
Change-Id: Iec4fc302750a0a5e26a8e8d519f66ad8c5c07a65
This commit is contained in:
Tobias Urdin 2020-08-31 21:50:15 +02:00
parent 2ec757c8e8
commit f62124fbf4
12 changed files with 5 additions and 102 deletions

View File

@ -2,5 +2,5 @@
templates: templates:
- puppet-openstack-check-jobs - puppet-openstack-check-jobs
- puppet-openstack-module-unit-jobs - puppet-openstack-module-unit-jobs
- puppet-openstack-beaker-jobs - puppet-openstack-litmus-jobs
- release-notes-jobs-python3 - release-notes-jobs-python3

View File

@ -13,7 +13,6 @@ Team and repository tags
2. [Module Description - What the module does and why it is useful](#module-description) 2. [Module Description - What the module does and why it is useful](#module-description)
3. [Setup - The basics of getting started with ovn](#setup) 3. [Setup - The basics of getting started with ovn](#setup)
* [What ovn affects](#what-ovn-affects) * [What ovn affects](#what-ovn-affects)
4. [Functional testing with Beaker-Rspec](#Beaker-Rspec)
## Overview ## Overview
@ -41,20 +40,6 @@ of its parameters
* ovn_encap_type - Encapsulation type to be used by this controller. Defaults * ovn_encap_type - Encapsulation type to be used by this controller. Defaults
to geneve to geneve
## Beaker-Rspec
This module has beaker-rspec tests.
To run the tests on the default vagrant node:
```shell
bundle install
bundle exec rake acceptance
```
For more information on writing and running beaker-rspec tests visit the documentation:
* https://github.com/puppetlabs/beaker-rspec/blob/master/README.md
Release notes for the project can be found at: Release notes for the project can be found at:
https://docs.openstack.org/releasenotes/puppet-ovn/ https://docs.openstack.org/releasenotes/puppet-ovn/

View File

@ -20,9 +20,9 @@ describe 'basic ovn deployment' do
apply_manifest(pp, :catch_changes => true) apply_manifest(pp, :catch_changes => true)
end end
describe 'test openvswitch-ovn CLI' do it 'should show successfully' do
it 'list virtual ports' do command('ovn-nbctl show') do |r|
expect(shell('ovn-nbctl show').exit_code).to be_zero expect(r.exit_code).to eq 0
end end
end end
end end

View File

@ -1,11 +0,0 @@
HOSTS:
centos-server-70-x64:
roles:
- master
platform: el-7-x86_64
box: puppetlabs/centos-7.0-64-nocm
box_url: https://vagrantcloud.com/puppetlabs/centos-7.0-64-nocm
hypervisor: vagrant
CONFIG:
log_level: debug
type: foss

View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-server-14.04-amd64:
roles:
- master
platform: ubuntu-14.04-amd64
box: puppetlabs/ubuntu-14.04-64-nocm
box_url: https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
hypervisor: vagrant
CONFIG:
type: foss

View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-18.04-amd64:
roles:
- master
platform: ubuntu-18.04-amd64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

View File

@ -1,10 +0,0 @@
HOSTS:
centos-70-x64:
roles:
- master
platform: el-7-x86_64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

View File

@ -1,10 +0,0 @@
HOSTS:
centos-80-x64:
roles:
- master
platform: el-8-x86_64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-14.04-amd64:
roles:
- master
platform: ubuntu-14.04-amd64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-16.04-amd64:
roles:
- master
platform: ubuntu-16.04-amd64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

View File

@ -1,11 +0,0 @@
HOSTS:
ubuntu-server-14.04-amd64:
roles:
- master
platform: ubuntu-14.04-amd64
box: puppetlabs/ubuntu-14.04-64-nocm
box_url: https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
hypervisor: vagrant
CONFIG:
log_level: debug
type: foss

View File

@ -1 +1 @@
require 'puppet-openstack_spec_helper/beaker_spec_helper' require 'puppet-openstack_spec_helper/litmus_spec_helper'