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

dpctl: Error connecting to switch unix:/tmp/s1. (No such file or directory) #670

Open
RdL87 opened this issue Sep 22, 2016 · 1 comment
Open

Comments

@RdL87
Copy link

RdL87 commented Sep 22, 2016

Hi all,
I use mininet to make the experiment and I want to add the queue to the port of the switch which is the ofsoftswitch13. When I use "sudo dpctl unix:/tmp/s1 queue-mod 1 1 80" to add the queue, there is a error.

RECEIVED (xid=0xF0FF00F0):
error{type="QUEUE_OP_FAILED", code="EPERM", dlen="56"}
I find a answer(http://stackoverflow.com/questions/33677006/adding-queues-to-switch-of-ofsoftswitch13-implementation-doesnt-work?answertab=active#tab-top) for this problem. Because of mininet set the user switch "--no-slicing", failing to add the queue. Then I follow the answer to modify the mininet, but it doesn't work and the switch can't negotiate with floodlight controller.

May 14 06:36:10|00001|vconn_unix|ERR|/tmp/vconn-unix.23705.0: connection to /tmp/s1 failed: No such file or directory
dpctl: Error connecting to switch unix:/tmp/s1. (No such file or directory)
I don't know how solve it, please help me?

@lantz
Copy link
Member

lantz commented Sep 27, 2016

  1. Like many low-quality answers on stackoverflow.com, the referenced "solution" is bogus for multiple reasons, not the least of which is that you don't need to change Mininet to set options - - please read the documentation! :(
  2. I think your dpctl command is also wrong.
  3. This doesn't seem to be an error in Mininet, so it probably belongs on the mailing list instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants