ovn-ctl: Add daemon status functions.
authorGurucharan Shetty <guru@ovn.org>
Tue, 15 Dec 2015 16:27:15 +0000 (08:27 -0800)
committerGurucharan Shetty <guru@ovn.org>
Wed, 16 Dec 2015 18:26:24 +0000 (10:26 -0800)
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Acked-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
ovn/utilities/ovn-ctl

index 3e2ccf9..b171934 100755 (executable)
@@ -225,6 +225,12 @@ case $command in
     restart_controller)
         restart_controller
         ;;
+    status_northd)
+        daemon_status ovn-northd || exit 1
+        ;;
+    status_controller)
+        daemon_status ovn-controller || exit 1
+        ;;
     help)
         usage
         ;;