As Murphy notes, querying the switch is the definitive way to determine what is 
connected where.

You can also find out what Mininet thinks the ports should be by looking at 
switch.intfs or switch.connection in Python (or using the py CLI command), or 
use the net CLI command. It's also possible to specify ports in the topology.

On May 30, 2012, at 9:31 AM, Murphy McCauley wrote:

> Try "ovs-dpctl show" from a command line in the namespace that mininet is 
> running in.
> 
> -- Murphy
> 
> On May 30, 2012, at 7:06 AM, Anthony Salim wrote:
> 
>> Hi guys,
>> 
>> How to know which are the switches port connected to each of the mininet 
>> switches created? i tried to run in verbose mode but it does not show the 
>> port numbers of the switches and i also do the netstat -l command but it 
>> does not show the ports. Thanks.
>> 
>> Regards,
>> Anthony
> 

Reply via email to