- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Re: MPLS tagging using SDN controller
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
Forums
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
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
12-11-2013 03:30 AM
12-11-2013 03:30 AM
MPLS tagging using SDN controller
From the REST API guide it is not clear how to insert MPLS tags while inserting the flows into switches. The group stats shows the capabilities. So what is the json format for inserting the MPLS tag in the flow and where o do it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2014 03:35 AM
01-07-2014 03:35 AM
Re: MPLS tagging using SDN controller
json models can be found at https://<SDN_Controller_IP>:8443/sdn/v2.0/models
Add a flow - (you can take help from http://h30499.www3.hp.com/t5/SDN-Development/Flow-creation-via-REST-API/td-p/6197697#.UsvhPPtNzKh )
POST /sdn/v2.0/of/datapaths/{dpid}/flows
Sample request for applying MPLS tag push action to the packet :
{"flow": {
"priority": 30000,
"table_id": 200,
"idle_timeout": 60,
"match": [
{"ipv4_src": "10.0.0.1"},
{"ipv4_dst": "10.0.0.22"},
{"ip_proto": "tcp"},
{"eth_type": "ipv4"},
{"tcp_dst": "80"}
],
"instructions": [
{"apply_actions": [
{"push_mpls" : "mpls_u"}
]
}
]
}}
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2014 04:11 AM
01-30-2014 04:11 AM
Re: MPLS tagging using SDN controller
Hello Raghuram,
Just following up to see if the previous post answers your query. Please feel free to reply incase you have more questions around the same topic or open a new thread if new topic.
If you feel we have answered your question, please do let us know by marking this response as an 'accepted solution’.
Thanks
Sukar
HP SDN Team