X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fofproto.at;h=ca8a558ed764178c1065a90eb8b2ade54b5cd66f;hb=135faefe4af624489ac310810a5ffb5223606252;hp=f29921843b94acac7875859502549e292bef54e6;hpb=0ab14c8e284b7c5c68aff1ccc6795a1d4b58bd49;p=openvswitch diff --git a/tests/ofproto.at b/tests/ofproto.at index f2992184..ca8a558e 100644 --- a/tests/ofproto.at +++ b/tests/ofproto.at @@ -21,6 +21,30 @@ OFPT_GET_CONFIG_REPLY: frags=normal miss_send_len=0 OFPROTO_STOP AT_CLEANUP +dnl This is really bare-bones. +dnl It at least checks request and reply serialization and deserialization. +AT_SETUP([ofproto - port stats]) +OFPROTO_START +AT_CHECK([ovs-ofctl -vANY:ANY:WARN dump-ports br0], [0], [stdout]) +AT_CHECK([STRIP_XIDS stdout], [0], [dnl +OFPST_PORT reply: 1 ports + port 65534: rx pkts=0, bytes=0, drop=0, errs=0, frame=0, over=0, crc=0 + tx pkts=0, bytes=0, drop=0, errs=0, coll=0 +]) +OFPROTO_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]) +OFPROTO_START +AT_CHECK([ovs-ofctl -vANY:ANY:WARN queue-stats br0], [0], [stdout]) +AT_CHECK([STRIP_XIDS stdout], [0], [dnl +OFPST_QUEUE reply: 0 queues +]) +OFPROTO_STOP +AT_CLEANUP + AT_SETUP([ofproto - mod-port]) OFPROTO_START for command_config_state in \