Re: [nox-dev] RES: Messenger

2010-12-01 Thread kk yap
Hi Alexandre,

If I understand you right, you are looking for a C/C++ based client
for jsonmessenger?  I know the NOX side is a server side socket, but
the code should be similar.  Unfortunately, I do not know of any C/C++
client for the jsonmessenger.  Anyone who does can chip in.

Regards
KK

On 1 December 2010 19:25, Ricardo Bennesby  wrote:
> Hi, thank you for the answers.
> Alexandre, as KK suggested instead of looking in the build directory I
> searched in the ~/noxcore/src/nox/coreapps/messenger directory and there you
> can find jsonmessenger.cc, messenger.cc, messenger_core.cc, and others. Hope
> it helps you.
> Thank for help me.
> Regards.
>
> Ricardo Bennesby
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] RES: Messenger

2010-12-01 Thread Ricardo Bennesby
Hi, thank you for the answers.
Alexandre, as KK suggested instead of looking in the build directory I
searched in the ~/noxcore/src/nox/coreapps/messenger directory and there you
can find jsonmessenger.cc, messenger.cc, messenger_core.cc, and others. Hope
it helps you.
Thank for help me.
Regards.

Ricardo Bennesby
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] RES: RES: Messenger

2010-12-01 Thread Alexandre Passito
Hi KK,

Sorry, I mean another application written in C/C++ instead of nox-gui and
nox-console that are written in python.  I already tested these python apps
and trying to speed up thingswith messenger in case some app in C++ exists
in NOX (destiny or zaku).

Regards,

Alex

-Mensagem original-
De: yap...@gmail.com [mailto:yap...@gmail.com] Em nome de kk yap
Enviada em: quarta-feira, 1 de dezembro de 2010 22:08
Para: Alexandre Passito
Cc: Ricardo Bennesby; nox-dev@noxrepo.org
Assunto: Re: [nox-dev] RES: Messenger

Hi,

Ricardo, are you looking at the build directory?  Try the source directory.

Alexandre, nox-console and nox-gui communicates with jsonmessenger.
nox-gui can only be found in the destiny branch.  And nox-console is in
src/utilities.

Try to get the doxygen documentation, I tend to write things there.
Sorry, personal habit.

Regards
KK

On 1 December 2010 14:34, Alexandre Passito  wrote:
> Hi All,
>
>
>
> I was also looking for some application implemented using C/C++ 
> similar to nox-gui or nox-console (already understood) that 
> communicate with messenger/jsonmessenger  but I could not find it in 
> the nox code.  Am I missing something?
>
>
>
> Regards,
>
>
>
> Alex
>
>
>
>
>
> De: nox-dev-boun...@noxrepo.org [mailto:nox-dev-boun...@noxrepo.org] 
> Em nome de Ricardo Bennesby Enviada em: quarta-feira, 1 de dezembro de 
> 2010 20:17
> Para: nox-dev@noxrepo.org
> Assunto: [nox-dev] Messenger
>
>
>
> Hi all.
> I would like to use Messenger component to send a message from a host 
> to Nox and from Nox to a host. But the directory messenger has only 
> the following
> files:
> -messenger_core.la
> -messenger_core_la-messenger_core.lo
> -jsonmessenger.la
> -jsonmessenger_la-jsonmessenger.lo
> -messenger.la
> -messenger_la-messenger.lo
> -msgpacket.la
> -msgpacket_la-msgpacket.lo
> -meta.xml
> -Makefile
> Doesn't exists any C++ or Python messenger component as example or I 
> have to install / configure it? I am using VMWare and Nox 0.8.
> Best Regards.
>
> --
> Ricardo Bennesby da Silva
> Ciência da Computação - UFAM
> LabCIA - Laboratório de Computação Inteligente e Autonômica
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>


___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] RES: Messenger

2010-12-01 Thread kk yap
Hi,

Ricardo, are you looking at the build directory?  Try the source directory.

Alexandre, nox-console and nox-gui communicates with jsonmessenger.
nox-gui can only be found in the destiny branch.  And nox-console is
in src/utilities.

Try to get the doxygen documentation, I tend to write things there.
Sorry, personal habit.

Regards
KK

