X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fofproto.at;h=9009b91502cc01f0095c64e3e1a827d32ed48022;hb=2be393edd3a94772ef430054dc72ec794c450981;hp=892642757e3a473e59160f6eadd8018df29aca3f;hpb=3a51996b8a196e6b761e9d7e20ce573028a6dbcf;p=sliver-openvswitch.git diff --git a/tests/ofproto.at b/tests/ofproto.at index 892642757..9009b9150 100644 --- a/tests/ofproto.at +++ b/tests/ofproto.at @@ -36,6 +36,21 @@ OFPST_PORT reply: 1 ports 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])