Re: [nox-dev] A couple of questions about simplerouting.

2011-10-23 Thread Min-Hyup KANG



	
	
Hi,Sorry, I will not try to mail you in private mail."check connectivity" is ping test between end hosts.so, While I run "pyswitch", Flowtable is made successfully,CLI# flowtableFlow table showport L3src L3dst L4src L4dst Out_P packets6 192.168.1.2 192.168.1.1 0 0 8 38 192.168.1.1 192.168.1.2 8 0 6 36 0.0.0.0 0.0.0.0 0 0 8 1CLI#As you know, Simplerouting install shortest path to switch.00090|simplerouting|DBG:Sending packet of port0004:vlan:pcp:0 mac00:0f:b0:6f:ea:e2-00:0f:b0:72:1b:e3 proto0806 ip192.168.1.2-192.168.1.1 port0-0 via controlBut, Flowtable is NOT made normally.CLI# flowtableFlow table showERROR: Status nil, operation did not complete.Error string given: transact ERROR: Could not connect to server; op: GET. uri: /cs/1.0/flowtable id 16Error handing command flowtable. No flow table entries returnedCLI#I don't know exactly wheather it is problem of switch or NOX.Mr.Dan said That seems like a NOX question.I doubt that limitation of Pronto 3290 can't make flowtable.Any suggestion ?- 원본 메일 -보낸사람: kk yap yap...@stanford.edu받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net참조 : Murphy McCauley jam...@nau.edu, nox-dev nox-dev@noxrepo.org날짜: 2011년 10월 23일 일요일, 23시 49분 02초 +0900제목: Re: A couple of questions about simplerouting.

	Hi Min-Hyun,cc-ing the mailing list again.First, try not to email us in private email unless it is truly appropriate. I tend to ignore these emails.Long story short, I do not understand what is "check connectivity". You have to describe your problem more. And I suspect you need to do a little more debugging to know what is wrong, before we can help you.

RegardsKK2011/10/23 Min-Hyup KANG kang-min-h...@hanmail.net




	
	
Hi,

I am currently facing simplerouting problem..Let me arrange precise my situation.

I don't know exactly wheather it is problem of switch or NOX(zaku)When I run "./nox_core -i ptcp:6633 pyswitch", I can check connectivity between end hosts,

But, When I run "./nox_coire -i ptcp:6633 simplerouting", I CAN NOT check connectivity between end hosts.

