Signed-off-by: Isaku Yamahata <[email protected]>
---
bin/ryu-client | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
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.10.4
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel