Have you followed steps from the final entry of the FAQ in the POX manual? http://www.noxrepo.org/pox/manual
-- Murphy On Oct 27, 2013, at 12:26 PM, Amer <[email protected]> wrote: > Hello, > > I have copied the handle_connectionup function from l2_nx, but I do not know > whether the table statements are mandatory and useful for someone who use a > regular nx-match statements like what you have sent me. Also, I do not know > why arbitrary netmask did not work with me even with nicira. > I apologize I found a flood statement handled my communication when I removed > it, nothing was sent :( !! > > Best regards, > Amer > > Sent from my iPhone > > On ٢٧/١٠/٢٠١٣, at ١:٣٩ م, AMER <[email protected]> wrote: > >> Hello, >> >> I am facing this error, it works fine even with this error but I hope to >> sort it out >> >> INFO:openflow.of_01:[00-00-00-00-00-04 13] connected >> ERROR:openflow.of_01:[00-00-00-00-00-04 13] OpenFlow Error: >> [00-00-00-00-00-04 13] Error: header: >> [00-00-00-00-00-04 13] Error: version: 1 >> [00-00-00-00-00-04 13] Error: type: 1 (OFPT_ERROR) >> [00-00-00-00-00-04 13] Error: length: 32 >> [00-00-00-00-00-04 13] Error: xid: 128 >> [00-00-00-00-00-04 13] Error: type: OFPET_BAD_REQUEST (1) >> [00-00-00-00-00-04 13] Error: code: OFPBRC_BAD_SUBTYPE (4) >> [00-00-00-00-00-04 13] Error: datalen: 20 >> [00-00-00-00-00-04 13] Error: 0000: 01 04 00 14 00 00 00 80 00 00 23 20 00 >> 00 00 10 |..........# ....| >> [00-00-00-00-00-04 13] Error: 0010: 00 00 00 01 >> >> I copied the following functions from l2_nx to use nicira extention >> Connection_UP >> Ready >> launch >> >> Best regards, >> Eng Amer Alghadhban >> COE >> SANS-GCFW >> CEH, SCNP, CCNA >> >> >> From: [email protected] >> Subject: Re: match in Nicira >> Date: Sat, 26 Oct 2013 21:16:00 -0700 >> To: [email protected] >> >> Glad to hear it. >> >> -- Murphy >> >> On Oct 26, 2013, at 4:19 PM, AMER <[email protected]> wrote: >> >> Dear Murphy >> >> I tried it, it works fine and even with arbitrary Netmask that I asked you >> before it works fine with nx extention >> >> I appreciate your time and efforts >> Thank you >> >> Eng Amer Alghadhban >> COE >> SANS-GCFW >> CEH, SCNP, CCNA >> >> >> Subject: Re: match in Nicira >> From: [email protected] >> Date: Sat, 26 Oct 2013 11:09:27 -0700 >> CC: [email protected] >> To: [email protected] >> >> I think what you want is something like the following: >> >> msg1 = nx.nx_flow_mod() >> msg1.idle_timeout = 100 >> msg1.hard_timeout = 120 >> msg1.match.eth_type = packet.IP_TYPE >> msg1.match.eth_src = packet.src >> msg1.match.eth_dst = packet.dst >> msg1.match.ip_dst = IPAddr("10.1.0.1") >> msg1.priority = 65001 >> >> There are actually several ways to do this; the above is just one of them. >> It helps to understand the Nicira match extension, which is described some >> in the documentation and examples for Open vSwitch. It also may help to >> read pox/openflow/nicira.py; especially the docs for nx_match. >> >> -- Murphy >> >> On Oct 25, 2013, at 6:33 PM, AMER <[email protected]> wrote: >> >> Hello >> I would like to do the following command in nx nicirat extention: >> >> packet = event.parsed >> msg1 = of.ofp_flow_mod() >> msg1.idle_timeout = 100 >> msg1.hard_timeout = 120 >> msg1.match.dl_type = packet.IP_TYPE >> msg.match.dl_src = packet.src >> msg.match.dl_dst = packet.dst >> msg1.match.nw_dst =IPAddr("10.1.0.1") >> msg1.match.priority = 65001 >> msg1.match.nw_src = None >> >> I have gone through l2_nx but i did not find much info even in OVS nicira >> and openflow.nicira >> >> >> Thank you >> Best regards, >> Eng Amer Alghadhban >> COE >> SANS-GCFW >> CEH, SCNP, CCNA >>
