Re: [nox-dev] For help

2012-03-01 Thread Murphy McCauley
I'm not clear on what you want to do… What do you mean by the local machine? The controller? Where do you want to output them? Out of an ethernet adapter? -- Murphy On Mar 1, 2012, at 2:43 AM, bbs wrote: Hi, I want to let the packets send to the local machine, how could I write the

Re: [nox-dev] For help

2012-03-01 Thread Murphy McCauley
-switch, I didn't know how to write the actions list( using python), Is the following right? actions = [[openflow.OFPAT_OUTPUT, [0, OFPP_LOCAL]]] Thank you for your replay! John 在 2012-03-01 21:54:23,Murphy McCauley jam...@nau.edu 写道: I'm not clear on what you want to do… What do

[nox-dev] IMPORTANT: noxrepo.org service outage is forthcoming

2012-03-01 Thread Murphy McCauley
Sometime in the next few days, you may have trouble connecting to noxrepo.org and there may be problems with the mailing list and git repositories. Hopefully this will be quite short-lived, but I wanted to give a heads up that this is liable to occur. If you have problems, you might want to

Re: [nox-dev] Help with NOX to OpenFlow messages

2012-02-28 Thread Murphy McCauley
OpenFlow version 2.02 doesn't mean anything to me. What kind of switches are you using? What IP address are you using with dpctl? The switch? In general, switches make active connections (they initiate a connection to the controller/NOX), so it's not listening on port 6633. Sometimes

Re: [nox-dev] Help with NOX to OpenFlow messages

2012-02-28 Thread Murphy McCauley
, Murphy McCauley jam...@nau.edu wrote: OpenFlow version 2.02 doesn't mean anything to me. What kind of switches are you using? What IP address are you using with dpctl? The switch? In general, switches make active connections (they initiate a connection to the controller/NOX), so it's

Re: [nox-dev] How to configure an OpenFlow network in in-band mode?

2012-02-28 Thread Murphy McCauley
There are multiple ways that you can set up in-band control, and I believe support varies depending on the specific type of switch you're using, so you will probably get a better response by asking the specific switch vendor. (By the way, your message was posted to the list like five or six

Re: [nox-dev] ports statistics questions

2012-02-18 Thread Murphy McCauley
) self.register_for_aggregate_stats_in(self.aggregate_stats_in_handler) Thank you! Diana On Fri, Feb 17, 2012 at 2:14 PM, Murphy McCauley jam...@nau.edu wrote: What type of switch are you using, and are you sure that it's reporting the ports correctly? I assume your ssh

Re: [nox-dev] NOX requires OpenSSL

2012-02-09 Thread Murphy McCauley
Do you have the openssl-devel package installed? -- Murphy On Feb 9, 2012, at 1:51 AM, Prashanth Prahalad wrote: Hi Folks, I'm seeing this error when running ../configure on Centos. I did see some other threads with similar issues here

Re: [nox-dev] FW: Nox question

2012-02-04 Thread Murphy McCauley
So the parameters for the packet_in callback are: dpid, inport, reason, len, bufid, packet The last one is an ethernet object from src/nox/lib/packet/ethernet.py. For IP packets, this ethernet object will then reference an ipv4 object which then might reference a tcp object. So for example,

Re: [nox-dev] how to use own controller in custom topology

2012-01-31 Thread Murphy McCauley
This seems to be much more of a mininet question than a NOX question, and you should probably be asking about it somewhere else. For example, there is a mininet mailing list at: https://mailman.stanford.edu/mailman/listinfo/mininet-discuss That said, the problem here is that the value you pass

Re: [nox-dev] Receiving JSON messages

2012-01-25 Thread Murphy McCauley
application. Thank you. Regards, Giorgio On 24/01/2012 13:49, Murphy McCauley wrote: The minimum to get up and going should be something like this: 1) In your component's install function: from nox.coreapps.messenger.pymsgevent import JSONMsg_event

Re: [nox-dev] Error while running nox_core

2012-01-21 Thread Murphy McCauley
That fix is actually buggy. :) A better one is in the destiny branch, which is very, very close to being the stable branch. -- Murphy On Jan 21, 2012, at 11:44 AM, Maciej Gałkiewicz wrote: Have anyone implemented a fix for http://noxrepo.org/pipermail/nox-dev/2010-November/006685.html? I

Re: [nox-dev] ERR:application 'pyswitch' descritpion not found

2012-01-21 Thread Murphy McCauley
I imagine this means you're not running destiny, which you may want to consider unless you have a specific reason to use the zaku branch. This almost certainly means that Python is disabled in your build. The most common reasons for this are that you didn't have Twisted or SWIG installed.

Re: [nox-dev] nox api development

2012-01-18 Thread Murphy McCauley
So my first thought is to wonder what happens if you try with wildcards = 0x... -- Murphy On Jan 18, 2012, at 11:19 PM, edward wilson wrote: hi, Currently im using NOX 0.9.0(zaku)~full~beta (nox_core), compiled Jan 3 2012 15:21:13 Compiled with OpenFlow 0x01 Now i have

Re: [nox-dev] Python API buffer_id None problems

2012-01-17 Thread Murphy McCauley
Can you please show us the code you are using to call send_openflow()? -- Murphy On Jan 17, 2012, at 1:40 AM, Peter Peresini wrote: Hi developers. It seems that there is an inconsistency in python API (destiny branch) for using buffer_id. Namely, send_openflow documentation states that

Re: [nox-dev] Python API buffer_id None problems

2012-01-17 Thread Murphy McCauley
=inport) Kind regards Peter On Tue, Jan 17, 2012 at 11:42 AM, Murphy McCauley jam...@nau.edu wrote: Can you please show us the code you are using to call send_openflow()? -- Murphy On Jan 17, 2012, at 1:40 AM, Peter Peresini wrote: Hi developers. It seems

Re: [nox-dev] need support for these features in NOX

2012-01-16 Thread Murphy McCauley
on NOX site so I used 0.9 zaku. Thanks Regards, Sheili Mittal From: Murphy McCauley [mailto:jam...@nau.edu] Sent: 16 January 2012 09:22 To: Sheili Mittal Cc: nox-dev@noxrepo.org Subject: Re: [nox-dev] need support for these features in NOX The most recent branch is destiny

Re: [nox-dev] NOX for 64 bit

2012-01-16 Thread Murphy McCauley
destiny is routinely run on both 32 and 64 bit systems. -- Murphy On Jan 16, 2012, at 12:52 AM, Sheili Mittal wrote: Hi, Can you please confirm are the branch available on git (0.9 zaku) and destiny supported for 64 bit machine also? Are the version we downloading from git is for 32bit

Re: [nox-dev] NOX for 64 bit

2012-01-16 Thread Murphy McCauley
Please confirm for NOX 0.9 zaku as well? Regards, Sheili From: Murphy McCauley [mailto:jam...@nau.edu] Sent: 16 January 2012 14:29 To: Sheili Mittal Cc: nox-dev@noxrepo.org Subject: Re: [nox-dev] NOX for 64 bit destiny is routinely run on both 32 and 64 bit systems. -- Murphy

Re: [nox-dev] questions regarding OFPAT_STRIP_VLAN

2012-01-16 Thread Murphy McCauley
Do you mean support creating flows using the OFPAT_STRIP_VLAN, OFPAT_SET_NW_SRC, OFPAT_SET_NW_DST, and OFPAT_SET_NW_TOS action types? If so, all of these should be available if you are using the destiny branch. -- Murphy On Jan 16, 2012, at 8:15 AM, Alexander Cheskis wrote: Dear All,

Re: [nox-dev] attribute '_handleSigchld'

2012-01-16 Thread Murphy McCauley
I believe you can safely just remove the offending line from pyoxidereactor (the signal.signal(signal.SIGCHLD, self._handleSigchld) one). If not, the current version of pyoxidereactor (from the destiny branch) should fix this in a way which doesn't require you to modify your system's Twisted

Re: [nox-dev] Error while installing NOX on Fedora release 14

2012-01-15 Thread Murphy McCauley
mentioned in your mails. I already had boost-devel and boost-system. What should I do now? Thanks, Dushyant - Original Message - From: John Meylor mey...@incntre.iu.edu To: Dushyant Arora dushy...@cs.princeton.edu Cc: nox-dev@noxrepo.org, Murphy McCauley jam...@nau.edu

Re: [nox-dev] need support for these features in NOX

2012-01-15 Thread Murphy McCauley
The most recent branch is destiny. -- Murphy On Jan 15, 2012, at 7:49 PM, Sheili Mittal wrote: Hi, I am using NOX 0.9 zaku, following is not supporting in this, Can anyone please confirm in which branch of NOX all the following supported:- 1) Action Enqueue 2) Flow

Re: [nox-dev] Recieved LLDP packet from unconnected switch

2012-01-14 Thread Murphy McCauley
I'd suggest that you don't skip to zaku but skip to destiny instead. If you still have this problem in destiny, can you please tell us about your setup? Like switch types (ProCurve?), whether you are using FlowVisor, etc.? -- Murphy On Jan 14, 2012, at 7:31 AM, Theophlius Benson wrote: I'm

Re: [nox-dev] Topology component and FlowVisor.

