diff --git a/sa/profiles/Generic/get_interfaces.py b/sa/profiles/Generic/get_interfaces.py index ec263768306c8ce0b41417fc8578797a10b55c3d..698551a433e8d1b2d0569f44414dfd84c132580e 100644 --- a/sa/profiles/Generic/get_interfaces.py +++ b/sa/profiles/Generic/get_interfaces.py @@ -295,6 +295,10 @@ class Script(BaseScript): if ifindex in ips: sub["enabled_afi"] = ["IPv4"] sub["ipv4_addresses"] = [IPv4(*i) for i in ips[ifindex]] + if ifindex in portchannels: + # For Juniper Aggregated Interface use unit - '.0' ifindex + interfaces[ifname]["aggregated_interface"] = ifaces[portchannels[ifindex]]["name"] + interfaces[ifname]["enabled_protocols"] = ["LACP"] if num.isdigit(): vlan_ids = int(sub["name"].rsplit(".", 1)[-1]) if is_vlan(vlan_ids):