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

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 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 attach tw

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

2012-02-28 Thread Kyriakos Zarifis
On Tue, Feb 28, 2012 at 8:17 AM, marwen mechtri wrote: > 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 components that are respons

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 wrote: > anyone familiar wit

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 here ) On Thu, Feb 16, 2012 at 9:22 AM, Aaron Rosen wrote: > I know it's definite

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

2012-02-16 Thread Kyriakos Zarifis
king change with a more recent version of g++. Or a combination :> Anyway, give that a try, I'm guessing that this will work for you too. On Wed, Feb 15, 2012 at 2:33 PM, Kyriakos Zarifis wrote: > I couldn't look at it at the time, so I ended up simply not compiling the > o

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

2012-02-15 Thread Kyriakos Zarifis
so, do you remember what you did? > Thanks, > > > On Wed, Feb 15, 2012 at 3:00 PM, Kyriakos Zarifis > wrote: > >> 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

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

2012-02-15 Thread Kyriakos Zarifis
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, Feb 15, 2012 at 9:58 AM, Shrutarshi Basu wrote: > Hi guys, > I'm trying to compile the Destiny branch on Ubuntu 10.04 with GCC 4.4

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 wrote: > Hi guys, > > I need a certain amount of information by t

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

2012-02-09 Thread Kyriakos Zarifis
only run "./nox_core -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? > ".

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

2012-02-09 Thread 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 wrote: > Dear Kyriakos Zarifis, > > In flow path, I keep client a and client b pinging each other. The

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 topo

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 wrote: > HI, > > Can anyone please tell me how to get SWITCH STATISTICS (for ex. flow > statistics, port statistics, etc). > > I am trying to send the request from NOX Con

Re: [nox-dev] Receiving JSON messages

2012-01-26 Thread Kyriakos Zarifis
ould be simple to switch from zaku to destiny, but i'd > rather to keep zaku, as I already worked a bit on it in order to extend it > with other classes and with the component I am try to improve. > Is it possible to implement those functionalities going on with zaku? > > Gior

Re: [nox-dev] Receiving JSON messages

2012-01-26 Thread Kyriakos Zarifis
ONMsg_events. So, I think this > socket has to be already up and running when I handle the event. So, when > do I have to create it and how? Do I have to use messenger.py channel class? > - Second question, probably related to the first. I think to be pretty > confused about jsonmessenger: wha

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 wrote: > 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-

Re: [nox-dev] Problem with editing wiki

2012-01-18 Thread Kyriakos Zarifis
Thanks for reporting! Should be fixed - can you give it another try? Also, thanks for offering help with sysadmin tasks:> lets talk offline/on IRC about that On Wed, Jan 18, 2012 at 10:12 AM, Maciej Gałkiewicz < maciej.galkiew...@gmail.com> wrote: > Hello > I have got following error when trying

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 an

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

[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: http://webchat.freen

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, 王楠 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 netapps > as

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 wrote: > Hi Guys, > > I'm having trouble tryi

Re: [nox-dev] Measuring delay of links between switches

2012-01-11 Thread Kyriakos Zarifis
Hi Bernd, this sounds like an interesting idea to me, and something that could be proven useful. One concern is that in the trip from the controller to switch A, switch B and back to the controller, you have the propagation delay of the control channels, the propagation delay between A<->B, but al

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 wrote: > 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 this error: > > confi

Re: [nox-dev] Can i use Tcpreplay with NOX

2011-12-27 Thread Kyriakos Zarifis
According to the spec, the output port is invalid. Are you sure you are sending the action of your flow_mods correctly? The port would need to be a valid ovs port (the interface needs to have been added to ovs) On Tue, Dec 27, 2011 at 12:34 AM, ali ahmad wrote: > Hi all, > > I have a network tr

Re: [nox-dev] Nox messenger example for external c++ and nox python

2011-12-20 Thread Kyriakos Zarifis
my case where external module is C++ then can I use “pyobject” to > interact with python module? > > ** ** > > *From:* Harshil Anil Kumar Shah > *Sent:* Monday, December 19, 2011 3:32 PM > *To:* 'Kyriakos Zarifis' > *Cc:* nox-dev@noxrepo.org > *Subject

Re: [nox-dev] error in "flowtracer" component

2011-12-20 Thread Kyriakos Zarifis
Right. Basically, the component only makes sense with the GUI, which requires 'monitoring', which will start 'jsonmessenger' as a dependency. So the assumption is that you run 'monitoring'. But 'jsonmessenger' should probably be added to flowtracer's meta.json anyway.. It'd still be meaningless to

Re: [nox-dev] Nox messenger example for external c++ and nox python

2011-12-19 Thread Kyriakos Zarifis
Hi Harshil, it might not be the simplest example, but the GUI communicates with NOX using the messenger, so taking a look at that code might be a good starting point. Specifically, the file communication.py is responsible on the GUI side. Similarly on the NOX side, the code that uses the messenge

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

2011-12-09 Thread Kyriakos Zarifis
hi Basu wrote: > >> Thank you, I just checked out the Destiny branch. 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 >> wrote:

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

2011-12-08 Thread Kyriakos Zarifis
working with an older version of NOX -- I can > see a monitor.py app that does not seem to use the xid at all. I will try > to upgrade and see what I can do. Will report back. > Thanks, > Basu > > > On Wed, Dec 7, 2011 at 4:27 PM, Kyriakos Zarifis wrote: > >> Hi Shr

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

2011-12-07 Thread Kyriakos Zarifis
Hi Shrutarshi, the field you should be looking at is the xid (transaction id). I don't remember the specifics right now - I think in Destiny it is automatically set (and returned?) and you can also set it when you send the request (that's what the monitoring module does) I can be more specific wh

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] Component: hosttracker

