From: Numan Siddique <[email protected]> Having this information in the show command will be helpful.
Signed-off-by: Numan Siddique <[email protected]> --- ovn/utilities/ovn-nbctl.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ovn/utilities/ovn-nbctl.c b/ovn/utilities/ovn-nbctl.c index c920ad878..c9aa2fef4 100644 --- a/ovn/utilities/ovn-nbctl.c +++ b/ovn/utilities/ovn-nbctl.c @@ -614,6 +614,15 @@ print_lr(const struct nbrec_logical_router *lr, struct ds *s) } ds_put_cstr(s, "]\n"); } + + if (lrp->n_gateway_chassis) { + ds_put_cstr(s, " gateway chassis: ["); + for (size_t j = 0; j < lrp->n_gateway_chassis; j++) { + ds_put_format(s, "%s ", lrp->gateway_chassis[j]->chassis_name); + } + ds_chomp(s, ' '); + ds_put_cstr(s, "]\n"); + } } for (size_t i = 0; i < lr->n_nat; i++) { -- 2.14.3 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
