netgroup-polito / un-orchestrator

Universal Node Orchestrator
Other
21 stars 13 forks source link

flow rule with 'pop_vlan' action doesn't work if any vlan_id is specified #103

Closed cicciob92 closed 8 years ago

cicciob92 commented 8 years ago

a simple flow rule like this: { "id": "000000001", "priority": 1, "match": { "port_in": "endpoint:1", }, "actions": [ { "output_to_port": "endpoint:2" }, { "pop_vlan": true } ] } doesn't work using ovsdb (is there no related rule using the command 'ovs-ofctl') unless in the "match" a 'vlan_id' is specified as in the following example: { "id": "000000001", "priority": 1, "match": { "port_in": "endpoint:1", "vlan_id":"0x20" }, "actions": [ { "output_to_port": "endpoint:2" }, { "pop_vlan": true } ] }

cicciob92 commented 8 years ago

the flow format is not allowed using Openflow>1.0