So responses are inline below, but to start off... what VM image are you using?
On first glance, it doesn't appear to be either of the VM images from the
OpenFlow Tutorial page, both of which (I believe) have Python 2.7 installed.
On May 12, 2013, at 2:32 AM, Ayah Abu-Tair wrote:
> I am just start learn openflow from openflow tutorial,,
> I want to ask about this section <Controller Choice: POX (Python) > I do all
> the steps but when I try to run this command
> $./pox.py log.level --DEBUG misc.of_tutorial
> I get warning that I use version 2.6 from python and should replace it with
> 2.7 and it stops and didn't continue what I should do plz? the bellow pic
> display what I mean exactly.
For just the of_tutorial, it's probably fine to use 2.6. I *think* the only
problem you'll run into is that logging will probably be stuck at warning
level, so you won't get info and debug messages. You say it doesn't continue,
but... maybe it just doesn't have anything to do? Have you tried starting
Mininet?
Some things you could do (in the order in which I would do them):
0) Use one of the VM images from the OpenFlow Tutorial page
1) Try to install Python 2.7 using Synaptic or something like "apt-get install
python2.7"
2) Download PyPy to the POX directory, decompress it, and rename its directory
to "pypy"
3) Add core.getLogger("").setLevel(0) to of_tutorial.py somewhere after core is
imported (around line 30)
4) Switch to the active branch of POX (carp) which has slightly better Python
2.6 support (git checkout carp)
> Also; please how I could use the editors to view the example code for the hub
> inside pox/misc/of_tutorial.py?
Something like:
1) vi pox/misc/of_tutorial.py
2) nano pox/misc/of_tutorial.py
Hope that helps.
-- Murphy
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss