From: Ben Pfaff Date: Thu, 10 Dec 2009 18:11:43 +0000 (-0800) Subject: ovs-vsctl: Add --help output for external-id commands. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68be4616d6acd1bbf552366eac0823a015d7ffdb;p=openvswitch ovs-vsctl: Add --help output for external-id commands. --- diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index c033df9f..10004b6d 100644 --- a/utilities/ovs-vsctl.c +++ b/utilities/ovs-vsctl.c @@ -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"