[ovs-dev] Fwd: Error in openflow

Amer amer7777 at hotmail.com
Mon Feb 2 19:22:28 UTC 2015


Dear All,

Thank you Justin
I would like to change the size of VLAN tag in openveswitch.
May you please help me in doing so.
Where and what to change?

Thank you
Best regards,
Amer 

Begin forwarded message:

> From: Justin Pettit <jpettit at nicira.com>
> Date: ٢ فبراير، ٢٠١٥ ٩:٣٢:٢٤ م جرينتش+٣
> To: Amer <amer7777 at hotmail.com>
> Subject: Re: Error in openflow
> 
> Hi, Amer.  I'd recommend posting your question to dev at openvswitch.org.
> 
> --Justin
> 
> 
>> On Feb 2, 2015, at 8:13 AM, Amer <amer7777 at hotmail.com> wrote:
>> 
>> Hello,
>> 
>> Dear Justin
>> 
>> I am using pox and mininet, openveswitch.
>> May you please help me in doing this.
>> I have enlarge the size of VLAN tag in pox controller for 6 bytes and I want to make the same change to openveswitch for comparability.
>> 
>> Best regards,
>> 
>> Begin forwarded message:
>> 
>>> From: Murphy McCauley <murphy.mccauley at gmail.com>
>>> Date: ٢ فبراير، ٢٠١٥ ١٢:٥٥:٢٥ م جرينتش+٣
>>> To: AMER <amer7777 at hotmail.com>
>>> Cc: "pox-dev at lists.noxrepo.org" <pox-dev at lists.noxrepo.org>
>>> Subject: Re: Error in openflow
>>> 
>>> That depends on the switch you're using.  Unless you're using the POX datapath, you should probably ask on the switch's site/mailing-list/other-support-mechanism.  For example, if you're using Open vSwitch, it has its own mailing lists.
>>> 
>>> -- Murphy
>>> 
>>>> On Feb 2, 2015, at 1:50 AM, AMER <amer7777 at hotmail.com> wrote:
>>>> 
>>>> 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.mccauley at gmail.com
>>>> Date: Sun, 1 Feb 2015 12:45:40 -0800
>>>> CC: pox-dev at lists.noxrepo.org
>>>> To: amer7777 at 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 <amer7777 at hotmail.com> wrote:
>>>> 
>>>> Dear all
>>>> 
>>>> I am using POX carp
>>>> I 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] closed
>>>> INFO: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
> 
> 



More information about the dev mailing list