Re: [nox-dev] list of events and their handlers

2010-02-23 Thread Kyriakos Zarifis
Hi Asish, this is actually being worked on right now, but for now you can generate the doxygen documentation which gives an overview of class hierarchies. To do so, edit nox/build/doc/doxygen/doxygen.conf and change the line GENERATE_HTML = NO to GENERATE_HTML = YES Then, in th

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread Kyriakos Zarifis
btw this is starting to look like a common issue as it's been reported a few times in the past. I guess out-of-band control or control packet priority would alleviate this On Mon, Mar 1, 2010 at 10:20 PM, Guanyao Huang wrote: > I now use smaller traces and no such problem again. I think it is >

Re: [nox-dev] A question regarding Authenticator module

2010-03-12 Thread Kyriakos Zarifis
On Fri, Mar 12, 2010 at 2:38 PM, Natasha Gude wrote: > Comments inline: > > On Fri, Mar 12, 2010 at 1:56 PM, Guanyao Huang wrote: > >> I think some document of authenticator module is very necessary. >> The newest version of authenticator module seems changed a lot, but >> the code for routing mo

Re: [nox-dev] A question regarding Authenticator module

2010-03-12 Thread Kyriakos Zarifis
since we already have some effort going > forward there already. I would be happy to push any documentation > patches for doxygen. > > regards > KK > > On 12 March 2010 14:49, Kyriakos Zarifis wrote: > > > > > > On Fri, Mar 12, 2010 at 2:38 PM, Natasha Gude

Re: [nox-dev] nox compilation problem: boost library

2010-04-07 Thread Kyriakos Zarifis
Hi Rahul, try: apt-get install libboost1.38-dev On Wed, Apr 7, 2010 at 11:14 AM, rahul kundu wrote: > > Hello > > I am on Ubuntu PC and I am getting compilation errors in boost libraries > while compiling nox. > > configure: error: We could not detect the boost libraries (version 1.34 or > hi

Re: [nox-dev] OpenFlow/NOX available control applications

2010-04-20 Thread Kyriakos Zarifis
Hi Luca, this looks good - here is another early attempt for such a list, still far from comprehensive but you might find some more info there. I think what you're describing is really useful and it would be interesting to see the result and append it to this wiki http://74.207.253.160/noxwiki/ind

Re: [nox-dev] About the Flow table control

2010-04-28 Thread Kyriakos Zarifis
Hi, in order to see an example of setting up flows programmatically through a NOX component written in python, you can look at /src/nox/coreapps/examples/pyswitch.py The idea is that you need to construct the openflow packet manually, filling out the flow description and the actions, and then send

Re: [nox-dev] About the Flow table control

2010-05-02 Thread Kyriakos Zarifis
you Kyriakos Zarifis > > About the pyswitch.py information that I try to understand his function > work. > And the core.py, there have a lot of function can use. > But I have no idea about the "actions". In the

Re: [nox-dev] Cant run virtual machine for the simple example in the tutorial

2010-06-08 Thread Kyriakos Zarifis
Hi, > My script for the 2-host-2-switch case is the same as in the link > above, but I changed the tag to tag as suggested by > the xmlstarlet command. I'm not sure about this, maybe it's a recent change, but last time I tried it worked for me. Did you try that? _

Re: [nox-dev] NOX compilation error

2010-07-12 Thread Kyriakos Zarifis
and I'd try removing the existing libboost package first (looks it's there) before reinstalling. That's to avoid getting the 'already installed' message in case of a broken installation On Mon, Jul 12, 2010 at 8:04 AM, kk yap wrote: > Hi Nikhil, > > More specifically, you can try libbooost-dev,

Re: [nox-dev] Openflow Routing module question