2012-01-12 Thread Murphy McCauley
There have been some changes to logging. Use -v -v. -- Murphy On Jan 12, 2012, at 10:10 AM, Sergio Jiménez Feijóo wrote: Hi Aaron, I have moved to the destiny branch and compiled everything again. The topology component seems to work fine (I can see new link detected messages in the

Re: [nox-dev] features-reply without features-request

2012-01-11 Thread Murphy McCauley
I can't speak as to the particulars of the reference switch (you might try one of the OpenFlow mailing lists). However, the spec does state that part of the handshake sequence is that the controller sends a features request when a connection is established. I don't see this in your sequences

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

2012-01-10 Thread Murphy McCauley
-send-cmd.py but for recv() function, I can’t find example. How can I use recv() functionof messenger.py?? Thanks, Harshil From: Murphy McCauley [mailto:jam...@nau.edu] Sent: Wednesday, December 21, 2011 4:47 PM To: Harshil Anil Kumar Shah Cc: Kyriakos Zarifis; nox-dev@noxrepo.org

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

2012-01-09 Thread Murphy McCauley
06:11, Murphy McCauley 提到: Ah, of course, you must be running a 32 bit version. We should fix this (maybe by replacing hex(n) with 0x%x % (n,)). Thanks for humoring me. -- Murphy On Jan 5, 2012, at 2:03 AM, wunyuan wrote: Hi, The answers are as follows: 於 2012/1/5 下午 05:46

Re: [nox-dev] extract_flow not consistent with install_datapath_flow?

2012-01-09 Thread Murphy McCauley
Thanks for the report. Since matching on IP addresses in ARPs is an optional switch feature, I don't think it's 100% clear what the function should do, but I don't object to the idea that it should probably just extract the addresses. I'll add it to my queue. -- Murphy On Jan 9, 2012, at

Re: [nox-dev] nox api support for openflow 1.0 spec operation

2012-01-09 Thread Murphy McCauley
Item #1: flowtracer and monitoring both do per flow statistics. You might want to examine how they do it (they use pylibopenflow to craft an OpenFlow message). Item #2: As I mentioned in response to your previous message, you must be using the destiny branch of NOX (not zaku) to use

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

2012-01-05 Thread Murphy McCauley
I'm a bit surprised. Can you try /usr/bin/python -V? What OS / distro are you using? -- Murphy On Jan 5, 2012, at 1:35 AM, wunyuan wrote: Hi, My python version is 2.7.1+. $~/wunyuan/oringinal_nox/destiny/nox/src$ python -V Python 2.7.1+ Thanks! 於 2012/1/5 下午 05:26, Murphy

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

2012-01-05 Thread Murphy McCauley
Ah, of course, you must be running a 32 bit version. We should fix this (maybe by replacing hex(n) with 0x%x % (n,)). Thanks for humoring me. -- Murphy On Jan 5, 2012, at 2:03 AM, wunyuan wrote: Hi, The answers are as follows: 於 2012/1/5 下午 05:46, Murphy McCauley 提到: I'm a bit

Re: [nox-dev] NOX API development

2012-01-05 Thread Murphy McCauley
Responses inline. On Jan 5, 2012, at 5:10 AM, Amit Tewari wrote: If I use openflow.OFPFC_MODIFY flag in send_flow_command, it gives me error-“invalid action type” Something like the following should let you modify flows: from util import set_match from nox.coreapps.pyrt.pycomponent import

Re: [nox-dev] Must each switch connect to nox controller?

2012-01-04 Thread Murphy McCauley
The machine running NOX does not need to be *directly* connected to the switches; it just needs to be able to reach them. So you could build a separate control network out of standard L2 switches or routers or whatever which allows all OpenFlow switches to be accessed from a single port.

Re: [nox-dev] something about the working mechanism of NOX

2012-01-04 Thread Murphy McCauley
#1: When a switch gets a packet that doesn't correspond to an entry in the flow tables, it will generally buffer it and associate this buffer with an opaque buffer identifier. It will then send a packet_in message to the controller that includes the buffer ID and *part* of the packet data

Re: [nox-dev] Error on importing nox/netapps/monitoring.py

2011-12-29 Thread Murphy McCauley
Are you also running the monitoring component, either on the commandline before your component or by adding it as a dependency in your component's meta.json? -- Murphy On Dec 29, 2011, at 10:25 PM, Dushyant Arora wrote: Hello, I have created a NOX application NOXSwitch.py which calls

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

2011-12-21 Thread Murphy McCauley
at C++ module. -Harshil. From: Murphy McCauley [mailto:jam...@nau.edu] Sent: Wednesday, December 21, 2011 1:38 AM To: Harshil Anil Kumar Shah Cc: Kyriakos Zarifis; nox-dev@noxrepo.org Subject: Re: [nox-dev] Nox messenger example for external c++ and nox python Do you mean that you

Re: [nox-dev] Running nox with a pcap file as input

2011-12-21 Thread Murphy McCauley
If I recall correctly, this is enabled or disabled automatically during configure based on whether the pcap header and/or library can be found. On Ubuntu, you should be good if you have... I think it's libpcap-dev installed. If you don't, please install it and then re-run configure. If you

Re: [nox-dev] NOX UnicodeDecodeError in nox/coreapps/pyrt/pyoxidereactor.py

2011-12-20 Thread Murphy McCauley
It looks like some Python component is trying to log something unprintable. Is your prrt module in Python? Does it do any logging? Is that the full stack trace that you pasted? It'd be nice to see where emit() was being called from. If you just want a quick fix, you could try just commenting

Re: [nox-dev] meta.json syntax and importing files in Python

2011-12-16 Thread Murphy McCauley
Some of this is at least lightly documented on the wiki: http://noxrepo.org/noxwiki/index.php/Developing_in_NOX (Please feel free to extend it!) There's a bit more info about the meta files in the FAQ:

Re: [nox-dev] what is the difference between pyswitch and routing module?

2011-12-15 Thread Murphy McCauley
No. The situation is as I described -- the routing module is really more like a network-wide L2 switch than anything else. It's possible to implement some L3 routing functionality in NOX as Srini mentions in the referenced email. However, there's at least one thing that IP routers do which

Re: [nox-dev] Running Error on nox.json

2011-12-15 Thread Murphy McCauley
Hi; maybe you can provide a bit more information. What OS/version are you running on? What steps did you use to configure, build, and run NOX? -- Murphy On Dec 15, 2011, at 2:45 PM, Peng Sun wrote: Hi, I encountered an error when running NOX. The error is: ERR: Unable to find a

Re: [nox-dev] Watch inside the IP Option field with Openflow

2011-12-15 Thread Murphy McCauley
Well, this depends on what you mean. There is no way in the OpenFlow 1.0 spec to have matches against an IP option. However, if you are installing exact-match flows for TCP or UDP connections and the first packet of the connection will have the option set, then you may be able to do what you

Re: [nox-dev] how to display network topology timely

2011-12-15 Thread Murphy McCauley
Friday, December 2,2011 At 2011-11-29 03:01:56,Murphy McCauley jam...@nau.edu wrote: I think the attachment is being scrubbed. Maybe you can send an image? Though offhand, I don't know what I can tell you. What do mean by unreachable

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

2011-12-15 Thread Murphy McCauley
examined which api to send arp reply by using of Nox(zaku) in C++, and I get a hint from attached Nox sample code switch.cc. The hint is Packet_in_event... Then I want to tell you how to get packet data from Packet_in_event instance. Please give me a hint! Murphy McCauley jam...@nau.edu wrote

Re: [nox-dev] Running Error on nox.json

2011-12-15 Thread Murphy McCauley
- etc/nox.json Peng On Thu, Dec 15, 2011 at 5:50 PM, Murphy McCauley jam...@nau.edu wrote: Hi; maybe you can provide a bit more information. What OS/version are you running on? What steps did you use to configure, build, and run NOX? -- Murphy On Dec 15, 2011, at 2:45 PM

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

2011-12-15 Thread Murphy McCauley
, ethPacket, sizeof(ethPacket)); memcpy(data + sizeof(ethPacket), arpPacket, sizeof(arpPacket)); Array_buffer buffer(data,size); // data will be deleted automatically send_openflow_packet(dpid, buffer, port, OFPP_LOCAL, true); } } === end === Murphy McCauley jam...@nau.edu wrote

