Re: [nox-dev] Finding out the switches connected to NOX

2010-11-25 Thread kk yap
Hi Derek, In C/C++, you can make use of datapathmem in netapps/networkstate. I would personally discourage you from maintaining your own list and extend datapathmem for use in Python. Unfortunately, I do not use Python in NOX enough for me to swigify the component. I am happy to push your

[nox-dev] Finding out the switches connected to NOX

2010-11-24 Thread Derek Cormier
If I write a NOX component in python, are there any methods for returning the datapath ID of all connected switches? As I was browsing through the core API and components, I saw that many methods take a dpid, but I couldn't find any for retrieving them in the first place. Thanks, -Derek