ovs-dpctl, ofproto/trace: Show and handle the in_port name in flows.
authorGurucharan Shetty <gshetty@nicira.com>
Tue, 24 Sep 2013 05:58:46 +0000 (22:58 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 2 Oct 2013 01:09:38 +0000 (18:09 -0700)
commit0a37839c03307cc4cc726d27a7348c05d469c5eb
tree6bf284bda19f723cc29f152af5e95a247d0cde3c
parent363591508db8f17045c9159522ad9511e63cba2e
ovs-dpctl, ofproto/trace: Show and handle the in_port name in flows.

With this commit, whenever the verbosity is enabled with '-m'
option, the ovs-dpctl dump-flows command will display the flows with
in_port field showing the name instead of a port number.

Conversely, one can also use a name in the in_port field with del-flow,
add-flow and mod-flow commands of ovs-dpctl. One should also be able
to use the port name when supplying the datapath flow as an input
to ofproto/trace command.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/dpif.c
lib/odp-util.c
lib/odp-util.h
ofproto/ofproto-dpif.c
tests/ofproto-dpif.at
tests/test-odp.c
utilities/ovs-dpctl.c