Re: [nox-dev] [Nox-dev] How to develop a new routing component in NOX?

2012-03-06 Thread Kyriakos Zarifis
Hi Giang, are you interested in building a component in python, or C++? Did you take a look at this page? (It has basic guidelines for both) http://noxrepo.org/noxwiki/index.php/Developing_in_NOX I would suggest looking at that, and then looking at the code of a simple example component (like,

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

2012-02-29 Thread Kyriakos Zarifis
Resolved - patch will be pushed to destiny. Thanks wunyuan for pointing it out! On Wed, Feb 8, 2012 at 6:22 PM, wunyuan wuny...@nchc.narl.org.tw wrote: Dear Kyriakos Zarifis, In flow path, I keep client a and client b pinging each other. Then, I try that, but it still has not changed. I

Re: [nox-dev] DATABASE Network view (NOX)

2012-02-28 Thread Kyriakos Zarifis
On Tue, Feb 28, 2012 at 8:17 AM, marwen mechtri mechtri.mar...@gmail.comwrote: Hello, I would like to know if NOX use a database to store the network view. and where is it located. is it sqlite, or mysql database. the network view isn't stored in a database - rather, there are a few

Re: [nox-dev] NOX error

2012-02-18 Thread Kyriakos Zarifis
Is there a meta.json in the build tree? nox/build/src/nox/coreapps/examples/ ? (not in nox/src/nox/coreapps/examples/) if it is there, maybe its contents have changed and are in wrong format - feel free to paste it On Sat, Feb 18, 2012 at 7:47 AM, Baraki Halefom bara...@gmail.com wrote: anyone

Re: [nox-dev] g++ internal when compiling

2012-02-16 Thread Kyriakos Zarifis
that this will work for you too. On Wed, Feb 15, 2012 at 2:33 PM, Kyriakos Zarifis kyr.zari...@gmail.comwrote: I couldn't look at it at the time, so I ended up simply not compiling the offending components.. I am planning to take a look at some point soon (but if you do it first feel free to share

Re: [nox-dev] monitoring module not available in my nox repository

2012-02-16 Thread Kyriakos Zarifis
That's right, 'monitoring' is only in destiny. git checkout -b destiny origin/destiny to create a new local destiny branch and switch to it (from herehttp://noxrepo.org/noxwiki/index.php/Installation/DebianUbuntu ) On Thu, Feb 16, 2012 at 9:22 AM, Aaron Rosen aro...@clemson.edu wrote: I know

Re: [nox-dev] Extending pytopology component

2012-02-15 Thread Kyriakos Zarifis
Hi Andrea, that sounds good. Yes, the .i file is the right place to make the extensions. Here's a tutorial that helped when I was looking into swig: http://www.swig.org/tutorial.html On Wed, Feb 15, 2012 at 3:27 AM, andrea simeoni andreasimeon...@gmail.comwrote: Hi guys, I need a certain

Re: [nox-dev] g++ internal when compiling

2012-02-15 Thread Kyriakos Zarifis
it? If so, do you remember what you did? Thanks, On Wed, Feb 15, 2012 at 3:00 PM, Kyriakos Zarifis kyr.zari...@gmail.comwrote: I actually came across this too last week when compiling destiny on Ubuntu 11.10. It also happened for user_event_log and I think maybe one more component. On Wed

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

2012-02-09 Thread Kyriakos Zarifis
-i ptcp: switch lavitest_showflow or ./nox_core -i ptcp: switch lavi. 於 2012/2/9 下午 09:53, Kyriakos Zarifis 提到: Ah, the first question I should have asked: Are you running the flowtracer component? ./nox_core blah blah flowtracer On Wed, Feb 8, 2012 at 6:22 PM, wunyuan wuny

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

2012-02-08 Thread Kyriakos Zarifis
I haven't used the flowtracer tool in a long time, but just a first guess (assuming that there is actually a flow setup on a path for the entry you are tracing): I've noticed that in some system the graphics don't refresh sometimes until you force them to refresh by, e.g. zooming in/out on the

Re: [nox-dev] Switch Statistics

2012-02-01 Thread Kyriakos Zarifis
the component 'monitoring' does that - I'd suggest taking a look there On Wed, Feb 1, 2012 at 1:31 PM, Siddharth Sharma sid.sharma...@gmail.comwrote: HI, Can anyone please tell me how to get SWITCH STATISTICS (for ex. flow statistics, port statistics, etc). I am trying to send the

Re: [nox-dev] Account on nox wiki

2012-01-18 Thread Kyriakos Zarifis
Hi Maciej, thanks for your contribution! I will contact you with the details of your account. On Wed, Jan 18, 2012 at 2:11 AM, Maciej Gałkiewicz maciej.galkiew...@gmail.com wrote: Hello I would like to help with documentation on nox wiki. I have found some links which does not work anymore

