<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic strip_vlan json syntax in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/strip-vlan-json-syntax/m-p/6785042#M1781</link>
    <description>&lt;P&gt;Can any&amp;nbsp;one tell me the json syntax for the "strip_vlan" action? (and in which document can I find all the json syntax for actions, matches, etc.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like the flow below, but instead of setting the vlan id, I want to strip the vlan header. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"flow": {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"priority": 30000,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"idle_timeout": 60,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"match": [&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;{"eth_type": "ipv4"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;{"ipv4_src": "192.168.77.1"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;{"ipv4_dst": "192.168.78.3"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;],&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"instructions":[{&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"apply_actions": [{&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"set_field":{"vlan_vid":12}},&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;{"set_field":{"eth_dst":"0c:4d:e9:ba:ba:ba"}},&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;{"output": "19"}]}]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;}&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2015 20:12:50 GMT</pubDate>
    <dc:creator>panluowei</dc:creator>
    <dc:date>2015-09-15T20:12:50Z</dc:date>
    <item>
      <title>strip_vlan json syntax</title>
      <link>https://community.hpe.com/t5/software-defined-networking/strip-vlan-json-syntax/m-p/6785042#M1781</link>
      <description>&lt;P&gt;Can any&amp;nbsp;one tell me the json syntax for the "strip_vlan" action? (and in which document can I find all the json syntax for actions, matches, etc.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like the flow below, but instead of setting the vlan id, I want to strip the vlan header. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"flow": {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"priority": 30000,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"idle_timeout": 60,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"match": [&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;{"eth_type": "ipv4"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;{"ipv4_src": "192.168.77.1"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;{"ipv4_dst": "192.168.78.3"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;],&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"instructions":[{&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"apply_actions": [{&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;"set_field":{"vlan_vid":12}},&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;{"set_field":{"eth_dst":"0c:4d:e9:ba:ba:ba"}},&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;{"output": "19"}]}]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 20:12:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/strip-vlan-json-syntax/m-p/6785042#M1781</guid>
      <dc:creator>panluowei</dc:creator>
      <dc:date>2015-09-15T20:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: strip_vlan json syntax</title>
      <link>https://community.hpe.com/t5/software-defined-networking/strip-vlan-json-syntax/m-p/6785066#M1782</link>
      <description>&lt;P&gt;I found that the list and description of actions is on the controller at &amp;nbsp;https://&amp;lt;host or ip addr&amp;gt;:8443/sdn/v2.0/models&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the action I need is "pop_vlan": "True", but I get an error report "...&lt;SPAN class="s1"&gt;not supported by device type J9643A (HP5412)".&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;So, any ideas how to push a packet that comes into the switch tagged, out an access port untagged to an end host that doesn't understand 802.1q ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 00:17:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/strip-vlan-json-syntax/m-p/6785066#M1782</guid>
      <dc:creator>panluowei</dc:creator>
      <dc:date>2015-09-16T00:17:42Z</dc:date>
    </item>
  </channel>
</rss>