Pronto 3290 switch has some limitations.(http://www.openflowhub.org/display/Indigo/Indigo+2011.10.03+Release+Notes)

Is it Fatal limitation ?

Any tips would help me.Many thanks.

Below is limitation of pronto 3290 switch.Counters are byte or packet, not both

For flows, only packet counters or byte counters are supported, not both simultaneously. In the configuration of this release, only packet counters are supported. Applies to all platforms.

Actions sequencing is not supported.

For example, the action list with 4 actions: "(1) set VID to X, (2) output to port A, (3) set VID to Y, (4) output to port B" has the intention of sending the packet out on different ports with different VLANs. This is not supported. However, sending to multiple ports by specifying each port in a different output action is supported. Applies to all platforms.



Not all OpenFlow actions are supported.

The following are not currently supported on any Indigo platform:




OFPAT_SET_NW_SRC (Set L3 IP source address)
OFPAT_SET_NW_DST (Set L3 IP destination address)
OFPAT_SET_TP_SRC (Set L4 source port)
OFPAT_SET_TP_DST (Set L4 destination port)
The following are only supported on the Pronto 3290 and the Triumph 2 reference:






OFPAT_SET_DL_SRC (Set L2 MAC source address)
OFPAT_SET_DL_DST (Set L2 MAC destination address)
OFPAT_STRIP_VLAN (Strip VLAN tag) is supported (but with only limited validation) on the 3290 and 3240 platforms. On other platforms, the function can be implemented by setting to the system's untagged VLAN (untested).



Cannot multicast and wildcard source port.

Actions with a wildcard source port may not specify "flood" nor multicast (multiple output ports) with the expectation of source port blocking.








			Best Regards,
Min-Hyup KANG  


 



		







			Best Regards,
Min-Hyup KANG  


 

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


Re: [nox-dev] A couple of questions about simplerouting.

2011-10-23 Thread Min-Hyup KANG



	
	
Hi, Thank you for your response.First, I added logs each functions.NOX have the packet-in event,But, When NOX install flow entry,switch can't modify and add flowtable.so,I doubt that limitation of Pronto 3290 can't make flowtable.00138|simplerouting|DBG:This is Packet-in Event Handler !00139|simplerouting|DBG:Flood !00140|simplerouting|DBG:Sending packet of port0008:vlan:pcp:0 mac00:0f:b0:72:1b:e3-ff:ff:ff:ff:ff:ff proto0806 ip192.168.1.1-192.168.1.2 port0-0 via control00141|openflow-event|DBG:received packet-in event from 123456abcdef (len:60)00142|hosttracker|DBG:Host fb06feae2 at old location 123456abcdef:400143|hosttracker|DBG:Added host fb06feae2 to location 123456abcdef:4[(Compal Electronics,INC.):6f:ea:e2(Compal Electronics,INC.):72:1b:e3:ARP](REPLY[hw:1p:2048[00:0f:b0:6f:ea:e200:0f:b0:72:1b:e3]:[192.168.1.2192.168.1.1])00144|simplerouting|DBG:This is Packet-in Event Handler !00145|routeinstaller|DBG:get_shortest_path200146|routeinstaller|DBG:route2tree00147|routeinstaller|DBG:Pushing last hop to out port 800148|simplerouting|DBG:ri-install_route00149|routeinstaller|DBG:install_route00150|routeinstaller|DBG:install_route200151|routeinstaller|DBG:real_install_route00152|routeinstaller|DBG:This is install_flow_entry()00153|routeinstaller|DBG:Install flow entry port0004:vlan:pcp:0 mac00:0f:b0:6f:ea:e2-00:0f:b0:72:1b:e3 proto0806 ip192.168.1.2-192.168.1.1 port0-0 with 1 actions00154|routeinstaller|DBG:send_openflow_command()100155|routeinstaller|DBG:send_openflow_command()200156|openflow-event|DBG:received port status event from 123456abcdef- 원본 메일 -보낸사람: kk yap yap...@stanford.edu받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net참조 : Murphy McCauley jam...@nau.edu, nox-dev nox-dev@noxrepo.org날짜: 2011년 10월 24일 월요일, 01시 16분 59초 +0900제목: Re: A couple of questions about simplerouting.

	Hi,I am confused.  I am guessing you have the packet-in? Are the flow-mod looking okay?More question inline.2011/10/23 Min-Hyup KANG kang-min-h...@hanmail.net




	
	
Hi,Sorry, I will not try to mail you in private mail."check connectivity" is ping test between end hosts.

Thanks. That clarifies things.



so, While I run "pyswitch", Flowtable is made successfully,CLI# flowtable

Flow table showport L3src L3dst L4src L4dst Out_P packets6 192.168.1.2 192.168.1.1 0 0 8 38 192.168.1.1 192.168.1.2 8 0 6 3

6 0.0.0.0 0.0.0.0 0 0 8 1CLI#

As you know, Simplerouting install shortest path to switch.

Yes I do realized that.

00090|simplerouting|DBG:Sending packet of port0004:vlan:pcp:0 mac00:0f:b0:6f:ea:e2-00:0f:b0:72:1b:e3 proto0806 ip192.168.1.2-192.168.1.1 port0-0 via control

But, Flowtable is NOT made normally.What does this mean?



CLI# flowtableFlow table show

ERROR: Status nil, operation did not complete.Error string given: transact ERROR: Could not connect to server; op: GET. uri: /cs/1.0/flowtable id 16

Error handing command flowtable. No flow table entries returnedCLI#Seems switch specific to me here.





I don't know exactly wheather it is problem of switch or NOX.Mr.Dan said That seems like a NOX question.

Can you give us the tcpdump of the control traffic? This is a moot argument until you can be sure what transpired.Regards
KK


I doubt that limitation of Pronto 3290 can't make flowtable.

Any suggestion ?

- 원본 메일 -

보낸사람: kk yap yap...@stanford.edu받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net

참조 : Murphy McCauley jam...@nau.edu, nox-dev nox-dev@noxrepo.org날짜: 2011년 10월 23일 일요일, 23시 49분 02초 +0900

제목: Re: A couple of questions about simplerouting.

	Hi Min-Hyun,cc-ing the mailing list again.First, try not to email us in private email unless it is truly appropriate. I tend to ignore these emails.

Long story short, I do not understand what is "check connectivity". You have to describe your problem more. And I suspect you need to do a little more debugging to know what is wrong, before we can help you.



RegardsKK2011/10/23 Min-Hyup KANG kang-min-h...@hanmail.net






	
	
Hi,

I am currently facing simplerouting problem..Let me arrange precise my situation.



I don't know exactly wheather it is problem of switch or NOX(zaku)When I run "./nox_core -i ptcp:6633 pyswitch", I can check connectivity between end hosts,



But, When I run "./nox_coire -i ptcp:6633 simplerouting", I CAN NOT check connectivity between end hosts.



Pronto 3290 switch has some limitations.(http://www.openflowhub.org/display/Indigo/Indigo+2011.10.03+Release+Notes)



Is it Fatal limitation ?

Any tips would help me.Many thanks.



Below is limitation of pronto 3290 switch.Counters are byte or packet, not both



For flows, only packet counters or byte counters are supported, not both simultaneously. In the configuration of this release, only packet counters are supported. Applies to all platforms.



Actions sequencing is not sup

[nox-dev] limitation of Simplerouting

2011-10-18 Thread Min-Hyup KANG



	
	
Hi,I am currently facing simplerouting problem..Let me arrange precise my situation.I don't know exactly wheather it is problem of switch or NOX1. My pronto 3290 firmware version is "indigo-2011.10.03"2. I can run "./nox_core -i ptcp:6633 pyswitch". and check connectiviy between end hosts, and "flowtable"CLI# flowtableFlow table showport L3src L3dst L4src L4dst Out_P packets6 192.168.1.2 192.168.1.1 0 0 8 38 192.168.1.1 192.168.1.2 8 0 6 36 0.0.0.0 0.0.0.0 0 0 8 1CLI#3. I can run "./nox_core -i ptcp:6633 simplerouting" but can't check connectivity between end hosts, and I can check "flowtable"jeju-CLI# flowtableFlow table showERROR: Status nil, operation did not complete.Error string given: transact ERROR: Could not connect to server; op: GET. uri: /cs/1.0/flowtable id 16Error handing command flowtable. No flow table entries returnedCLI#4. For reference, Pronto 3290 has some limitations.(http://www.openflowhub.org/display/Indigo/Indigo+2011.10.03+Release+Notes)Is it fatal limitation ?Counters are byte or packet, not bothFor flows, only packet counters or byte counters are supported, not both simultaneously. In the configuration of this release, only packet counters are supported. Applies to all platforms.Actions sequencing is not supported.For example, the action list with 4 actions: "(1) set VID to X, (2) output to port A, (3) set VID to Y, (4) output to port B" has the intention of sending the packet out on different ports with different VLANs. This is not supported. However, sending to multiple ports by specifying each port in a different output action is supported. Applies to all platforms.Not all OpenFlow actions are supported.The following are not currently supported on any Indigo platform:OFPAT_SET_NW_SRC (Set L3 IP source address)
OFPAT_SET_NW_DST (Set L3 IP destination address)
OFPAT_SET_TP_SRC (Set L4 source port)
OFPAT_SET_TP_DST (Set L4 destination port)
The following are only supported on the Pronto 3290 and the Triumph 2 reference:OFPAT_SET_DL_SRC (Set L2 MAC source address)
OFPAT_SET_DL_DST (Set L2 MAC destination address)
OFPAT_STRIP_VLAN (Strip VLAN tag) is supported (but with only limited validation) on the 3290 and 3240 platforms. On other platforms, the function can be implemented by setting to the system's untagged VLAN (untested).Cannot multicast and wildcard source port.Actions with a wildcard source port may not specify "flood" nor multicast (multiple output ports) with the expectation of source port blocking.






			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] Getting dl_src, nw_src

2011-09-23 Thread Min-Hyup KANG



	
	
Hi All,I would like to get dl_src, nw_src in void lavi_hostflow::send_flow_list(const Flow flow, etc)So, I am printing some Flow values.For example, I used print function to get dl_src, nw_src.void lavi_hostflow::send_flow_list(const Flow flow,  const network::route rte,  const Msg_stream stream,  bool add) {..std::cout"nw_src : "flow.nw_srcstd::endl;std::cout"nw_dst : "flow.nw_dststd::endl;std::cout"dl_src : "flow.dl_srcstd::endl;std::cout"dl_dst : "flow.dl_dststd::endl; }and Below is outcome.As you can see, dl_src looks good, but nw_src isn't IP address..To get IP src,dst Address, What should I do ?./nox_core..nw_src : 16885952nw_dst : 33663168dl_src : 00:0f:b0:72:1b:e3dl_dst : 00:0f:b0:6f:ea:e2......






			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] NOX Pronto 3290(2011.08.06)

2011-09-18 Thread Min-Hyup KANG



	
	
Hi, AllI'd like to know that it iscompatible between NOX(zaku or destiny) and Pronto 3290(2011.08.06 firmware).Currently, I can not operate Simplerouting etc.I don't know exactly why nox is having a below message.If you have any solution, please let me know.00175|routeinstaller|DBG:Install flow entry port0007:vlan:pcp:0 mac84:2b:2b:60:26:6e-84:2b:2b:60:38:03 proto0800 ip192.168.10.11-192.168.10.10 port8-0 with 1 actions00176|openflow-event|ERR:received Openflow error packet from dpid=02aa: type=3, code=0, 80 bytes of data00177|openflow-event|ERR:received Openflow error packet from dpid=02aa: type=3, code=0, 80 bytes of data






			Best Regards,
Min-Hyup KANG  


 

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


Re: [nox-dev] NOX Pronto 3290(2011.08.06)

2011-09-18 Thread Min-Hyup KANG



	
	
yes, you are right,it is error that it couldn't add a flow entry because the flow table was full.it is very strange..Now, I checked flow table information through switch CLI.Is this switch error ?CLI# flowtableFlow table showERROR: Status nil, operation did not complete.Error handing command flowtable. No flow table entries returnedCLI#- 원본 메일 -보낸사람: Kyriakos Zarifis kyr.zari...@gmail.com받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net참조 : NOX-dev nox-dev@noxrepo.org,openflow-indigo openflow-ind...@lists.stanford.edu날짜: 2011년 9월 19일 월요일, 10시 01분 29초 +0900제목: Re: [nox-dev] NOX  Pronto 3290(2011.08.06)

	I don't know much about Pronto, but this error is a message from the switch telling NOX that it couldn't add a flow entry because the flow table was full. Could that be the case indeed?
2011/9/19 Min-Hyup KANG kang-min-h...@hanmail.net



	
	
Hi, AllI'd like to know that it iscompatible between NOX(zaku or destiny) and Pronto 3290(2011.08.06 firmware).
Currently, I can not operate Simplerouting etc.
I don't know exactly why nox is having a below message.If you have any solution, please let me know.
00175|routeinstaller|DBG:Install flow entry port0007:vlan:pcp:0 mac84:2b:2b:60:26:6e-84:2b:2b:60:38:03 proto0800 ip192.168.10.11-192.168.10.10 port8-0 with 1 actions
00176|openflow-event|ERR:received Openflow error packet from dpid=02aa: type=3, code=0, 80 bytes of data
00177|openflow-event|ERR:received Openflow error packet from dpid=02aa: type=3, code=0, 80 bytes of data







			Best Regards,
Min-Hyup KANG  


 

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


		







			Best Regards,
Min-Hyup KANG  


 

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


Re: [nox-dev] [openflow-indigo] I can't make flow-table entry manually

2011-08-24 Thread Min-Hyup KANG



	
	
Hi,Can you run "./nox_core -i ptcp:6633 -v pyswitch" ? (in destiny)In destiny,00025|openflow-event|ERR:received Openflow error packet from dpid=002320aa3f26: type=3, code=0, 80 bytes of data00026|openflow-event|ERR:received Openflow error packet from dpid=002320aa3f26: type=3, code=0, 80 bytes of data00027|openflow-event|ERR:received Openflow error packet from dpid=002320aa3f26: type=3, code=0, 80 bytes of data00028|openflow-event|ERR:received Openflow error packet from dpid=002320aa3f26: type=3, code=0, 80 bytes of data00029|openflow-event|ERR:received Openflow error packet from dpid=002320aa3f26: type=3, code=0, 80 bytes of data00030|openflow-event|ERR:received Openflow error packet from dpid=002320aa3f26: type=3, code=0, 80 bytes of data- 원본 메일 -보낸사람: Aaron Rosen aro...@clemson.edu받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net참조 : openflow-indigo openflow-ind...@lists.stanford.edu날짜: 2011년 8월 25일 목요일, 10시 13분 57초 +0900제목: Re: [openflow-indigo] I can't make flow-table entry manually

	Are your switches connected to a nonOF control plane to get to the 
controller? I would just try nox's pyswitch right now. I'm not sure 
what module you are running. ./nox_core -v -i ptcp:6633 pyswitch 
Also make sure that both switches are connecting to the controller. 2011/8/24 Min-Hyup KANG kang-min-h...@hanmail.net



	
	
Hi,Anyway,I am currently conducting an experiment on Pronto 3290 having below test-bed.
NOX(destiny)|HOST1(192.168.10.10)(port3)OFSW1(port5)--(port5)OFSW2(port3)-HOST2(192.168.10.11)
I run command line "ping" from HOST1 to HOST2 after our test-bed are compeleted.But, as you can see the below message, datapath seems not to be made.
so, I believe that I can't ping from HOST1 to HOST2.I don't know exactly why we can't ping from source to destination.I am wondering that there are problem from controller or Switch.
1. It seems like that switch don't have flowtable. can you give some tips about this situation ?2. Have you ever been seen this message ?
Message from NOX===00060|spanning_tree|WARN:150867683352 : [84:2b:2b:60:38:0384:2b:2b:60:26:6e:IP]([v:4hl:5l:84t:64]ICMP cs:a543[192.168.10.10192.168.10.11]){t:8 c:0 csum: 0xa007}{id:1659seq:15}
00061|openflow-event|ERR:received Openflow error packet from dpid=0023206a2818:type=3, code=0, 80 bytes of data00062|spanning_tree|WARN:150867683352 : [84:2b:2b:60:38:0384:2b:2b:60:26:6e:IP]([v:4hl:5l:84t:64]ICMP cs:a543[192.168.10.10192.168.10.11]){t:8 c:0 csum: 0x9f06}{id:1659seq:16}
00063|openflow-event|ERR:received Openflow error packet from dpid=0023206a2818:type=3, code=0, 80 bytes of data=I think type=3 mean OFPST_TABLE
and code=0 mean OFPFMFC_ALL_TABLEFULL- 원본 메일 -
보낸사람: Aaron Rosen aro...@clemson.edu받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net
참조 : openflow-indigo openflow-ind...@lists.stanford.edu날짜: 2011년 8월 25일 목요일, 09시 16분 06초 +0900
제목: Re: [openflow-indigo] I can't make flow-table entry manually

	I'm not sure if you can do it via the web interface but if you install dpctl you can do it from your desktop. That is what I use.I just use whatever the latest version is from noxrepo.org.

Aaron2011/8/24 Min-Hyup KANG kang-min-h...@hanmail.net




	
	
Thank you for your rely.1.Are you using pronto 3290 switch ?and Can you install the flow entries via web interface ?

if so, How can I install flow entries via web interface ? I connect through the "Telnet".2. Which do you use NOX controller version ?I can't check connectivity between HOST1 and HOST2 using pronto 3290(new release firmware 2011-08-06 )

Also it looks like you are running dpctl against the controller? This should be run against the switch's ip address.- Thank you for your tips

- 원본 메일 -

보낸사람: Aaron Rosen aro...@clemson.edu

받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net참조 : openflow-indigo openflow-ind...@lists.stanford.edu

날짜: 2011년 8월 25일 목요일, 00시 24분 37초 +0900제목: Re: [openflow-indigo] I can't make flow-table entry manually

	Hi Min-Hyup,I usually never login to the 3290 I just configure it via it's web interface to point to my controller. Once you do that the controller can install the flow entries for you.


Also it looks like you are running dpctl against the controller? This should be run against the switch's ip address.Aaron2011/8/24 Min-Hyup KANG kang-min-h...@hanmail.net





	
	
HI,When I am doing "ping test", among NOX, Pronto 3290, HOST,Should I set "ofdatapath", "ofprotocol" ?


Since I can't make flow-table entry manually, so I can't ping HOST to HOST.Any suggestions ?==TEST1===NIMS-Pronto5-CLI# shell /sbin/dpctl add-flow tcp:NOX IP:6633 in_port=1,actions=output:2


Running shell command: /sbin/dpctl add-flow tcp:NOX IP:6633 in_port=1,actions=output:2NIMS-Pronto5-CLI# flowtable briefFlow table showERROR: Status nil, operation did not complete.

Error han

[nox-dev] Simplerouting component on pronto 3290

2011-08-18 Thread Min-Hyup KANG



	
	
Hi all,I am trying to test routing on pronto 3290 switch.below is my test bed  NOX controller(destiny)   |=(internet)  SW2/\   /  \HOST1(192.168.1.1) --- SW1  Sw3-HOST2(192.168.1.2)and I run command line "./nox_core -i ptcp:6699 -v spanning_tree simplerouting"But, I can't ping from HOST1 to HOST2.I don't know why I can't ping.any suggestion ?and is below message fatal error ?00643|openflow-event|ERR:received Openflow error packet from dpid=423456abcdef: type=2, code=4, 80 bytes of data00644|openflow-event|ERR:received Openflow error packet from dpid=423456abcdef: type=2, code=4, 80 bytes of data00645|openflow-event|ERR:received Openflow error packet from dpid=223456abcdef: type=3, code=0, 80 bytes of data00646|openflow-event|ERR:received Openflow error packet from dpid=223456abcdef: type=3, code=0, 80 bytes of data






			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] Spanning_tree component

2011-08-17 Thread Min-Hyup KANG



	
	
Hi,I know there is spanning_tree on Destiny,But I'd like to use spanning_tree component on NOX zaku,and I can't operate spanning_tree component on zaku. and I can see error message.In order to use the spanning_tree, should I use destiny ?is there a any way to use spanning_tree on zaku ?any suggestion ?Thanks !00072|nox|ERR:Cannot change the state of 'spanning_tree' to INSTALLED:'spanning_tree' ran into an error:	cannot import a Python module 'nox.netapps.spanning_tree.spanning_tree':	Traceback (most recent call last):	 File "./nox/netapps/spanning_tree/spanning_tree.py", line 27, in module	  from nox.coreapps.messenger.pyjsonmsgevent import JSONMsg_event	ImportError: No module named pyjsonmsgevent	






			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] get_link_load_ratio

2011-08-10 Thread Min-Hyup KANG



	
	
Hi all,I am trying to get bandwidth using get_link_load_ratio method in linkload.cc1.Return-value of get_link_load_ratio is ratio of particular port, right ?2.and speed is total bandwidth of particular port(Mbps), right ?3. ratio * speed = using bandwidth(Mbps) of particular port, right ?please explain get_link_load_ratio method more easily.






			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] VLAN setting on Pronto 3290

2011-08-02 Thread Min-Hyup KANG



	
	
Hi all,I am currently having several Pronto 3290 switches.so, I would link to devide and assign some VLAN , such as VLAN2, VLAN3 for some port.I believe that I should write some code about vlan in NOX controller.but, It is not easy for me. so I need your help.Can you explain easily how to write some code for vlan assignment.orplease let me know example code showing vlan assignment.Any suggestion would help to me.and I am looking forward response.Thanks,






			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] regarding lavitest_showflow

2011-07-22 Thread Min-Hyup KANG



	
	
Hi,I run "./nox_core -i ptcp:6633 -v lavitest_showflow pyswitch"and I ping from HOST1 to HOST2I can see nodes and links, but I can't see flows.why can't I see flows on ENVI as attached file? 






			Best Regards,
Min-Hyup KANG  


 

attachment: lavitest.png___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


Re: [nox-dev] handle_flow_route Event

2011-07-21 Thread Min-Hyup KANG



	
	
thank you so much !I will try it !!- 원본 메일 -보낸사람: kk yap yap...@stanford.edu받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net참조 : NOX-dev nox-dev@noxrepo.org날짜: 2011년 7월 22일 금요일, 12시 44분 27초 +0900제목: Re: [nox-dev] handle_flow_route Event

	2011/7/21 Min-Hyup KANG kang-min-h...@hanmail.net




	
	
Thank you for your great response.Yes,handle_flow_route is existing in lavi_hostflow.cc line 34~60.

and handle_flow_route event call send_flow_list_function.My main question is "when doeshandle_flow_route eventoccur? "

I guess the answer is when there is a flow mod to the host. You can verify by doing a grep to see which component post the event.Hope this is useful.

RegardsKK

for example handle_req handling JSON event occur, when lavi receive json message from envi.

- 원본 메일 -

보낸사람: kk yap yap...@stanford.edu받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net

참조 : NOX-dev nox-dev@noxrepo.org날짜: 2011년 7월 22일 금요일, 10시 25분 34초 +0900제목: Re: [nox-dev] handle_flow_route Event



	Sorry, I continue to be lost.if you want to send flows to ENVI, look at lavi_hostflow.cc line 34 to 60 for an example. Basically, a list of flow is created and the send_flow_list function is called.



RegardsKK2011/7/21 Min-Hyup KANG kang-min-h...@hanmail.net






	
	
Yes, sorry for not clearness.2, "One of the lavi component (though I forgot which one) will listen for that event and send a message to ENVI. "



so, I don't know flow_route_event is run at some point in lavi_hostflow.cccan you give me some tips ?thanks,- 원본 메일 -



보낸사람: kk yap yap...@stanford.edu



받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net참조 : NOX-dev nox-dev@noxrepo.org



날짜: 2011년 7월 22일 금요일, 09시 36분 46초 +0900, and which one of the lavi com제목: Re: [nox-dev] handle_flow_route Event

	Is there a question in this email?KK2011/7/21 Min-Hyup KANG kang-min-h...@hanmail.net








	
	
Thank you for your response.1. "You need to include the header file for the definition of the event, then create the event, populate it and post it."





-Basically, there is part of flow_route_event in lavi_hostflow.cc. so I don't have to include the header file, right ?.register_handlerFlow_route_event   (boost::bind(lavi_hostflow::handle_flow_route, this, _1));





 Disposition lavi_hostflow::handle_flow_route(const Event e).2, "One of the lavi component (though I forgot which one) will listen for that event and send a message to ENVI. "





- lavi_hostflow inherit lavi_flows, so lavi_hostflow has JSONmsg_event handler.I think JSONmsg_event handler seems to check type, command, node_type.if command is request, send_list-send_flow_list(reply add)





if subscribe , interested.push_backif unsubscribe, interested.erase,so, I don't know flow_route_event is run at some point, register_handlerJSONMsg_event  (boost::bind(lavi_flows::handle_req, this, _1));





 Disposition lavi_flows::handle_req(const Event e) {  const JSONMsg_event jme = assert_castconst JSONMsg_event(e)Thanks,





- 원본 메일 -





보낸사람: kk yap yap...@stanford.edu받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net





참조 : NOX-dev nox-dev@noxrepo.org날짜: 2011년 7월 22일 금요일, 01시 59분 28초 +0900제목: Re: [nox-dev] handle_flow_route Event







	Hi,This is a standard procedure in NOX. You need to include the header file for the definition of the event, then create the event, populate it and post it. One of the lavi component (though I forgot which one) will listen for that event and send a message to ENVI. Look at lavi_hosts (I think) for an example.







RegardsKKPS Sorry, I did not find time to look up the code before replying.2011/7/18 Min-Hyup KANG kang-min-h...@hanmail.net










	
	
Hi All,I am currently trying to understand relation between LAVI and ENVI.

especially, I am looking at part of lavi_flow and lavi_hostflow to add and delete on ENVI.To handle event such as add and delete flows on ENVI,I think I should generate Handle_flow_route event in netapps/lavi/lavi_hostflow.cc.







so, how can I generate handle_flow_route event ? or where does it operate the event ?






			Best Regards,
Min-Hyup KANG  


 

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


		







			Best Regards,
Min-Hyup KANG  


 



		







			Best Regards,
Min-Hyup KANG  


 



		







			Best Regards,
Min-Hyup KANG  


 



		







			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] Pronto(Indigo-2011.04.07) VS PC switch(openflow 1.0)

2011-07-13 Thread Min-Hyup KANG



	
	
My test-bedHOST1-Pronto--PC Switch-HOST2Hi, I am currently trying to measure linkload ratio as above test-bed.so, I am re-writing networkstate/linkload.ccand then I run command"./nox_core -i ptcp:6633 -v simplerouting linkload=interval=10"Openflow PC switch(openflow 1.0) seems to be okay.But Pronto 3290 return invalid value (-1).so I don't know why pronto return invalid value.any suggestions ?your suggestions would help to me.Thanks,void linkload::stat_probe()..   float rx_ratio1 = get_link_load_ratio(dpi-second.datapath_id,1, false);   float rx_ratio2 = get_link_load_ratio(dpi-second.datapath_id,2, false); uint32_t speed_1 = dpmem-get_link_speed(dpi-second.datapath_id, 1);   uint32_t speed_2 = dpmem-get_link_speed(dpi-second.datapath_id, 2); std::cout"Port 1 : Using Bandwidth "(rx_ratio1)*(speed_1)"Mbps ""/ Total Bandwidth "speed_1"Mbps"std::endl;   std::cout"Link Load Ratio : "rx_ratio1*100"%"endl;   std::cout"Port 2 : Using Bandwidth "(rx_ratio2)*(speed_2)"Mbps ""/ Total Bandwidth "speed_2"Mbps"std::endl;   std::cout"Link Load Ratio : "rx_ratio2*100"%"endl;.."./nox_core -i ptcp:6633 -v simplerouting linkload=interval=10"below is openflow PC switch(openflow 1.0)00446|linkload|DBG:Send probe to 2320e69d43Port 1 : Using Bandwidth 0.5488Mbps / Total Bandwidth 100MbpsLink Load Ratio : 0.5488%Port 2 : Using Bandwidth 0.5888Mbps / Total Bandwidth 100MbpsLink Load Ratio : 0.5888%below is pronto 3290 switch(Indigo-2011.04.07)Port 1 : Using Bandwidth -0Mbps / Total Bandwidth 0MbpsLink Load Ratio : -100%Port 2 : Using Bandwidth -0Mbps / Total Bandwidth 0MbpsLink Load Ratio : -100%Port 3 : Using Bandwidth -0Mbps / Total Bandwidth 0MbpsLink Load Ratio : -100%






			Best Regards,
