Re: [nox-dev] Access data in LinkPorts objects

2008-07-23 Thread Martin Casado
Can you send out the exception that dir on the linkport gives you? You should be able to use lp.src lp.dst to get the source and destination ports (16 bit values) .martin On Jul 23, 2008, at 2:29 PM, Glen Gibb wrote: Hi all, I'm trying to use the pytopology class to identify the

Re: [nox-dev] LLDP packet generated by HP ProCurve crashes discovery

2008-07-30 Thread Martin Casado
That would be very helpful. Thanks. On Jul 30, 2008, at 3:32 PM, Glen Gibb wrote: I think the LLDP inside the Packet In is truncated. Let me know if you need the whole packet. Glen Martin Casado wrote: Thats what I get for reading e-mail backwards. Thanks Glen, I'll take a look

Re: [nox-dev] Two interconnected NOX networks and get_all_links

2008-08-06 Thread Martin Casado
I've not tried this configuration, however I see no reason why it shouldn't work. If you run with debugging, does discovery detect the link correctly? (the printout should be something like: new link detected dpid:port dpid:port) .martin On Aug 5, 2008, at 11:16 PM, Glen Gibb wrote:

Re: [nox-dev] Flow setup latency

2008-08-08 Thread Martin Casado
Rewrite in C++ ;-) Otherwise, this is going to depend largely on the application. Even when we run pyswitch alone, the latencies are 20-30ms. On Aug 8, 2008, at 11:20 AM, David Erickson wrote: Ya our mobilevms app is in Python. Is there any way to speed it up? -David Martin Casado

Re: [nox-dev] Core dump when registering non-existent callback in post_callback

2008-08-09 Thread Martin Casado
Great, thanks Glen. I'll submit a bug. I accidentally tried to register a non-existent callback with post_callback and Nox dumped core: terminate called after throwing an instance of 'std::runtime_error' what(): cannot install the Python component: Traceback (most recent call last):

Re: [nox-dev] NOX 0x96 (Public Repo) nicira-ext.h missing

2008-10-22 Thread Martin Casado
Its in the noxrepo version of openflow. Which openflow are you compiling against? Hi, As the subject title mention, we have a missing file. Regards KK ___ nox-dev mailing list nox-dev@noxrepo.org

Re: [nox-dev] Signals (SIGHUP) sent to applications?

2008-11-22 Thread Martin Casado
I think import signal signal(signal.SIGHUP, foo) should work. Is there an easy way to get a Nox python application to respond to SIGHUP? Thanks, Glen ___ nox-dev mailing list nox-dev@noxrepo.org

[nox-dev] Minimal NOX release

2008-12-20 Thread Martin Casado
Hi all, The full nox code is pretty intimidating to new (and seasoned) users. In an effort to relieve some of the installation pain and hopefully ease the learning curve, we've released a smaller subset of NOX which contains the python bindings, the C++ switch, some example python files,

[nox-dev] Redmine installed

2008-12-20 Thread Martin Casado
Hi All, OK, this will be the last e-mail from me today :) I've installed the Redmine project management system up at NOXrepo. It would be very helpful if all feature requests and bug reports were filed through it so we can keep track of them. Let me know if you have any problems

Re: [nox-dev] Error compiling NOX

2008-12-23 Thread Martin Casado
Hash_map incompatibilities crop up periodically. My guess is that you'll need up update g++, what version are you using? On Dec 23, 2008, at 11:13 PM, Nikhil Handigol wrote: I tried compiling freshly checked-out NOX on my Ubuntu (7.10) machine. I got the following error:

Re: [nox-dev] segfault importing networkx

