Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-06-03 Thread Balaji Venkataraman
Thanks for your reply. I'll try with ofctl and will seek out for help if I'm not able to progress. -Balaji On Thu, Jun 2, 2011 at 1:14 PM, Kyriakos Zarifis kyr.zari...@gmail.comwrote: Hey, I'm actually not sure that there's a general model, it depends a lot on _when_ you want to install

[nox-dev] How to change a Flow destination in a nox component

2011-06-03 Thread Ricardo Bennesby
Hi all. I would like some help in how can I change the destination of a flow that arrives on nox controller before send it back to switch. For example, I want that in a network with three hosts, when a host 1 pings to host 2, the component (switch.cc) makes the datapath forward it to host 3. If I

[nox-dev] Instance of an application

2011-06-03 Thread Paulo César
Hi, I am trying to get a instance of an application and send it to another controller. The class Context seems to provide what I was looking for: class Context { public: ... /* Find a component and return a pointer to its instance. Returns 0 if not found. */ virtual

Re: [nox-dev] How to change a Flow destination in a nox component

2011-06-03 Thread Murphy McCauley
The switch component is an L2 learning switch, so it makes its decisions based on ethernet addresses. It makes this decision for every new flow, but only based on the ethernet address. Once the decision is made, an exact match flow is installed (if I recall correctly) that will direct that

Re: [nox-dev] Instance of an application

2011-06-03 Thread Murphy McCauley
Every NOX component (which is a class that inherits from Component) holds a pointer to its context in the ctxt field. This happens through Component's constructor. So within your component, you should be able to do something like... ... = ctxt-get_by_name(Some Other Component Name); .. and get

Re: [nox-dev] How to change a Flow destination in a nox component

2011-06-03 Thread Ricardo Bennesby
Hi Murphy. Thank you very much for help. Interesting. I will consider the ethernet addresses to change the destination, once the component is a L2 switch. Any results I post a feedback here. Regards. 2011/6/3 Murphy McCauley jam...@nau.edu The switch component is an L2 learning switch, so it