Re: [nox-dev] how to add flow through NOX

2011-12-12 Thread Murphy McCauley
There's no simple manual way to add a flow using NOX -- you must write code in C++ or Python to add flows. However, you could certainly write a NOX component that accepts user input and uses it to add flows. Hope that helps. -- Murphy On Dec 12, 2011, at 10:48 AM, Shan Hu wrote: Hi All,

Re: [nox-dev] error compiling...

2011-12-07 Thread Murphy McCauley
What platform are you trying to compile on, and which branch of NOX? Have you tried the destiny branch? -- Murphy On Dec 7, 2011, at 1:39 AM, Prashanth Prahalad wrote: Just getting started with nox controller. During compilation (make -j 5) I'm seeing this error :

Re: [nox-dev] Cannot find packages or modules imported in Graph_Topology.py (NOX destiny)

2011-12-05 Thread Murphy McCauley
This file is ancient and I don't think it has ever worked with a public release of NOX. It is probably in there by mistake and we've never noticed. I'd suggest you look at the existing GUI if you want a graph. If you really want to get that thing going... discovery is now

Re: [nox-dev] unable to create new app in nox

2011-12-05 Thread Murphy McCauley
I'm not sure if this is a bug or a feature, but if you check try_newapp's meta.json file, you'll see that the actual component name is try newapp (with a space) and not try_newapp (with an underscore). If you try running: ./nox_core -v -l ptcp:789 try newapp .. it should work. It might be a

Re: [nox-dev] help: link_type

2011-12-01 Thread Murphy McCauley
I'm not an LAVI expert, but I believe the only types are all, sw2sw and host2sw. -- Murphy On Dec 1, 2011, at 12:48 AM, ztom wrote: Hi~ alls, I need to get all link_types of topo's jsonmsg, but i just find two of them (all sw2sw). Is there some docs about it? I can't get any hint from

Re: [nox-dev] Why does NOX Destiny version lack of SQLite3 database support??

2011-11-30 Thread Murphy McCauley
It was removed several years ago... I think just because nothing in NOX itself was using it. What do you want to use it for? If you just want to use sqlite for your own component to keep data, you can just include it yourself... -- Murphy On Nov 30, 2011, at 6:45 AM, dongxia pan wrote: hi,

Re: [nox-dev] Modify the packet's header in Openflow Switch(Router)

2011-11-29 Thread Murphy McCauley
callback? Thank you for your favor. Best Regards - Hyogi 2011/11/29 Murphy McCauley jam...@nau.edu This depends on exactly what you mean, though I wonder if you are operating under a misconception. If you use NOX to install a flow with, for example, an OFPAT_SET_DL_DST action

Re: [nox-dev] Spanning Tree Module

2011-11-29 Thread Murphy McCauley
AFAIK, this should work. Have you actually inspected the switches? Are the relevant ports actually getting NOFLOOD set? -- Murphy On Nov 29, 2011, at 7:54 AM, Bernd Wittefeld wrote: Hi, first of all: thanks for your great work and the really good support here. I have a small problem and I

Re: [nox-dev] Modify the packet's header in Openflow Switch(Router)

2011-11-28 Thread Murphy McCauley
This depends on exactly what you mean, though I wonder if you are operating under a misconception. If you use NOX to install a flow with, for example, an OFPAT_SET_DL_DST action to set the ethernet address... the actual work of rewriting the packet header happens on the switch. It's only the

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

2011-11-28 Thread Murphy McCauley
I don't think I've ever used it, but have you taken a look at include/netinet++/arp.hh? -- Murphy On Nov 25, 2011, at 1:54 AM, Kimihiko FUKAMI wrote: Hi, Currently, I can not send an ARP Reply by using of Nox(zaku) in C++ code. # I can write a code to reply ARP in python. So, I

Re: [nox-dev] Information on Controller Open Flow in general

2011-11-22 Thread Murphy McCauley
Maybe some of these resources will be useful? Wiki: http://noxrepo.org/noxwiki/index.php/Main_Page Slightly dated NOX presentation: https://docs.google.com/present/view?id=dfsbt2qf_327f9688ngr Doxygen: http://noxrepo.org/~yapkke/doc/ Hope that helps. -- Murphy On Nov 22, 2011, at 8:43 AM,

Re: [nox-dev] Flow hard timeout

2011-11-19 Thread Murphy McCauley
Sorry, but it's in seconds. (See ofp_flow_mod in the OpenFlow spec.) -- Murphy On Nov 19, 2011, at 6:30 AM, andrea simeoni wrote: Hi guys, Does the flow hard timeout must be an integer number of seconds? I'm trying to set it to 0.5 ms but i get that it is set to the default value. Thank

Re: [nox-dev] import error

2011-11-16 Thread Murphy McCauley
I don't really know anything about mobilevms, and I suspect this may be one of the cases where SWIG is misleading about what's going on. But for starters, why don't you try... ./nox_core -v -v -i ptcp:6633 spanning_tree mobilevms -- Murphy On Nov 16, 2011, at 4:37 AM, 王健 wrote: Hello

Re: [nox-dev] what is the difference between pyswitch and routing module?

2011-11-11 Thread Murphy McCauley
except that i changed command on controller to: ./nox_core -ptcp:6633 routing, the rate is not limited at all. I thought it might be the routing module problem since the rate is limited with pyswitch. Shan - Original Message - From: Murphy McCauley jam...@nau.edu To: Shan Hu

Re: [nox-dev] what is the difference between pyswitch and routing module?

2011-11-10 Thread Murphy McCauley
work with routing component.What reason could it be? And another question,where can i find all the modules of NOX?There are not much in the noxwiki.Or, those in noxwiki already include all existing modules? regards, Shan - Original Message - From: Murphy McCauley jam...@nau.edu

Re: [nox-dev] Switches crash when inserting OFPP_CONTROLLER actions

