Hello, Dear Murphy Yes I am trying to increase the VLAN tag to be 6 bytes. I have modified the vlan code on vlan.py under pox directory how can i do the same for the switch, I just need to increase the size nothing else :-). Regards,
Eng Amer Alghadhban COE SANS-GCFW CEH, SCNP, CCNA Subject: Re: Error in openflow From: murphy.mccau...@gmail.com Date: Sun, 1 Feb 2015 12:45:40 -0800 CC: pox-dev@lists.noxrepo.org To: amer7...@hotmail.com Are you saying that you're altering the OpenFlow protocol so that it can specify VLAN tags larger than two bytes? And modifying a switch so that it can match and probably insert and remove these larger VLAN tags? (If so, I'd have thought that using VXLAN would be an easier way or that using an extension would be cleaner, but that's another issue.) So you're getting an error from the switch saying that it thinks you've sent it a flow-mod with the emergency flag *and* timeouts set, which isn't allowed. Assuming that you're not trying to set an emergency flow, the most likely explanation here is that the flow-mod is either being constructed wrong or parsed wrong. If you're modifying the match structure to accommodate larger VLAN tags, make sure you've modified it the same way on both the switch and controller. -- Murphy On Feb 1, 2015, at 3:35 AM, AMER <amer7...@hotmail.com> wrote:Dear all I am using POX carpI am receiving this error [00-00-00-00-00-02 143] Error: header:[00-00-00-00-00-02 143] Error: version: 1[00-00-00-00-00-02 143] Error: type: 1 (OFPT_ERROR)[00-00-00-00-00-02 143] Error: length: 76[00-00-00-00-00-02 143] Error: xid: 719[00-00-00-00-00-02 143] Error: type: OFPET_FLOW_MOD_FAILED (3)[00-00-00-00-00-02 143] Error: code: OFPFMFC_BAD_EMERG_TIMEOUT (3)[00-00-00-00-00-02 143] Error: datalen: 64[00-00-00-00-00-02 143] Error: 0000: 01 0e 00 48 00 00 02 cf 00 10 00 1f 00 00 00 00 |...H............|[00-00-00-00-00-02 143] Error: 0010: 00 00 00 00 00 00 00 00 00 00 4e 6f 6e 65 00 00 |..........None..|[00-00-00-00-00-02 143] Error: 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|[00-00-00-00-00-02 143] Error: 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00 00 |................|INFO:openflow.of_01:[00-00-00-00-00-01 144] closedINFO:openflow.of_01:[00-00-00-00-00-02 143] closed I am trying to extend the vlan header size, sorted almost all errors but finally I am facing this and I do not understand it. Best regards,Amer Eng Amer Alghadhban COE SANS-GCFW CEH, SCNP, CCNA