2010-07-30 Thread Kyriakos Zarifis
Hi Waqas, this wiki ( http://noxrepo.org/noxwiki/index.php/Developing_in_NOX ) might provide some insight. It's based on the documentation Yannis suggested, but more up to date. You'd best read through it following the flow of the nav links on the left. Then, as Yannis said, the code is the best p

Re: [nox-dev] Unicode decode error in routing module

2010-08-03 Thread Kyriakos Zarifis
Hi Waqas, what's the command you use to run NOX? looks like you're running at least 1 custom app can you paste the packet-in handler of your 'testrouting' ? On Tue, Aug 3, 2010 at 7:16 AM, Waqas Daar wrote: > Hello all, > > I am trying to run the sample routing application of NOX. but When I tr

Re: [nox-dev] Nox destiny aborts when printing stats

2010-08-31 Thread Kyriakos Zarifis
That's right - this sends log messages to the gui, but since there's no gui in destiny yet anyway I just commented it out for now Should be ok now On Tue, Aug 31, 2010 at 8:15 PM, James "Murphy" McCauley wrote: > This is a destiny-specific bug and was introduced in commit > 58547d74330eb0511cddd

Re: [nox-dev] Nox destiny aborts when printing stats

2010-08-31 Thread Kyriakos Zarifis
Correct, the log messages are indeed split. (This trunc was happening to the copies of the messages that would be pushed to the gui, which are now removed altogether. It will be revisited once the gui is up) On Tue, Aug 31, 2010 at 9:05 PM, Josh Smift wrote: > JM == James McCauley > > JM> Date:

Re: [nox-dev] Can you help me about Routing in NOX

2010-09-01 Thread Kyriakos Zarifis
Hi, just like KK suggested, looking at the code is the best way to see how to make your own component for some higher level information, these pointers might be helful: http://noxrepo.org/noxwiki/index.php/FAQ#NOX_runs.2C_now_what.3F http://noxrepo.org/noxwiki/index.php/NOX_Components On Wed, S

Re: [nox-dev] Looking for useful event

2010-09-08 Thread Kyriakos Zarifis
Hi Yuji, it's hard to communicate an event to NOX at that point, as the communication channel between switch-controller is not even necessarily up. I wonder if you can use the datapath_join event for your purpose? Or maybe you could make use of the Link_event that should be raised after the interf

Re: [nox-dev] Remote controlling NOX modules

2010-09-08 Thread Kyriakos Zarifis
If I recall correctly since last time I did something similar, you don't need to run() as there is a twisted reactor already running for NOX. (I've been thinking whether a socket is the right way for the messenger to talk to external applications, and was considering using twisted instead.. KK?)

Re: [nox-dev] Remote controlling NOX modules

2010-09-08 Thread Kyriakos Zarifis
here is more room for laziness without impacting > performance. > > Regards > KK > > On 8 September 2010 15:27, Kyriakos Zarifis wrote: > > If I recall correctly since last time I did something similar, you don't > > need to run() as there is a twisted reactor already r

Re: [nox-dev] where can I get nox-gui.py?

2010-09-21 Thread Kyriakos Zarifis
Hi Duong, The plan is indeed to push it to Destiny first as beta and later on to Zaku. There will be an announcement so stay tuned On Tue, Sep 21, 2010 at 12:02 PM, kk yap wrote: > Hi Duong, > > Thanks for your interest in my work. > > cc-ed nox-dev for others' knowledge. > > Kyriakos is workin

Re: [nox-dev] What is the possible cause of error: type=3, code=3 and type=3, code=1

2010-09-22 Thread Kyriakos Zarifis
Hi Guanyao, I haven't seen this error myself, but looking at the code it looks like it is raised when a OFPT_ERROR is received from a switch, and looking at the spec it looks like switches send this when the negotiated OF version is not supported: "If the negotiated version is supported by the re

Re: [nox-dev] What is the possible cause of error: type=3, code=3 and type=3, code=1

2010-09-22 Thread Kyriakos Zarifis
Ah, I just saw that you resolved the error code/types. Did you try to wireshark the problematic flow_mod packets to verify that they look like what you want them to? On Wed, Sep 22, 2010 at 12:01 AM, Kyriakos Zarifis wrote: > Hi Guanyao, > > I haven't seen this error myself, but

Re: [nox-dev] NOX Questions

2010-09-22 Thread Kyriakos Zarifis
Hi Aaron, it looks like the tutorial's VM is using an old NOX version. In order to use the tutorial component with Zaku, I guess the easiest thing to do is throw it in the nox/src/coreapps/examples directory. You'd also need to add it in the Makefile.am of the same directory, and also add an entry

