MiniNAM error "ovs-vsctl: no bridge named s1, ovs-vsctl: no bridge named s2"

0 votes

I'm facing an issue while trying to run MiniNAM GUI for my mininet script. When I run my python script, it creates network and then gives an error 

ovs-vsctl: no bridge named s1, ovs-vsctl: no bridge named s2

Terminal logs:

*** 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 h3 h4 h5 h6 h7 h8 r1 r2 r3 
*** Adding switches:
s1 s2 s3 s4 
*** Adding links:
(h1, s1) (h2, s1) (h3, s2) (h4, s2) (h5, s3) (h6, s3) (h7, s4) (h8, s4) (r1, r2) (r1, r3) (r2, s1) (r2, s2) (r3, s3) (r3, s4) 
*** Configuring hosts
h1 h2 h3 h4 h5 h6 h7 h8 r1 r2 r3 
*** Starting CLI:
ovs-vsctl: no bridge named s1
mininet> ovs-vsctl: no bridge named s2
ovs-vsctl: no bridge named s3
ovs-vsctl: no bridge named s4

Aug 5 in Python by Jacob
13 views
Can you please provide the python code?
def run():
    # Our Network object, and its initiation
    net = Mininet(
        topo=NetworkTopo(),
        controller=lambda name: RemoteController( name, ip='127.0.0.1' ),
        link=TCLink,
        switch=OVSKernelSwitch,
        autoSetMacs=True )

    mininam = MiniNAM(cheight=600, cwidth=1000 , net=net)

1 answer to this question.

0 votes
You are getting this error because you do not start your network instance before passing it to MiniNAM. That's why MiniNAM is unable to find your switches (or any other nodes in the network). Adding net.start(), after you are done setting up your network and are ready to call MiniNAM, will fix the issue.
answered Aug 5 by Haider

Related Questions In Python

0 votes
1 answer
0 votes
1 answer

Python error "ImportError: No module named 'tkinter'"

Try installing it from the terminal with ...READ MORE

answered Aug 9 in Python by Trisha
24 views
0 votes
1 answer

ImportError: No module named requests

Requests is not available for use by ...READ MORE

answered Jun 26, 2018 in Python by Hamartia's Mask
• 1,580 points
611 views
0 votes
1 answer

'Syntax Error: invalid syntax' for no apparent reason

You're missing a close paren in this ...READ MORE

answered Aug 13, 2018 in Python by Priyaj
• 56,200 points
63 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 168 views
0 votes
1 answer

Python error "ImportError: No module named pygame.locals"

You need to download and install the ...READ MORE

answered Jun 18 in Python by Greg
66 views
0 votes
1 answer

Python error " import requests ImportError: No module named requests"

Hi @Vasgi, for the code you're trying ...READ MORE

answered Aug 5 in Python by Layla
33 views