- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Re: Adding flows with action type "group"
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
02-25-2014 12:02 AM
02-25-2014 12:02 AM
Hi,
I have a trouble adding a flow with action type "group", both via the HP VAN controller and Rsdoc. I will just use the Rsdoc one to ask my question.
I go to:
https://<controller_IP>:8443/api
and use this api to add a flow:
/of/datapaths/<my_dpid>/flows
{"flow": {
"priority": 3,
"table_id": 0,
"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": [{"group": 101}]}]
}}
This gives me an error
{
"error": "java.lang.IllegalArgumentException",
"message": "{ofm:[V_1_3,ERROR,76,4959],BAD_ACTION/BAD_TYPE,#dataBytes=64,OFM-cause:[V_1_3,FLOW_MOD,104,4959]}"
}
Adding a flow entry with {"apply_actions": [{"output": 10}]} works fine. Does this mean the physical switch I am using does not support adding a flow entry with an action type "group"? I figured out the controller supports it by viewing:
https://<controller_ip>:8443/sdn/v2.0/models
FYI, listing the group entries displays this (this shows that I was able to insert group table entries):
/of/datapaths/<my_dpid>/groups
{
"version": "1.3.0",
"groups": [
{
"id": 100,
"type": "all",
"buckets": [
{
"weight": 0,
"watch_group": 4294967295,
"watch_port": 0,
"actions": [
{
"output": 23
}
]
}
]
},
{
"id": 101,
"type": "all",
"buckets": [
{
"weight": 0,
"watch_group": 4294967295,
"watch_port": 0,
"actions": [
{
"output": 23
}
]
}
]
}
]
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2014 01:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2014 10:58 AM
03-03-2014 10:58 AM
Re: Adding flows with action type "group"
Hi,
Please let us know if your problem is solved.
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 your question has been answered, please do let us know by marking this response as an accepted solution.
Thanks
HP SDN Team