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] Questions about Mininet

ibrahim menem ibrahimmun at hotmail.com
Thu May 24 12:43:05 PDT 2012


Hi,

You can save your time following the new tutorial here : http://www.openflow.org/wk/index.php/OpenFlow_Tutorial
with the new VM : http://www.openflow.org/downloads/OpenFlowTutorial-101311.zip

Thanks


> Date: Thu, 24 May 2012 07:56:07 -0400
> From: WEM19 at pitt.edu
> To: mininet-discuss at mailman.stanford.edu
> Subject: [mininet-discuss] Questions about Mininet
> 
> Hi,
> 
> I have some questions about running customized topology in mininet.
> 
> I download OpenFlowVM from
> http://www.openflow.org/downloads/OpenFlowTutorial-081910.vmware.zip
> and run it in VMware Station.
> 
> Then, I create a file called homework1b.topo.py, and place it in the
> folder ~/mininet/custom/
> Here is the content:
> 
> from mininet.net import Mininet
> from mininet.node import Controller
> from mininet.cli import CLI
> from mininet.log import setLogLevel, info
> 
> def homework1b():
>     "Create a network with three switches and five hosts."
> 
>     net = Mininet( controller=Controller )
> 
>     info( '*** Adding controller\n' )
>     net.addController( 'c0' )
> 
>     info( '*** Adding hosts\n' )
>     h1 = net.addHost( 'h1', ip='10.0.0.1' )
>     h2 = net.addHost( 'h2', ip='10.0.0.2' )
> 
>     info( '*** Adding switch\n' )
>     s1 = net.addSwitch( 's1' )
>     s2 = net.addSwitch( 's2' )
>     s3 = net.addSwitch( 's3' )
> 
>     info( '*** Creating links\n' )
>     h1.linkTo( s1 )
>     s1.linkTo( s2 )
>     s2.linkTo( s3 )
>     h2.linkTo( s3 )
> 
>     info( '*** Starting network\n' )
>     net.start()
> 
>     info( '*** Running CLI\n' )
>     CLI( net )
> 
>     info( '*** Stopping network' )
>     net.stop()
> 
> if __name__ == '__main__':
>     setLogLevel( 'info' )
>     homework1b()
> 
> 
> In VM console, I use command
> sudo python ~/mininet/custom/homework1b_topo.py
> 
> Then, message showed like this:
> *** Removing openvswitch_mod
> *** Loading ofdatapath
> Error inserting ofdatapath – is it installed and available via modprobe?
> Error was: “FATAL: Module ofdatapath not found.”
> Failed to insert ofdatapath – quitting.
> 
> My questions are:
> 1. Where did I do wrong?
> 2. Am I missing module ofdatapath? If so, how should I install it?
> 3. How should I know this Mininet is the newest version? And how to update
> it to the newest version?
> 4. How should I know NOX installed is the newest version? And how to
> update it to the newest version?
> 
> Looking forward to hearing from you.
> Thank you very much.
> 
> Weiyun Mao
> wem19 at pitt.edu
> 
> _______________________________________________
> 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: <https://mailman.stanford.edu/mailman/private/mininet-discuss/attachments/20120524/6ce27af4/attachment.html>


More information about the mininet-discuss mailing list