2008-12-30 Thread Martin Casado
Hi Brandon, FYI, the segfault goes away when using python2.6 and the latest numpy packages (I only tried recompiling with the core apps, I'm not sure if all of the apps work with 2.6). I installed the following from source: Python-2.6.1 Twisted-8.2.0 zope.interface-3.3.0 numpy-1.2.1

Re: [nox-dev] adding application to nox

2009-01-03 Thread Martin Casado
3, 2009 at 2:42 PM, Martin Casado cas...@nicira.com wrote: Are you pulling from nicira or noxrepo? If you're pulling from nicira then just boot with: ./booth.sh --apps-core and it will only build the core. The greatly reduced compile time really helps. Thanks for pointing out

Re: [nox-dev] passing cmd-line params to a nox app

2009-01-11 Thread Martin Casado
This is because we embed python and don't use the internal python c api to pass the the command line args to python. Our rational for this was that apps should get their args through the component model (in config) rather than have to parse to original command line. However, passing the

Re: [nox-dev] Inability to connect more than one switch

2009-01-13 Thread Martin Casado
Is this reproducible? Do you have a core file we can poke around in? On Jan 13, 2009, at 2:07 PM, kk yap wrote: Hi, I was running NOX without any external components invoked. With more than one switch connected to it, I have the following error. A hint as to where to narrow down the bug

Re: [nox-dev] ConnectionRefusedError in make check

2009-02-03 Thread Martin Casado
You can ignore those, they are bugs in the test and don't indicate a problem with your particular build. Hi, I have the same problem which was reported by Brandon Heller. http://noxrepo.org/pipermail/nox-dev_noxrepo.org/2008-December/000473.html Does any one have solution for this problem?

Re: [nox-dev] nox_core test fails

2009-02-04 Thread Martin Casado
Yeah, this is a bug in the testing suite not in your particular build. You can safely ignore those. Hopefully we can push fixed tests shortly. I'm having some problems when testing my nox build. I downloaded it from the git repository, and configured --with python 2.5 and --with openflow

Re: [nox-dev] nox_core test fails

2009-02-04 Thread Martin Casado
Ah right, I completely missed that you were using pgen. Definitely, do as Pete suggests and use a passive tcp socket (-i ptcp:2525) .martin Hello, Unfortunately, the packet generation functionality has lagged behind openflow changes, and does not work in this release. Please try running

Re: [nox-dev] nox_core test fails

2009-02-05 Thread Martin Casado
For those that have been following this thread, the problem ended up being stale OF binaries from noxrepo. I've since updated them and things seem to be working. .m Hey, as I replied to Peter, I only run ./nox_core -v -i pgen:10 packetdump when testing nox on it's own. So the -pgen flag

Re: [nox-dev] flow_expired and extract_flow

2009-02-12 Thread Martin Casado
You are right, thanks for pointing this out. I'm going to add a redmine bug on this. thanks, Martin Hi, I receive inconsistency between flow_expired and extract_flow functions. To be more precise, using python I have a dictionary using fields extracted from the packet as the key (through

[nox-dev] 0.5 available

2009-02-23 Thread Martin Casado
We've pushed NOX 0.5 to noxrepo available both from git and from the downloads (http://noxrepo.org/wp/?page_id=15). 0.5 doesn't represent a major structural change from 0.4 but contains a lot of file cleanup and bugfixes. We recommend those currently running 0.4 to upgrade. thanks,

Re: [nox-dev] Nox routing

2009-02-23 Thread Martin Casado
The problem is that under some conditions (such as broadcast), routing floods the packet which doesn't handle loops correctly. Glen (Gibb) wrote a spanning tree app for NOX which they use in the mobility demo. You might want to follow up with him about that. Hi, I created a simple

Re: [nox-dev] Referencing NOX code outside NOX

2009-03-03 Thread Martin Casado
You can't import core, it relies on pycomponent which requires the core C++ symbols which Python doesn't have. However, if you just need the packets and openflow, you should be able to import both of those without problem: n...@kuato:~/noxrepo/noxcore/build/src$ python Python 2.5.2

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

2009-03-13 Thread Martin Casado
Hi Khan, Inline: Hi, I tried to run nox and openflow on the virtual environment. I did the following steps very carefully. At first I did the openflow installation for Ubuntu. All were done successfully. I saw the virtual ethernet pairs also. I killed the avahi-daemon by avahi-daemon -k. Then

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

2009-03-13 Thread Martin Casado
Original Message Subject:Re: [nox-dev] Problem in Setting Up a Virtual Testing Environment Date: Fri, 13 Mar 2009 13:01:57 -0400 From: Surabhi Diwan diwan.sura...@gmail.com To: Martin Casado cas...@nicira.com References: 21504664.1236942928673.javamail.ora

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

2009-03-13 Thread Martin Casado
AM, Martin Casado cas...@nicira.com mailto:cas...@nicira.com wrote: Hi Khan, Inline: Hi, I tried to run nox and openflow on the virtual environment. I did the following steps very carefully. At first I did the openflow installation for Ubuntu. All were

Re: [nox-dev] missed flow mods

2009-03-17 Thread Martin Casado
Yeah, unfortunately under the current model you cannot block in Python (or in a Python call into C++) so you have to implement some sort of polling or callback method. It would be great to support a real thread model in Python, but I'm afraid that isn't going to happen any time soon ... My

Re: [nox-dev] Inputs on how to emulate new more complicated networks using NOX

2009-04-07 Thread Martin Casado
To support inand control (on vigil2) you probably have to bring up of0 and give it an IP address. e.g. ifconfig of0 10.0.0.5 let us know if that doesn't work. cheers, .martin I have tried this: nox | end1 --- vigil1 --- vigil2 --- end2 I ran secchan nl:0

Re: [nox-dev] NOX hogs CPU after TcpSocket::write

2009-05-05 Thread Martin Casado
Hi Srini, Could you put together a tarball of the code for me to take a look at? thanks, Martin Hi I'm using the TcpSocket ::write to send packets back to a python program. Once the program received the packet, I see that my controller CPU is at a high load (increased from ~3% to 95+%).

Re: [nox-dev] Installation of noxcore

2009-05-13 Thread Martin Casado
___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org -- Martin Casado CTO, Nicira Networks 650-776-1457 (m

Re: [nox-dev] Installation of noxcore

2009-05-13 Thread Martin Casado
Do you have python-openssl installed? Thank you very much for all the help. I installed the xerces package libxerces28-dev and 'make' ran succesfully. But i still get errors when i run make check: 1|sqlite3-impl|WARN:Transactional storage file not given in the command line; defaulting

Re: [nox-dev] intercepting events

2009-05-21 Thread Martin Casado
Hi Kyriakos, You could define a high-priority packet-in event handler which receives the packet before authenticator (see src/etc/nox.xml) and then return CONTINUE or STOP depending on wether you would like the packet to propagate or not. nox.xml is not well documented, but the idea is

Re: [nox-dev] Is NOX still active?

2009-06-16 Thread Martin Casado
-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org -- Martin Casado CTO, Nicira Networks 650-776-1457 (m) ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox

Re: [nox-dev] secchan error: /usr/local/var/run/secchan.1281.ctl (No such file or directory)

2009-06-17 Thread Martin Casado
Stupid guess, but double check that /usr/local/var/run/ exists. Hi, I get this error when running qemu:~# /cdrom/secchan nl:0 tcp:10.0.2.2:2525 Could not initialize control socket /usr/local/var/run/secchan.1281.ctl (No such file or directory) This error is completely new to me. Can

Re: [nox-dev] secchan error: /usr/local/var/run/secchan.1281.ctl (No such file or directory)

2009-06-17 Thread Martin Casado
, It does not. But why should it? New requirements? Regards KK 2009/6/17 Martin Casado cas...@nicira.com: Stupid guess, but double check that /usr/local/var/run/ exists. Hi, I get this error when running qemu:~# /cdrom/secchan nl:0 tcp:10.0.2.2:2525 Could not initialize control socket

Re: [nox-dev] All flows?

2009-06-23 Thread Martin Casado
I'm not sure I completely follow, but I think this depends largely on the vendor. There will be switch implementations available which allow all ports to run OpenFlow. Others will allow you to segment the switch between production (normal L2/L3 forwarding) and Openflow. However, I don't

Re: [nox-dev] L2 Broadcast

2009-06-25 Thread Martin Casado
is using something custom as well but I'm wondering if the need for these still exists in the current distribution. Thanks, David ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org -- Martin Casado CTO

Re: [nox-dev] Discovery Assertion Error Patch

2009-07-09 Thread Martin Casado
) return Thanks, David ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org -- Martin Casado CTO, Nicira Networks 650-776-1457 (m) ___ nox-dev

Re: [nox-dev] How can I see internal of flow table?

2009-08-04 Thread Martin Casado
/listinfo/nox-dev_noxrepo.org -- Martin Casado CTO, Nicira Networks 650-776-1457 (m) ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Re: [nox-dev] Error_add to Python_Component

2009-08-31 Thread Martin Casado
Nox expects you to use the component name as specified in the meta.xml file on the command line. So instead of using flowpath_control.py, you'll want to use whatever you named the component. Hi~ I made python socket component, for listen to Client connection Referneced

Re: [nox-dev] External communication with controller.

2009-09-19 Thread Martin Casado
Hi Ankur, The simplest thing to do would be to use webservices rather than xml-rpc. There is a full webservices harness for nox in src/nox/webapps/webservice/ hth, .m Hi, I'm trying to develop an application wherein I need to have an external server communicate with the controller. I have

Re: [nox-dev] questions about API

2009-09-22 Thread Martin Casado
The send_openflow_command takes three arguments, the third being a boolean value that if true blocks as necessary. What does it block? send_openflow_command(pi.datapath_id, ofm-header, true); It will block the current thread handling that packet rather then returning an EAGAIN if the

Re: [nox-dev] flow stats message?

2009-09-27 Thread Martin Casado
Aggregate stats are flow stats. Hi all, Is flow stats message included in current nox tree? I looked into swichstats.py and core.py and could only find port, table, desc and aggregate stats. If this is the case, any particular reason it's not there? I need to use it for an application to

Re: [nox-dev] k-shortest paths

2009-09-27 Thread Martin Casado
This isn't implemented in the current core, you'll have to create your own routing module for that. Hi, I'm trying to implement an ecmp module, i wanted to know if anyone has already implemented one or if there's a way to get several shortest paths from the routing module. Theo

Re: [nox-dev] Using Link-event in the hub

2009-09-27 Thread Martin Casado
You need to include discovery in the depencies of hub's meta.xml. .m Hi, I want to discover the topology of the network based on the link events at the controller. For this, I tried to register a handler for link-event in hub.cc (similar to packet-in event). I included

Re: [nox-dev] Installing nox-full on fedora

2009-09-28 Thread Martin Casado
Older versions of g++ have hashmap issues. What version are you compiling against? Hi, I'm trying to install nox-full on fedora -- i've been able to install nox-core on this fedora but i keep getting errors when i try with nox-full. On a seperate note, i've gotten nox-full working on

Re: [nox-dev] Error on make check - nox full version

2009-09-30 Thread Martin Casado
Looks like the http server couldn't bind to a privileged port. You need to run make check as root, are you? Hi All, I'm currently running Ubuntu 9.04 and I just encountered an error during make check and was wondering if anyone had seen it and knew of a solution Steps: (version

Re: [nox-dev] KVM and VDE on Fedora 11 64-bit

2009-10-02 Thread Martin Casado
Keith, do you have any tips/tricks for running the virtual environment on a 64bit platform? Hello, I'm having a trouble running a test environment with KVM and VDE. I have Fedora 11 x86_64, and compiled NOX on it with a partial success (only compiles with core apps). Now for the testing

Re: [nox-dev] [Fwd: Re: Building openflow packets]

2009-10-12 Thread Martin Casado
, ofp_reason, total_frame_len, buffer_id, packet5): SA5=mac_to_int(packet5.src) ... def create_fpm_packet(dpid1,seq1,Typ1,DA1=None): eth.dst = struct.pack('!Q',DA1)[2:8] /code Thanks -- Un saludo, Guillermo Gamoneda -Mensaje original- *De*: Martin Casado cas

Re: [nox-dev] GCC 4.4

2009-10-12 Thread Martin Casado
Awesome Vjekoslav, thanks for the patch. I'll update check and push. Hello. According to GCC 4.4 release notes, some of the standard C++ library include files have been edited to include only the smallest possible number of additional files. As a result NOX fails to compile under GCC 4.4.

Re: [nox-dev] Routing module

2009-10-13 Thread Martin Casado
Can you send the output if you run with -v? Hello, I am trying to implement a monitoring protocol. For this I am relying on the routing module. I have a simple setup involving three openflow-enabled hardware switches. Below is the topology: ++Vl 1++Vl

Re: [nox-dev] Routing module

2009-10-13 Thread Martin Casado
2e9aea65 (len:60) 00283|openflow-event|DBG:received packet-in event from 2e988cc00065 (len:60) On Oct 13, 2009, at 6:56 PM, Martin Casado wrote: ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox

Re: [nox-dev] --with-openflow

2009-10-13 Thread Martin Casado
The current Nox support wire proto 0x97. Best to compile Nox with the included openflow headers, and then run against 0.8.9 (don't use --with-openflow). Hello. According to the web page, NOX is suppose to compile against OpenFlow 0.8.9:

Re: [nox-dev] [Fwd: Re: Building openflow packets]

2009-10-13 Thread Martin Casado
methods/classes from: core, packet_utils and ethernet, and my API is the only thing i run. Thanks Martin for your help. -- Un saludo, Guillermo -Mensaje original- *De*: Martin Casado cas...@nicira.com mailto:martin%20casado%20%3ccas...@nicira.com%3e *Para*: Guillermo guille7

Re: [nox-dev] make check fails Import by filename is not supported

2009-10-14 Thread Martin Casado
-v -i ptcp:2525 monitorsui switchstatsws pyswitch pyauthenticator Fails with the same error I pasted earlier. 00027|nox|ERR:Application 'monitorsui' description not found. Pradeep -Original Message- From: Martin Casado [mailto:cas...@nicira.com] Sent: Wednesday, October 14, 2009 9:47

Re: [nox-dev] Routing module

2009-10-14 Thread Martin Casado
. .martin Should it not also advertise that routing assumes that either spanning tree is running or that the physical topology contains no loops to function correctly. Martin Casado wrote: Ah, I'm starting to understand what is going on. Routing has no notion of subnets, vlans etc. It doesn't

Re: [nox-dev] make check fails Import by filename is not supported

2009-10-14 Thread Martin Casado
./nox_core -v -i ptcp:2525 monitorsui switchstatsws pyswitch pyauthenticator I get the error 00027|nox|ERR:Application 'monitorsui' description not found. Thanks, Pradeep -Original Message- From: Martin Casado [mailto:cas...@nicira.com] Sent: Wednesday, October 14, 2009 10:31 AM

Re: [nox-dev] Preparing for Nox 0.6.0

2009-11-03 Thread Martin Casado
Vjekoslav Brajkovic wrote: On Sun, Nov 01, 2009 at 07:24:48PM -0800, Martin Casado wrote: We're going to start preparing to put Nox 0.6.0 up on noxrepo. This release will include significant improvements to the netapps (authenticator, routing, topology), debugging, documentation

Re: [nox-dev] journey of packet in NOX Network

2009-11-03 Thread Martin Casado
Agreed, this is sorely needed. To be clear, what happens internal to Nox depends on the components being run. Perhaps a step-by-step description of path setup with the basic components (authenticator, routing) would be most useful? Need a little help. I am going through the code of

Re: [nox-dev] Preparing for Nox 0.6.0

2009-11-04 Thread Martin Casado
Hi Amin, The goal is certainly for Nox 0.6 to support all 1.0 features. However, that will happen after wire protocol compatibility (shooting for this Friday ... though that might slip). Regarding tracing the event call stack. This would certainly be a useful debugging tool. However, the

Re: [nox-dev] NOX thread model and the Pol-Eth language

2009-11-11 Thread Martin Casado
First I have one question about the NOX thread model. Based on my understanding, there are three pollables added in the poll_loop: conn, event_dispatcher and timer_dispatcher. Then the poll_loop is initiated with 8 threads. Does this mean that each pollable can have more than one thread

Re: [nox-dev] nox full beta make error

2009-11-15 Thread Martin Casado
Yeah, there's a bug with pointing to xerces in that the include path is not updated. Can you try updating the AM_CPPFLAGS in src/lib manually and seeing if that works? Hi, In previous post (nox full beta configure error) i have cited that i have got xercess c++ library error .. now little

Re: [nox-dev] topology

2009-11-20 Thread Martin Casado
There are no applications contained in the standard Nox distribrution which provide visualization of the topology. However some third party apps have been built. For example: http://www.openflowswitch.org/wk/index.php/LAVI .m hi Is there any application to see the topology of a network?

Re: [nox-dev] Using multiple NOX controllers

2009-11-30 Thread Martin Casado
If the switches are configured to connect to the correct controller it should just work. However, discovery will not detect the link between the two domains so routing won't be able to work across both domains. However, something basic, like pyswitch should work just fine (provided there

Re: [nox-dev] boot.sh error

2009-11-30 Thread Martin Casado
' openflow-event.cc:369: error: expected ')' before 'const' -Original Message- From: Martin Casado [mailto:cas...@nicira.com] Sent: Thursday, November 19, 2009 10:25 PM To: Pradeep Padala Subject: Re: [nox-dev] boot.sh error Nox doesn't currently support 0.9 though it should work

Re: [nox-dev] Need help regarding querying statistics from switches

2009-12-10 Thread Martin Casado
Have you verified that the counter is correct on the switch via dpctl dump-flows? Sorry, I was wrong in saying my program can query flow statistics of large flows. It cant query statistics of flows, no matter large or small. But I can query statistics of port. That is successful. Below is my

Re: [nox-dev] error compiling nox 0.6 on deb testing

2009-12-13 Thread Martin Casado
What version of swig do you have installed? Are you using Debian stable? Hi, With a few different packages (changes to more recent boost versions, 1.35 is not available), I was able to pass configure w/nox 0.6 on deb testing: sudo apt-get install autoconf automake g++ libtool python

Re: [nox-dev] A general question regarding discovery module

2009-12-17 Thread Martin Casado
Discovery times out links when no LLDP packets have been received over some timeout period. Timer values are documented within discovery.py. It seems this module will periodically construct the topology. I dont know why it will periodically time_out the links. I want to know in what

Re: [nox-dev] A general question regarding discovery module

2009-12-18 Thread Martin Casado
The goal is to detect link failures, so one would hope that would be the most common failure mode. I assume LLDP packets are sent periodically. If there is no LLDP, what will be the most possible reason? The controller or the switch is too busy? On Thu, Dec 17, 2009 at 3:07 PM, Martin Casado

Re: [nox-dev] A general question regarding discovery module

2009-12-18 Thread Martin Casado
links sometimes, causing my program not working well. I will debug to find out details why the link fails. Actually they are not supposed to fail. Maybe it's because of huge data. On Fri, Dec 18, 2009 at 8:41 AM, Martin Casado cas...@nicira.com wrote: The goal is to detect link failures, so one

Re: [nox-dev] A general question regarding discovery module

2009-12-21 Thread Martin Casado
algorithm that, if you're interested in previewing, I can send you a copy. - Rob . On Fri, Dec 18, 2009 at 2:44 PM, Martin Casado cas...@nicira.com wrote: Yeah, it could be due to high-loss from load (unfortunately). You could try increasing the timeout value in discovery.py. If you

Re: [nox-dev] error compiling nox 0.6 on deb testing

2009-12-29 Thread Martin Casado
fyi, I pushed a fix for this to noxrepo. Was a very minor change in how swig handles command line args from 1.3.33 to 1.3.4. Hi, With a few different packages (changes to more recent boost versions, 1.35 is not available), I was able to pass configure w/nox 0.6 on deb testing: sudo

Re: [nox-dev] NOX Component's Destructor

2009-12-31 Thread Martin Casado
Currently there is no graceful shutdown implemented within Nox. One option would be to create a new event which is thrown on a given signal (e.g. USR1) and register handlers for cleanup. Hi, I am wondering how I can use the component's destructor to do some cleanup, e.g., dump state to a

Re: [nox-dev] Question about NOX Openflow 1.0 branch slicing

2010-01-04 Thread Martin Casado
Supporting slicing in Nox should be fairly straightforward, however integrating with existing components (e.g. routing) may be a bit more of a chore. Holly, can you say a bit about what you want to do with slicing? .martin Hi Holly, AFAIK, the page is up-to-date. You have 3 options if you

Re: [nox-dev] Unable to configure nox

2010-01-11 Thread Martin Casado
Great thanks. Pushed to 0.6. Yes it worked. Thanks, Immad On Mon, Jan 11, 2010 at 3:38 PM, Martin Casado cas...@nicira.com mailto:cas...@nicira.com wrote: Let me know if this works and I'll add a patch for it to 0.6. thanks guys, .martin Hi, Maybe this might

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread Martin Casado
#include cstdio using namespace std; .m Hi, I am trying to install and configure nox on ubuntu 9.10. I was able to install all dependencies and was able to get the noxcore using git. I was able to configure and make nox. However, when I tried the command 'make check', I get the following

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread Martin Casado
like that got overwritten. Just cherry pick. commit 8f34004cbce1bf94965c336502665e72a929612a Author: Mikio Hara mik...@stanford.edu Date: Thu Dec 3 12:47:32 2009 -0800 GCC 4.4 compliance patch for test suite (make check) Fixed header compatibility issues Regards KK 2010/1/11 Martin Casado

Re: [nox-dev] nox testing build

2010-01-11 Thread Martin Casado
Yeah, the unit test framework hasn't been fully ported yet. However, system testing should work: badwater:~/noxrepo/nox/build cd src/ badwater:~/noxrepo/nox/build/src sudo make test ++ | nox/coreapps/coretests/test_async.sh |

Re: [nox-dev] nox 0.6 branch openflow-1.0

2010-01-12 Thread Martin Casado
All nx_flow structs are obsolete and can be removed. They were used for pulling Netflow records from the kernel early on. I'll clean up and push. Thanks for pointing this out. .martin Yes, this was done on a 64 bit machine. Thanks! Vjeko - Forwarded message from kk yap

Re: [nox-dev] SwigPtr_PyObject not declared in pystorage.cc

2010-01-14 Thread Martin Casado
Excellent. If you have a patch which works with earlier versions of swig, could you send it out to the list? thanks! .martin Figured out the problem. I needed to also patch two header files (pystorage-common.hh and pytransactional-storage.hh) in the storage module. Aaron On Wed, Jan 13,

Re: [nox-dev] aggregate flow statistics always return 0

2010-01-14 Thread Martin Casado
Are you using the OF reference code from Stanford? Hi all, I am using NOX Virtual Test Environment The topology is one OpenFlow switch and two hosts. Host 1 and host2 continually ping each other. In monitor component, the aggregate statistics always show 0. But, if I dump the aggregate

Re: [nox-dev] aggregate flow statistics always return 0

2010-01-14 Thread Martin Casado
Message- From: Martin Casado [mailto:cas...@nicira.com] Sent: Friday, January 15, 2010 2:34 PM To: MinChi Tseng Cc: nox-dev@noxrepo.org Subject: Re: [nox-dev] aggregate flow statistics always return 0 Are you using the OF reference code from Stanford? Hi all, I am using NOX Virtual Test

Re: [nox-dev] nox throughput performance

2010-01-15 Thread Martin Casado
C++ only is required for high throughput. Looking through the last performance numbers I have (about 4 months old) it looks like throughput maxed out closer to 40k/s. I not sure what the discrepancy is, we've modified the core events loop a number of times. With Python we never reached more

Re: [nox-dev] nox-0.5.0~full~beta make fails

2010-01-21 Thread Martin Casado
Prateek, if possible I'd suggest you build nox 0.6 from git. Several automake and gcc versioning issues are fixed in that release. I believe this is a result in a change in GCC that eliminated the automatic inclusion of certain header files. Try adding #include stdio.h at the top of the source

Re: [nox-dev] Some recent flow setup numbers

2010-01-23 Thread Martin Casado
== flow entries pushed/src or complete end-to-end flows pushed/sec? Thanks, -b On Sat, Jan 23, 2010 at 11:30 PM, Martin Casado cas...@cs.stanford.edu mailto:cas...@cs.stanford.edu wrote: Minlan recently did some performance analysis of Nox and has kindly agreed to let me post

Re: [nox-dev] patch: fix unsupported operand exception when parsing TCP packets with MSS option

2010-01-24 Thread Martin Casado
Thanks a lot Brandon. I'll push to 0.6 shortly. Hi, Please disregard the previous attachment - what started out as a bugreport became a patch, and I forgot to remove the pcap dump of the offending packets. Thanks, -b On Sun, Jan 24, 2010 at 4:15 AM, Brandon Heller brand...@stanford.edu

Re: [nox-dev] Some recent flow setup numbers

2010-01-24 Thread Martin Casado
, the hardware switches we've tested are no where near capable of producing that number of flow setups per second. They generally support hundreds of flow setups per second, due to their limited CPU. - Rob . On Sat, Jan 23, 2010 at 11:30 PM, Martin Casado cas...@cs.stanford.edu wrote: Minlan

Re: [nox-dev] Documentation about components Event Harness Cooperative Threading

2010-01-24 Thread Martin Casado
Sorry, really behind on e-mail. The threading library has significant documentation in source. Check out src/include/threads, and in particular cooperative.hh and impl.hh. I want to know if there is some documentation about the components Event Harness Cooperative Threading -- Wallison

Re: [nox-dev] nox 0.6 installation issue

2010-01-25 Thread Martin Casado
Looks to me like you may not have libtool installed. Running into problem installing nox 0.6: toroki-snac:/home/gershon# git clone git://noxrepo.org/nox Initialized empty Git repository in /home/gershon/nox/.git/ remote: Counting objects: 1283, done. remote: Compressing objects: 100%

Re: [nox-dev] nox core discovery

2010-01-25 Thread Martin Casado
Discovery only shows links between switches, not between switches and hosts. For that, you'll have to explore authenticator. Hi I am new with this module - I have switch setup and connected with flowvisor - and nox_core ran with discoveryws and discovery module. The switch also connected

Re: [nox-dev] Add own defined event and event handler

2010-01-25 Thread Martin Casado
In python, just use twisted. If you're using C++ you'll probably want to use the asynchronous event harness. Check out src/include/tcp-socket.hh. .m Hi, Sorry for unclear question. To be simple, do you know how to implement a thread socket server within component? Sincerely for your help

Re: [nox-dev] How to use Openflow 1.0.0 on NOX 0.6.0

2010-01-25 Thread Martin Casado
The compiled OpenFlow binary is pretty ancient. I would suggest compiling your own from either the stanford reference solution or Open vSwitch. Hi, KK , Thanks for your quick response :) I got NOX from git (git clone git://noxrepo.org/nox http://noxrepo.org/nox), and when I try to setup

Re: [nox-dev] Restrict access between hosts

2010-01-26 Thread Martin Casado
Pyswitch is a good place to start. All of the packet processing code is in nox/lib/packet/. In general you can iterate over the packet headers using .next. So packet.next should be the IP header. packet.next.next the tcp header and so on. Note that if VLANs are in play, they'll come in as

Re: [nox-dev] Vendor specific events

2010-01-26 Thread Martin Casado
Did you register an event converter in pycontext.cc? Hi, I added vendor_msg event in the nox core (attaching the patch, but not sure if its strictly required or if there is any work around). With that patch applied to nox 0.5.0, I wrote following callback in the pyswitch: code def

Re: [nox-dev] Restrict access between hosts

2010-01-26 Thread Martin Casado
Sure, if you specify no actions in a flow setup, all matching packets will be dropped. Hi, I saw the question of Muhammad Immad and your answer (Martin) and it helped me too. But I also would like to know what I could use to drop a specific kind of packet. There is a Nox compound that does

Re: [nox-dev] directoryws not on version 0.6

2010-01-26 Thread Martin Casado
need to run traffic ( example: having host1 ping host2) Thanks Thuymai *From:* Martin Casado cas...@nicira.com *To:* Chonduy Nguyen chond...@yahoo.com *Cc:* nox-dev@noxrepo.org *Sent:* Tue, January 26, 2010 12:47:57 PM

Re: [nox-dev] directoryws not on version 0.6

2010-01-26 Thread Martin Casado
*From:* Martin Casado cas...@nicira.com mailto:cas...@nicira.com *To:* Chonduy Nguyen chond...@yahoo.com mailto:chond...@yahoo.com *Cc:* nox-dev@noxrepo.org mailto:nox-dev@noxrepo.org *Sent:* Tue, January 26, 2010 12:47:57 PM

Re: [nox-dev] nox version

2010-01-26 Thread Martin Casado
) Is that mean the nox_core version that I get is really not 0.6 or the nox_core software didnot update version string correctly? Thanks Thuymai *From:* Martin Casado cas...@nicira.com *To:* Chonduy Nguyen chond

Re: [nox-dev] nox version

2010-01-26 Thread Martin Casado
*From:* Martin Casado cas...@nicira.com *To:* Chonduy Nguyen chond...@yahoo.com *Cc:* nox-dev@noxrepo.org; ppad...@docomolabs-usa.com *Sent:* Tue, January 26, 2010 5:54:51 PM *Subject:* Re: [nox-dev] nox version For 1.0 support

Re: [nox-dev] Full Topology

2010-01-27 Thread Martin Casado
components can give a full topology or not? Thanks Thuymai *From:* Martin Casado cas...@nicira.com *To:* Chonduy Nguyen chond...@yahoo.com *Cc:* nox-dev@noxrepo.org; ppad...@docomolabs-usa.com *Sent:* Tue, January 26, 2010 3

Re: [nox-dev] register event

2010-01-27 Thread Martin Casado
(self.ctxt) *From:* Martin Casado cas...@nicira.com *To:* Chonduy Nguyen chond...@yahoo.com *Cc:* nox-dev@noxrepo.org; ppad...@docomolabs-usa.com *Sent:* Tue, January 26, 2010 3:34:37 PM *Subject:* Re: [nox-dev] directoryws

  1   2   >