Re: [nox-dev] NOX on IRC

2012-01-18 Thread Kyriakos Zarifis
Great to see some activity on IRC already : On Tue, Jan 17, 2012 at 6:15 PM, Kyriakos Zarifis kyr.zari...@gmail.comwrote: The nox-dev mailing list is still the best way discuss NOX or ask for help, but there is now also a IRC channel where NOX users and developers can hangout for a more real

[nox-dev] NOX on IRC

2012-01-17 Thread Kyriakos Zarifis
The nox-dev mailing list is still the best way discuss NOX or ask for help, but there is now also a IRC channel where NOX users and developers can hangout for a more real-time type of interaction. Join us on #noxcontroller on freenode servers. (For instant web-based access:

Re: [nox-dev] 'Monitoring' component status

2012-01-17 Thread Kyriakos Zarifis
Hi Joe, That's right, monitoring periodically queries switches for statistics and exposes that info. The interface is probably not going to chance any time soon. It has been used and tested to some extent, and has been proven ok for what it used so far. It exposes information like table_stats,

Re: [nox-dev] What is the main difference between “route” and “routing” in NOX

2012-01-16 Thread Kyriakos Zarifis
Here's an overview of the routing component http://noxrepo.org/noxwiki/index.php/Routing On Mon, Jan 16, 2012 at 2:41 AM, 王楠 wangnan8...@gmail.com wrote: Hi, I want to do some study on the forwarding capability within NOX. I notice there are two components “route” and “routing” in folder

Re: [nox-dev] Flow-mod error 8: Specified buffer does not exist.

2012-01-13 Thread Kyriakos Zarifis
Hi Sergio, if you don't care to send out the buffered packet that triggered the packet_in (or if, for example, you just want to install a flow proactively) using buffer_id=-1 I think should work. On Fri, Jan 13, 2012 at 8:09 AM, Sergio Jiménez Feijóo jjji...@gmail.comwrote: Hi Guys, I'm

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

2012-01-04 Thread 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

Re: [nox-dev] Nox on netkit

2011-12-31 Thread Kyriakos Zarifis
Did you try to install swig? something like apt-get install swig should do it On Fri, Dec 30, 2011 at 3:31 PM, Francesco Pocci francesco.po...@gmail.comwrote: Hi, I'm just trying to install Nox controller on a virtual machine created with netkit, with some problem. One of this is that i have

Re: [nox-dev] Matching aggregate stats responses to requests

2011-12-09 Thread Kyriakos Zarifis
. From what I can tell Destiny seems to be the recommended branch for NOX development. Is that correct? On Thu, Dec 8, 2011 at 7:47 PM, Kyriakos Zarifis kyr.zari...@gmail.comwrote: Ah, you're also looking at coreapps/examples/monitor.py I was referring to netapps/monitoring.py (you can find

Re: [nox-dev] Component: hosttracker

2011-12-05 Thread Kyriakos Zarifis
Ah, ok. So I'm not sure exactly how the logic that detects if a host has been removed is implemented, as I didn't write this component. So I don't know when the delete message is sent for hosts. I could take a look and get back to you. The logic should be somewhere inside LAVI/hosttracker, and it

Re: [nox-dev] FW: Help: LAVI and NOX's nox-gui.py

