OVS also has nicira extensions where we can specify controller-id or IP in an 
“output to controller” action.
I am not sure whether this extension has made itself to any of the mainstream 
OVS releases.

Thanks,
Faseela

From: [email protected] 
<[email protected]> On Behalf Of Gobinath .
Sent: Tuesday, February 26, 2019 12:18 PM
To: openflowplugin-dev <[email protected]>; 
[email protected]
Cc: [email protected]
Subject: Re: [openflowplugin-dev] [opendaylight-dev] How exactly OVS dispatch 
the Packet_In messages among different ODL controllers?

Hi Lin,

From the Openflowplugin documentation,

• Master: All synchronous and asynchronous messages are sent to the master 
controller. This controller has write privileges on the switch.
• Slave: Only synchronous messages are sent to this controller. Slave 
controllers have only read privileges on the switch.

So, the PacketIn messages (asynchronous msg) are sent only to the master 
controller.

But when the “Equal” role (ref below) is enabled (“enable-equal-role=true”  in 
openflowplugin.cfg), the device will send all asynchronous event messages (e.g 
packet_in) to all the controllers, but openflowplugin will drop these events 
for the controller instances that is internally not owning the device ,ie, not 
the EOS master.

• Equal: When the equal role is assigned to a controller, it has the same 
privileges as the master controller. By default, a controller is assigned the 
equal role when it first connects to the switch.

Thanks and Regards,
Gobinath

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of 
Abhijit Kumbhare
Sent: Tuesday, February 26, 2019 5:36 AM
To: JINTING LIN <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [openflowplugin-dev] [opendaylight-dev] How exactly OVS dispatch 
the Packet_In messages among different ODL controllers?

Adding OpenFlow Plugin.


On Mon, Feb 25, 2019 at 3:56 PM JINTING LIN 
<[email protected]<mailto:[email protected]>> wrote:
Hi everyone,

I am going to develop a load balancing application with ODL and OVS. But I am
not so sure about how exactly OVS dispatch the Packet_In messages among 
different
controllers.

The OpenFlow Switch Specification 1.5.1 only specifies that the OVS should 
connect
to all configured controllers ("When OpenFlow operation is initiated, the switch
must connect to all controllers it is configured with"), and the switch 
migration
process is initiated by (one) controller ("The hand-over between controllers is
initiated by the controllers themselves").

Thus, if a OVS has to send a large number of Packet_In messages to controller
due to the arrival of numerous flows. There could be several different methods:
1. Send all Packet_In messages to only one (master, or currently configured) 
controller?
2. Send all Packet_In messages to all controllers?
3. All controllers receive a separated part of these messages?
4. other method?
I am not so sure what it is going to happen.

I am glad to receive any reply, discussion and guidance on my question.

stormlin
2019-02-25

_______________________________________________
dev mailing list
[email protected]<mailto:[email protected]>
https://lists.opendaylight.org/mailman/listinfo/dev
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to