Hi 
I'm  using openflow 1.3

________________________________________
From: Yi Tseng [[email protected]]
Sent: Wednesday, September 23, 2015 10:51 PM
To: Anees Mohsin Hadi Al-Najjar
Cc: [email protected]
Subject: Re: [Ryu-devel] Rewriting addresses in Ryu

Hi, what OpenFlow version you use?

dl_type is in 1.0 version OFPMatch only

2015-09-23 15:53 GMT+08:00 Anees Mohsin Hadi Al-Najjar 
<[email protected]<mailto:[email protected]>>:

Dear All,

I am writing my first Ryu controller.

When I write
parser.OFPMatch(in_port=1, dl_type=0x806)
there is an error which is   “'unknown match field dl_type”

Please, How can I fix this problem?

Thanks a lot

Anees

From: Yi Tseng [mailto:[email protected]<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



--
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

Reply via email to