You can have multiple controllers, but I recommend starting with one and getting your setup working.
Sent from my iPhone On Jun 1, 2012, at 5:29 PM, Anthony Salim <[email protected]> wrote: > Hi Murphy, > > I solved that issue with the function addport on the mininet codes. Btw, if > there is limitation on mininet controllers, can it have two different > controllers? with different ports. I had already tried in their mailing list > but get no reply so far and here is the place where i get more response :). > Thanks. > > Regards, > Anthony > > On Sat, Jun 2, 2012 at 4:04 AM, Bob Lantz <[email protected]> wrote: > Hmm, there appears to be a lack of clarity regarding what a "switch port" > means and what "multiple controllers" actually means. > > But really this isn't a NOX issue, so you should try to clearly and > accurately describe the problem you are seeing and then post it to > mininet-discuss. > > [On a more NOX-related note I might mention that we are fixing the NOX > controller class in Mininet to make it work better, for example being able to > type mn --controller nox,pyswitch to have Mininet start up NOX with the > pyswitch module.] > > On Jun 1, 2012, at 11:41 AM, Murphy McCauley wrote: > >> I'm pretty sure that the last time I checked, Mininet only had partial >> support for multiple controllers. You might try asking on the >> mininet-discuss mailing list (or maybe someone else will jump in here). >> >> -- Murphy >> >> On Jun 1, 2012, at 4:19 AM, Anthony Salim wrote: >> >>> Hi Murphy, >>> >>> Yes i am using open vswitch and not physical switches. >>> >>> I just realised that if i run the topology from the examples folder in >>> mininet, it will not add switch ports to the created switches, whereas if i >>> run using the custom topology or sudo mn (any topology) it will add the >>> ports number to the switches. >>> >>> What i am trying to create is a topology with multiple switches with the >>> switch ports so whenever a flow comes in , i can go to that particular >>> switch and see the flow table. >>> >>> Now i have created the custom topology however it only runs one controller. >>> Any way i can do two controllers like multiple controllers in mininet >>> examples? i tried to call the class controller and add one more controller >>> but it says could not find the object controller. What do i miss here? >>> Thanks. >>> >>> Regards, >>> Anthony >>> >>> On Fri, Jun 1, 2012 at 10:19 AM, Murphy McCauley >>> <[email protected]> wrote: >>> On May 30, 2012, at 11:32 PM, Anthony Salim wrote: >>>> Thanks for the command however it shows port 0,1,2 and 3 and when i type >>>> dpctl show tcp:127.0.0.1:0 or 1 or 2 or 3 it says connection refused. Any >>>> idea why? Thanks. >>> >>> I think we may be miscommunicating here. Are you talking about TCP ports >>> or switch ports (like ethernet ports)? >>> >>> More to the point: what is it that you're trying to accomplish? >>> >>> Lastly, which switch are you using with Mininet? Open vSwitch? The >>> reference switch? >>> >>> -- Murphy >>> >> > >
