
The current setting of ovn depends on the br-ex bridge. Let's ensure the bridge is created. Depends-on: https://review.opendev.org/898261 Change-Id: I50747684df2f1b303b7ae865eacc8dc0ac8a2112
31 lines
701 B
Ruby
31 lines
701 B
Ruby
require 'spec_helper_acceptance'
|
|
|
|
describe 'basic ovn deployment' do
|
|
|
|
context 'default parameters' do
|
|
pp= <<-EOS
|
|
include openstack_integration
|
|
include openstack_integration::repos
|
|
|
|
include openstack_integration::ovs
|
|
include openstack_integration::ovn
|
|
EOS
|
|
|
|
it 'should work with no errors' do
|
|
# Run it twice and test for idempotency
|
|
apply_manifest(pp, :catch_failures => true)
|
|
apply_manifest(pp, :catch_changes => true)
|
|
end
|
|
|
|
it 'should show successfully' do
|
|
command('ovn-nbctl show') do |r|
|
|
expect(r.exit_code).to eq 0
|
|
end
|
|
command('ovn-sbctl show') do |r|
|
|
expect(r.exit_code).to eq 0
|
|
end
|
|
end
|
|
end
|
|
|
|
end
|