Software Defined Networking

VlanId NONE / PRESENT Error

 
Dast
Occasional Advisor

VlanId NONE / PRESENT Error

Hello everybody,

 

Everytime I try to use the match field VlanId = NONE or VlanId = PRESENT, I get an index of of bounds error for u16 as their values are -1 and -2. 

 

As the exception does not occur in my code and I can install every other flow with my code, I have the following questions:

- Is that feature supported in OpenFlow 1.0 ?

- Or is this a bug?

 

Best regards!

1 REPLY 1
cmaxwell
Advisor

Re: VlanId NONE / PRESENT Error

Hello Dast,

 

The NONE and PRESENT values are contained in the ofp_vlan_id enum but that wasn't part of the OpenFlow v1.0 spec.  It was introduced in the v1.1 spec.

 

However, the ProCurve switches do not support this enumerated type.

 

Craig