Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Exit p4switch_start method if switch already running #1

Closed
fschleiss opened this issue Nov 23, 2017 · 0 comments
Closed

CLI: Exit p4switch_start method if switch already running #1

fschleiss opened this issue Nov 23, 2017 · 0 comments
Labels

Comments

@fschleiss
Copy link
Contributor

If the P4 switch is already running, an error message is correctly issued. The issue is nevertheless, that the method is not exited at this stage which leads to an unsuccessful reload which stops the CLI.

Reproduce

  • Start a P4 switch that is already running

Error Output

mininet> p4switch_start s4
P4 Switch already running, stop first: p4switch_stop s4 
File includes/headers16.p4 does not exist 
../p4src/main.p4 p4src/main.json False False
Starting P4 switch s4.
simple_switch -i 1@s4-eth1 -i 2@s4-eth2 -i 3@s4-eth3 --pcap --thrift-port 9093 --nanolog ipc:///tmp/bm-3-log.ipc --device-id 3 p4src/main.json --log-console
P4 switch s4 did not start correctly.Check the switch log file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants