diff mbox

[ovs-dev,v2,1/5] ovn-ctl: Add daemon status functions.

Message ID 1450306031-17238-1-git-send-email-guru@ovn.org
State Accepted
Headers show

Commit Message

Gurucharan Shetty Dec. 16, 2015, 10:47 p.m. UTC
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Acked-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
---
patch already applied.
---
 ovn/utilities/ovn-ctl |    6 ++++++
 1 file changed, 6 insertions(+)
diff mbox

Patch

diff --git a/ovn/utilities/ovn-ctl b/ovn/utilities/ovn-ctl
index 3e2ccf9..b171934 100755
--- a/ovn/utilities/ovn-ctl
+++ b/ovn/utilities/ovn-ctl
@@ -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
         ;;