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, 2019 in Python by Jacob
1,919 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, 2019 by Haider

Related Questions In Python

0 votes
1 answer
0 votes
2 answers

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

sudo apt-get install python3-tk Then, >> import tkinter # ...READ MORE

answered Nov 9, 2019 in Python by Icetutor
• 160 points
24,272 views
0 votes
1 answer

Python error "ImportError: No module named SpeechRecognition"

Hi @Hannah, replace  import SpeechRecognition as sr with import speech_recognition ...READ MORE

answered Oct 3, 2019 in Python by Yamini
4,779 views
0 votes
1 answer

how to solve the error : "ImportError: No module named Tkinter" in python.

Hi@Umama, If you are using Linux system, then ...READ MORE

answered Apr 27, 2020 in Python by MD
• 95,440 points
12,728 views
0 votes
2 answers
+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 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,023 views
0 votes
1 answer
0 votes
1 answer

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

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

answered Jun 18, 2019 in Python by Greg
6,165 views
0 votes
2 answers

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

Hello, Open Cmd or Powershell as Admin. type pip ...READ MORE

answered Nov 28, 2020 in Python by Rohan
• 200 points
16,885 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP