This allows the reader to figure out from "ovn-nbctl show" output where the ports of type "router" connect.
Signed-off-by: Ben Pfaff <b...@ovn.org> --- ovn/utilities/ovn-nbctl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ovn/utilities/ovn-nbctl.c b/ovn/utilities/ovn-nbctl.c index 87bee0701d14..cc0ab15c9442 100644 --- a/ovn/utilities/ovn-nbctl.c +++ b/ovn/utilities/ovn-nbctl.c @@ -631,6 +631,11 @@ print_ls(const struct nbrec_logical_switch *ls, struct ds *s) } ds_put_cstr(s, "]\n"); } + + const char *router_port = smap_get(&lsp->options, "router-port"); + if (router_port) { + ds_put_format(s, " router-port: %s\n", router_port); + } } } -- 2.10.2 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev