Re: [ovs-dev] [PATCH] Introduce ovs-appctl command to monitor HVs sb connection status

2018-07-26 Thread Mark Michelson
Hi Lorenzo, I have some comments inline below. Also, I think there should be a test for this. You could start OVN, run `ovn-appctl -t ovn-controller connection-status` and make sure it returns "connected". Then you could run `ovn-sbctl set-connection random TCP port>`, and then ensure that

Re: [ovs-dev] [PATCH] Introduce ovs-appctl command to monitor HVs sb connection status

2018-07-19 Thread aginwala
Signed-off-by: aginwala On Thu, Jul 19, 2018 at 4:01 AM Lorenzo Bianconi < lorenzo.bianc...@redhat.com> wrote: > Add 'connection-status' command to ovs-appctl utility in order to check > if a given chassis is currently connected to SB db > > Co-authored-by: aginwala > Signed-off-by: Lorenzo

[ovs-dev] [PATCH] Introduce ovs-appctl command to monitor HVs sb connection status

2018-07-19 Thread Lorenzo Bianconi
Add 'connection-status' command to ovs-appctl utility in order to check if a given chassis is currently connected to SB db Co-authored-by: aginwala Signed-off-by: Lorenzo Bianconi --- lib/jsonrpc.c | 6 ++ lib/jsonrpc.h | 1 + lib/ovsdb-idl.c