Min-Hyup KANG  


 

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


Re: [nox-dev] send_stat_req

2011-07-11 Thread Min-Hyup KANG



	
	
Thanks for your kindness."You only need to include an item in nox.json if you care about the order in which it is dispatched to components."- sorry but can you explain more easily ?I am also trying to get aggregate reply. so I re-write networkstate/linkload.cc as belowI know I have to register_event and post event. but I don't know how to use post event exactly.so, please give me some tips ?Thanks,#include "include/aggregate-stats-in.hh".void linkload::configureu(const Configuration* c){  ..register_event(Aggregate_stats_in_event::static_get_name()); }..void linkload::send_stat_req(const datapathid dpid, uint16_t port) {  size_t size = sizeof(ofp_stats_request)+sizeof(ofp_aggregate_stats_request);  of_raw.reset(new uint8_t[size]);  of_stats_request osr(openflow_pack::header(OFPT_STATS_REQUEST, size),OFPST_AGRREGATE, 0);  of_aggregate_stats_request oasr; oasr.match.wildcards = 0x; oasr.table_id = 0xff; oasr.out_port = OFPP_NONE;  osr.pack((ofp_stats_request*) openflow_pack::get_pointer(of_raw));  oasr.pack((ofp_aggregate_stats_request*) openflow_pack::get_pointer(of_raw, sizeof(ofp_stats_request)));  send_openflow_command(dpi-second.datapath_id, of_raw, false);/*post event  I don't know exactly how to use post exactly*/  size_t rsize = sizeof(ofp_stats_reply)+sizeof(ofp_aggregate_stats_reply);  of_raw.reset(new uint8_t[rsize]);  of_stats_reply srep(openflow_pack::header(OFPT_STATS_REPLY, rsize), OFPST_AGGREGATE, 0x0001);  post(new Aggregate_stats_in_event(dpi-second.datapath_id, srep,. ));- ¿øº» ¸ÞÀÏ -º¸³½»ç¶÷: Murphy McCauley jam...@nau.edu¹Þ´Â»ç¶÷ : Min-Hyup KANG kang-min-h...@hanmail.netÂüÁ¶ : "NOX-dev" nox-dev@noxrepo.org³¯Â¥: 2011³â 7¿ù 11ÀÏ ¿ù¿äÀÏ, 11½Ã 04ºÐ 12ÃÊ +0900Á¦¸ñ: Re: [nox-dev] send_stat_req

	Glad to hear you got it working.As for aggregate stats replies, use Aggregate_stats_in_event. This is in the fileinclude/aggregate-stats-in.hh with the rest of the events.As you notice, it isn't in nox.json, but that is okay. You only need to include an item in nox.json if you care about the order in which it is dispatched to components.-- MurphyOn Jul 10, 2011, at 6:10 PM, Min-Hyup KANG wrote:Hi,Thank you for your response.yes, What I add the code to the end of send_stats_req() "of_ports psrep" is to monitor for port status through the reply of switch using C++ without python.so I added some code to monitor as below. It seems to receive reply from switch.and I have a another question. If I send "ofp_aggregate_stats_request", What should I use event ? should I make new event ?I think there isn't aggregate_stats event in src/etc/nox.json.Disposition linkload::handle_port_stats(const Event e) {  const Port_stats_in_event psie = assert_castconst Port_stats_in_event(e);  vectorPort_stats::const_iterator i = psie.ports.begin();  while (i != psie.ports.end())  {   std::cout"rx_packets= "i-rx_packetsstd::endl;   std::cout"rx_bytes= "i-rx_bytesstd::endl;   std::cout"tx_bytes= "i-tx_bytesstd::endl;00488|openflow-event|DBG:received stats reply from 00232033dbcerx_packets= 612rx_bytes= 44878tx_bytes= 34546rx_packets= 866----- ¿øº» ¸ÞÀÏ -º¸³½»ç¶÷: Murphy McCauley jam...@nau.edu¹Þ´Â»ç¶÷: "Min-Hyup KANG" kang-min-h...@hanmail.netÂüÁ¶: "NOX-dev" nox-dev@noxrepo.org³¯Â¥: 2011³â 7¿ù 08ÀÏ ±Ý¿äÀÏ, 18½Ã 59ºÐ 59ÃÊ +0900Á¦¸ñ: Re: [nox-dev] send_stat_reqSo most of what you posted is just the code from send_stat_req(). At the end, you have some new code starting with "of_port_stats psrep;". Did you simply add that code to the end ofsend_stat_req()? If so, it's not going to work. The request is sent bysend_openflow_command(), but the answer does not come back immediately. psrep will not be filled in. Instead, you need to wait for an event to be fired when you receive the response from the switch. In linkload, this happens in thehandle_port_stats() method, which iterates over Port_stats structures (basically the same as ofp_port_stats structures from the packing library). Your code belongs somewhere in the loop in that function.Hope that helps.-- MurphyOn Jul 7, 2011, at 11:37 PM, Min-Hyup KANG wrote:Hi all,I am currently trying to get any statistics of running switch.and I am re-writing some networkstate/linkload.cc as blow, but I think their value is "0"I need your help and any suggestion would help me.Thanks,void linkload::send_stat_req(const datapathid dpid, uint16_t port) {  size_t size = sizeof(ofp_stats_request)+sizeof(ofp_port_stats_request);  of_raw.reset(new uint8_t[size]);  of_stats_request osr(openflow_pack::header(OFPT_STATS_REQUEST, size),OFPST_PORT, 0);  of_port_stats_request opsr;  opsr.port_no = OFPP_NONE;  osr.pack((ofp_stats_request*) openflow_pack::get_pointer(of_raw));  opsr.pack((ofp_port_stats_request*) openflow_pack::get_pointer(of_raw, sizeof(ofp_stats_request)));  /

Re: [nox-dev] pronto 3290's NOX version

2011-07-04 Thread Min-Hyup KANG



	
	
Hi, Srinisorry,That is my mistake.zaku and destiny work fine :)00054|nox|DBG:Registering switch with DPID = 123456abcdef00055|nox.coreapps.examples.pyswitch|INFO:Switch 123456abcdef has joined the network00056|openflow-event|DBG:received packet-in event from 123456abcdef (len:98)[(Compal Electronics,INC.):6f:ea:e2(Compal Electronics,INC.):72:1b:e3:IP]([v:4hl:5l:84t:64]ICMP cs:b755[192.168.1.2192.168.1.1]){t:8 c:0 csum: 0x6e6b}{id:34170seq:30090}00057|openflow-event|DBG:received packet-in event from 123456abcdef (len:98)[(Compal Electronics,INC.):72:1b:e3(Compal Electronics,INC.):6f:ea:e2:IP]([v:4hl:5l:84t:64]ICMP cs:c4dd[192.168.1.1192.168.1.2]){t:0 c:0 csum: 0x766b}{id:34170seq:30090}- 원본 메일 -보낸사람: Srini Seetharaman seeth...@stanford.edu받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net참조 : NOX-dev nox-dev@noxrepo.org날짜: 2011년 7월 05일 화요일, 09시 16분 11초 +0900제목: Re: [nox-dev] pronto 3290's NOX version

	Hi Min-Hyup
What error do you get? Do you not see the switch connecting
successfully with the controller? Please run in verbose mode and paste
the output of NOX-Zaku.

Thanks
Srini.

2011/6/29 Min-Hyup KANG kang-min-h...@hanmail.net

 Hi All,

 Does Pronto 3290(indigo-1.0-web-rc3) provide NOX destiny ?

 When I test zaki and destiny,

 They act on destiny not zaku

 what do you think about that ?

 thanks,


 Best Regards,
 Min-Hyup KANG


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


		







			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] Bandwidth Measurement.

2011-06-30 Thread Min-Hyup KANG



	
	
Hi,I would like to measure bandwidth between switches.I am reading openflow spec 1.0, but there are not existing exactly.please can you give me some tips ?






			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] packing openflow message

