aboutsummaryrefslogtreecommitdiffstats
path: root/spec/acceptance/fdio_spec.rb
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-09-20 07:50:44 -0400
committerFeng Pan <fpan@redhat.com>2017-09-20 17:54:27 -0400
commit19fa56176090ca9a1dbce1dff944d8946d15b20a (patch)
tree37432599bc63f625ac9d3f326f9ce79c1a1a619c /spec/acceptance/fdio_spec.rb
parentdcda81db3eb61bdf69751ce6963b564abf7b7e0c (diff)
Add tuntap/tapcli configuration support
JIRA: PUP-3 Change-Id: Ia3e00887289b7b069ac8e3e39943bed264b78982 Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'spec/acceptance/fdio_spec.rb')
-rw-r--r--spec/acceptance/fdio_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/acceptance/fdio_spec.rb b/spec/acceptance/fdio_spec.rb
index 68f2013..4be1865 100644
--- a/spec/acceptance/fdio_spec.rb
+++ b/spec/acceptance/fdio_spec.rb
@@ -41,6 +41,9 @@ describe 'fdio' do
vpp_vhostuser_coalesce_frames => 32,
vpp_vhostuser_coalesce_time => 0.05,
vpp_vhostuser_dont_dump_memory => true,
+ vpp_tuntap_enable => true,
+ vpp_tuntap_mtu => 9000,
+ vpp_tapcli_mtu => 8000,
}
EOS
@@ -54,6 +57,9 @@ describe 'fdio' do
its(:content) { should match /coalesce-frames\s+32/ }
its(:content) { should match /coalesce-time\s+0.05/ }
its(:content) { should match /dont-dump-memory/ }
+ its(:content) { should match /enable/ }
+ its(:content) { should match /mtu 9000/ }
+ its(:content) { should match /mtu 8000/ }
end
end
end