From b2336b454903992db396353c0d936d508eec4ac4 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Tue, 16 Jun 2015 08:35:07 -0400 Subject: [PATCH] acceptance: test OVS bridge listing This beaker test makes sure that Neutron creates the bridges (br-int and br-tun) during the installation workflow. Change-Id: Ieffc2038086c879e981e3f66f4734e476faac550 --- spec/acceptance/basic_neutron_spec.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spec/acceptance/basic_neutron_spec.rb b/spec/acceptance/basic_neutron_spec.rb index 652a6e9f1..e69a158d7 100644 --- a/spec/acceptance/basic_neutron_spec.rb +++ b/spec/acceptance/basic_neutron_spec.rb @@ -128,5 +128,14 @@ describe 'basic neutron' do apply_manifest(pp, :catch_changes => true) end + describe 'test Neutron OVS agent bridges' do + it 'should list OVS bridges' do + shell("ovs-vsctl show") do |r| + expect(r.stdout).to match(/br-int/) + expect(r.stdout).to match(/br-tun/) + end + end + end + end end