Example #1
0
 def config_vlan(self):
     """
     Create a PortChannel and configure vlan on it
     """
     # Create one port channel
     pc1 = PortChannel('444')
     # Enable above created vlans on the port channel
     pc1.set_access_vlan('vlan-111')
     return pc1
Example #2
0
 def config_vlan(self):
     # Create one port channel
     pc1 = PortChannel('444')
     # Enable above created vlans on the port channel
     pc1.set_access_vlan('vlan-111')
     return pc1