Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/app/cli.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ryu/app/cli.py b/ryu/app/cli.py
index db7ba6a..abeff16 100644
--- a/ryu/app/cli.py
+++ b/ryu/app/cli.py
@@ -105,6 +105,13 @@ class CliCmd(cmd.Cmd):
         map(lambda b: print('%s' % (b,)), self.management.list_bricks())
 
     @command_log
+    def do_show_datapaths(self, params):
+        '''
+        show a list of connected datapaths
+        '''
+        map(lambda b: print('%s' % (b,)), self.management.list_datapaths())
+
+    @command_log
     def do_show_loggers(self, params):
         '''
         show loggers
-- 
1.8.0.1


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to