ovsdb-server: Announce bound listening ports as status:bound_port.
authorBen Pfaff <blp@nicira.com>
Thu, 18 Apr 2013 23:37:05 +0000 (16:37 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 18 Apr 2013 23:43:15 +0000 (16:43 -0700)
commit798e1352d09bc48d1eecb6ecf1b2c21d9b1ba2a5
tree5cea6af0be1a821744eb8e8f6ac834ee5ea23ce2
parent1e04fcc879ea09bb8c7512cda6de91f7725627f6
ovsdb-server: Announce bound listening ports as status:bound_port.

The administrator can request that OVSDB bind any available TCP port, but
in that case there is no easy way to find out what port it has bound.  This
commit adds that information as the "bound_port" key in the "status"
column.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/stream-provider.h
lib/stream-ssl.c
lib/stream-tcp.c
lib/stream.c
lib/stream.h
ovsdb/jsonrpc-server.c
ovsdb/jsonrpc-server.h
ovsdb/ovsdb-server.c
tests/ofproto-dpif.at
tests/ofproto-macros.at
vswitchd/vswitch.xml