2011-11-08 Thread Murphy McCauley
How do the switches crash? With an assertion about insufficient buffer headroom or something? Or about a bad buffer ID (are you applying multiple actions?)? Or do they just segfault? Feel free to send along a capture of the OpenFlow traffic between NOX and the switch (along with the NOX and

Re: [nox-dev] co-thread starving?

2011-11-05 Thread Murphy McCauley
Are you using co_sleep() to do the sleeping? -- Murphy On Nov 4, 2011, at 11:35 PM, danderson415 wrote: Hi, I am wondering how co-threads works. I create a co-thread in my component which just loop 100 times and sleep 100 ms and call co_yield() in the loop. If I run nox with my

Re: [nox-dev] a code problem about “util.py”

2011-11-03 Thread Murphy McCauley
A function in Python is a first class object. In the code below, f is defined inside of gen_datapath_join_callback, and you get a new f. Since a function is just an object, gen_datapath_join_callback then adds a new property to f -- the cb property. Inside f, this property is accessed. I

Re: [nox-dev] a code problem about “util.py”

2011-11-03 Thread Murphy McCauley
The definition of register_handler is in pycontext.cc in pyrt. It's exposed to Python via SWIG. -- Murphy On Nov 2, 2011, at 10:14 PM, hzy wrote: the code problem I have solved after I looked the python books about function. but, when I look the codes in the core.py. def

Re: [nox-dev] what is the difference between pyswitch and routing module?

2011-11-03 Thread Murphy McCauley
pyswitch is intended to be a very simple demo and does something along the lines of making each switch in the network a standalone L2 learning switch. Each switch gets no insight about the topology from its neighbors. routing actually uses a global view of the topology, and can just generate

Re: [nox-dev] Error building dev/destiny-fast branch

2011-10-26 Thread Murphy McCauley
This branch is quite a bit behind the actual development. We're preparing to release the updated codebase in the near future. But for one thing, Python doesn't work in it. So you probably need to do --with-python=no when you run configure. Hope that helps. -- Murphy On Oct 25, 2011, at

Re: [nox-dev] meta.xml converts to meta.json

2011-10-26 Thread Murphy McCauley
To use it, you just do something like: python nox-convert-meta.py meta.xml meta.json But here's the result: { components: [ { python: nox.netapps.mobilevms.mobilevms, dependencies: [ python, pyrouting, pyauthenticator ], name: mobilevms

Re: [nox-dev] Sending UDP traffic in openflow network

2011-10-26 Thread Murphy McCauley
You'll probably find more help for this on the ovs-discuss mailing list. Good luck! -- Murphy On Oct 26, 2011, at 5:34 PM, Shan Hu wrote: Hi guys, Im trying to test the Qos Rate-Limiting of Kernel vSwitch, i use iperf as my measurement tool. Everything is working fine with TCP part,that

Re: [nox-dev] NOX cannot be compiled in Ubuntu 11.10?

2011-10-22 Thread Murphy McCauley
From: Murphy McCauley [jam...@nau.edu] Sent: Friday, October 21, 2011 7:39 PM To: Heryandi Cc: nox-dev@noxrepo.org Subject: Re: [nox-dev] NOX cannot be compiled in Ubuntu 11.10? Patches to fix this link error and to make us compatible with Boost 1.46 have been pushed

Re: [nox-dev] NOX cannot be compiled in Ubuntu 11.10?

2011-10-22 Thread Murphy McCauley
ago in destiny... Well, there is no other reason for me to use zaku other than because it is the stable branch... Thanks for the help so far, Murphy. Regards, Heryandi From: Murphy McCauley [jam...@nau.edu] Sent: Saturday, October 22, 2011 2:28

Re: [nox-dev] NOX cannot be compiled in Ubuntu 11.10?

2011-10-21 Thread Murphy McCauley
is too new, therefore I changed it to 1.42. I can provide the 'make' log message with boost 1.46 if needed. Regards, Heryandi -Original Message- From: Murphy McCauley [mailto:jam...@nau.edu] Sent: Thursday, October 20, 2011 4:52 PM To: Heryandi Cc: nox-dev@noxrepo.org

[nox-dev] The status of NOX

2011-10-21 Thread Murphy McCauley
support were ill-informed and may have caused a bit of undue concern, and we hope this note clarifies the situation. We remain interested in your feedback, stand ready to fix any problems you find, and are excited to keep the project moving forward. Murphy McCauley Martin Casado Kyriakos Zarifis

Re: [nox-dev] NOX cannot be compiled in Ubuntu 11.10?

2011-10-20 Thread Murphy McCauley
I believe I fixed this in the destiny branch some time ago. Give that a shot? -- Murphy On Oct 20, 2011, at 1:32 AM, Heryandi wrote: Hi all, I have previously compiled NOX successfully in ubuntu 10.04. Now, I am trying to compile NOX zaku in my ubuntu 11.10 VM, but it doesn't work. All

Re: [nox-dev] Sending Entire packet to NOX contoller

2011-10-17 Thread Murphy McCauley
The problem is that this isn't true anymore. Since OpenFlow 0.9 or 1.0, you should set it to 0x instead of 0. 0 does exactly what it seems like it should -- send 0 bytes of data. -- Murphy On Oct 17, 2011, at 4:39 AM, ali ahmad wrote: Hi all, I have a query that how we can instruct

Re: [nox-dev] Bugs in the send_openflow_command(..) and send_openflow_packet(..)

2011-10-17 Thread Murphy McCauley
Assuming you're installing a route along multiple switches, all of them except maybe one should probably have an empty (0x) buffer_id. This doesn't seem like it should be the problem. I can't even hazard a guess without knowing more about the situation. What version of NOX are you

Re: [nox-dev] How use send_openflow_packet(indpid, pie.buffer_id, const ofp_action_header actions[] ...)

2011-10-17 Thread Murphy McCauley
On first glance, yes, that looks correct. Then just cast arrbuff.data() to the appropriate type and pass it as the actions parameter. -- Murphy On Oct 17, 2011, at 5:28 AM, andrea simeoni wrote: Hi guys, I'm trying to instruct a switch to send a buffered packet out of a port. Then I'm

Re: [nox-dev] Bugs in the send_openflow_command(..) and send_openflow_packet(..)

2011-10-17 Thread Murphy McCauley
a little question more: When I configure the action OFPP_CONTROLLER using ofp_action, is there a way to tell the switch to send the whole packet to the controller, using the ofp_action::set_action_output()? Thank you very much 2011/10/17 Murphy McCauley jam...@nau.edu Assuming you're

Re: [nox-dev] using scapy with nox

2011-10-13 Thread Murphy McCauley
From the second listing, I think line 7 can be something like: e = Ether(packet.arr.tostring()) (which is much more efficient and straightforward) -- Murphy On Oct 13, 2011, at 3:48 PM, Javier Liendo wrote: hi experts... i know it is of really bad etiquette answering over you own email,

Re: [nox-dev] Accessing TCP sequence numbers on packet-in-events

2011-10-11 Thread Murphy McCauley
It's not quite as developed as the Python packet library, but take a look in include/netinet++. -- Murphy Hi guys, I'm writing a C++ component that needs to access the TCP sequence number of a packet upon packet-in-event notification. Is there an high level function that simplifies such

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

2011-10-10 Thread Murphy McCauley
AttributeError: 'NoneType' object has no attribute 'dic_all_path' any ideas. best regards. hzy 2011/10/9 Murphy McCauley jam...@nau.edu So, the discovery component is a class named discovery in a module named discovery in a package named discovery. So it's

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

2011-10-10 Thread Murphy McCauley
Whoops. I meant: def getInterface (self): return str(my_router) Sorry about that! -- Murphy On Oct 10, 2011, at 7:51 AM, Murphy McCauley wrote: So first off, maybe you have a reason, but in general, the hope is that you should have no reason to modify discovery.py. Rather than modify

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

2011-10-10 Thread Murphy McCauley
to deal with Link_event in my component? Best regards. hzy 2011/10/10 Murphy McCauley jam...@nau.edu Whoops. I meant: def getInterface (self): return str(my_router) Sorry about that! -- Murphy On Oct 10, 2011, at 7:51 AM, Murphy McCauley wrote: So first off, maybe you

Re: [nox-dev] Configuring a NOX component

2011-10-07 Thread Murphy McCauley
For Python components, it takes a single parameter, which is a dictionary. That dictionary has a key called arguments, which then holds the commandline arguments that were specified along with the component. I think the webserver component has an example of this. I can't remember if a way to

Re: [nox-dev] A question about network.graph.hh

2011-10-06 Thread Murphy McCauley
.. do you mean uint16_t? KK is the one to ask, but I believe this is the port number -- I believe the pair is: (port-number, next-hop-out-that-port) -- Murphy On Oct 6, 2011, at 5:28 AM, andrea simeoni wrote: Hi guys, I'm using the hop struct defined in the file network-graph.hh. I was

Re: [nox-dev] Setting up a Flowmod in several Openflow switches at once.

2011-10-05 Thread Murphy McCauley
The buffer_id isn't required. Set it to -1 on the switches that aren't the one that it originated from. This could be clearer in the spec, but it's in there. Also, you might want to take a look at the routing components in NOX (e.g., sprouting), since installing flows along an optimal path is

Re: [nox-dev] Getting Actions From Events in Python

2011-10-05 Thread Murphy McCauley
wrote: Hi Derek, did you succeed in implementing the to_python() for the action list in flow_stats? Does someone have a patch for this issue? Thanks, Christian On Fri, Jan 28, 2011 at 11:51, James Murphy McCauley jam...@nau.edu wrote: Yeah, I think this looks like the right

Re: [nox-dev] Asking to run app with nox

2011-10-02 Thread Murphy McCauley
I'm butting in here, but the reason that you can't find nox-new-py-app.py is undoubtedly because you're using the zaku branch. Please use the destiny branch instead. For recent versions of git, just do git checkout destiny in the top directory after cloning. -- Murphy On Oct 2, 2011, at

Re: [nox-dev] OpenFlow error: invalid action type 11

2011-09-30 Thread Murphy McCauley
This may not be that helpful, but the code you've shown looks right to me. You might try looking at it on the wire using Wireshark, but I suspect it will look fine and that the problem is with the switch (which I know nothing about). -- Murphy On Sep 29, 2011, at 7:36 PM, Ali Sydney wrote:

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

2011-09-28 Thread Murphy McCauley
I think in this case, the other program is another instance of NOX being run simultaneously. :) So the last suggestion applies. The commandline to start the second instance should be something like: ./nox_core -v -i ptcp:6635 jsonmessenger=tcpport=2704 spanning_tree routing -- Murphy On Sep

