ovs-dpctl: Use netdev_get_config() to print vport configurations.
authorBen Pfaff <blp@nicira.com>
Wed, 29 Dec 2010 23:20:33 +0000 (15:20 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Jan 2011 05:08:37 +0000 (21:08 -0800)
commitffeda91a477a62d267696e08103f3ac6ec9a0102
tree9d2e650f25386a64043fab5aee9e7c257881fcaf
parent6d9e6eb44fc82ae985e6e8db4f156ba56f8bea39
ovs-dpctl: Use netdev_get_config() to print vport configurations.

This is cleaner than parsing "odp_port"s directly.  It takes one step
toward eliminating use of odp_port from any userspace code outside of
lib/netdev-vport.c and lib/dpif-linux.c.

Reviewed by Justin Pettit.
lib/odp-util.c
lib/odp-util.h
utilities/ovs-dpctl.c