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

bootstraping sdn-ixp #12

Open
dkalog opened this issue Oct 8, 2014 · 3 comments
Open

bootstraping sdn-ixp #12

dkalog opened this issue Oct 8, 2014 · 3 comments
Assignees

Comments

@dkalog
Copy link

dkalog commented Oct 8, 2014

I am trying to fire-up the sdn-ixp according to the installation instructions of https://github.com/sdn-ixp/sdx meaning the https://docs.google.com/document/d/1wLF3RZEwMCRioyvaVl73kjXeNgqIaA3LfUlGsI2mkb4/edit . However when I try to start the pyretic SDX controller, I get the following error message :
mininet@mininet-vm:~/pyretic$ pyretic.py -v high pyretic.sdx.main
Must be a valid python module
e.g, full module name,
no .py suffix,
located on the system PYTHONPATH

However my PYTHONPATH is mininet@mininet-vm:~/pyretic$ echo $PYTHONPATH
/home/mininet/pyretic:/home/mininet/pyretic/pyretic/sdx:/home/mininet/mininet:/home/mininet/pox

Any hints ?

@hammadmazhar1
Copy link

Im seeing the same problem. Some help would be appreciated

@hammadmazhar1
Copy link

i seem to have gotten past here by removing the pyretic directory, cloning the one from www.github.com/frenetic-lang/pyretic, and then applying the checkout as mentioned in the document. But now I get this:
** Creating Quagga network topology
** Using Mininet Extended (MiniNExT) Handler
*** Creating network
*** Adding controller
*** Adding hosts:
Traceback (most recent call last):
File "/home/mininet/pyretic/pyretic/sdx/examples/app_specific_peering_inboundTE/mininet/sdx_mininext.py", line 136, in
startNetwork()
File "/home/mininet/pyretic/pyretic/sdx/examples/app_specific_peering_inboundTE/mininet/sdx_mininext.py", line 109, in startNetwork
controller=lambda name: RemoteController( name, ip='127.0.0.1' ),listenPort=6633)
File "build/bdist.linux-i686/egg/mininext/net.py", line 16, in init
File "/usr/lib/python2.7/dist-packages/mininet/net.py", line 163, in init
self.build()
File "/usr/lib/python2.7/dist-packages/mininet/net.py", line 315, in build
self.buildFromTopo( self.topo )
File "/usr/lib/python2.7/dist-packages/mininet/net.py", line 289, in buildFromTopo
self.addHost( hostName, *_topo.nodeInfo( hostName ) )
File "/usr/lib/python2.7/dist-packages/mininet/net.py", line 185, in addHost
h = cls( name, *_defaults )
File "build/bdist.linux-i686/egg/mininext/node.py", line 53, in init
File "/usr/lib/python2.7/dist-packages/mininet/node.py", line 92, in init
self.startShell()
File "build/bdist.linux-i686/egg/mininext/node.py", line 103, in startShell
Exception: Unable to determine shell's PID

@agupta13
Copy link
Member

We will dive into this issue. Thanks for letting us know.

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

4 participants