2011-06-30 Thread Min-Hyup KANG



	
	
Hi,I would like to pack openflow message.so, I am trying to pack ofp_queue_stats_request,ofp_queue_stats.if I want to use ofp_queue_stats_request,struct ofp_queue_stats_request{uint16_t port no;uint8_t pad[2];uint32_t queue_id;}ofp_queue_stats_request oqs;oqs.pack();send_openflow_command();Is it correct way ?please let me know in detail having a example.






			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] Queue_stats

2011-06-22 Thread Min-Hyup KANG



	
	
Hi, allI can check Description Statistics, Aggregate Flow Statistics, Table Statistics, Port statistics.Especailly, I would like to check aggregate flow statistics ONLY "packet_count" in monitor.pythere isdef aggregate_stats_in_handler(self, dpid, stats): print '\t',stats" print '\t',stats " show packet_count, byte_count, flow_count.Can't I check ONLY "packet_count" in monitor.py ?






			Best Regards,
Min-Hyup KANG  


 

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


Re: [nox-dev] gathering status of Openflow Switch

2011-06-20 Thread Min-Hyup KANG



	
	
Hi,after I found monitoring.py,There is existing /src/nox/coreapps/examples/monitor.py.I think what you mean is /src/nox/coreapps/examples/monitor.py. right ?so, I excuted monitor component.I can check Table stats and Port stats, Aggregate stats as a below.00072|openflow-event|DBG:received stats reply from 002320ca92e0Table stats in from datapath 00:23:20:ca:92:e0	hash2 : 0	linear : 200073|openflow-event|DBG:received stats reply from 002320ca92e0Port stats in from datapath 00:23:20:ca:92:e0	1 : 4	2 : 400074|openflow-event|DBG:received stats reply from 002320ca92e0Aggregate stats in from datapath 00:23:20:ca:92:e0	{'packet_count': 0L, 'byte_count': 0L, 'flow_count': 0L}- 원본 메일 -보낸사람: Kyriakos Zarifis kyr.zari...@gmail.com받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net참조 : nox-dev@noxrepo.org날짜: 2011년 6월 20일 월요일, 00시 35분 26초 +0900제목: Re: [nox-dev] gathering status of Openflow Switch

	Hi,the 'monitoring' component I was referring to, is under:/src/nox/netapps/monitoring/monitoring.py
but on the Destiny branch of the repository (not Zaku which is the master branch).
Follow the instructions here http://noxrepo.org/noxwiki/index.php/NOX_Installation#Installation (where it says "For a branch other than master"...)
to switch to Destiny.

- you mean pyswitch can gather status of flow, port in switch, right ?
and I think I should use ofp_stats_request, ofp_stats_reply, ofp_desc_stats, ofp_port_stats_request, ofp_ports_stats etc of struct in openflow.h and core.py
Exactly. You can see some example of how to build some messages in 'monitoring.py'

		







			Best Regards,
Min-Hyup KANG  


 

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


Re: [nox-dev] gathering status of Openflow Switch

2011-06-20 Thread Min-Hyup KANG



	
	
Thanks for your kindness.But there is not exsisting monitoring.py of netapps/so there is existing some derectory in netapps as a below.""""src/nox/netapps# lsMakefile.am __init__.py  bindings_storage discovery   hoststate networkstate routing switch_management tablog topologyMakefile.in authenticator data   flow_fetcher laviroute storage switchstatstests  user_event_log""""additionally, I re-write some code(0xfff) in monitor.py refering mail. as a below,"""def aggregate_timer(self, dpid):flow = ofp_match()#flow.wildcards = 0xflow.wildcards = 0xself.ctxt.send_aggregate_stats_request(dpid, flow, 0xff)self.post_callback(MONITOR_TABLE_PERIOD, lambda : self.aggregate_timer(dpid))"""1.What does 0xfff mean ?and then, I re-run command.So, I can check below message.00086|openflow-event|DBG:received stats reply from 002320c2f7b4Aggregate stats in from datapath 00:23:20:c2:f7:b4{'packet_cout' : 39L, 'byte_cout' : 3822L, 'flow_count':2L }----- 원본 메일 -----보낸사람: Kyriakos Zarifis kyr.zari...@gmail.com받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net참조 : nox-dev@noxrepo.org날짜: 2011년 6월 20일 월요일, 15시 34분 01초 +0900제목: Re: [nox-dev] gathering status of Openflow Switch

	Hi,I was actually referring to netapps/monitoring/montoring.py, which is a more complete (and complicated) monitoring component, but it is the same idea. However the one you looked at might actually be a better example exactly because it is simpler, but still shows how to create and send switch query packets.
The output you pasted looks okay2011/6/19 Min-Hyup KANG kang-min-h...@hanmail.net



	
	
Hi,after I found monitoring.py,There is existing /src/nox/coreapps/examples/monitor.py.I think what you mean is /src/nox/coreapps/examples/monitor.py. right ?
so, I excuted monitor component.I can check Table stats and Port stats, Aggregate stats as a below.00072|openflow-event|DBG:received stats reply from 002320ca92e0
Table stats in from datapath 00:23:20:ca:92:e0	hash2 : 0	linear : 200073|openflow-event|DBG:received stats reply from 002320ca92e0
Port stats in from datapath 00:23:20:ca:92:e0	1 : 4	2 : 400074|openflow-event|DBG:received stats reply from 002320ca92e0
Aggregate stats in from datapath 00:23:20:ca:92:e0	{'packet_count': 0L, 'byte_count': 0L, 'flow_count': 0L}
- 원본 메일 -
보낸사람: Kyriakos Zarifis kyr.zari...@gmail.com받는사람 : Min-Hyup KANG kang-min-h...@hanmail.net
참조 : nox-dev@noxrepo.org날짜: 2011년 6월 20일 월요일, 00시 35분 26초 +0900제목: Re: [nox-dev] gathering status of Openflow Switch


	Hi,the 'monitoring' component I was referring to, is under:/src/nox/netapps/monitoring/monitoring.py

but on the Destiny branch of the repository (not Zaku which is the master branch).
Follow the instructions here http://noxrepo.org/noxwiki/index.php/NOX_Installation#Installation (where it says "For a branch other than master"...)

to switch to Destiny.


- you mean pyswitch can gather status of flow, port in switch, right ?
and I think I should use ofp_stats_request, ofp_stats_reply, ofp_desc_stats, ofp_port_stats_request, ofp_ports_stats etc of struct in openflow.h and core.py

Exactly. You can see some example of how to build some messages in 'monitoring.py'

		







			Best Regards,
Min-Hyup KANG  


 



		







			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] gathering status of Openflow Switch

2011-06-19 Thread Min-Hyup KANG



	
	
Hi. allI would like to gather through pyswitch.py a little status information of flow in Openflow Switch(v.10)I think I should use Openflow protocol that can gather their some status of flow between OpenflowSwitch and NOX controller.so Is it possible with pyswitch.py ?or Should I write a new C++ component ?Thanks,






			Best Regards,
Min-Hyup KANG  


 

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


Re: [nox-dev] gathering status of Openflow Switch

2011-06-19 Thread Min-Hyup KANG



	
	