Re: [nox-dev] Matching flows on port numbers

2011-09-28 Thread Murphy McCauley
I'd suggest that the first thing you do is examine the traffic from the controller to the switch. Wireshark with the OpenFlow dissector is the easiest way to do this. Take a look at the flow_mod on the wire and see if it looks like you think it should (whether tp_src and tp_dst are set right,

Re: [nox-dev] Unable to include route/routeinstaller.hh

2011-09-27 Thread Murphy McCauley
Could you please post your config.log? -- Murphy On Sep 27, 2011, at 7:49 AM, andrea simeoni wrote: Hi guys, I have created a C++ component under the netapps folder. The component name is TrafficMonitor, and it needs to exploit some functionalities of the routeinstaller component. The

Re: [nox-dev] Where I have to place my custom classes?

2011-09-25 Thread Murphy McCauley
You need to add the other files to your component's Makefile.am, and then rerun boot.sh and configure (you may be able to skip configure; I can't remember). The hoststate component is a nice clean example of a C++ component consisting of multiple source files. -- Murphy On Sep 25, 2011, at

Re: [nox-dev] Debugging call for help: Assertion '_M_ptr != 0'

2011-09-23 Thread Murphy McCauley
rather than write everything on your own. For example, messenger does binary messages on a TCP connection already, and it uses cooperative thread---so that should help. Regards KK On 22 September 2011 22:48, Murphy McCauley jam...@nau.edu wrote: I think this is a race condition because you're

Re: [nox-dev] command to drop the packet

2011-09-22 Thread Murphy McCauley
to controller, just wait for controller reply. May be after some timeout, openflow switch may drop the packet (from buffer) by default but this may give chance to buffer becoming full. Is this true in this context? thanks, --- On Thu, 22/9/11, Murphy McCauley jam...@nau.edu wrote

Re: [nox-dev] Undefined symbol error running a NOX application. Compiling a NOX app with a linker flag.

2011-09-22 Thread Murphy McCauley
In src/Makefile.am, around line 46 is something like: nox_core_LDFLAGS = \ Throw -lglpk in there too: nox_core_LDFLAGS = -lglpk \ Then re-run boot.sh in the top directory, and hopefully that'll do it. -- Murphy On Sep 22, 2011, at 8:33 AM, Sergio Jiménez Feijóo

Re: [nox-dev] Debugging call for help: Assertion '_M_ptr != 0'

2011-09-22 Thread Murphy McCauley
I think this is a race condition because you're calling send_openflow_packet() from a non-cooperative thread. I think your best bet is probably to rewrite your server thread as a cooperative thread. There are other options... you could have queue which is consumed by a simple cooperative

Re: [nox-dev] Running NOX on VmWare

2011-09-19 Thread Murphy McCauley
I don't think we have enough information to answer your question. Which ARP messages are you talking about? What machine are they coming from and what are they asking for? And what's your purpose here? Are you going to add more VMs and connect them to virtual ports on VM2? (As you've

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

2011-09-18 Thread Murphy McCauley
I'm not aware of any incompatibility between NOX and this particular switch, though I am not one of the most likely to know about such problems. However, OpenFlow error type 3 code 0 indicates that the flow table is full... maybe your table is just full? -- Murphy On Sep 18, 2011, at 5:51 PM,

  1   2   3   4   >