All event handlers in NOX *really* only get a single parameter -- an event
object.
The trick is that when you use a helper to register for the event, such as
self.register_for_packet_in(), it generates a new event handler function (with
a single parameter), which then breaks out some of values
Dear All,
I'm confused about how do arguments for method callback in component come
out.
For example, I register an event in install like
self.register_for_packet_in(packet_in_callback).
Then, I can do some stuff corresponding to packet_in_event in
packet_in_callback method.
My question
Hi All,
in the install function of pyswitch - I am starting a thread
[thread.start_new_thread ()], which makes a socket connection to another
server and sends some data every 1 second.
I am observing that the thread is started but cannot send the data every 1
second... it is not scheduled for
Using threads from within Python in NOX is basically out. You have a number of
other options.
If you just want to do something every second, maybe you can get away with
using your socket code and just scheduling a timer callback (pyswitch does this
to expire entries). You will have to be
Thanks Murphy. I add a timer based call back mechanism, as you suggested, to
schedule sending data on socket.
Just wanted to confirm one more thing:
Is creating my own lock using thread.allocate_lock() allowed or not ? Since,
you mentioned thread is not allowed.
I have a data structure which is
It's not allowed, but it shouldn't be a problem. Only one callback will be
called at a time, so you may not need any sort of lock at all. If you do need
something (because the data structure is in some limbo state between
callbacks), you can just use a variable as a flag.
-- Murphy
On Mar
Hello,
I developed a physical OpenFlow switch and I want to use Nox as a
controller. I want that any packet that have no entry in the flow table,
send it to Nox. I want that Nox answer by the corresponding entry
encapsulated in a packet ( I will specify the corresponding outgoing port
to the
Hi Omar,
There is cbench that does that evaluation. FYI.
Regards
KK
On 19 November 2010 13:19, Murphy McCauley jam...@nau.edu wrote:
My first thought is that you should do this measurement outside of NOX, for
example by sniffing the control connection.
-- Murphy
On Nov 19, 2010, at
I'm trying to understand discovery.py's use of lldp scanning. I'm
relatively new to python, but it looks like it only sends one lldp packet on
the network at a time (lines 315-350), but I can't figure out why this would
be. Since the lldp packets have no rule for forwarding, they should only
Because do you have only one controller and the controller have that send
and receive the LLDP packets for all (ports) OpenFlow switches. Do you can
to implement Python threads or multiple controller. But do you will have
many LLDP packets for treat at the some time. Was that?
Greetings,
Well, there are two things to consider:
1. If by scanning the network simultaneously you mean doing a
broadcast at every switch, then you will be a bit handicapped. That's
because when you do a broadcast, you have to send the same packet out
of every port and so your packet cannot carry the
Yes! Or you can change the parameters, to send more packets at less time:
LLDP_SEND_PERIOD = .10
TIMEOUT_CHECK_PERIOD = 5.
LINK_TIMEOUT = 10.
But, how said the Ali, you can overload the network/controller.
Hope that helps too.
Carlos Macapuna
www.macapuna.com.br
On Sun,
To be precise, what I want to do is iterate over all of the ports and send a
packet out of each of them, NOT broadcast - I understand that that wouldn't
work if I wanted to get specific port information. My reading of
discovery.py (which might not be right, again, I'm new to python) seems to
Ok, good, that's what I was hoping for. Thanks!
On Sun, Nov 14, 2010 at 5:44 PM, Martin Casado cas...@nicira.com wrote:
Would there be a problem with having multiple lldp packets on different
wires in the same network?
No, there would be no problem. The reason for the delay is to save
Check out routing. There is samplerouting in C/C++ and another one in Python.
Regards
KK
PS The latest branches have doxygen built in. You can see the
components under the class Component for the various applications that
come with NOX.
On 26 July 2010 07:47, Waqas Daar waqasd...@gmail.com
install slirp
And specifically, how can I check slirpvde running?
Thank you,
---Kate
-Original Message-
*From:* kk yapyap...@stanford.edu
*To:* 오하영be...@naver.com
*Cc:* nox-dev@noxrepo.org
*Sent:* 10-07-23(금) 14:40:25
*Subject:* Re: [nox-dev] Question about NOX and OF switch
Can you please flush the iptables rules on controller ma
$ sudo iptables -F
$ sudo route
Will tell you the routing table is present or not.
Its because of beasic network connectivity is not there between hosts, that
you use.
--
அன்புடன்
அருண்
|| நுட்பம் நம்மொழியில் தழைக்கச் செய்வோம் ||
Hi, my name is Kate.
I have a question about NOX and OF switch version.
If I use below command expressed in NOX homepage to install NOX,
git clone git://noxrepo.org/nox
Is the NOX version 0.6, right? So is it the controller compiled with OpenFlow
v1.0.?
But, when I tried next step (Setting Up a
Hi Kate,
Comments inline.
Regards
KK
2010/7/22 오하영 be...@naver.com
Hi, my name is Kate.
I have a question about NOX and OF switch version.
If I use below command expressed in NOX homepage to install NOX,
git clone git://noxrepo.org/nox
Is the NOX version 0.6, right? So is it the
Hi,
Even though I followed Setting Up a Virtual Testing Environment carefully in
Ubuntu, I couldn't connect btw NOX and OpenFlow like followings.
--OpenFlow--
.
.
Jul 22 22:18:23|00312|rconn|WARN|tcp:10.0.2.2:2525: connection dropped (No
route to host)
Jul 22
Is slirpvde running?
Regards
KK
2010/7/22 오하영 be...@naver.com
Hi,
Even though I followed Setting Up a Virtual Testing Environment carefully
in Ubuntu, I couldn't connect btw NOX and OpenFlow like followings.
--OpenFlow--
.
.
Jul 22
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
Hi,
I have narrowed out the error in the noxbox (downloaded from the
website) to the running of port1 scripts. I was able to get the box
working by running some post-mortem fixes. My apology for not
debugging the problem and fixing it.
Regards
KK
2008/10/16 kk yap [EMAIL PROTECTED]:
Hi,
I
23 matches
Mail list logo