diff --git a/mininet/cli.py b/mininet/cli.py index 91f44e9..59713cc 100644 --- a/mininet/cli.py +++ b/mininet/cli.py @@ -289,7 +289,7 @@ class CLI( Cmd ): self.inputFile = None def do_dpctl( self, line ): - "Run dpctl command on all switches." + "Run dpctl (or ovs-ofctl) command on all switches." args = line.split() if len(args) < 1: error( 'usage: dpctl command [arg1] [arg2] ...\n' ) diff --git a/mininet/node.py b/mininet/node.py index fc24ad2..8460b39 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -924,8 +924,8 @@ class OVSSwitch( Switch ): exit( 1 ) def dpctl( self, *args ): - "Run ovs-dpctl command" - return self.cmd( 'ovs-dpctl', args[ 0 ], self, *args[ 1: ] ) + "Run ovs-ofctl command" + return self.cmd( 'ovs-ofctl', args[ 0 ], self, *args[ 1: ] ) @staticmethod def TCReapply( intf ):