No, you are right, this is the MAC. I meant that they are not stored
somewhere on NOX by default, you'd have to collect the MACs programmatically
with some queries. (But this is indeed easier than sending ARPs)

On Tue, Mar 1, 2011 at 12:29 PM, Niky Riga <nr...@bbn.com> wrote:

> Hi,
>
> In ofp_phy_port data structure, that includes per port info, there is a
> hw_addr field, which I always assumed is the MAC address of the port, is
> this something different?
>
> --niky
>
>
> On 3/1/11 3:17 PM, Kyriakos Zarifis wrote:
>
>> 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 <natarajan.sri...@gmail.com
>> <mailto:natarajan.sri...@gmail.com>> 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
>>    nox-dev@noxrepo.org <mailto:nox-dev@noxrepo.org>
>>
>>    http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>>
>>
>>
>> _______________________________________________
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to