ovs-vsctl: Add --help output for external-id commands.
authorBen Pfaff <blp@nicira.com>
Thu, 10 Dec 2009 18:11:43 +0000 (10:11 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 10 Dec 2009 18:12:02 +0000 (10:12 -0800)
utilities/ovs-vsctl.c

index c033df9fea98853deb624f6f470972f2ffcb10c3..10004b6dbbee67c72bacca658aea0531463dad62 100644 (file)
@@ -198,7 +198,16 @@ usage(void)
            "  br-to-vlan BRIDGE           "
            "print the VLAN which BRIDGE is on\n"
            "  br-to-parent BRIDGE         "
-           "print the parent of BRIDGE\n");
+           "print the parent of BRIDGE\n"
+           "  br-set-external-id BRIDGE KEY VALUE"
+           "  set KEY on BRIDGE to VALUE\n"
+           "  br-set-external-id BRIDGE KEY"
+           "  unset KEY on BRIDGE\n"
+           "  br-get-external-id BRIDGE KEY"
+           "  print value of KEY on BRIDGE\n"
+           "  br-get-external-id BRIDGE"
+           "  list key-value pairs on BRIDGE\n"
+        );
     printf("\nPort commands:\n"
            "  list-ports BRIDGE           "
            "print the names of all the ports on BRIDGE\n"
@@ -210,12 +219,30 @@ usage(void)
            "delete PORT (which may be bonded) from BRIDGE\n"
            "  port-to-br PORT             "
            "print name of bridge that contains PORT\n"
-           "A bond is considered to be a single port.\n");
+           "  port-set-external-id PORT KEY VALUE"
+           "  set KEY on PORT to VALUE\n"
+           "  port-set-external-id PORT KEY"
+           "  unset KEY on PORT\n"
+           "  port-get-external-id PORT KEY"
+           "  print value of KEY on PORT\n"
+           "  port-get-external-id PORT"
+           "  list key-value pairs on PORT\n"
+           "A bond is considered to be a single port.\n"
+        );
     printf("\nInterface commands (a bond consists of multiple interfaces):\n"
            "  list-ifaces BRIDGE          "
            "print the names of all the interfaces on BRIDGE\n"
            "  iface-to-br IFACE           "
-           "print name of bridge that contains IFACE\n");
+           "print name of bridge that contains IFACE\n"
+           "  iface-set-external-id IFACE KEY VALUE"
+           "  set KEY on IFACE to VALUE\n"
+           "  iface-set-external-id IFACE KEY"
+           "  unset KEY on IFACE\n"
+           "  iface-get-external-id IFACE KEY"
+           "  print value of KEY on IFACE\n"
+           "  iface-get-external-id IFACE"
+           "  list key-value pairs on IFACE\n"
+        );
     printf("\nOptions:\n"
            "  --db=DATABASE               "
            "connect to DATABASE\n"