- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Re: strip_vlan json syntax
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2015 01:12 PM
09-15-2015 01:12 PM
strip_vlan json syntax
Can any 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.)
Something like the flow below, but instead of setting the vlan id, I want to strip the vlan header. Thanks.
{
"flow": {
"priority": 30000,
"idle_timeout": 60,
"match": [
{"eth_type": "ipv4"},
{"ipv4_src": "192.168.77.1"},
{"ipv4_dst": "192.168.78.3"}
],
"instructions":[{
"apply_actions": [{
"set_field":{"vlan_vid":12}},
{"set_field":{"eth_dst":"0c:4d:e9:ba:ba:ba"}},
{"output": "19"}]}]
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2015 05:17 PM
09-15-2015 05:17 PM
Re: strip_vlan json syntax
I found that the list and description of actions is on the controller at https://<host or ip addr>:8443/sdn/v2.0/models
It looks like the action I need is "pop_vlan": "True", but I get an error report "...not supported by device type J9643A (HP5412)".
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 ?
Thanks.