Thank you for your kindness.I am using Openflow Switch(v.1.0) based on PC box. and I am using NOX zaku.1.You can look at the 'monitoring' component in the netapps folder- do you mean switchstats.py and pycswitchstats.py in /netapps ?additionally, I test using "./nox_core -i ptcp:6633 -v pyswitch packetdump switchstats pycswitchstats "and then I can see this message.00076|openflow-event|DBG:received stats reply from 002320c576d600077|reactor|ERR:Unhandled Error	Traceback (most recent call last):	--- exception caught here ---	 File "./nox/coreapps/pyrt/pyoxidereactor.py", line 86, in __call__	  self.func(*self.args, **self.kw);	 File "./nox/netapps/switchstats/switchstats.py", line 123, in lambda	  lambda : self.port_timer(dp))	 File "./nox/netapps/switchstats/switchstats.py", line 88, in port_timer	  self.ctxt.send_port_stats_request(dp)	 File "./nox/coreapps/pyrt/pycomponent.py", line 538, in send_port_stats_request	  def send_port_stats_request(self, *args): return _pycomponent.PyContext_send_port_stats_request(self, *args)	exceptions.TypeError: PyContext_send_port_stats_request() takes exactly 3 arguments (2 given)00078|openflow-event|DBG:received stats reply from 002320c576d62.(or, if you prefer, you can modify pyswitch to send such queries)- you mean pyswitch can gather status of flow, port in switch, right ?and I think I should use ofp_stats_request, ofp_stats_reply, ofp_desc_stats, ofp_port_stats_request, ofp_ports_stats etc of struct in openflow.h and core.pyBut, It is difficult to use . so I need your help.can you give some tips ?Many Thanks,- ¿øº» ¸ÞÀÏ -º¸³½»ç¶÷: Kyriakos Zarifis kyr.zari...@gmail.com¹Þ´Â»ç¶÷ : Min-Hyup KANG kang-min-h...@hanmail.netÂüÁ¶ : nox-dev@noxrepo.org³¯Â¥: 2011³â 6¿ù 19ÀÏ ÀÏ¿äÀÏ, 18½Ã 10ºÐ 32ÃÊ +0900Á¦¸ñ: Re: [nox-dev] gathering status of Openflow Switch

	Hi,no, pyswitch does not show information about establish flows. You need to write a component that does that by sending query packets from NOX to the switch. (or, if you prefer, you can modify pyswitch to send such queries) You can look at the 'monitoring' component in the netapps folder, which gather statistics from switches, as an example for how to construct and send such query packets. From what I can tell, you are mostly interested in the "flow_stats" message
2011/6/18 Min-Hyup KANG kang-min-h...@hanmail.net



	
	
Hi. allI would like to gather through pyswitch.py a little status information of flow in Openflow Switch(v.10)
I think I should use Openflow protocol that can gather their some status of flow between OpenflowSwitch and NOX controller.so Is it possible with pyswitch.py ?or Should I write a new C++ component ?
Thanks,






			Best Regards,
Min-Hyup KANG  


 

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


		







			Best Regards,
Min-Hyup KANG  


 

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


[nox-dev] Invitation to connect on LinkedIn

2011-04-19 Thread Min-Hyup Kang via LinkedIn
LinkedIn
Min-Hyup Kang requested to add you as a connection on LinkedIn:
--

Minlan,

I'd like to add you to my professional network on LinkedIn.

- Min-Hyup

Accept invitation from Min-Hyup Kang
http://www.linkedin.com/e/v6dlem-gmooi99m-w/IGggMGV6541HFszQdT-sndUt76URk6E/blk/I97280426_25/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_dj9vdz8Qc3wOdPB9bQ95jR5HizpibPAOd30RdP8OdP8LrCBxbOYWrSlI/EML_comm_afe/

View invitation from Min-Hyup Kang
http://www.linkedin.com/e/v6dlem-gmooi99m-w/IGggMGV6541HFszQdT-sndUt76URk6E/blk/I97280426_25/0RcBYSczgMe38TekALqnpPbOYWrSlI/svi/
 
--

DID YOU KNOW you can conduct a more credible and powerful reference check using 
LinkedIn? Enter the company name and years of employment or the prospective 
employee to find their colleagues that are also in your network. This provides 
you with a more balanced set of feedback to evaluate that new hire.
http://www.linkedin.com/e/v6dlem-gmooi99m-w/rsr/inv-27/

 
-- 
(c) 2011, LinkedIn Corporation___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


Re: [nox-dev] NOX 0.4.0

2011-02-07 Thread Min-Hyup KANG



	
	
	
Thank you for you help.
I will try to send a mail and install the instruction athttps://github.com/bigswitch/snac/wiki/


			-[  받은  메일 내용 ]--
			 			 			 		제목 : Re: [nox-dev] NOX 0.4.0
날짜 : 2011년 2월 07일 월요일, 17시 22분 36초 +0900
보낸이 :"James \"Murphy\" McCauley" jam...@nau.edu
				받는이 :Min-Hyup KANG kang-min-h...@hanmail.net
			
		
			
			I don't know that much about SNAC.  I believe more SNAC discussion takes
place on the openflow-discuss mailing list than here,  so you might have
more luck there than on the nox mailing list.

It looks like your main problems may just be with the packaged versions
of SNAC,  and you may have better luck building from source.  SNAC
maintains their own fork of an old NOX.  You might try the instructions
at https://github.com/bigswitch/snac/wiki/ .


-- Murphy

P.S.,  I notice you dropped the CC to the mailing list.  We usually try
to keep discussions on the list if possible so that everyone can help
and everyone can benefit. :)

On Mon,  2011-02-07 at 17:03 +0900,  Min-Hyup KANG wrote:

Thank you for your information.


so,  My test-bed is below



 Pronto
 3290(ETH1:192.168.2.1)--(eth1:192.168.2.2)Controller(eth0)-INTERNET
   (Indigo-beta-4)
   (NOX, FlowVisor, SNAC)(Ubuntu server 10.10)


 so,  I already installed NOX(0.6.0), FlowVisor,  Indigo firmware.


   During installing SNAC,  I am facing some problem.
 There are installation step in http://www.openflowswitch.org/wp/snac/
 apt-get install openssl libboost-test1.34.1 libboost-filesystem1.34.1 \
 libboost-serialization1.34.1 libxerces-c28 python2.5 python-twisted \
 python-simplejson python-mako python-openssl tmpreaper  \
 python-sphinx libldap2-dev
  but Now,  I can not use libboost1.34.1 and python2.5
  root@ofc:/opt/nox/snac_packages# apt-get install libboost-test1.34.1
 Reading package lists... Done
Building dependency tree   
   Reading state information... Done
  Package libboost-test1.34.1 is not available,  but is referred to by
another package.
   This may mean that the package is missing,  has been obsoleted,  or
 is only available from another source
 E: Package 'libboost-test1.34.1' has no installation candidate


   so,  I replace 1.42.0 and python2.6
  and then I try to install 1.0 SNAC.


 root@ofc:/opt/nox/snac_packages# dpkg -i *.deb
Selecting previously deselected package noxcore.
  (Reading database ... 73358 files and directories currently
  installed.)
   Unpacking noxcore (from noxcore_0.4.0~beta_amd64.deb) ...
Selecting previously deselected package nox-dbg.
   Unpacking nox-dbg (from nox-dbg_0.4.0~beta_amd64.deb) ...
Selecting previously deselected package noxext.
Unpacking noxext (from noxext_0.4.0~beta_amd64.deb) ...
  Selecting previously deselected package nox-monitor.
   Unpacking nox-monitor (from nox-monitor_0.4.0~beta_amd64.deb) ...
Selecting previously deselected package openflow-common.
Unpacking openflow-common (from
   openflow-common_0.8.9-rev4_amd64.deb) ...
 Selecting previously deselected package openflow-pki.
   Unpacking openflow-pki (from openflow-pki_0.8.9-rev4_all.deb) ...
   Selecting previously deselected package snacdocs.
  Unpacking snacdocs (from snacdocs_0.4.0~beta_amd64.deb) ...
  dpkg: dependency problems prevent configuration of noxcore:
  noxcore depends on libboost-filesystem1.34.1 (= 1.34.1-2.1);
however:
   Package libboost-filesystem1.34.1 is not installed.
noxcore depends on libboost-serialization1.34.1 (= 1.34.1-2.1);
however:
  Package libboost-serialization1.34.1 is not installed.
noxcore depends on libboost-test1.34.1 (= 1.34.1-2.1); however:
  Package libboost-test1.34.1 is not installed.
 noxcore depends

[nox-dev] NOX, FlowVisor, SNAC qeustion

