[Ryu-devel] How to install forwarding rules with the specific switch ID
Brought to you by:
nz_gizmoguy
|
From: Soe Ye H. <soe...@gm...> - 2018-07-07 16:22:03
|
Dear, I would like to install the forwarding rules from the RYU controller with the specific switch ID based on the packet-in message. For eg. gateway1--------host1-------host2-------host3-----gateway2. host1,host2 send the data to the gateway1. What I want to do is rerouting the traffic from host 2 to gateway1 to host 2 to gateway 2. Rerouting will be based on the when host 1 sends the packet-in message to the controller. For eg, when host 1 sends the packet-in message to the controller, RYU controller will delete forwarding rules in the host 2 to reroute the traffic from host 2 to gateway1 to host 2 to gateway2. I am trying to install the forwarding rules directly to the host2 when RYU controller receives the packet-in message from host1. Can we install directly from RYU controller with the specific switch ID or datapath ID. If there is some command to install like this, can you please let me know or how I can perform rerouting process. Best regards, Soe Ye Htet Chulalongkorn University, Thailand. |