Thanks Yi.
Is it the same work of ipv4_to_bin and haddr_to_bin() functions in Ryu?
Anees
From: Yi Tseng [mailto:[email protected]]
Sent: Tuesday, 22 September 2015 5:25 PM
To: Anees Mohsin Hadi Al-Najjar
<[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [Ryu-devel] Rewriting addresses in Ryu
Hello
you can use OFPActionSetField
for example:
actions = [ofp_parser.OFPActionSetField(eth_dst=new_mac_address,
ipv4_dst=new_ip_addr), ofp_parser.OFPActionOutput(1)]
2015-09-22 13:04 GMT+08:00 Anees Mohsin Hadi Al-Najjar
<[email protected]<mailto:[email protected]>>:
Dear all,
Kindly, how can I rewrite IP and MAC addresses in Ryu?
I know that in POX by using EthAddr() and IPAddr(), but I don’t know that in
Ryu.
Thanks For your helping
Anees
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/ryu-devel
--
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab
http://blog.takeshi.tw
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel