Hi,
Could you share us your OVS configuration?
Please send us the following information.
# OVS version
$ sudo ovs-vsctl --version
# Overview of OVSDB contents
$ sudo ovs-vsctl show
FYI, on my environment, I could run this application as following.
$ sudo mn --controller remote
*** Creating network
*** Adding controller
Unable to contact the remote controller at 127.0.0.1:6653
Unable to contact the remote controller at 127.0.0.1:6633
Setting remote controller to 127.0.0.1:6653
*** Adding hosts:
h1 h2
*** Adding switches:
s1
*** Adding links:
(h1, s1) (h2, s1)
*** Configuring hosts
h1 h2
*** Starting controller
c0
*** Starting 1 switches
s1 ...
*** Starting CLI:
mininet> sh ovs-vsctl set-manager "tcp:127.0.0.1:6640"
mininet> sh ovs-vsctl get-manager
tcp:127.0.0.1:6640
$ ryu-manager ovsdb_manager.py
loading app ovsdb_manager.py
loading app ryu.services.protocols.ovsdb.manager
instantiating app ryu.services.protocols.ovsdb.manager of OVSDB
instantiating app ovsdb_manager.py of MyApp
Listening on 0.0.0.0:6640 for clients
instantiating app None of RemoteOvsdb
New OVSDB connection from system-id=xxx, address=('127.0.0.1', 42778)
...(snip)...
mininet> sh ovs-vsctl show
d17a5fa4-fc0b-4afb-b88e-f5ea7c7b44bf
Manager "tcp:127.0.0.1:6640"
is_connected: true
Bridge "s1"
Controller "tcp:127.0.0.1:6653"
Controller "ptcp:6654"
fail_mode: secure
Port "s1"
Interface "s1"
type: internal
Port "s1-eth1"
Interface "s1-eth1"
Port "s1-eth99"
Interface "s1-eth99"
type: internal
Port "s1-eth2"
Interface "s1-eth2"
ovs_version: "2.8.90"
Thanks,
Iwase
On 2017年11月03日 21:07, Edison Albuquerque wrote:
I ran the code found at
"http://ryu.readthedocs.io/en/latest/library_ovsdb_manager.html"
and got the error
"Error creating port s1-eth99 on bridge <ovs.db.idl.Row object at 0x7f30d23a3250>:
error."
What did I do wrong?
Please, help me.
Bests.
--
/_He ain't heavy. He's my brother.
_/
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel