In the basic experiment, using simple_switch_CLI --thrift-port 9090 does not allow access to the switch management interface,and the tips returned are as follows:
p4@p4-virtual-machine:~/P4/tutorials/exercises/basic$ 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
make run executed successfully, and accessed to the mininet control interface:
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>