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
>
> On Jan 5, 2012, at 2:03 AM, wunyuan wrote:
>
>>
>> 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 ID: Ubuntu
>> Description: Ubuntu 11.04
>> Release: 11.04
>> Codename: natty
>>
>>
>>>
>>> -- 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, 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 NetFPGA card.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> 於 2012/1/5 下午 03:33, Kyriakos Zarifis 提到:
>>>>>>> This seems to be a bug where the component was expecting a hex
>>>>>>> string, but the "L" in the end of the long int messes things.
>>>>>>> Thanks for reporting.
>>>>>>> What kind of switch are you using?
>>>>>>>
>>>>>>> For a temporary fix in your case, try replacing line 95 with:
>>>>>>> value = int(value[:-1],16)
>>>>>>>
>>>>>>> On Wed, Jan 4, 2012 at 11:07 PM, wunyuan
>>>>>>> <wuny...@nchc.narl.org.tw <mailto:wuny...@nchc.narl.org.tw>> wrote:
>>>>>>>
>>>>>>>     Dear all,
>>>>>>>
>>>>>>>     I build a testbed as follows:
>>>>>>>
>>>>>>>     NOX
>>>>>>>     / \
>>>>>>>     of1----of2
>>>>>>>     / \
>>>>>>>     a b
>>>>>>>     Firstly, I set a and b to ping each other. Secondly, I input
>>>>>>>     "./nox_core -v -v -i ptcp:9550 routing lavi monitoring
>>>>>>>     trackhost_pktin" to run the NOX. and then start nox-gui.
>>>>>>>     Thirdly, I click "FlowTracer" botton and then double click
>>>>>>>     of1 node on nox-gui to show its flow entries. Finally, I
>>>>>>>     highlight one entry and click "Trace!" botton. However,I
>>>>>>>     cannot find any flows on nox-gui and I find one error
>>>>>>>     message. this error message is as follows:
>>>>>>>
>>>>>>>     File "~/nox/src/gui/views/flowtracer.py", line 95, in trace_flow
>>>>>>>     value = int(value,16)
>>>>>>>     ValueError: invalid literal for int() with base 16:
>>>>>>>     '0xe4115b1251b4L'
>>>>>>>
>>>>>>>     How could I fix it?
>>>>>>>
>>>>>>>     -- 
>>>>>>>
>>>>>>>     ===================================================================
>>>>>>>     系統與網路技術組-黃文源(Wun-Yuan Huang)
>>>>>>>     財團法人國家實驗研究院
>>>>>>>     國家高速網路與計算中心南部事業群
>>>>>>>     National Center for High-Performance Computing South Region
>>>>>>>     Office
>>>>>>>     台南縣台南科學園區南科三路28號
>>>>>>>     No.28, Nan-Ke 3rd. Rd., Science-based Industrial Park,
>>>>>>>     Tainan 744, Taiwan, R.O.C.
>>>>>>>     TEL:06-5050940 ext.751
>>>>>>>     FAX:06-5050945
>>>>>>>     E-Mail:wuny...@nchc.narl.org.tw
>>>>>>>     <mailto:wuny...@nchc.narl.org.tw>
>>>>>>>     ===================================================================
>>>>>>>
>>>>>>>     _______________________________________________
>>>>>>>     nox-dev mailing list
>>>>>>>     nox-dev@noxrepo.org <mailto:nox-dev@noxrepo.org>
>>>>>>>     http://noxrepo.org/mailman/listinfo/nox-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>>
>>>>>> ===================================================================
>>>>>> 系統與網路技術組-黃文源(Wun-Yuan Huang)
>>>>>> 財團法人國家實驗研究院
>>>>>> 國家高速網路與計算中心南部事業群
>>>>>> National Center for High-Performance Computing South Region Office
>>>>>> 台南縣台南科學園區南科三路28號
>>>>>> No.28, Nan-Ke 3rd. Rd., Science-based Industrial Park, Tainan 744, 
>>>>>> Taiwan, R.O.C.
>>>>>> TEL:06-5050940 ext.751     
>>>>>> FAX:06-5050945
>>>>>> E-Mail:wuny...@nchc.narl.org.tw
>>>>>> ===================================================================
>>>>>> _______________________________________________
>>>>>> nox-dev mailing list
>>>>>> nox-dev@noxrepo.org <mailto:nox-dev@noxrepo.org>
>>>>>> http://noxrepo.org/mailman/listinfo/nox-dev
>>>>>
>>>>
>>>>
>>>> -- 
>>>>
>>>> ===================================================================
>>>> 系統與網路技術組-黃文源(Wun-Yuan Huang)
>>>> 財團法人國家實驗研究院
>>>> 國家高速網路與計算中心南部事業群
>>>> National Center for High-Performance Computing South Region Office
>>>> 台南縣台南科學園區南科三路28號
>>>> No.28, Nan-Ke 3rd. Rd., Science-based Industrial Park, Tainan 744, Taiwan, 
>>>> R.O.C.
>>>> TEL:06-5050940 ext.751     
>>>> FAX:06-5050945
>>>> E-Mail:wuny...@nchc.narl.org.tw
>>>> ===================================================================
>>>
>>
>>
>> -- 
>>
>> ===================================================================
>> 系統與網路技術組-黃文源(Wun-Yuan Huang)
>> 財團法人國家實驗研究院
>> 國家高速網路與計算中心南部事業群
>> National Center for High-Performance Computing South Region Office
>> 台南縣台南科學園區南科三路28號
>> No.28, Nan-Ke 3rd. Rd., Science-based Industrial Park, Tainan 744, Taiwan, 
>> R.O.C.
>> TEL:06-5050940 ext.751     
>> FAX:06-5050945
>> E-Mail:wuny...@nchc.narl.org.tw
>> ===================================================================
>


-- 

===================================================================
系統與網路技術組-黃文源(Wun-Yuan Huang)
財團法人國家實驗研究院
國家高速網路與計算中心南部事業群
National Center for High-Performance Computing South Region Office
台南縣台南科學園區南科三路28號
No.28, Nan-Ke 3rd. Rd., Science-based Industrial Park, Tainan 744, Taiwan, 
R.O.C.
TEL:06-5050940 ext.751     
FAX:06-5050945
E-Mail:wuny...@nchc.narl.org.tw
===================================================================

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to