Signed-off-by: Isaku Yamahata <[email protected]>
---
 bin/ryu-client |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/bin/ryu-client b/bin/ryu-client
index dc1f697..20eeff6 100755
--- a/bin/ryu-client
+++ b/bin/ryu-client
@@ -42,7 +42,11 @@ def client_test():
         'list_ports': lambda a: sys.stdout.write(client.get_ports(a[1])),
         'create_port': lambda a: client.create_port(a[1], a[2], a[3]),
         'update_port': lambda a: client.update_port(a[1], a[2], a[3]),
-        'delete_port': lambda a: client.delete_port(a[1], a[2], a[3])
+        'delete_port': lambda a: client.delete_port(a[1], a[2], a[3]),
+        'list_macs': lambda a: sys.stdout.write(
+            ofp_client.list_macs(a[1], a[2], a[3])),
+        'create_mac': lambda a: ofp_client.create_mac(a[1], a[2], a[3], a[4]),
+        'update_mac': lambda a: ofp_client.update_mac(a[1], a[2], a[3], a[4]),
     }
 
     # allow '-', instead of '_'
-- 
1.7.1.1


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to