Dear Murphy,
My NOX controller is 32 bit and two clients are 32 bit. When the two
clients ping each other, this problem still occur.
Wun-Yuan
? 2012/1/6 ?? 09:39, 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
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
--
===================================================================
????????-???(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