2011-12-05 Thread Kyriakos Zarifis
when you say the front-end, do you mean noxconsole? the GUI? (you can take a look at the GUI to see how the message exchange happens and what they messages look like.. the code should be in topology.py) On Mon, Dec 5, 2011 at 9:28 PM, ztom wrote: > Hi~ alls, > > I found a component named "hostt

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

2011-12-02 Thread Kyriakos Zarifis
n" (can't check right now unfortunately). So maybe try adding that too after "monitoring" and "pyswitch" ? On Fri, Dec 2, 2011 at 11:24 AM, Kyriakos Zarifis wrote: > Hi, > > the hosts should appear when they talk to the network. Did you try > generating s

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 wrote: > > Hi~ alls, > I used LAVI

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 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 portstats > with

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 th

Re: [nox-dev] Getting flow table entries from switch

2011-11-10 Thread Kyriakos Zarifis
Exactly. FWIW, this is the API that the GUI uses and they were developed in parallel. If you want to parse the flow table and act on that, you should use that Monitoring API. If all you need to do is print it out / look at it you might as well use the GUI directly - but it any case you can look the

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

2011-11-06 Thread Kyriakos Zarifis
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 > >> Hi, >> >> NOX

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 diff

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 in

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 get

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

2011-10-29 Thread Kyriakos Zarifis
out >> fatal: unable to connect a socket (Connection timed out) >> >> I wonder if I miss some steps. >> >> Thank your for advance. >> hzy >> >> >> 2011/10/28 Kyriakos Zarifis >> >>> Hi, >>> >>> like you noticed

Re: [nox-dev] Building custom events

2011-10-28 Thread Kyriakos Zarifis
correct:> On Fri, Oct 28, 2011 at 7:47 AM, andrea simeoni wrote: > Hi guys, > > I solved the problem by adding the line: > > *register_event(Observation_event::static_get_name());* > > In the configuration method of the component that generates the event. > > > 2011/10/28 andrea simeoni > >> Hi

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

2011-10-28 Thread Kyriakos Zarifis
Great. Make sure you add a space between "ptcp:" and "mobilevms" What should come right after the ":" is a port number optionally, then space, then a space-separated list of the components you want to run. On Fri, Oct 28, 2011 at 1:15 AM, 王健 wrote: > I have solved this problem with your help. Th

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

2011-10-28 Thread Kyriakos Zarifis
at > can I do to fit my aim? Can you give me some davices? > > thanks for advance. > > > > > 2011/10/11 Kyriakos Zarifis > >> Hi there, >> >> in order use Link_events in your python component you need to: >> >> 1) make your component awar

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] how to add the components of mobilevms to NOX destiny

2011-10-26 Thread Kyriakos Zarifis
You shouldn't copy any source code into the build/ directory. Anything that needs to be there will be created automatically when you build So only copy the folder you downloaded into nox/src/nox/netapps(delete it from nox/build/src/nox/netapps) On Wed, Oct 26, 2011 at 7:41 PM, 王健 wrote: > T

Re: [nox-dev] Flow expired events in NOX