2011-12-02 Thread Kyriakos Zarifis
Hi, the hosts should appear when they talk to the network. Did you try generating some traffic? A simple ping should do it (btw, I think lavi is not required as an argument as IIRC it's a dependency of monitoring anyway) On Fri, Dec 2, 2011 at 1:21 AM, ztom switch@hotmail.com wrote: Hi~

Re: [nox-dev] FW: Help: LAVI and NOX's nox-gui.py

2011-12-02 Thread Kyriakos Zarifis
right now unfortunately). So maybe try adding that too after monitoring and pyswitch ? On Fri, Dec 2, 2011 at 11:24 AM, Kyriakos Zarifis kyr.zari...@gmail.comwrote: Hi, the hosts should appear when they talk to the network. Did you try generating some traffic? A simple ping should do it (btw, I

Re: [nox-dev] JSON messages

2011-11-19 Thread Kyriakos Zarifis
Hi Alex, can you clarify what you mean by JSON messages to add/delete flows from outside thru NOX? On Fri, Nov 18, 2011 at 4:45 AM, Alex alex1...@gmx.net wrote: Hi, I'm using NOX to get stats about an openflow network. I know that it is possible to get the flow table entries or the

Re: [nox-dev] Not able to send ARP Reply

2011-11-14 Thread Kyriakos Zarifis
Hello, How exactly did you figure out that the ARP is not received? Id try the following troubleshooting steps to see where the problem is: Did you try to use wireshark to see how far you ARP packet goes? Is it actually sent out the controller interface? (it probably is) Is it being received on

Re: [nox-dev] can nox support two more controllers

2011-11-06 Thread Kyriakos Zarifis
Hi, NOX does not support multiple controller instances inherently. This means that there is no defined protocol for communication between controller instances or a way to distribute state between them. So the general answer is no. Depending on what you want to do exactly, the answer might be

Re: [nox-dev] can nox support two more controllers

2011-11-06 Thread Kyriakos Zarifis
wrote: Thank you for your reply. Will the future version of NOX support this feature? If I can do this to extend the NOX? I know it's maybe very hard, but I really want to try? Can you give me some advices? 2011/11/6 Kyriakos Zarifis kyr.zari...@gmail.com Hi, NOX does not support multiple

Re: [nox-dev] re-build only changed module

2011-10-31 Thread Kyriakos Zarifis
Hi Rafal, I think the build system will only compile files that have changed or have been affected by changes (e.g. adding an include etc), so it generally won't compile more than it needs to. Unfortunately I don't know of any way that will reduce the amount of files that are compiled. You may

Re: [nox-dev] pyswitch pop error type information and very much info type information

2011-10-31 Thread Kyriakos Zarifis
1. You probably get the first error because your topology is a loop and the switch is getting a packet for a host H and sees that the port that it thinks it's supposed to send the packet to (learned port) is the same port where it received the packet (inport). The learned port is the same as the

Re: [nox-dev] how to add the components of mobilevms to NOX destiny

2011-10-27 Thread Kyriakos Zarifis
In your application folder, under src/ (NOT build/src) , make sure you have updated the Makefile.am file. This is where you tell the build system to create links inside the build/ tree to files in your src/ tree. So, for example, you need to change meta.xml to meta.json in there. This is why

Re: [nox-dev] openflow switched nets

2011-10-20 Thread Kyriakos Zarifis
, 2011 at 06:32, Kyriakos Zarifis kyr.zari...@gmail.comwrote: Hi, pyswitch itself is really not aware of any topology. It only stores state that is relevant to switches separately (i.e. it stores a mapping of mac addresses to local ports for a switch). Now, whether a control packet (like

Re: [nox-dev] how to use discovery component?

2011-10-10 Thread Kyriakos Zarifis
Hi there, in order use Link_events in your python component you need to: 1) make your component aware of the Link_event object by importing it 2) register a handler for the event in your component's configure() (to make your component respond to such events) 3) write a handler (to tell your

Re: [nox-dev] Multiple Nox with spanning_tree Running the same in the Machine

2011-09-28 Thread Kyriakos Zarifis
It looks like either the socket was left open from an ungraceful shutdown last time you ran NOX, or another application happens to be using the port that jsonmessenger is trying to use. If I recall, that would be port 2703. If you run lsof -i | grep 2703 you should be able to see which

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

2011-09-18 Thread Kyriakos Zarifis
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, All I'd like to know that it is compatible

Re: [nox-dev] Fwd: NOX GUI

2011-09-15 Thread Kyriakos Zarifis
Back to original openflow, when I ping from one VM to another, the GUI shows 8 flows in one dot and 0 in the other.. OpenvSwitch works fine, showing 2 flows in each dot. Weird.. what do these 8 flows look like? Do they make any sense/no sense at all? Do they have invalid values etc? Also,

Re: [nox-dev] Fwd: NOX GUI

2011-09-14 Thread Kyriakos Zarifis
. Haha, thanks Kyriakos. One more note is that if you run sample_routing, *don't* run pyswitch. -- Murphy On Sep 13, 2011, at 6:15 PM, Kyriakos Zarifis wrote: Hi there, for stp and flowtracer, the respective relevant NOX components need to be running If I recall correctly, the names

Re: [nox-dev] Issue about nox-gui.py

2011-08-27 Thread Kyriakos Zarifis
Hi, for a temporary resolution, in the file src/gui/log.py , uncomment lines 257-258. There is a performance issue which has not been resolved, so this feature was temporarily disabled. When you uncomment this it will work but will also probably degrade performance. On Sat, Aug 27, 2011 at 4:16

Re: [nox-dev] Have a openflow interactive component in nox now?

