As far my knowledge , no direct api. But you can doi via programming.
Keep the datapath object globally in your app(build the knowledge at
switchfeature request handler) .Query with dpid and get the object and use
it.
Another approach is refer rest example. In that different approach is
mentioned.
Dear RYU team,
>From EventOFPSwitchFeature, RYU controller will know the datapath ID of
each OpenFlow switch.
@set_ev_cls(ofp_event.EventOFPSwitchFeatures, CONFIG_DISPATCHER) From the
defined function of add_flow to add openflow rules to each swtich def
add_flow(self, datapath, priority, match, ac
On Sat, 14 Jul 2018 18:19:20 +0900,
Soe Ye Htet wrote:
>
> [1 ]
> Dear RYU team,
>
> I have seen then the way of installing the forwarding rules in REST API. In
> the REST API, we need to put the datapath ID to install the forwarding
> rules. Can I install the flow rules with the datapath ID in
I see! Interesting scenario. I usually only contemplate the controller
being controlling OpenFlow switches and that's it. The hosts don't
even know that the controller is there in the first place.
Thank you for the extra info!
My regards,
Carlos Ferreira
On 14 July 2018 at 14:47, Soe Ye Htet wr
Dear Carlos Ferreira,
Currently, my set up is based on a proactive approach. RYU controller will
assign the forwarding rules proactively to the openflow switch. Let me
recall back my simple topology. GW1--host1-host2-GW2. RYU
controller is in the GW1. host1 & host2 sends the data to th
Dear Soe Ye Htet, I have a question.
According to your setup, isn't the controller behaving like a router?
Won't the switch be sending the traffic to the controller, which then
routes it to through the intended path?
My regards,
Carlos Ferreira
On 14 July 2018 at 10:19, Soe Ye Htet wrote:
> De
Dear RYU team,
I have seen then the way of installing the forwarding rules in REST API. In
the REST API, we need to put the datapath ID to install the forwarding
rules. Can I install the flow rules with the datapath ID in Packet-In-Event
handler.
Best regards,
Soe Ye Htet
On Sat, Jul 14, 2018 at
Dear RYU team,
I have only one RYU controller. Actually what I want to do is rerouting for
load balancing between the gateway.
Best Regards,
Soe Ye Htet
On Thu, Jul 12, 2018 at 11:14 AM, IWAMOTO Toshihiro
wrote:
> On Sun, 08 Jul 2018 01:21:55 +0900,
> Soe Ye Htet wrote:
> >
> > [1 ]
> > [1.1
On Sun, 08 Jul 2018 01:21:55 +0900,
Soe Ye Htet wrote:
>
> [1 ]
> [1.1 ]
> 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.
> gateway1host1---host2---host3-gateway2. host1,hos