2011-10-20 Thread Kyriakos Zarifis
Hi, are you running 'discovery' or any other application that has discovery as a dependency? If so, the packet_ins you see are most probably the control (LLDP) packets sent by discovery to discover neighbors. ( http://noxrepo.org/noxwiki/index.php/Discovery ) the flow expiration time is set from

Re: [nox-dev] openflow switched nets

2011-10-20 Thread Kyriakos Zarifis
ontroller linked to one switch. > > -- > scolf > > > On Thu, Oct 20, 2011 at 06:32, Kyriakos Zarifis wrote: > >> Hi, >> >> pyswitch itself is really not aware of any topology. It only stores state >> that is relevant to switches separately (i.e. i

Re: [nox-dev] openflow switched nets

2011-10-20 Thread Kyriakos Zarifis
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 a packet_in) will reach the controller if it's not directly physically

Re: [nox-dev] (no subject)

2011-10-16 Thread Kyriakos Zarifis
Hi Ali, ./nox_core -v -i ptcp:myapp > > You need a space between "ptcp:" and "myapp" ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev

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 compo

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 applicat

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 > Hi, All > > > I'd like to know that it is compatible between NOX(zaku or destiny)

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

Re: [nox-dev] Fwd: NOX GUI

2011-09-14 Thread Kyriakos Zarifis
g instead. Is > it correct? > > > > 2011/9/13 Murphy McCauley > >> Oh, duh, of course the spanning tree component needs to be running. Haha, >> thanks Kyriakos. >> >> One more note is that if you run sample_routing, *don't* run pyswitch. >&g

Re: [nox-dev] Fwd: NOX GUI

2011-09-13 Thread Kyriakos Zarifis
Hi there, for stp and flowtracer, the respective relevant NOX components need to be running If I recall correctly, the names of these components are 'spanning_tree" and "sample_routing" The haven't been thoroughly tested, but worked fine last time I checked. They won't do much anyway if the links

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 P

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 datapa

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

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 cra

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 wrote: > Hi all, > > I needed recently to run Nox on PlanetLab hosts running Fedora 8. It took > me > a bit to get the process right, so

Re: [nox-dev] A discovery question

2011-07-14 Thread Kyriakos Zarifis
advertisements are sent to a "normal" multicast MAC > (01:23:00:00:00:01). > OFDP is Advertisement only. > Non-OpenFlow Switches will forward OFDP advertisements. > OpenFlow Switches will not forward OFDP advertisements. > > -- Murphy > > On Jul 14, 2011, at 1:56

Re: [nox-dev] A discovery question

2011-07-14 Thread Kyriakos Zarifis
if you have two OpenFlow switches connected via an > >>> intermediate non-OpenFlow switch, using normal LLDP, you couldn't tell > that > >>> the two OpenFlow switches were connected because the intermediate > switch > >>> would not forward the LLDP packet.

Re: [nox-dev] A discovery question

2011-07-14 Thread Kyriakos Zarifis
gt; > We guess the discovery is the OFDP first. > > We think our guess may be wrong after we see the discovery.py code. > > Therefore, we are not sure that the discovery is the LLDP or the OFDP now. > > Bests, > > Wun-Yuan > > > > 於 2011/7/14 下午 04:03, Kyriakos Z

Re: [nox-dev] A discovery question

2011-07-14 Thread Kyriakos Zarifis
Hi, I'm not sure if I understand the question, but Discovery uses LLDP packets. Short description here: http://noxrepo.org/noxwiki/index.php/Discovery On Thu, Jul 14, 2011 at 3:43 AM, wunyuan wrote: > Hi, > > We have a question about the nox discovery. > > Our NOX version is NOX 0.9.0(zaku) in

Re: [nox-dev] Bandwidth Measurement.

2011-06-30 Thread Kyriakos Zarifis
Hi, I think the closest thing that openflow can provide would be information about how many bytes have been sent on one side and received on the other side of a link. So you could infer an approximation of active rates on the link by polling 2 neighboring switches from NOX at some regular interval

Re: [nox-dev] What's wrong? "00001|nox|ERR:Application 'spanning_tree' description not found"

2011-06-29 Thread Kyriakos Zarifis
By the way, the spanning_tree module has been added in the destiny branch (ported to use json), so if you pull from destiny it should just work. to switch to destiny, follow the instructions here: http://noxrepo.org/noxwiki/index.php/NOX_Installation#Installation (after "git branch -a") On Wed, J

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 McCauley

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

2011-06-20 Thread Kyriakos Zarifis
lf.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 002320c2f7b4 > Aggregate stats in from datapath 00:23:20:c2:f7:b4 > {'pac

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

2011-06-19 Thread Kyriakos Zarifis
t; 00073|openflow-event|DBG:received stats reply from 002320ca92e0 > > Port stats 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 > > {&

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 (wher

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

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

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 wrote: > you also can to try libboost-all-dev ! > > Fernando N. N. Farias > > Electrical Engineer PhD. Studen

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

2011-06-02 Thread Kyriakos Zarifis
this and use it. > > Thanks and Regards, > Balaji > > > On Thu, Jun 2, 2011 at 12:17 PM, Kyriakos Zarifis > wrote: > >> Hi, >> >> NOX does not currently have a command line or a way to manage flow tables >> non-programmatically. (However, it is someth

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

2011-06-02 Thread Kyriakos Zarifis
itch 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 Zarifi

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] Cannot find "nox-gui.py"

2011-06-02 Thread Kyriakos Zarifis
>> Retrying connection to NOX... >> .. >> >> What is the problem? I also tried to specify my localhost ip address >> >> Can you help me? >> >> >> >> 2011/6/2 Kyriakos Zarifis >> >>> Hey Andrea, >&

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 wrote: > Hi guys, > > I've recently installe

Re: [nox-dev] problem in installation in NOX

2011-06-01 Thread Kyriakos Zarifis
Hey Ahmad, the executable will be in the build directory (nox/build/src/) On Wed, Jun 1, 2011 at 6:14 AM, ahmad numan wrote: > I am trying to install NOX on Linux powered Octeon board. I am able to > successfully configure and build the NOX but after building there is no > nox_core in /nox/src

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 2011/4

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

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

  1   2   >