- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Re: How can I delete a given flow in the RSdoc API...
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
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
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
тАО08-17-2014 08:22 PM
тАО08-17-2014 08:22 PM
How can I delete a given flow in the RSdoc API ?
I use the RSdoc API 2.0,when I want to delete the flows I write .It's unable to edit in the FlowJson box(in the "Delete the given flows"options).Is it I have no authority so I can't edit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2014 11:04 AM
тАО08-18-2014 11:04 AM
Re: How can I delete a given flow in the RSdoc API ?
Hello Yuanxiance,
Thanks for your query,We will get back to you shortly..
However to delete a flow you can also try curl command as below-
To delete a flow-
Format is curl -sk -H "X-Auth-Token:$token" -X DELETE -H 'Content-Type:application/json' https://Controller_IP:8443/sdn/v2.0/of/datapaths/$dpid/flows -d '{"flow":{"priority":30000,"table_id":0,"idle_timeout":0,"match":[{"eth_src":"00:10:94:00:00:01"},{"eth_dst":"00:10:94:00:00:09"},{"eth_type":"ipv6"}],"instructions":[]}}'
e.g.
$curl -sk -H "X-Auth-Token:$token" -X DELETE -H 'Content-Type:application/json' https://Controller_IP:8443/sdn/v2.0/of/datapaths/0bb8d07e283eb7d0 /flows -d @flow.json
Here flow.json is the json file used to create the flow.
Thanks,
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2014 03:48 AM
тАО09-16-2014 03:48 AM
Re: How can I delete a given flow in the RSdoc API ?
Hello Yuanxiance,
Delete Flow is not supported in RSDOC UI.
However this can be achieved by sending curl command to delete flow.
Thanks,
HP SDN Team