Re: [nox-dev] Sample application that is interactive
Hi KK, After looking at tablog. Want to see if I am understanding the mechanisms correctly. 1. nox-console (in nox/src/scripts) formats JSON messages and sends them to the NOX server 2. the jsonmessenger component will receive these messages and create msg events 3. tablog's handle_msg_event will trigger and do its stuff So to write an interactive application, I will: 1. change nox-console (or write a new one that formats JSON messages) to send out my custom commands 2. change jsonmessenger(?) 3. write the appropriate event handler in my nox component to do my stuff. Is my understanding correct? Sorry if the question seems too basic. Ian Ku On Wed, Aug 25, 2010 at 1:35 PM, kk yap wrote: > Hi Ian, > > Look at tablog in the destiny branch. It takes an input using > nox-console and rotate the log files. > > Regards > KK > > On 25 August 2010 13:31, Ian Ku wrote: >> Hi, >> >> Thanks! >> The question then is if there are any sample apps that takes simple >> user inputs?(to see how it works with the event system of NOX) If not >> then I guess I will figure how to do that myself and/or look at how >> the demos does it:) >> Thanks again for the quick responses~ >> >> Ian >> >> On Wed, Aug 25, 2010 at 1:04 PM, Srini Seetharaman >> wrote: >>> Hi Ian >>> A few demos are public: >>> http://www.openflowswitch.org/wk/index.php/OpenRoads_%28n-casting%29 >>> http://www.openflowswitch.org/wk/index.php/Aggregation >>> >>> They all use the OpenFlow GUI: >>> http://www.openflowswitch.org/wp/gui/ >>> >>> But depending on what exactly you're looking for, it might be simplest >>> if you start from scratch with a controller app that takes simple >>> keyboard input. >>> >>> Srini. >>> >>> On Wed, Aug 25, 2010 at 12:52 PM, Ian Ku wrote: Hi KK, Thanks for the quick response! Are those demos currently open for download? If so, what are they called and where can I take a look at them:) SNAC is probably not an option now since I still need to change the logic of my own NOX component, and was wondering if there is a way I can let the component do different things based on some user input. Thanks again:) Ian On Wed, Aug 25, 2010 at 12:17 PM, kk yap wrote: > Hi Ian, > > We have constructed demos that interact with the demos. Or you can > look at SNAC. > > Regards > KK > > PS>> I am wondering what is the correct mailing list for this > question, since nox-dev is really mainly used by NOX developers. > > On 25 August 2010 10:22, Ian Ku wrote: >> Hi all, >> >> I was wondering if there is any sample application that is >> interactive, i.e. a application that accepts user input to add/remove >> flow entries. >> If no, are there any suggestions/guild-lines in which how such an >> application can be done? >> Thanks! >> >> Ian Ku >> >> ___ >> 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 mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] Sample application that is interactive
Hi KK, Ok I will do that! Thanks for the pointer :) Ian On Wed, Aug 25, 2010 at 1:35 PM, kk yap wrote: > Hi Ian, > > Look at tablog in the destiny branch. It takes an input using > nox-console and rotate the log files. > > Regards > KK > > On 25 August 2010 13:31, Ian Ku wrote: >> Hi, >> >> Thanks! >> The question then is if there are any sample apps that takes simple >> user inputs?(to see how it works with the event system of NOX) If not >> then I guess I will figure how to do that myself and/or look at how >> the demos does it:) >> Thanks again for the quick responses~ >> >> Ian >> >> On Wed, Aug 25, 2010 at 1:04 PM, Srini Seetharaman >> wrote: >>> Hi Ian >>> A few demos are public: >>> http://www.openflowswitch.org/wk/index.php/OpenRoads_%28n-casting%29 >>> http://www.openflowswitch.org/wk/index.php/Aggregation >>> >>> They all use the OpenFlow GUI: >>> http://www.openflowswitch.org/wp/gui/ >>> >>> But depending on what exactly you're looking for, it might be simplest >>> if you start from scratch with a controller app that takes simple >>> keyboard input. >>> >>> Srini. >>> >>> On Wed, Aug 25, 2010 at 12:52 PM, Ian Ku wrote: Hi KK, Thanks for the quick response! Are those demos currently open for download? If so, what are they called and where can I take a look at them:) SNAC is probably not an option now since I still need to change the logic of my own NOX component, and was wondering if there is a way I can let the component do different things based on some user input. Thanks again:) Ian On Wed, Aug 25, 2010 at 12:17 PM, kk yap wrote: > Hi Ian, > > We have constructed demos that interact with the demos. Or you can > look at SNAC. > > Regards > KK > > PS>> I am wondering what is the correct mailing list for this > question, since nox-dev is really mainly used by NOX developers. > > On 25 August 2010 10:22, Ian Ku wrote: >> Hi all, >> >> I was wondering if there is any sample application that is >> interactive, i.e. a application that accepts user input to add/remove >> flow entries. >> If no, are there any suggestions/guild-lines in which how such an >> application can be done? >> Thanks! >> >> Ian Ku >> >> ___ >> 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 mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] Sample application that is interactive
Hi Ian, Look at tablog in the destiny branch. It takes an input using nox-console and rotate the log files. Regards KK On 25 August 2010 13:31, Ian Ku wrote: > Hi, > > Thanks! > The question then is if there are any sample apps that takes simple > user inputs?(to see how it works with the event system of NOX) If not > then I guess I will figure how to do that myself and/or look at how > the demos does it:) > Thanks again for the quick responses~ > > Ian > > On Wed, Aug 25, 2010 at 1:04 PM, Srini Seetharaman > wrote: >> Hi Ian >> A few demos are public: >> http://www.openflowswitch.org/wk/index.php/OpenRoads_%28n-casting%29 >> http://www.openflowswitch.org/wk/index.php/Aggregation >> >> They all use the OpenFlow GUI: >> http://www.openflowswitch.org/wp/gui/ >> >> But depending on what exactly you're looking for, it might be simplest >> if you start from scratch with a controller app that takes simple >> keyboard input. >> >> Srini. >> >> On Wed, Aug 25, 2010 at 12:52 PM, Ian Ku wrote: >>> Hi KK, >>> >>> Thanks for the quick response! >>> Are those demos currently open for download? If so, what are they >>> called and where can I take a look at them:) >>> SNAC is probably not an option now since I still need to change >>> the logic of my own NOX component, and was wondering if there is a way >>> I can let the component do different things based on some user input. >>> Thanks again:) >>> >>> Ian >>> >>> On Wed, Aug 25, 2010 at 12:17 PM, kk yap wrote: Hi Ian, We have constructed demos that interact with the demos. Or you can look at SNAC. Regards KK PS>> I am wondering what is the correct mailing list for this question, since nox-dev is really mainly used by NOX developers. On 25 August 2010 10:22, Ian Ku wrote: > Hi all, > > I was wondering if there is any sample application that is > interactive, i.e. a application that accepts user input to add/remove > flow entries. > If no, are there any suggestions/guild-lines in which how such an > application can be done? > Thanks! > > Ian Ku > > ___ > 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 mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] Sample application that is interactive
Hi, Thanks! The question then is if there are any sample apps that takes simple user inputs?(to see how it works with the event system of NOX) If not then I guess I will figure how to do that myself and/or look at how the demos does it:) Thanks again for the quick responses~ Ian On Wed, Aug 25, 2010 at 1:04 PM, Srini Seetharaman wrote: > Hi Ian > A few demos are public: > http://www.openflowswitch.org/wk/index.php/OpenRoads_%28n-casting%29 > http://www.openflowswitch.org/wk/index.php/Aggregation > > They all use the OpenFlow GUI: > http://www.openflowswitch.org/wp/gui/ > > But depending on what exactly you're looking for, it might be simplest > if you start from scratch with a controller app that takes simple > keyboard input. > > Srini. > > On Wed, Aug 25, 2010 at 12:52 PM, Ian Ku wrote: >> Hi KK, >> >> Thanks for the quick response! >> Are those demos currently open for download? If so, what are they >> called and where can I take a look at them:) >> SNAC is probably not an option now since I still need to change >> the logic of my own NOX component, and was wondering if there is a way >> I can let the component do different things based on some user input. >> Thanks again:) >> >> Ian >> >> On Wed, Aug 25, 2010 at 12:17 PM, kk yap wrote: >>> Hi Ian, >>> >>> We have constructed demos that interact with the demos. Or you can >>> look at SNAC. >>> >>> Regards >>> KK >>> >>> PS>> I am wondering what is the correct mailing list for this >>> question, since nox-dev is really mainly used by NOX developers. >>> >>> On 25 August 2010 10:22, Ian Ku wrote: Hi all, I was wondering if there is any sample application that is interactive, i.e. a application that accepts user input to add/remove flow entries. If no, are there any suggestions/guild-lines in which how such an application can be done? Thanks! Ian Ku ___ 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 mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] Sample application that is interactive
Hi Ian A few demos are public: http://www.openflowswitch.org/wk/index.php/OpenRoads_%28n-casting%29 http://www.openflowswitch.org/wk/index.php/Aggregation They all use the OpenFlow GUI: http://www.openflowswitch.org/wp/gui/ But depending on what exactly you're looking for, it might be simplest if you start from scratch with a controller app that takes simple keyboard input. Srini. On Wed, Aug 25, 2010 at 12:52 PM, Ian Ku wrote: > Hi KK, > > Thanks for the quick response! > Are those demos currently open for download? If so, what are they > called and where can I take a look at them:) > SNAC is probably not an option now since I still need to change > the logic of my own NOX component, and was wondering if there is a way > I can let the component do different things based on some user input. > Thanks again:) > > Ian > > On Wed, Aug 25, 2010 at 12:17 PM, kk yap wrote: >> Hi Ian, >> >> We have constructed demos that interact with the demos. Or you can >> look at SNAC. >> >> Regards >> KK >> >> PS>> I am wondering what is the correct mailing list for this >> question, since nox-dev is really mainly used by NOX developers. >> >> On 25 August 2010 10:22, Ian Ku wrote: >>> Hi all, >>> >>> I was wondering if there is any sample application that is >>> interactive, i.e. a application that accepts user input to add/remove >>> flow entries. >>> If no, are there any suggestions/guild-lines in which how such an >>> application can be done? >>> Thanks! >>> >>> Ian Ku >>> >>> ___ >>> 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 mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] Sample application that is interactive
Hi KK, Thanks for the quick response! Are those demos currently open for download? If so, what are they called and where can I take a look at them:) SNAC is probably not an option now since I still need to change the logic of my own NOX component, and was wondering if there is a way I can let the component do different things based on some user input. Thanks again:) Ian On Wed, Aug 25, 2010 at 12:17 PM, kk yap wrote: > Hi Ian, > > We have constructed demos that interact with the demos. Or you can > look at SNAC. > > Regards > KK > > PS>> I am wondering what is the correct mailing list for this > question, since nox-dev is really mainly used by NOX developers. > > On 25 August 2010 10:22, Ian Ku wrote: >> Hi all, >> >> I was wondering if there is any sample application that is >> interactive, i.e. a application that accepts user input to add/remove >> flow entries. >> If no, are there any suggestions/guild-lines in which how such an >> application can be done? >> Thanks! >> >> Ian Ku >> >> ___ >> 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] Sample application that is interactive
Hi Ian, We have constructed demos that interact with the demos. Or you can look at SNAC. Regards KK PS>> I am wondering what is the correct mailing list for this question, since nox-dev is really mainly used by NOX developers. On 25 August 2010 10:22, Ian Ku wrote: > Hi all, > > I was wondering if there is any sample application that is > interactive, i.e. a application that accepts user input to add/remove > flow entries. > If no, are there any suggestions/guild-lines in which how such an > application can be done? > Thanks! > > Ian Ku > > ___ > 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] Sample application that is interactive
Hi all, I was wondering if there is any sample application that is interactive, i.e. a application that accepts user input to add/remove flow entries. If no, are there any suggestions/guild-lines in which how such an application can be done? Thanks! Ian Ku ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org