ovs-sandbox: Add note about OVN to initial output.
authorRussell Bryant <russell@ovn.org>
Mon, 7 Mar 2016 15:47:21 +0000 (10:47 -0500)
committerRussell Bryant <russell@ovn.org>
Mon, 7 Mar 2016 19:12:20 +0000 (14:12 -0500)
When you run ovs-sandbox, it finishes with a note describing the dummy
environment it has set up.  Add some additional text that indicates that
OVN is also enabled when that is the case.

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Acked-by: Ryan Moats <rmoats@us.ibm.com>
tutorial/ovs-sandbox

index ea3b827..99cc3bb 100755 (executable)
@@ -360,8 +360,16 @@ cat <<EOF
 ----------------------------------------------------------------------
 You are running in a dummy Open vSwitch environment.  You can use
 ovs-vsctl, ovs-ofctl, ovs-appctl, and other tools to work with the
-dummy switch.  
+dummy switch.
 
+EOF
+if $ovn; then cat << EOF
+This environment also has the OVN daemons and databases enabled.
+You can use ovn-nbctl and ovn-sbctl to interact with the OVN databases.
+
+EOF
+fi
+cat <<EOF
 Log files, pidfiles, and the configuration database are in the
 "sandbox" subdirectory.