Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 66 bgp = []
- 67 return bgp
- 68
- 69 def execute(self):
- 70
- 71 # Get portchannels
- 72 portchannel_members = {}
- 73 ==> for pc in self.scripts.get_portchannel():
- 74 i = pc["interface"]
- 75 t = pc["type"] == "L"
- 76 for m in pc["members"]:
- 77 portchannel_members[m] = (i, t)
- 78
- 79 # Get L3 interfaces
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement