X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Flearn.at;h=b2bec02552d19cb7b0c1ac4acf6d3bc59cc5728f;hb=e1b1d06afdee407ccfa3c4c257b8dcfbcdd004ff;hp=da82f51f240abaaf80e09630d43cf9a53d052ccd;hpb=f7b8e494663204684c088c91951f83909217f894;p=sliver-openvswitch.git diff --git a/tests/learn.at b/tests/learn.at index da82f51f2..b2bec0255 100644 --- a/tests/learn.at +++ b/tests/learn.at @@ -161,7 +161,8 @@ AT_SETUP([learning action - fin_timeout feature]) # This is a totally artificial use of the "learn" action. The only purpose # is to check that specifying fin_idle_timeout or fin_hard_timeout causes # a corresponding fin_timeout action to end up in the learned flows. -OVS_VSWITCHD_START +OVS_VSWITCHD_START( + [add-port br0 p1 -- set Interface p1 type=dummy ofport_request=1]) AT_CHECK([[ovs-ofctl add-flow br0 'actions=learn(fin_hard_timeout=10, fin_idle_timeout=5, NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[], output:NXM_OF_IN_PORT[])']]) AT_CHECK([ovs-appctl ofproto/trace br0 'in_port(1),eth(src=50:54:00:00:00:05,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=192.168.0.1,tip=192.168.0.2,op=1,sha=50:54:00:00:00:05,tha=00:00:00:00:00:00)' -generate], [0], [ignore]) AT_CHECK([ovs-ofctl dump-flows br0 table=1 | ofctl_strip], [0],