Re: [nox-dev] monitoring usage error

2012-02-28 Thread Bernd Wittefeld
Hi, the resolve() function expects a string. You don't even need to import the monitoring stuff. inst.Monitoring = ctxt.resolve(nox.netapps.monitoring.monitoring.Monitoring) Of course you should ensure that the Monitoring module is resolvable, that means, it must be loaded by NOX either

Re: [nox-dev] monitoring usage error

2012-02-28 Thread Bernd Wittefeld
Hi, it complains about inst not being declared (it is of type None). You missed the inst = self in the __init__ method of your component. Maybe you should take a look at the pyswitch.py from coreapps/examples. Best regards Bernd On 28.02.2012 14:59, Baraki Halefom wrote: Thank you for

[nox-dev] DATABASE Network view (NOX)

2012-02-28 Thread marwen mechtri
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. otherwise how can I interface with NOX in order to look at the network view Thanks in advance, Best Regards, Marouen

[nox-dev] Best way to create ARP request

2012-02-28 Thread Gabe Bassett
What is the best way to do a quick ARP request? I'm writting a form of a switch, but it may need to do an arp request to find a single IP. I'm hoping theres a simple function I can call to do the request. The normal switch functionality should add the reply to the switch arp cache. Thanks

Re: [nox-dev] Best way to create ARP request

2012-02-28 Thread Aaron Rosen
Probably check this out: http://noxrepo.org/pipermail/nox-dev/2011-February/007223.html Aaron On Tue, Feb 28, 2012 at 12:56 PM, Gabe Bassett g...@theengineer.org wrote: What is the best way to do a quick ARP request?  I'm writting a form of a switch, but it may need to do an arp request to

[nox-dev] Nox Actions

2012-02-28 Thread Gabe Bassett
Thanks Aaron for the answer to the last question, I have another question about actions. Is there any clear documentation on how to execute specific actions? I undersand the general idea of the list of lists of actions, but am unclear on the actual actions and their variables. I'm trying to

Re: [nox-dev] Best way to create ARP request

2012-02-28 Thread Aaron Rosen
Looks good at first glance. Is it not working or something? Aaron On Tue, Feb 28, 2012 at 5:20 PM, Gabe Bassett g...@theengineer.org wrote: Does this look about right? HONEYPOT_PORT = 5 HONEYPOT_IP = 10.0.0.5 ARP_SOURCE_MAC = 00:00:00:00:00:10 ARP_DESTINATION_MAC = FF:FF:FF:FF:FF:FF

Re: [nox-dev] Nox Actions

2012-02-28 Thread Aaron Rosen
If your install a flow entry without any actions it should cause the datapath to drop the packet. If you check out core.py that would probably help to clarify but in general you do something like this if you want to perform rewrite: actions = [ [openflow.OFPAT_SET_DL_SRC,

Re: [nox-dev] Best way to create ARP request

2012-02-28 Thread Gabe Bassett
Haven't tested the arp code yet (gotta add the action code from the other issue first). I'll build off of what you suggested in the other email and try and wrap it all together. As a complete aside, my goal is to build an openflow switch that can do transparent redirect of attack traffic

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

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

[nox-dev] Help with NOX to OpenFlow messages

2012-02-28 Thread Elias Marti Paz-Rudolph
Hello,  I am in the beginning stages of implementing an OpenFlow network. I believe i have configured my switch correctly. I am trying to get NOX to send messages to the switch.  When i send dpctl dump-tables tcp:xxx.xx.xx.xxx:6633 i get a connection refused message back.  I am using NOX

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
This sounds like a switch configuration issue; you might try whatever support channels HP provides. Is NOX configured to listen for connections on whatever port you set the switches to connect to? -- Murphy On Feb 28, 2012, at 3:36 PM, Elias Marti Paz-Rudolph wrote: I am using HP ProCurve

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

2012-02-28 Thread Aaron Rosen
In order to configure the listener port on the HP you should do something like: openflow vlan listener ptcp:port Then you should be able to dpctl the switch. Though a word of warning, now everyone else can too :P . Aaron On Tue, Feb 28, 2012 at 7:05 PM, Murphy McCauley jam...@nau.edu wrote:

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

2012-02-28 Thread chenyangseamoon
Hi, I'd like to configure an OpenFlow network in in-band mode. Which document should I refre to? And if the OpenFlow network is configured in this mode how can each OFSwitch connect to the nox controller and how does NOX controller communicate to each OFSwitch?Is there any mechanism that allows

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

2012-02-28 Thread chenyangseamoon
Hi, I'd like to configure an OpenFlow network in in-band mode. Which document should I refre to? And if the OpenFlow network is configured in this mode how can each OFSwitch connect to the nox controller and how does NOX controller communicate to each OFSwitch?Is there any mechanism that allows

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

2012-02-28 Thread Aaron Rosen
Why would you think you could ssh to the controller on that port? Do you mean you can't dpctl that? You should be dpctl'ing the switch not the controller. Aaron On Tue, Feb 28, 2012 at 8:51 PM, Elias Paz nmeli...@unm.edu wrote: I've already done this.. openflow 9 ptcp:6633, The nox ip is

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

[nox-dev] how to simulating openflow MPLS ?

2012-02-28 Thread Andry Anthony
hi everyone, i need information to simulating MPLS in openflow , can anyone give me some referrence or tuttorial about it? thanks, Andry Anthony___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev