How would one go about removing a vlan tag with a flow? The below flow matches 
traffic that is already tagged where it then add’s another tag, so I get a 
double tagged situation, which I don’t want. I want to remove the incoming tag 
and replace it with another tag… I’m running ODL Beryllium with Brocade MLXe’s.

Any help would be greatly appreciated! 

Steve


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flow xmlns="urn:opendaylight:flow:inventory">
        <id>1</id>
        <priority>50</priority>
        <instructions>
                <instruction>
                        <order>0</order>
                        <apply-actions>
                                <action>
                                        <order>3</order>
                                        <set-field>
                                                <vlan-match>
                                                        <vlan-id>
                                                                
<vlan-id>201</vlan-id>
                                                                
<vlan-id-present>true</vlan-id-present>
                                                        </vlan-id>
                                                </vlan-match>
                                        </set-field>
                                </action>
                                <action>
                                        <order>2</order>
                                        <push-vlan-action>
                                                
<ethernet-type>33024</ethernet-type>
                                        </push-vlan-action>
                                </action>
                                <action>
                                        <order>0</order>
                                        <set-field>
                                                <ethernet-match>
                                                        <ethernet-destination>
                                                                
<address>00:10:38:9c:3d:00</address>
                                                        </ethernet-destination>
                                                </ethernet-match>
                                        </set-field>
                                </action>
                                <action>
                                        <order>4</order>
                                        <output-action>
                                                
<output-node-connector>1</output-node-connector>
                                        </output-action>
                                </action>
                        </apply-actions>
                </instruction>
        </instructions>
        <cookie>0</cookie>
        <idle-timeout>0</idle-timeout>
        <flags></flags>
        <hard-timeout>0</hard-timeout>
        <match>
                <in-port>openflow:10195343270477824:3</in-port>
                <ethernet-match>
                        <ethernet-type>
                                <type>2048</type>
                        </ethernet-type>
                </ethernet-match>
                <ipv4-source>10.64.10.11/32</ipv4-source>
                <ipv4-destination>10.64.10.12/32</ipv4-destination>
        </match>
        <table_id>0</table_id>
</flow>
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to