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: murphy.mccau...@gmail.com Subject: Re: match in Nicira Date: Sat, 26 Oct 2013 21:16:00 -0700 To: amer7...@hotmail.com Glad to hear it. -- Murphy On Oct 26, 2013, at 4:19 PM, AMER <amer7...@hotmail.com> 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: murphy.mccau...@gmail.com Date: Sat, 26 Oct 2013 11:09:27 -0700 CC: pox-dev@lists.noxrepo.org To: amer7...@hotmail.com I think what you want is something like the following: msg1 = nx.nx_flow_mod()msg1.idle_timeout = 100msg1.hard_timeout = 120msg1.match.eth_type = packet.IP_TYPEmsg1.match.eth_src = packet.srcmsg1.match.eth_dst = packet.dstmsg1.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 <amer7...@hotmail.com> wrote:HelloI 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