diff --git a/mininet/cli.py b/mininet/cli.py index 91f44e9d39d39c22eaaab83c7332eaf18ffc9177..59713ccb94e83df66e19b3db700510ef0493d585 100644 --- a/mininet/cli.py +++ b/mininet/cli.py @@ -289,7 +289,7 @@ def do_source( self, line ): 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 fc24ad21d2dc4d2d97b3f4073702b4a37ee33123..8460b3903103d840e619b3319ec3b388adac2f14 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -924,8 +924,8 @@ def setup( cls ): 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 ):