On 1 December 2010 14:34, Alexandre Passito  wrote:
> Hi All,
>
>
>
> I was also looking for some application implemented using C/C++ similar to
> nox-gui or nox-console (already understood) that communicate with
> messenger/jsonmessenger  but I could not find it in the nox code.  Am I
> missing something?
>
>
>
> Regards,
>
>
>
> Alex
>
>
>
>
>
> De: nox-dev-boun...@noxrepo.org [mailto:nox-dev-boun...@noxrepo.org] Em nome
> de Ricardo Bennesby
> Enviada em: quarta-feira, 1 de dezembro de 2010 20:17
> Para: nox-dev@noxrepo.org
> Assunto: [nox-dev] Messenger
>
>
>
> Hi all.
> I would like to use Messenger component to send a message from a host to Nox
> and from Nox to a host. But the directory messenger has only the following
> files:
> -messenger_core.la
> -messenger_core_la-messenger_core.lo
> -jsonmessenger.la
> -jsonmessenger_la-jsonmessenger.lo
> -messenger.la
> -messenger_la-messenger.lo
> -msgpacket.la
> -msgpacket_la-msgpacket.lo
> -meta.xml
> -Makefile
> Doesn't exists any C++ or Python messenger component as example or I have to
> install / configure it? I am using VMWare and Nox 0.8.
> Best Regards.
>
> --
> Ricardo Bennesby da Silva
> Ciência da Computação - UFAM
> LabCIA - Laboratório de Computação Inteligente e Autonômica
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] RES: Messenger

2010-12-01 Thread Alexandre Passito
Hi All,

 

I was also looking for some application implemented using C/C++ similar to
nox-gui or nox-console (already understood) that communicate with
messenger/jsonmessenger  but I could not find it in the nox code.  Am I
missing something?

 

Regards,

 

Alex

 

 

De: nox-dev-boun...@noxrepo.org [mailto:nox-dev-boun...@noxrepo.org] Em nome
de Ricardo Bennesby
Enviada em: quarta-feira, 1 de dezembro de 2010 20:17
Para: nox-dev@noxrepo.org
Assunto: [nox-dev] Messenger

 

Hi all.
I would like to use Messenger component to send a message from a host to Nox
and from Nox to a host. But the directory messenger has only the following
files:
-messenger_core.la
-messenger_core_la-messenger_core.lo
-jsonmessenger.la
-jsonmessenger_la-jsonmessenger.lo
-messenger.la
-messenger_la-messenger.lo
-msgpacket.la
-msgpacket_la-msgpacket.lo
-meta.xml
-Makefile
Doesn't exists any C++ or Python messenger component as example or I have to
install / configure it? I am using VMWare and Nox 0.8.
Best Regards.

-- 
Ricardo Bennesby da Silva
Ciência da Computação - UFAM
LabCIA - Laboratório de Computação Inteligente e Autonômica 

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] Messenger

2010-12-01 Thread Ricardo Bennesby
Hi all.
I would like to use Messenger component to send a message from a host to Nox
and from Nox to a host. But the directory messenger has only the following
files:
*-messenger_core.la
-messenger_core_la-messenger_core.lo
-jsonmessenger.la
-jsonmessenger_la-jsonmessenger.lo
-messenger.la
-messenger_la-messenger.lo
-msgpacket.la
-msgpacket_la-msgpacket.lo
-meta.xml
-Makefile*
Doesn't exists any C++ or Python messenger component as example or I have to
install / configure it? I am using VMWare and Nox 0.8.
Best Regards.

-- 
Ricardo Bennesby da Silva
Ciência da Computação - UFAM
LabCIA - Laboratório de Computação Inteligente e Autonômica
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Mapping flows to queues in openflow switch using NOX controller

2010-12-01 Thread Anand Bawiskar
Hi Murphy,

I could get the flows matched to queues, didn't try the patch you gave
though.

But I am facing issues in testing it with Iperf, please see if you can help
me:
1) My topology has 3 hosts and 1 switch. H3 listens on udp ports 5000 and
6000.
   H2 and H1 send traffic on 5000 and 6000 respectively at 500 Mbps. I am
using the software based siwtch
   provided in the openflow reference distribution
OpenFlowTutorial-081910.zip
.
2) I added following queues to switch:
dpctl add-queue tcp:localhost:6634 3 1 3 ==>  i assume this makes q1 = 3Mbps
for port 3
dpctl add-queue tcp:localhost:6634 3 2 7===> q2 = 7Mbps for port 3

2) I can see the flow entries were configured appropriately in the switch
using dpctl.
3) I can also see that the number of packets matched for these flows is as
desired.

When i see the results of Iperf, i can see the server bandwidth report shows
it recieves traffic at 160 to 180 Mbps
from H1 and H2 each. I am not sure what is the maximum bandwidth that port 3
supports but i tried values like
100,200,300,400,500 Mbps and see the cieling value at around 400 Mpbs.

