Skip to content

Could not connect to any of [('127.0.0.1', 9090)] #476

@onlyone-i

Description

@onlyone-i

It looks like mininet is working fine and pingall is passing, but simple_switch_CLI --thrift-port 9090 is not connecting

p4@p4-virtual-machine:~$ simple_switch_CLI --thrift-port 9090
Could not connect to any of [('127.0.0.1', 9090)]
Could not connect to thrift client on port 9090
Make sure the switch is running and that you have the right port
mininet> intfs
h1: eth0
h2: eth0
h3: eth0
h4: eth0
s1: lo,s1-eth1,s1-eth2,s1-eth3,s1-eth4
s2: lo,s2-eth1,s2-eth2,s2-eth3,s2-eth4
s3: lo,s3-eth1,s3-eth2
s4: lo,s4-eth1,s4-eth2
mininet> dump
<P4Host h1: eth0:10.0.1.1 pid=7687> 
<P4Host h2: eth0:10.0.2.2 pid=7689> 
<P4Host h3: eth0:10.0.3.3 pid=7691> 
<P4Host h4: eth0:10.0.4.4 pid=7693> 
<ConfiguredP4RuntimeSwitch s1: lo:127.0.0.1,s1-eth1:None,s1-eth2:None,s1-eth3:None,s1-eth4:None pid=7695> 
<ConfiguredP4RuntimeSwitch s2: lo:127.0.0.1,s2-eth1:None,s2-eth2:None,s2-eth3:None,s2-eth4:None pid=7699> 
<ConfiguredP4RuntimeSwitch s3: lo:127.0.0.1,s3-eth1:None,s3-eth2:None pid=7703> 
<ConfiguredP4RuntimeSwitch s4: lo:127.0.0.1,s4-eth1:None,s4-eth2:None pid=7707> 
mininet> pingall
*** Ping: testing ping reachability
h1 -> h2 h3 h4 
h2 -> h1 h3 h4 
h3 -> h1 h2 h4 
h4 -> h1 h2 h3 
*** Results: 0% dropped (12/12 received)
mininet> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions