Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. 66 bgp = []
  2. 67 return bgp
  3. 68
  4. 69 def execute(self):
  5. 70
  6. 71 # Get portchannels
  7. 72 portchannel_members = {}
  8. 73 ==> for pc in self.scripts.get_portchannel():
  9. 74 i = pc["interface"]
  10. 75 t = pc["type"] == "L"
  11. 76 for m in pc["members"]:
  12. 77 portchannel_members[m] = (i, t)
  13. 78
  14. 79 # Get L3 interfaces
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement