vswitchd: Make "fdb/show" output more meaningful port numbers.
authorBen Pfaff <blp@nicira.com>
Thu, 16 Jul 2009 22:15:02 +0000 (15:15 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 16 Jul 2009 22:15:02 +0000 (15:15 -0700)
commit092bebdc047b8a4944762a454ff8653baa563ced
tree2b7523a421c94c054dc30981fa7583a04834211b
parent867fb42cba19c25cfbe4f6752ebd3e44c29be2a1
vswitchd: Make "fdb/show" output more meaningful port numbers.

The "fdb/show" unixctl command was showing vswitch-internal port indexes,
which cannot be meaningfully interpreted by software outside vswitchd.
Also, they potentially change every time the vswitchd configuration file
changes.  This commit changes it to use a datapath port index instead,
which are both more meaningful and more stable.
vswitchd/bridge.c