Am i using wrong test scenario? Is there a way i can set the value for port
3 to a ceiling value of 100 Mbps?
Is queuing mechanism supported on openflow software switch present in
OpenFlowTutorial-081910.zip?


Thanks,
Anand


On Wed, Dec 1, 2010 at 1:25 AM, James "Murphy" McCauley wrote:

> This will get into destiny in the next day or so.  Here's a patch for
> zaku.  You should then be able to create the action with:
> actions = [[openflow.OFPAT_ENQUEUE, (port, queue_id)]]
>
> I haven't actually tried it.  Let me know how it works. :)
>
> -- Murphy
>
> On Mon, 2010-11-29 at 13:36 -0500, Anand Bawiskar wrote:
> >
> > Hi,
> >
> > I trying to implement QOS using openflow switch and NOX controller
> > wherein I am using
> > the queues configured at a particular port of openflow switch to queue
> > packets for different applications.
> > I use the dpctl tool for configuring the queues as:
> > dpctl add-queue tcp:localhost:6634 3 1 7
> > dpctl add-queue tcp:localhost:6634 3 2 3
> >
> >
> > My topology is:
> >
> > host2 -port1-| Switch | port3-queue1
> > |  host4
> > host3--port2-||
> > queue2|
> >
> >
> > I am trying to map the flow to queue in NOX controller as:
> >
> > actions = [[openflow.OFPAT_ENQUEUE, [0, prt[0],queuenum]]]
> >
> > queuenum is 1 or 2 depending on the application's destination port
> > number and i verified it is correct.
> >
> > The error i see is "Invalid action type 11" so i think there is
> > something wrong with above syntax.
> > Can you please tell me the proper syntax and way to map flows to
> > queues using NOX controller?
> >
> >
> > Thanks,
> >
> > Anand Bawiskar,
> >
> >
> >
> >
> >
> > ___
> > nox-dev mailing list
> > nox-dev@noxrepo.org
> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Query regarding routing protocol

2010-12-01 Thread Martin Casado
afaik this isn't possible today.  However a patch to return the K 
shortest paths would be fantastic.



Hi,

I am trying to modify that routing protocol implemented in the NOX controller to
obtain the second shortest path.

Is it feasible to obtain the second shortest path, such that, the flow
corresponding to the shortest path can me removed and the new flow be installed?

Regards,
Ramya Subramanian


___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org



___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Congestion

2010-12-01 Thread kk yap
iperf?  Just send a lot of traffic through.  That should work.

Regards
KK

On 1 December 2010 07:45, Rohit Manohar  wrote:
> Is there any way I can simulate congestion on a OpenFlow Network?
>
> Regards
> --
> Rohit Manohar
> Graduate Student
> North Carolina State University
> Raleigh, US.
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] Congestion

2010-12-01 Thread Rohit Manohar
Is there any way I can simulate congestion on a OpenFlow Network?

Regards
-- 
Rohit Manohar
Graduate Student
North Carolina State University
Raleigh, US.
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Issue regarding setting up Controller (Virtual Testing Environment)

2010-12-01 Thread kk yap
I see the errors on the switch side, but what about the NOX side?
What is the controller saying about the switch?  Is the switch
disconnecting or is the controller disconnecting the switch?  That's
critical for understanding what is happening.

Regards
KK

On 1 December 2010 03:22, Hasnat Ahmed <10msithah...@seecs.edu.pk> wrote:
> sorry yapkke , i did not get ur point.
>
> On Wed, Dec 1, 2010 at 11:57 AM, kk yap  wrote:
>>
>> What about the log from the NOX side of things?
>>
>> Regards
>> KK
>>
>> On 30 November 2010 22:49, Hasnat Ahmed <10msithah...@seecs.edu.pk> wrote:
>> > Hi , while creating a openflow network within a single pc I have
>> > verified
>> > successfully switch set up part but when tried to setup the controller
>> > portion. we are examing a issue. controller port (6663) is in listening
>> > mode
>> > (fine)but when we start the controller it will 1st show its status
>> > connected
>> > and then lose the connection and cannot reestablish the connection. so
>> > without holding the conntroller connectivity the simulation cant run.
>> >
>> > kindly see the attached pic.
>> >
>> > we are not getting out that why controller loses its connectivity.
>> >
>> >
>> >
>> >
>> >
>> >
>> > ___
>> > nox-dev mailing list
>> > nox-dev@noxrepo.org
>> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>> >
>> >
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org