Hi,

On 2016年05月14日 08:19, Edison Albuquerque wrote:
> Hi.
> When I create a topology, I can do:
>
> h1 = self.addHost( 'Bob' )
>
> But:
>
> s1 = self.addSwitch( 'Nyc' )
>
> doesn't work.
>
> What I am doing wrong?

I think this is the constraint of Mininet (not Ryu).

In order to derive default datapath ID from the user-specified switch name,
you need include a number in your switch name like 'Nyc1'.
   https://github.com/mininet/mininet/blob/master/mininet/node.py#L881-L883

If you want to more support for this problem,
how about getting contact to Mininet team?
   https://mailman.stanford.edu/mailman/listinfo/mininet-discuss

Thanks,
Iwase

>
>
>
> --
> /_Todos querem um mundo melhor. Poucos colaboram.
> _/
>
> Prof. Edison de Queiroz Albuquerque, BSc, Msc, Dr.
> Adjunto da Escola Politécnica de Pernambuco, Universidade de Pernambuco 
> (POLI/UPE)
> Professor do Curso de Engenharia de Computação
> Líder do Grupo de Pesquisa em Protocolos de  Redes de Computadores
> Membro do IEEE (ComSoc), do SBrT, do IECOM e da APEET
>
> Universidade de Pernambuco/Escola Politécnica de Pernambuco
> Rua Benfica, 455 (Bl. 'C' 2. andar) - Bairro: Madalena
> CEP 50720-001 - Recife, Pernambuco - Brasil
> Fone: +55 81 3184-7542 - Fax: +55 81 3184-7581
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to