Re: [nox-dev] NOX Questions

2010-09-22 Thread Kyriakos Zarifis
Basically, you need to do what is described here for the example of pyloop.py: http://noxrepo.org/noxwiki/index.php/Developing_in_NOX#Building_a_Python_only_component let us know if this works. Regards On Wed, Sep 22, 2010 at 12:40 PM, Kyriakos Zarifis wrote: > Hi Aaron, > > it looks

Re: [nox-dev] OpenWrt 1.0 setup

2010-09-22 Thread Kyriakos Zarifis
this is running NOX Zaku? Did you get any helpful messages on the controller side? (looks like it connected for an instant) On Wed, Sep 22, 2010 at 1:45 PM, Aaron Rosen wrote: > Hello, > > I'm trying to setup a Wrt54GL to run openflow 1.0. I've installed the image > and have configured my /etc/c

[nox-dev] NOX GUI

2010-10-04 Thread Kyriakos Zarifis
Dear NOX users, We have recently pushed a graphical frontend for NOX into the destiny (unstable) branch. So far it features a filterable display of the debug messages and an interactive topology view which is extensible for visualization of custom NOX apps. A new Monitoring component which keeps t

Re: [nox-dev] Monitoring timers are not canceled when a dpid disconnects [was : Re: Problem with stat requests and reply]

2010-10-14 Thread Kyriakos Zarifis
Oh, so it's not a specific single-shot timer (post()) that should be canceled, but rather the periodical setup of a new post(), which I guess is originally established in the dp_join handler. So it sounds like if the reverse procedure is followed in dp_leave, i.e. cancel the periodical post that wa

Re: [nox-dev] Monitoring timers are not canceled when a dpid disconnects [was : Re: Problem with stat requests and reply]

2010-10-15 Thread Kyriakos Zarifis
right. I guess timer1 should be refreshed only if the switch is still connected, which means you'd need to keep track of connection status per switch. When the switch disconnects, is that detected, and is a relevant event raised? If so, maybe you could do something like handle_dp_join(): connect

Re: [nox-dev] TCP packets are not parsed correctly

2010-10-15 Thread Kyriakos Zarifis
Hi Niky, something tells me this was introduced with a patch that I was asked to push a while back (df58e02b9dec24564878e0d77274f551d349e070). I reverted it for now, which I think corrects this temporarily (can you verify?) and i'll try to correct the fix soon. On Thu, Oct 14, 2010 at 9:47 PM, Ni

Re: [nox-dev] TCP packets are not parsed correctly

2010-10-15 Thread Kyriakos Zarifis
Hi Niky, something tells me this was introduced with a patch that I was asked to push a while back (df58e02b9dec24564878e0d77274f551d349e070). I reverted it for now, which I think temporarily corrects this (can you verify?) and i'll try to push a real fix soon. On Thu, Oct 14, 2010 at 9:47 PM, Ni

Re: [nox-dev] TCP packets are not parsed correctly

2010-10-15 Thread Kyriakos Zarifis
problem, but the rolled back patch does look >>> wrong to me. I think it's almost right now, but the last part should be >>> arr[i + 2] >>> >>> On Oct 15, 2010 12:58 AM, "Kyriakos Zarifis" >> kyr.zari...@gmail.com>>

Re: [nox-dev] Accessing Packet IPid

2010-10-17 Thread Kyriakos Zarifis
Hi Alec, did you check lib/packet/ipv4.py? Are you referring to the fragment id? There is a an id member in the ipv4 packet class, which I think is what you are looking for. On Sun, Oct 17, 2010 at 10:04 PM, Alec Story wrote: > I'm trying to implement a NAT box detection algorithm (from > http:

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

2010-10-21 Thread Kyriakos Zarifis
Hi El, this page also tells you how to get a version of NOX from a non-master branch (e.g. destiny) http://noxrepo.org/noxwiki/index.php/NOX_Installation#Installation this is the key command which will create a local branch that tracks a remote branch (use "destiny" in both <>) git checkout -b o

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

