Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] Hierarchical switch network with remote floodlight controller

Bob Lantz rlantz at cs.stanford.edu
Wed Dec 4 14:59:12 PST 2013


The 'a' in your lambda is actually the controller name, which you're ignoring and replacing with 'c0'.
You can also use functools.partial.

On Dec 4, 2013, at 2:10 PM, George Clapp <george at clapp.org> wrote:

> Brian,
> 
> Thanks much.  I dropped the /16 and made a couple of other changes.  This code seems to work:
> from mininet.net import Mininet
> from mininet.node import RemoteController
> from mininet.cli import CLI
> from mininet.log import setLogLevel, info
> 
>     net = Mininet(controller=lambda a: RemoteController('c0', ip='10.0.15.254', port=6633),
>                   autoSetMacs=True, ipBase='10.0.15.0/8')
>     net.addController('c0')
> George
> 
> -------- Original Message --------
> Subject:	Re: [mininet-discuss] Hierarchical switch network with remote floodlight controller
> Date:	Wed, 4 Dec 2013 14:03:21 -0800
> From:	Brian O'Connor <bocon at cs.stanford.edu>
> To:	George Clapp <george at clapp.org>
> CC:	mininet-discuss at lists.stanford.edu&gt &lt <mininet-discuss at lists.stanford.edu>
> 
> Hi George, 
> 
> Try dropping the /16
> 
> - Brian
> 
> 
> On Wed, Dec 4, 2013 at 12:08 PM, George Clapp <george at clapp.org> wrote:
> I'm trying to build a hierarchical network with a remote floodlight controller that is running in a separate VM.  I modified the emptynet.py example to make a python script to create the network and am running the script in a terminal window.  I get this message while the script is running:
> 
>     Unable to contact the remote controller at 10.0.15.254/16:6633
> 
> But I'm able to ping the the remote controller VM from all of the mininet switches.  Any suggestions why the script can't contact the remote controller?
> 
> Many thanks,
> George
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
> 
> 
> 
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20131204/c23819aa/attachment.html>


More information about the mininet-discuss mailing list