3 Crea una topologia en bucle.
4 Este archivo es usado para crear una topologia donde se pueda mostrar STP
6 from mininet.topo import Topo
7 # from mininet.log import setLogLevel, info
8 # from mininet.node import Controller, RemoteController, OVSController
9 # from mininet.node import CPULimitedHost, Host, Node
10 # from mininet.node import OVSKernelSwitch, UserSwitch
11 # from mininet.node import IVSSwitch
12 # from mininet.cli import CLI
13 # from mininet.link import TCLink, Intf
14 # from subprocess import call
20 # Contructor de topologia custom
21 s1 = self.addSwitch('s1')
22 s2 = self.addSwitch('s2')
23 s3 = self.addSwitch('s3')
24 h1 = self.addHost('h1')
25 h2 = self.addHost('h2')
26 h3 = self.addHost('h3')
34 # info('llegue al final de mitopo\n')
36 # topos = { 'TopoMia': ( lambda: MiTopo() ) }