OVS_VSWITCHD_STOP
AT_CLEANUP
+dnl This is really bare-bones.
+dnl It at least checks request and reply serialization and deserialization.
+AT_SETUP([ofproto - port-desc stats])
+OVS_VSWITCHD_START
+AT_CHECK([ovs-ofctl -vwarn dump-ports-desc br0], [0], [stdout])
+AT_CHECK([STRIP_XIDS stdout], [0], [dnl
+OFPST_PORT_DESC reply:
+ LOCAL(br0): addr:aa:55:aa:55:00:00
+ config: PORT_DOWN
+ state: LINK_DOWN
+ speed: 100 Mbps now, 100 Mbps max
+])
+OVS_VSWITCHD_STOP
+AT_CLEANUP
+
dnl This is really bare-bones.
dnl It at least checks request and reply serialization and deserialization.
AT_SETUP([ofproto - queue stats])
0: classifier: wild=0x3fffff, max=1000000, active=0
lookup=0, matched=0"
x=1
- while test $x -lt 255; do
+ while test $x -lt 254; do
printf " %d: %-8s: wild=0x3fffff, max=1000000, active=0
lookup=0, matched=0
" $x table$x
x=`expr $x + 1`
- done) > expout
+ done
+ echo " 254: table254: wild=0x3fffff, max=1000000, active=2
+ lookup=0, matched=0") > expout
AT_CHECK([ovs-ofctl dump-tables br0], [0], [expout])
# Change the configuration.
AT_CHECK(