2011-08-23 Thread Kyriakos Zarifis
Hi, you are right that a CLI might be helpful, and it is in fact one of the things that we have in mind as a next feature. However, keep in mind that you can already setup flows proactively (before any packet is received), with NOX programmatically. (e.g. by adding the relevant code on the

Re: [nox-dev] Nox Sockets

2011-08-15 Thread Kyriakos Zarifis
Hey, is the listening socket on the local host? if so, can you try: self.sock.connect((localhost,5000)) instead of: self.sock.connect((,5000)) ? (I'm not sure I've seen connect take an empty string as an argument for the host. Do you know that python defaults that to localhost?) On Mon, Aug 15,

Re: [nox-dev] Re : Nox CLI

2011-08-11 Thread Kyriakos Zarifis
Hi Amar, there is no CLI for setting up flows through NOX.. In order to do something like that you can use an external tool like dpct or ovsctl (depending on what kind of switch you are using) The point of NOX, and any controller, is to do the same thing programmatically. You install flows by

Re: [nox-dev] Nox on Fedora8

2011-07-24 Thread Kyriakos Zarifis
Thanks Niky! If it's ok with you, I'll add your instructions here: http://noxrepo.org/noxwiki/index.php/Dependencies On Sun, Jul 24, 2011 at 5:22 AM, Niky Riga nr...@bbn.com wrote: Hi all, I needed recently to run Nox on PlanetLab hosts running Fedora 8. It took me a bit to get the process

Re: [nox-dev] A discovery question

2011-07-14 Thread Kyriakos Zarifis
. -- Murphy On Jul 14, 2011, at 1:56 PM, Kyriakos Zarifis wrote: Hm. That was my impression too, but now looking at the doc again, the phrase confused me. 2011/7/14 Murphy McCauley jam...@nau.edu So the normal LLDP multicast address should never be forwarded. No problem there except that NOX

Re: [nox-dev] 答复: Error in running ./nox-gui.py

2011-06-28 Thread Kyriakos Zarifis
By the way, a segfault does occur when you *exit* the program.. It's something silly that I have to look into at some point, but it doesn't affect the functionality. Not that I have noticed at least. Is that when you get it, or does it happen immediately when you run it? 2011/6/28 Murphy

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

2011-06-20 Thread Kyriakos Zarifis
in from datapath 00:23:20:ca:92:e0 1 : 4 2 : 4 00074|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

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

2011-06-19 Thread Kyriakos Zarifis
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

Re: [nox-dev] Res: Issues in Ubuntu 10.04 with boost_filesystem-mt

2011-06-14 Thread Kyriakos Zarifis
According to http://noxrepo.org/noxwiki/index.php/Dependencies , I think the one one that was missing specifically, was libboost-test-dev On Tue, Jun 14, 2011 at 2:39 PM, fernando farias fer...@yahoo.com.brwrote: you also can to try libboost-all-dev ! Fernando N. N. Farias Electrical

Re: [nox-dev] Cannot find nox-gui.py

2011-06-02 Thread Kyriakos Zarifis
Hey Andrea, the gui is currently only available on the Destiny branch, not Zaku. If you're interested in grabbing the code from Destiny: http://noxrepo.org/noxwiki/index.php/NOX_Installation#Installation On Thu, Jun 2, 2011 at 2:02 AM, andrea simeoni andreasimeon...@gmail.comwrote: Hi guys,

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-06-02 Thread Kyriakos Zarifis
If you want to proactively install flow entries a reasonable place to put the code that does it might be the handler of datapath_join, in your component. This code runs when a new switch connects to NOX, and the switch's information is passed to the handler through the event. If that doesn't work

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-06-02 Thread Kyriakos Zarifis
in the switch environment. How can one do the same from the NOX? Do we need to write our own application for using openflow or does NOX have any way of configuring the flow to the switch? Thanks and Regards, Balaji On Thu, Jun 2, 2011 at 11:23 AM, Kyriakos Zarifis kyr.zari...@gmail.comwrote

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-06-02 Thread Kyriakos Zarifis
, Balaji On Thu, Jun 2, 2011 at 12:17 PM, Kyriakos Zarifis kyr.zari...@gmail.comwrote: Hi, NOX does not currently have a command line or a way to manage flow tables non-programmatically. (However, it is something worth considering for the future, as it looks like a few people have

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-05-26 Thread Kyriakos Zarifis
Hi there, yes, you can edit the flow table programmatically from NOX please take a look at this: http://noxrepo.org/noxwiki/index.php/FAQ#How_can_I_edit_the_flow_table_of_a_switch.3F and also the rest of the info on the wiki should be useful. Let us know if this helps or you have more questions.

Re: [nox-dev] how to add a flow entry through nox to the openflow switch

2011-04-26 Thread Kyriakos Zarifis
Hi, which NOX components are you running? You need do have some component(s) that will install flow entries on the switch for the ping to go through have a look here: http://noxrepo.org/noxwiki/index.php/FAQ#What_does_the_traversal_of_a_packet_through_a_NOX_controlled_network_look_like.3F

Re: [nox-dev] # of times Flows_stats_in event handler should be triggered

2011-04-18 Thread Kyriakos Zarifis
Hi Hamid, I don't think I've come across cases where I get multiple replies for a single flow stat request. What switch are you using? Are you sure you're only sending a single request? Did you try to troubleshoot with wireshark, and if so do you actually see one request and a couple replies? On

Re: [nox-dev] CONTINUE vs. STOP in Disposition methods?

2011-04-14 Thread Kyriakos Zarifis
just as a follow-up, this http://noxrepo.org/noxwiki/index.php/Disposition also explains how to control the event processing chain http://noxrepo.org/noxwiki/index.php/Disposition On Thu, Apr 14, 2011 at 5:42 PM, Hamid Bazzaz ha...@cs.ucsd.edu wrote: I see. Thanks for clarifying this Martin!

Re: [nox-dev] Which NOX module should be used for wireless networks testing

2011-04-13 Thread Kyriakos Zarifis
Hey Sachin do you know why this STP module would not work with zaku? I'm asking because I have actually used it (not too thoroughly to be honest) and didn't immediately see any issues. Is it the fact that routing does not use OFP_FLOOD, so it wouldn't work with routing, or is it an issue with the

Re: [nox-dev] Which NOX module should be used for wireless networks testing

2011-04-13 Thread Kyriakos Zarifis
incoming port. However if this spanning tree implementation takes care above to create loop free environment, than may be this implementation is also able to recover from loops. (but i m not sure about that) Thanks, Sachin --- On *Thu, 14/4/11, Kyriakos Zarifis kyr.zari...@gmail.com* wrote: From

Re: [nox-dev] getting switch port number connected to a host

2011-04-06 Thread Kyriakos Zarifis
Hey, take a look at the API provided by pybindings_storage: void get_names_by_mac(const ethernetaddr mac, const Get_names_callback cb); and then void get_location_by_name(int64_t locationname, Name::Type name_type, const Get_locations_callback cb); would something like this do it for you?

Re: [nox-dev] problem running a new component

2011-04-04 Thread Kyriakos Zarifis
Hey Karim, Your component is using pybindings_storage, so it needs to be running. If you don't want to call it manually, you need to define pybindings_storage as a dependency for your component, so that it is deployed automatically. You do that in the meta.json file of try_topology. On Mon, Apr

Re: [nox-dev] 00005|nox|ERR:Application

2011-04-01 Thread Kyriakos Zarifis
:32 PM, Bill Liao lwlw1...@gmail.com wrote: On Fri, Apr 1, 2011 at 5:29 AM, Kyriakos Zarifis kyr.zari...@gmail.com wrote: Hi Karim, did you rerun ../configure and make after you edited configure.ac and Makefile.am? On Thu, Mar 31, 2011 at 7:42 AM, karim torkmen karim.torkm...@gmail.com

Re: [nox-dev] Have any application in NOX supports multicast?

2011-03-31 Thread Kyriakos Zarifis
Hi, although that would take some effort, it is perfectly doable to hold that information on your component. You wouldn't have to use v1.1 tables or anything like that, all the state would be on your controller. While there are several packet types of packets included in the packet parsing

Re: [nox-dev] Have any application in NOX supports multicast?

2011-03-31 Thread Kyriakos Zarifis
at 2:29 PM, Kyriakos Zarifis kyr.zari...@gmail.comwrote: Hi, although that would take some effort, it is perfectly doable to hold that information on your component. You wouldn't have to use v1.1 tables or anything like that, all the state would be on your controller. While there are several

Re: [nox-dev] 00005|nox|ERR:Application

2011-03-31 Thread Kyriakos Zarifis
Hi Karim, did you rerun ../configure and make after you edited configure.ac and Makefile.am? On Thu, Mar 31, 2011 at 7:42 AM, karim torkmen karim.torkm...@gmail.comwrote: Hi, I developed a component when I try to run it, I get the following error message :

Re: [nox-dev] correspondence mac address port number

2011-03-29 Thread Kyriakos Zarifis
Hi Karim, the second parameter of install_datapath_flow() is a python dictionary that describes the flow for which you are setting up an entry. This is where you specify the MAC address(es). Create a dictionary, populate as you want (the keys for the source and destination addresses are 'dl_src'

Re: [nox-dev] correspondence mac address port number

2011-03-29 Thread Kyriakos Zarifis
binding storage API On Tue, Mar 29, 2011 at 3:36 AM, karim torkmen karim.torkm...@gmail.comwrote: On 03/29/2011 12:29 PM, Kyriakos Zarifis wrote: Hi Karim, the second parameter of install_datapath_flow() is a python dictionary that describes the flow for which you are setting up an entry

Re: [nox-dev] links capacities tracking

2011-03-28 Thread Kyriakos Zarifis
Hi Harry, if you use the destiny branch, the GUI there offers some relevant functionality. The main idea is that the 'monitoring' component periodically polls statistics from switches, including traffic sent/received. One of the things it does is that it tries to estimate the current utilization

Re: [nox-dev] some confusions about the inport parameter

2011-03-28 Thread Kyriakos Zarifis
Hi Karim, 'inport' actually refers to a different thing in each case: * send_openflow(dpid, bufid, buf, openflow.OFPP_FLOOD, inport) send_openflow is used to inject a packet in the network, and send it out the 'dpids's port(s) described the 4th parameter. The switch should treat the packet as

Re: [nox-dev] Blocking Modules

2011-03-27 Thread Kyriakos Zarifis
Hey Aaron, yes, I think this code would block NOX. For non-blocking communication with external processes, you should do one of the following: a) use Twisted: you'll have to implement an interface for communication with twisted in your module and your external app. This might be easier if your

Re: [nox-dev] nox controller configuration for load balancing

2011-03-19 Thread Kyriakos Zarifis
Hi , NOX does not provide load balancing functionality by default; you would need to write your own application. A high level description of the functionality that you'd have to program on NOX in order to achieve network-layer load balancing is: Listen for incoming requests from the clients and

Re: [nox-dev] different between ofdatapath and dpctl

2011-03-10 Thread Kyriakos Zarifis
by the 'routing' application. Also http://noxrepo.org/noxwiki/index.php/FAQ#What_kind_of_routing_does_NOX_support.3F Regards 2011/3/10 杨宇 yangyu...@gmail.com Hi,Kyriakos Zarifis I'm little confused by the followings; In the webpage http://noxrepo.org/noxwiki/index.php/Routing

Re: [nox-dev] Setting Up a Virtual Testing Environment

2011-03-09 Thread Kyriakos Zarifis
did you try downloading and using the provided hda.dsk and kernel.bin on that page, instead of using the scripts to build your own? I'd try using these, as well as the provided openflow1.0 binary On Wed, Mar 9, 2011 at 2:30 AM, Ramana Reddy gtvrre...@gmail.com wrote: Dear Kyriakos Zarifis

Re: [nox-dev] problem with dpctl

2011-03-08 Thread Kyriakos Zarifis
He Chang, when you run dpctl locally on a switch to display its flowtable, you should be passing the dp_id that was used when creating the openflow switch (with the adddp command) so it should look something like ./dpctl show nl:0 similarly, ./dpctl add-flow nl:0 [flow] is used to manually add a

Re: [nox-dev] ARP, MAC Address of switches

2011-03-01 Thread Kyriakos Zarifis
Hi Sriram, I don't think there is any mapping to switch port MACs on the controller by default. You'd probably have to do something like what you described. But why do you need the MAC addresses of the switch ports in order to setup flows? (Or did I misunderstand you and you referring to the

Re: [nox-dev] ARP, MAC Address of switches

2011-03-01 Thread Kyriakos Zarifis
, In ofp_phy_port data structure, that includes per port info, there is a hw_addr field, which I always assumed is the MAC address of the port, is this something different? --niky On 3/1/11 3:17 PM, Kyriakos Zarifis wrote: Hi Sriram, I don't think there is any mapping to switch port MACs

Re: [nox-dev] The difference between GUI and ENVI

2011-02-28 Thread Kyriakos Zarifis
Hi, ENVI and the new GUI are completely different frontend applications with different functionalities. (The only thing in common is that they both use LAVI as a backend) On Mon, Feb 28, 2011 at 4:23 AM, 谢峰 xiefen...@gmail.com wrote: Hi all, Does anybody know the difference between GUI and

Re: [nox-dev] how to install nox gui?

2011-02-22 Thread Kyriakos Zarifis
/remote branch name But I don't know what is name of your choice and remote branch name. Thanks Xie Feng 2011/2/22 Kyriakos Zarifis kyr.zari...@gmail.com Hi Xie Feng, have you taken a look at http://noxrepo.org/noxwiki/index.php/NOX_GUI ? ( the GUI is currently only available

Re: [nox-dev] nox gui

2011-02-21 Thread Kyriakos Zarifis
Hey Shiva, are you sure NOX is running properly? I noticed you mentioned running it with ./nox_core -v -i tcp:6633 monitoring That should probably be ./nox_core -v -i ptcp:6633 monitoring ('tcp'-'ptcp'). As long as you have one or more switches trying to connect to NOX after you run this, you

Re: [nox-dev] Getting individual flow stats for an python app

2011-02-21 Thread Kyriakos Zarifis
Exactly - there's an example of using this in netapps/monitoring.py (line 188) in destiny, (and you can trace how it's handled etc) If all you need is to print out/look at the flow stats (rather than act on them programatically), and you do switch to destiny, you could use the gui for that. On

Re: [nox-dev] Getting individual flow stats for an python app

2011-02-21 Thread Kyriakos Zarifis
thoughts ? Thanks! Malveeka - Original Message - From: Kyriakos Zarifis kyr.zari...@gmail.com To: Murphy McCauley jam...@nau.edu Cc: Malveeka Tewari malve...@cs.ucsd.edu, nox-dev@noxrepo.org Sent: Monday, February 21, 2011 1:10:42 PM GMT -08:00 US/Canada Pacific Subject: Re

Re: [nox-dev] Getting individual flow stats for an python app

2011-02-21 Thread Kyriakos Zarifis
the counters seem to be zero .. :( - Original Message - From: Kyriakos Zarifis kyr.zari...@gmail.com To: malve...@cs.ucsd.edu Cc: nox-dev@noxrepo.org, Murphy McCauley jam...@nau.edu Sent: Monday, February 21, 2011 2:47:10 PM GMT -08:00 US/Canada Pacific Subject: Re: [nox-dev] Getting

Re: [nox-dev] Getting individual flow stats for an python app

2011-02-21 Thread Kyriakos Zarifis
:-) Thanks! - Original Message - From: Kyriakos Zarifis kyr.zari...@gmail.com To: malve...@cs.ucsd.edu Cc: nox-dev@noxrepo.org, Murphy McCauley jam...@nau.edu Sent: Monday, February 21, 2011 5:01:52 PM GMT -08:00 US/Canada Pacific Subject: Re: [nox-dev] Getting individual flow stats

Re: [nox-dev] Matching wildcard flows with different priorities

2011-02-21 Thread Kyriakos Zarifis
Hey Malveeka, what kind of switch are you using? (sorry if you mentioned this and I missed it) On Mon, Feb 21, 2011 at 9:08 PM, malve...@cs.ucsd.edu wrote: So if I insert the rules in the order flow1, flow2 then you're right flow2 doesn't get installed . However, if I insert flow2 and then

Re: [nox-dev] nox-gui.py only shows one flow entry

2011-02-07 Thread Kyriakos Zarifis
Hi MinChi, thanks for reporting this, we haven't actually had the chance to play around with a NEC switch and hadn't come across this so far. So just to clarify, when you request port stats, does the NEC switch send back one message per port? It looks like we should tweak it to multiplex the

Re: [nox-dev] About python issue

2011-01-24 Thread Kyriakos Zarifis
Hi, this is problem known prolbem with python which has been addressed here http://www.mail-archive.com/nox-dev@noxrepo.org/msg01448.html http://www.mail-archive.com/nox-dev@noxrepo.org/msg01448.htmlAlso, this problem should not exist on the 'destiny' branch 2011/1/24 Min-Hyup Kang

Re: [nox-dev] NOX Error

2011-01-12 Thread Kyriakos Zarifis
Hi Syed, type=3 corresponds to OFPET_FLOW_MOD_FAILED, and code=0 to OFPFMFC_ALL_TABLES_FULL Any reason why the flow table would be indeed full? On Wed, Jan 12, 2011 at 3:45 PM, Syed Akbar Mehdi akbar.me...@seecs.nust.edu.pk wrote: Hi, While running some captured network data through an

Re: [nox-dev] how to add a new component

2010-12-26 Thread Kyriakos Zarifis
Hi Xiefeng, have you taken a look at this? ( http://www.openflowswitch.org/wk/index.php/Basic_Spanning_Tree#Installation) there are a few minor outdated instructions ( for example cd noxcore should be cd nox and nox.xml should be nox.json) but the main idea is described there. On Sun, Dec 26,

Re: [nox-dev] how to add a new component

2010-12-26 Thread Kyriakos Zarifis
as the steps and I modified the nox.json, after the installation, In this file *build/src/etc/nox.json, I see packet-in-event first say spanning_tree component.* 2010/12/26 Kyriakos Zarifis kyr.zari...@gmail.com Hi Xiefeng, have you taken a look at this? ( http://www.openflowswitch.org/wk

Re: [nox-dev] Event handling order

2010-12-22 Thread Kyriakos Zarifis
Hi Syed, please take a look here http://noxrepo.org/noxwiki/index.php/FAQ#How_can_I_affect_the_order_that_different_components_handle_events.3F On Wed, Dec 22, 2010 at 9:34 PM, Syed Akbar Mehdi akbar.me...@seecs.nust.edu.pk wrote: Hi, Is there some way to impose an order between various

Re: [nox-dev] dump the topology in the console

2010-12-16 Thread Kyriakos Zarifis
Hi, the topology component holds some structures that describe the topology. I guess a way to dump a description of the topology would be to get a hangle to that component (from any component, presumably your own) and read and print out the information you're interested. If there is no specific

Re: [nox-dev] NOX Execution Error

2010-12-09 Thread Kyriakos Zarifis
Hi Alexandre, this is an issue with more recent versions of Twisted (which version are you using?) it has been addressed here: http://www.mail-archive.com/nox-dev@noxrepo.org/msg01448.html On Thu, Dec 9, 2010 at 3:40 PM, Alexandre Passito pass...@dcc.ufam.edu.brwrote: Hi All, After

Re: [nox-dev] 6633 routing error

2010-12-08 Thread Kyriakos Zarifis
Hi Abhishek, nothing is necessarily wrong in what you're describing. NOX seems to have started and is waiting for switches to connect. Running nox_core with the -v flag will give you more information about what's happening. Zaku is fine. It's the current HEAD (master branch, and stable version)

Re: [nox-dev] Issue regarding setting up Controller (Virtual Testing Environment)

2010-12-05 Thread Kyriakos Zarifis
Hi Asnat, KK is referring to the output that you get on the console when you start nox_core in verbose mode (using -v). When you get the 'connection failed/dropped' messages on the switch side, you'll get some corresponding log messages on NOX's console; that's what we're looking for. On Sun,

Re: [nox-dev] Help creating a flow

2010-12-02 Thread Kyriakos Zarifis
Great! thanks for updating. On Thu, Dec 2, 2010 at 5:51 PM, Derek Cormier derek.corm...@lab.ntt.co.jpwrote: Oh, that's embarrasing! I was using body.port_no instead of body.out_port. It works now. -Derek On 12/03/2010 10:34 AM, Derek Cormier wrote: I registered for flow mod events and

Re: [nox-dev] Help creating a flow

2010-11-30 Thread Kyriakos Zarifis
requesting the flow stats, so that should be enough time... -Derek On 12/01/2010 10:40 AM, Kyriakos Zarifis wrote: Can you look at the flowtable using dpctl to verify that it is empty? ( could it be the timing? are you sending the request right after you send the flowmod?) On Tue, Nov 30

Re: [nox-dev] Arguments For Components

2010-11-29 Thread Kyriakos Zarifis
/2010 10:16 AM, Kyriakos Zarifis wrote: Hi Derek, You can pass arguments to components on startup as flags when you run ./nox_core If you're talking about sending commands to components while NOX is running (which is think is what you want?), this can also be done using the messenger component

Re: [nox-dev] Cycles

2010-11-16 Thread Kyriakos Zarifis
Are you running 'discovery'? If so, the events you see could be the LLDP packets sent by that component. On Tue, Nov 16, 2010 at 5:55 PM, Rohit Manohar rdman...@ncsu.edu wrote: I am trying to build the following topology in Nox: Openflow2

Re: [nox-dev] help for trying the GUI

2010-11-12 Thread Kyriakos Zarifis
Hi Christopher, I'm glad you got it running. You're right, the last character there is getting cropped out because it doesn't fit in the drawing rectangle of the node. I've seen this when running the gui on a mac, and reduced the size of the fonts to fix it, but obviously it can still happen on

Re: [nox-dev] multi command to a switch

2010-11-11 Thread Kyriakos Zarifis
modified to 100 to port 1? Thanks, Attilio - Original Message - From: Kyriakos Zarifis kyr.zari...@gmail.com To: Attilio Broglio attilio.brog...@create-net.org Cc: nox-dev@noxrepo.org Sent: Monday, November 1, 2010 1:20:24 AM Subject: Re: [nox-dev] multi command to a switch Hi

Re: [nox-dev] help for trying the GUI

2010-11-11 Thread Kyriakos Zarifis
out how to make it give up the rest of its display secrets. :-) /Chris On 11/10/2010 05:42 PM, Kyriakos Zarifis wrote: Hi there, Unfortunately I can't reproduce this, so some additional information would help. Do you get any errors on the shell where you started

Re: [nox-dev] Information on Python APIs available in NOX controller.

2010-11-11 Thread Kyriakos Zarifis
Hi Kavitesh, 1. I am new to Python so it takes a bit of time for me to get hold of the APIs which are available in NOX controller. I am looking for some documentation on APIs which I can/would use in programming of NOX controller. I am not looking for generic tutorial on Python.

Re: [nox-dev] help for trying the GUI

2010-11-10 Thread Kyriakos Zarifis
Hi there, Unfortunately I can't reproduce this, so some additional information would help. Do you get any errors on the shell where you started the GUI? Also, what do you see when you click on the components button at the bottom of the left sife panel of the GUI? Regards, Kyriakos On Wed, Nov

  1   2   >