====== IMA Dynamic Cache Demo ====== * http://localhost/wiki/doku.php?id=work_dai_labor:projects:imovefan:imovefan_ws:openstack_odl:odl_tutorial:dlux_dev&#start_hacking ====== IMA Dlux Development ====== * http://localhost/wiki/doku.php?id=work_dai_labor:projects:imovefan:imovefan_ws:openstack_odl:odl_tutorial:dlux_dev&s[]=dlux&s[]=bootstrap * http://localhost/wiki/doku.php?id=work_dai_labor:projects:imovefan:imovefan_ws:openstack_odl:odl_tutorial:odl_operation&#mininet * http://localhost/wiki/doku.php?id=work_dai_labor:projects:imovefan:imovefan_ws:openstack_odl:dmm:ima-controller * http://localhost/wiki/doku.php?id=work_dai_labor:projects:imovefan:imovefan_ws:openstack_odl:odl_tutorial:odl_operation&s[]=websocket ====== Mininet ====== * Mininet CCnx: https://github.com/chesteve/mn-ccnx/wiki/Node-Classes * ====== Interaction with Mininet ====== Interaction with Mininet (http://www.linux-magazine.com/index.php/layout/set/print/Issues/2014/162/Mininet/%28tagID%29/338) Mininet offers an extensive Python API [11], which you can use to control the overall behavior of each component. You can also use it to define the topology of the network, launch arbitrary processes on hosts, change the parameters of a network interface dynamically, and cycle switch ports off and back on again during emulation. To observe the behavior of a network in a dynamic environment, Mininet even lets you add additional switches, hosts, and network interfaces during an ongoing emulation. One special feature of Mininet is its interactive command-line (CLI) mode, which allows you to run commands on hosts while the emulation is running. Additionally, it lets you type and run Python code – for example, to change the network topology interactively. To see whether the OpenFlow controller you are using can cope with dynamically appearing computers, the following example adds a host named H3 to an existing network: # py net.addHost("H3") In the next step, you patch the host to S1, # py net.addLink( net.get("S1"),net.get("H3")) and enable the new interface on S1. To do this, you need to discover the name of the new interface: # py net.get("S1").intfList() [, , , ] Armed with the knowledge that the name is s1-eth3, you can now enable the Mininet interface: # py net.get("S1").attach("s1-eth3") Finally, you need to configure the IP address on H3: # py net.get('H3').cmd("ifconfig h3-eth0 10.0.0.3") Show method signature # py help(obj.method_name) # py help(net.get("S1").intfList()) # py dir(h1)