2011-02-06 Thread Min-Hyup Kang



	
	
Dear All,

I have a basic question.

I am planning to run controller for SNAC.(OS:Ubuntu Server version 10.10).

but If I run NOX, SNAC, I know FlowVisor should run. Is it right ?

so, I installed NOX(0.6) FlowVisor(git clone git://openflowswitch.org/flowvisor.git)

and I use Pronto 3290 Openflow Switch.

1.Can I run NOX,SNAC and FlowVisor on A PC ?
2. What Should I install SNAC version ? 0.8.9 ? 1.0 ?

Thank you for your attention !






			==
Min-Hyup Kang
Thank you !
==  


 

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


Re: [nox-dev] [openflow-discuss] NOX, FlowVisor, SNAC qeustion

2011-02-06 Thread Min-Hyup Kang



	
	
	
Thank you for your prompt response.

so I installed 1.0 version of SNAC.


But, I think there are some version problem between NOX and SNAC.


First, Below is my SNAC installation step.


There are installation step inhttp://www.openflowswitch.org/wp/snac/
 apt-get install openssl libboost-test1.34.1 libboost-filesystem1.34.1 \
libboost-serialization1.34.1 libxerces-c28 python2.5 python-twisted \
python-simplejson python-mako python-openssl tmpreaper  \
python-sphinx libldap2-devbut Now, I can not use libboost1.34.1 and python2.5

root@ofc:/opt/nox/snac_packages# apt-get install libboost-test1.34.1
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Package libboost-test1.34.1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libboost-test1.34.1' has no installation candidate


so, I replace 1.42.0 and python2.6
and then I try to install 1.0 SNAC.


root@ofc:/opt/nox/snac_packages# dpkg -i *.deb
Selecting previously deselected package noxcore.
(Reading database ... 73358 files and directories currently installed.)
Unpacking noxcore (from noxcore_0.4.0~beta_amd64.deb) ...
Selecting previously deselected package nox-dbg.
Unpacking nox-dbg (from nox-dbg_0.4.0~beta_amd64.deb) ...
Selecting previously deselected package noxext.
Unpacking noxext (from noxext_0.4.0~beta_amd64.deb) ...
Selecting previously deselected package nox-monitor.
Unpacking nox-monitor (from nox-monitor_0.4.0~beta_amd64.deb) ...
Selecting previously deselected package openflow-common.
Unpacking openflow-common (from openflow-common_0.8.9-rev4_amd64.deb) ...
Selecting previously deselected package openflow-pki.
Unpacking openflow-pki (from openflow-pki_0.8.9-rev4_all.deb) ...
Selecting previously deselected package snacdocs.
Unpacking snacdocs (from snacdocs_0.4.0~beta_amd64.deb) ...
dpkg: dependency problems prevent configuration of noxcore:
noxcore depends on libboost-filesystem1.34.1 (= 1.34.1-2.1); however:
Package libboost-filesystem1.34.1 is not installed.
noxcore depends on libboost-serialization1.34.1 (= 1.34.1-2.1); however:
Package libboost-serialization1.34.1 is not installed.
noxcore depends on libboost-test1.34.1 (= 1.34.1-2.1); however:
Package libboost-test1.34.1 is not installed.
noxcore depends on python2.5 (= 2.5); however:
Package python2.5 is not installed.
dpkg: error processing noxcore (--install):
dependency problems - leaving unconfigured
Setting up nox-dbg (0.4.0~beta) ...
dpkg: dependency problems prevent configuration of noxext:
noxext depends on noxcore (= 0.4.0~beta); however:
Package noxcore is not configured yet.
dpkg: error processing noxext (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nox-monitor:
nox-monitor depends on noxcore; however:
Package noxcore is not configured yet.
dpkg: error processing nox-monitor (--install):
dependency problems - leaving unconfigured
Setting up openflow-common (0.8.9-rev4) ...
dpkg: dependency problems prevent configuration of snacdocs:
snacdocs depends on noxext (= 0.4.0~beta); however:
Package noxext is not configured yet.
dpkg: error processing snacdocs (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Setting up openflow-pki (0.8.9-rev4) ...
/usr/local/bin/ofp-pki: /usr/local/share/openflow/pki already exists and --force not specified
dpkg: error processing openflow-pki (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead ...
Errors were encountered while processing:
noxcore
noxext
nox-monitor
snacdocs
openflow-pki
root@ofc:/opt/nox/snac_packages#ps -Af |grep nox_core
root   29704 1518 0 14:21 pts/0  00:00:00 grep --color=auto nox_core
root@ofc:/opt/nox/snac_packages#



As you can see, Above message have
Package libboost-filesystem1.34.1 is not installed.
Package libboost-serialization1.34.1 is not installed.
Package libboost-test1.34.1 is not installed.




Can you tell me some advice ?





			-[  받은  메일 내용 ]--
			 			 			 		제목 : Re: [openflow-discuss] NOX, FlowVisor, SNAC qeustion
날짜 : 2011년 2월 07일 월요일, 14시 12분 11초 +0900
보낸이 :Srini Seetharaman seeth...@stanford.edu
받는이 :Min-Hyup Kang kang-min-h...@hanmail.net
함께받는이 : "openflow-disc...@lists.stanford.edu" openflow-disc...@lists.stanford.edu,  "nox-dev@noxrepo.org" nox-dev@noxrepo.org
			
		
			
							Hi Min-Hyup Kang:
Generally SNAC is used as the controller for the production network
and NOX is used as the controller for experiments. When you want to
run both (production traffic and experiments) in your network t

[nox-dev] NOX 0.4.0

2011-02-06 Thread Min-Hyup Kang



	
	
Dear All,

Is NOX(0.4.0) not able to use now ?
I can use 0.6.0, but I can't use 0.4.0
Please check it.






			Thanks,  


 

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


[nox-dev] About python issue

2011-01-24 Thread Min-Hyup Kang



	
	
Dear all

Now, I am facing some problem in NOX dependencies.

so, I need your help.

apt-get install autoconf automake g++ libtool python python-twisted swig libxerces-c2-dev libssl-dev make
libboost-python-dev libssl-dev libboost1.42-all-dev
-I can't use libboost1.35-dev. so, I used libboost1.42-all-dev.

and apt-get install libsqlite3-dev python-simplejson
apt-get install python-sphinx

and then I installed NOX 0.6
git clone git://noxrepo.org/nox
#cd nox
#./boot.sh
#mkdir build/
#cd build/
#../configure
#make
#cd src
#make check

and then
cd src
./nox_core tests
NOX 0.9.0(zaku)~full~beta (nox_core), compiled Jan 17 2011 09:45:40
Compiled with OpenFlow 0x01
1|nox|ERR:Cannot change the state of 'python' to INSTALLED:
'python' ran into an error:
	Unable to construct a Python component:
	Traceback (most recent call last):
	 File "./nox/coreapps/pyrt/pyoxidereactor.py", line 364, in instance
	  return pyoxidereactor(ctxt)
	 File "./nox/coreapps/pyrt/pyoxidereactor.py", line 133, in __init__
	  signal.signal(signal.SIGCHLD, self._handleSigchld)
	AttributeError: 'pyoxidereactor' object has no attribute '_handleSigchld'


As you can see, There is1|nox|ERR:Cannot change the state of 'python' to INSTALLED.


So, I think there is python dependencies issue.
Can you tell me your opinion, please ?











			==
Min-Hyup Kang
Thank you !
==  


 

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


[nox-dev] Dear NOX-Dev

2011-01-11 Thread Min-Hyup Kang



	
	
Dear all,

My name is Min-Hyup Kang,

I am a student who studying about openflow.

so, I have a question. Can I ask you please ?

I have a pronto 3290 switch. so, I would like to install nox controller.'

Which can I get the nox version ? (http://noxrepo.org/wp)

Thank you for your attention :D






			==
Min-Hyup Kang
Thank you !
==  


 

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