Hi Sriram,

I don't think there is any mapping to switch port MACs on the controller by
default. You'd probably have to do something like what you described.

But why do you need the MAC addresses of the switch ports in order to setup
flows?

(Or did I misunderstand you and you referring to the MAC addresses of H1 and
H2?)

On Tue, Mar 1, 2011 at 11:35 AM, Sriram <[email protected]> wrote:

> Hello All,
>
> I have the following topology setup
> H1-S1-S2...-Sn-H2 (n varies from 1 to 20 in my testbed).
>
> I need to pre-install set of flows in each switch (when I receive a
> Datapath Join Event). To achieve this i need to know the MAC address of the
> connected interfaces in the switches.
>
> I was thinking to send an ARP request from the controller to all switches
> when I receive the datapath_join_event and the switch can FLOOD the request
> to all connected ports. With the ARP reply I can determine the MAC
> addresses.
>
> However I would like to know if there is a better way to get this
> information (dynamically determine the MAC addresses of all connected switch
> links). Is there an API which gives this information already?
>
> Thanks for your help
> Sriram
>
>
>
> _______________________________________________
> nox-dev mailing list
> [email protected]
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to