3 from mininet.topo import Topo
4 from mininet.log import setLogLevel, info
5 # from mininet.node import Controller, RemoteController, OVSController
6 # from mininet.node import CPULimitedHost, Host, Node
7 # from mininet.node import OVSKernelSwitch, UserSwitch
8 # from mininet.node import IVSSwitch
9 # from mininet.cli import CLI
10 # from mininet.link import TCLink, Intf
11 # from subprocess import call
17 #Contructor de topologia custom
18 s4 = self.addSwitch('s4')
19 s2 = self.addSwitch('s2')
20 s3 = self.addSwitch('s3')
21 s1 = self.addSwitch('s1')
22 h8 = self.addHost('h8')
23 h4 = self.addHost('h4')
24 h6 = self.addHost('h6')
25 h1 = self.addHost('h1')
26 h5 = self.addHost('h5')
27 h2 = self.addHost('h2')
28 h3 = self.addHost('h3')
29 h7 = self.addHost('h7')
30 h9 = self.addHost('h9')
45 info('llegue al final de mitopo\n')
48 #topos = { 'TopoMia': ( lambda: MiTopo() ) }