diff --git a/sa/profiles/Huawei/MA5600T/get_interfaces.py b/sa/profiles/Huawei/MA5600T/get_interfaces.py index 88159dec3d4ee513964dcbf89895bc7661892108..8e258dd8555c39034c8876e640cdb36405c8e736 100644 --- a/sa/profiles/Huawei/MA5600T/get_interfaces.py +++ b/sa/profiles/Huawei/MA5600T/get_interfaces.py @@ -333,6 +333,7 @@ class Script(BaseScript): "oper_status": oper_status, "snmp_ifindex": ifindex, "enabled_protocols": [], + "hints": ["uplink"], "subinterfaces": [ { "name": ifname, @@ -374,8 +375,10 @@ class Script(BaseScript): for p_name, p in ports.items(): if self.is_gpon_uplink: ifindex = self.snmp_index("XG-PON", 0, slot, int(p["num"])) + hints = ["uplink"] else: ifindex = self.snmp_index("GPON", 0, slot, int(p["num"])) + hints = [] # ifname = "0/%d/%d" % (i, int(p["num"])) interfaces[p_name] = { "name": p_name, @@ -383,6 +386,7 @@ class Script(BaseScript): "snmp_ifindex": ifindex, "admin_status": True, "oper_status": p["state"], + "hints": hints, "subinterfaces": [ { "name": p_name,