Later ryu passes/drops packets from the port based on mac address.
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
------------------------------------------------------------------------------
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_nov
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel