Re: [nox-dev] nox-gui flowtracer problem

2012-01-05 Thread wunyuan
Dear Murphy, I forgot that our client are 64 bit version.Thanks for your reminding me. 於 2012/1/5 下午 06:11, Murphy McCauley 提到: > Ah, of course, you must be running a 32 bit version. > > We should fix this (maybe by replacing hex(n) with "0x%x" % (n,)). > > Thanks for humoring me. > > -- Murphy

Re: [nox-dev] NOX API development

2012-01-05 Thread Murphy McCauley
Responses inline. On Jan 5, 2012, at 5:10 AM, Amit Tewari wrote: > If I use openflow.OFPFC_MODIFY flag in send_flow_command, it gives me > error-“invalid action type” Something like the following should let you modify flows: from util import set_match from nox.coreapps.pyrt.pycomponent import

[nox-dev] NOX API development

2012-01-05 Thread Amit Tewari
Hi, I am using NOX as a controller for my openvswitch 1.2.2 with openflow 1.0 . I have created api for adding flow and deleting flow from controller. I have used lib/core.py api's install_datapath_flow and delete_datapath_flow. But core.py do not have api or command for modifying flo

Re: [nox-dev] nox-gui flowtracer problem

2012-01-05 Thread Murphy McCauley
Ah, of course, you must be running a 32 bit version. We should fix this (maybe by replacing hex(n) with "0x%x" % (n,)). Thanks for humoring me. -- Murphy On Jan 5, 2012, at 2:03 AM, wunyuan wrote: > > Hi, > > The answers are as follows: > > 於 2012/1/5 下午 05:46, Murphy McCauley 提到: >> >> I'

Re: [nox-dev] nox-gui flowtracer problem

2012-01-05 Thread wunyuan
Hi, The answers are as follows: 於 2012/1/5 下午 05:46, Murphy McCauley 提到: > I'm a bit surprised. Can you try "/usr/bin/python -V"? Yes nchc@NCHC:/usr/bin$ ./python -V Python 2.7.1+ > > What OS / distro are you using? nchc@NCHC:/usr/bin$ lsb_release -a No LSB modules are available. Distributor

Re: [nox-dev] nox-gui flowtracer problem

2012-01-05 Thread Murphy McCauley
I'm a bit surprised. Can you try "/usr/bin/python -V"? What OS / distro are you using? -- Murphy On Jan 5, 2012, at 1:35 AM, wunyuan wrote: > Hi, > > My python version is 2.7.1+. > > $~/wunyuan/oringinal_nox/destiny/nox/src$ python -V > Python 2.7.1+ > > Thanks! > > 於 2012/1/5 下午 05:26, M

Re: [nox-dev] nox-gui flowtracer problem

2012-01-05 Thread wunyuan
Hi, My python version is 2.7.1+. $~/wunyuan/oringinal_nox/destiny/nox/src$ python -V Python 2.7.1+ Thanks! 於 2012/1/5 下午 05:26, Murphy McCauley 提到: > Are you using Python 2.5? I am guessing this bug doesn't exist with > Python 2.6+... > > -- Murphy > > On Jan 4, 2012, at 11:52 PM, wunyuan wrote

Re: [nox-dev] nox-gui flowtracer problem

2012-01-05 Thread Murphy McCauley
Are you using Python 2.5? I am guessing this bug doesn't exist with Python 2.6+... -- Murphy On Jan 4, 2012, at 11:52 PM, wunyuan wrote: > Hi, > > The "0xe4115b1251b4L" string is our client internet iterface mac. Our client > are HP DL380 G7. > Our Openflow are installed in Desktop PC with N