2010-10-25 Thread Kyriakos Zarifis
Hi Attilio, "actions" is a list which is executed by the switch when a flow is matched, so you should be able to do that by appending one or more actions to the action list. (Setting vlan id, stripping vlan id, sending out a port are 3 separate actions) On Mon, Oct 25, 2010 at 8:55 AM, Attilio Br

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

2010-10-31 Thread Kyriakos Zarifis
/dp_act.c". > I see that there is also another similar file in "datapath/dp_act.c" that > more or less is the same. > So wich are the differences between these 2 files? > And it's right to implement the action only in the udatapath/dp_act.c (as I > do)? > > Thank

Re: [nox-dev] Routing in Nox

2010-11-04 Thread Kyriakos Zarifis
Hi Ricardo, no, as you noticed 'routing' doesn't implement any fancy protocol, just SP. If you need some more complicated algorithm you need to implement it yourself by writing a component. On Thu, Nov 4, 2010 at 4:07 PM, Ricardo Bennesby wrote: > Hi. > I have a doubt of how routing works on No

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

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

2010-11-10 Thread Kyriakos Zarifis
t;monitoring \ > discovery topology \ > jsonmessenger > > Regards > KK > > On 10 November 2010 14:42, Kyriakos Zarifis wrote: > > Hi there, > > Unfortunately I can't reproduce this, so some additional info

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

2010-11-11 Thread Kyriakos Zarifis
> In this case, do I send a normal flow to the port 1 and also a flow with > vlan_id modified to 100 to port 1? > > Thanks, > Attilio > > - Original Message - > From: "Kyriakos Zarifis" > To: "Attilio Broglio" > Cc: nox-dev@noxrepo.org >

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

2010-11-11 Thread Kyriakos Zarifis
x27; OK, 'python' OK > > 00077|nox|DBG:storage-backend: > Current state: INSTALLED > Required state: INSTALLED > Dependencies: 'storage-common' OK > > 00078|nox|DBG:pydatacache: > Current state: INSTALLED > Requi

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. > A

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 so

Re: [nox-dev] [PATCH] 64 bit DPID in discovery fix?

2010-11-16 Thread Kyriakos Zarifis
> > I would imagine a joint mechanism/primitive at > the datapath is the right thing to do (because fault detection is > delay sensitive). > > Yes, I'd like to second that. Although, I wasn't closely involved in the discussions, and it seems like the idea of a BFD-like protocol on the switch was r

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 wrote: > I am trying to build the following topology in Nox: > > Openflow2 >

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

2010-11-16 Thread Kyriakos Zarifis
FYI, you should now be able to see the whole dpid, as well as change the size if you want (View->ID Size->small/normal) thanks for the feedback On Fri, Nov 12, 2010 at 2:08 AM, Kyriakos Zarifis wrote: > Hi Christopher, > > I'm glad you got it running. You're right, th

Re: [nox-dev] Different Controllers for Different Switches

2010-11-16 Thread Kyriakos Zarifis
You can do that, but you can also have just have a single controller instance and activate the load balancing component only for the single switch you're interested in (based on its id) On Tue, Nov 16, 2010 at 9:47 PM, Rohit Manohar wrote: > I am simulating Load Distribution for Servers. I need

Re: [nox-dev] Cycles

2010-11-19 Thread Kyriakos Zarifis
s outport the OFPP_FLOOD >> port. >> >> Note that if you are using a learning switch module then the loops will >> also cause multiple copies of the >> same packet to be delivered to the destination even for unicast packets. >> This happens because until >&

Re: [nox-dev] Arguments For Components

