Beispiel #1
0
 def create_pc(self):
     """
     Create a basic PortChannel used as setup for test cases
     """
     if1 = Interface('eth1/8')
     if2 = Interface('eth1/5')
     pc = PortChannel('444')
     pc.attach(if1)
     pc.attach(if2)
     return pc
Beispiel #2
0
 def create_pc(self):
     """
     Create a basic PortChannel used as setup for test cases
     """
     if1 = Interface('eth1/8')
     if2 = Interface('eth1/5')
     pc = PortChannel('444')
     pc.attach(if1)
     pc.attach(if2)
     return pc
Beispiel #3
0
 def create_pc(self):
     """
     creates port channel and interface objects attach interfaces
     to the portchannel
     """
     if1 = Interface('eth1/8')
     if2 = Interface('eth1/5')
     pc = PortChannel('444')
     pc.attach(if1)
     pc.attach(if2)
     return pc