Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

set_field vlan_vid not set correctly

I'm calling a push-vlan-action via xml to Open Daylight. The resulting flow looks like this:

cookie=0x0, duration=4.823s, table=0, npackets=n/a, nbytes=445, priority=1,inport=12 actions=pushvlan:0x88a8,setfield:4212->vlanvid,output:1

If I do the same values using ovs directly on the switch I get this flow:

cookie=0x0, duration=4.823s, table=0, npackets=n/a, nbytes=445, priority=1,inport=12 actions=pushvlan:0x88a8,setfield:66->vlanvid,output:1

Note that the setfield value for the vlanvid is different. I'm providing a vlan id of 66 for both but the odl flow has 4212. With this flow in place I can't get network traffic to flow across the switch. Any idea why this is happening.

Thanks

set_field vlan_vid not set correctly

I'm calling a push-vlan-action via xml to Open Daylight. The resulting flow looks like this:

cookie=0x0, duration=4.823s, table=0, npackets=n/a, nbytes=445, priority=1,inport=12 actions=pushvlan:0x88a8,setfield:4212->vlanfield:4162->vlanvid,output:1

If I do the same values using ovs directly on the switch I get this flow:

cookie=0x0, duration=4.823s, table=0, npackets=n/a, nbytes=445, priority=1,inport=12 actions=pushvlan:0x88a8,setfield:66->vlanvid,output:1

Note that the setfield value for the vlanvid is different. I'm providing a vlan id of 66 for both but the odl flow has 4212. 4162. With this flow in place I can't get network traffic to flow across the switch. Any idea why this is happening.

Thanks