2010-11-29 Thread Kyriakos Zarifis
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. The idea is that you send a command (as a

Re: [nox-dev] Arguments For Components

2010-11-29 Thread Kyriakos Zarifis
on the Wiki, but it's not clear on how to access the >>> arguments >>> from the component. Do you know how to do this? >>> >>> Thanks! >>> -Derek >>> >>> On 11/30/2010 10:16 AM, Kyriakos Zarifis wrote: >>> >>> Hi Derek

Re: [nox-dev] Help creating a flow

2010-11-30 Thread Kyriakos Zarifis
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, 2010 at 5:33 PM, Derek Cormier wrote: > Oh, and I forgot to mention that I am sending a flow stats request. > > > On 12/01/

Re: [nox-dev] Help creating a flow

2010-11-30 Thread Kyriakos Zarifis
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 flow

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 wrote: > 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 the event shows the

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, D

Re: [nox-dev] NOX Router

2010-12-06 Thread Kyriakos Zarifis
Hi Uday, are you implementing the router in C++ or python? (For C++, have you taken a look at the set_action() function in the routing module? If it's python, feel free to paste the code where you're creating the action) On Mon, Dec 6, 2010 at 3:06 PM, Uday Kiran Medisetty wrote: > Hi, > > I wan

Re: [nox-dev] New component usinf configure.ac.in

2010-12-08 Thread Kyriakos Zarifis
Hi Alexandre, in the file configure.ac.in, you'll need to define your component as part of the netapps package On Wed, Dec 8, 2010 at 12:59 PM, Alexandre Passito wrote: > Hi All, > > > > I’m trying to compile a new component as a netapp. I included the > component .cc, component.hh and meta.js

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] 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 wrote: > Hi All, > > > > After recompiling nox zaku it re

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 r

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

2010-12-16 Thread Kyriakos Zarifis
ython-simplejson > but I can't find the file nox-gui.py. Am I wrong? > > fengxie > > 2010/12/16 Kyriakos Zarifis > > Hi, >> >> the topology component holds some structures that describe the topology. I >> guess a way to dump a description of the topology

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] 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

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

2010-12-26 Thread Kyriakos Zarifis
] > } > > Is there some problem, but during the installation, there is no error. > however, it seems the spanning_tree doesn't work. > Thanks for your help. > > regards > > xiefeng > 在 2010年12月26日 下午10:37,谢峰 写道: > > I've done as the steps and I modifi

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 throu

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 Also, this problem should not exist on the 'destiny' branch 2011/1/24 Min-Hyup Kang >Dear

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 messa

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

2011-02-07 Thread Kyriakos Zarifis
s Reply message, “1” is set > to the flags of the Statics Reply message. Otherwise, “0” is set. > > Then, I am trying to modify *monitoring component* in nox-destiny branch > to merge the messages and send them to nox-gui as one. > > > > > > MinChi > > *From

Re: [nox-dev] Sending arp packets

2011-02-16 Thread Kyriakos Zarifis
FWIW, this is currently the way to send ARP packets, meaning you'd have to construct them manually (as is the case with most packets - there are not too many utility functions. It's not clear whether a higher-level API would be helpful as there are many different constructions for a packet and we m

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, y

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 M

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

2011-02-21 Thread Kyriakos Zarifis
ats. > The following thread leads me to believe that I am missing something but I > am not sure what. > > https://mailman.stanford.edu/pipermail/openflow-spec/2010-February/000890.html > > Any thoughts ? > > Thanks! > Malveeka > > > > > - Original Messa

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

2011-02-21 Thread Kyriakos Zarifis
be zero > .. :( > > > - Original Message ----- > From: "Kyriakos Zarifis" > To: malve...@cs.ucsd.edu > Cc: nox-dev@noxrepo.org, "Murphy McCauley" > Sent: Monday, February 21, 2011 2:47:10 PM GMT -08:00 US/Canada Pacific > Subject: Re: [nox-dev]

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

2011-02-21 Thread Kyriakos Zarifis
t; Thanks! > > - Original Message - > From: "Kyriakos Zarifis" > To: malve...@cs.ucsd.edu > Cc: nox-dev@noxrepo.org, "Murphy McCauley" > Sent: Monday, February 21, 2011 5:01:52 PM GMT -08:00 US/Canada Pacific > Subject: Re: [nox-dev] Getting individual flo

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, 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 flow1, both rule d

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

2011-02-22 Thread Kyriakos Zarifis
git checkout -b origin/ > > But I don't know what is "name of your choice" and "remote branch name". > > Thanks > > Xie Feng > > > > 2011/2/22 Kyriakos Zarifis > > Hi Xie Feng, >> >> have you taken a look at http://noxrepo.or

Re: [nox-dev] Malformed Packet

2011-02-27 Thread Kyriakos Zarifis
thanks for the update, glad it worked out. On Sun, Feb 27, 2011 at 10:33 AM, Aaron Rosen wrote: > Hello, > > I was able to figure out where I was going wrong. I also needed to set > the iplen field to the correct value in the ipv4 header. > > Cheers, > > Aaron > > On Fri, Feb 25, 2011 at 5:21 PM

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, 谢峰 wrote: > Hi all, > > Does anybody know the difference between GUI and ENVI, or they are

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 MAC

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

2011-03-01 Thread Kyriakos Zarifis
_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

Re: [nox-dev] NOX GUI how to show user and server?

2011-03-07 Thread Kyriakos Zarifis
Hey XieFeng, the component 'trackhost_pktin' tracks hosts as they appear in the network (meaning, as long as they have generated some traffic). If you add 'trackhost_pktin' to the list of components when you start NOX, hosts should show up too. On Mon, Mar 7, 2011 at 7:27 PM, 谢峰 wrote: > Hi al

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] Setting Up a Virtual Testing Environment

2011-03-09 Thread Kyriakos Zarifis
Ramana, the instructions on that page are unfortunately pretty old, and the VM images provided there will not work with recent versions of NOX. For newer instructions please take a look at the wiki: http://noxrepo.org/noxwiki/index.php/Using_NOX#Setting_up_a_virtual_NOX.2FOpenflow_network The cu

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 wrote: > Dear Kyriakos Zarifis, > Than

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

2011-03-09 Thread Kyriakos Zarifis
Hi, as KK said, if you want IP routing functionality you would have to build an application with the routing logic yourself on top of NOX. The 'routing' functionality that ships with nox does not do traditional IP routing (what is does is briefly described here: http://noxrepo.org/noxwiki/index.ph

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

2011-03-10 Thread Kyriakos Zarifis
Authenticator", which are both used by the 'routing' application. Also http://noxrepo.org/noxwiki/index.php/FAQ#What_kind_of_routing_does_NOX_support.3F Regards 2011/3/10 杨宇 > Hi,Kyriakos Zarifis > I'm little confused by the followings; > In the webpage "

Re: [nox-dev] Replicate NOX

2011-03-16 Thread Kyriakos Zarifis
Hi Paulo, tou could definitely have multiple NOX instances running, and if a switch loses connection to one it can connect to the other, if configured to do so. However, network disruption depends on whether the state in the two controllers (or the components running in the 2 controllers) needs to

Re: [nox-dev] Spanning tree module has error in NOX

2011-03-16 Thread Kyriakos Zarifis
Yi-Shou, for what it's worth, I've recentlyinstalled and run the spanning tree component on NOX-destiny. I cannot immediatelly tell why it wouldn't work on zaku, although it seems like a bindings-storage related error, rather than a spanning-tree one. I'll make sure to look into this when I get a

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 se

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 ex

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 b

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] 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' a

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

2011-03-29 Thread Kyriakos Zarifis
nd that uses the python binding storage API On Tue, Mar 29, 2011 at 3:36 AM, karim torkmen wrote: > 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

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

2011-03-30 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 library

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

2011-03-31 Thread Kyriakos Zarifis
nks > > Jen-Wei > > On Thu, Mar 31, 2011 at 2:29 PM, Kyriakos Zarifis > wrote: > >> 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 >>

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 wrote: > Hi, > I developed a component when I try to run it, I get the following error > message : > > > 1|nox|INFO:Startin

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

2011-04-01 Thread Kyriakos Zarifis
:32 PM, Bill Liao wrote: > On Fri, Apr 1, 2011 at 5:29 AM, Kyriakos Zarifis > 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 > >

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 4

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? (L

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
ing > the packet to each and every output port except 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, &g

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 On Thu, Apr 14, 2011 at 5:42 PM, Hamid Bazzaz wrote: > I see. Thanks for clarifying this Martin! > > --Hamid > > >

  1   2   >