From 49766c7417fb0d6117e9e9ad889b489ac1bdfd63 Mon Sep 17 00:00:00 2001 From: hardikl Date: Thu, 28 Nov 2024 18:40:41 +0530 Subject: [PATCH] feat: adding ifgrp api to fetch ifgrp labels in net_port --- conf/rest/9.12.0/netport.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/conf/rest/9.12.0/netport.yaml b/conf/rest/9.12.0/netport.yaml index 6c367c7c8..f46b35bfd 100644 --- a/conf/rest/9.12.0/netport.yaml +++ b/conf/rest/9.12.0/netport.yaml @@ -29,6 +29,16 @@ endpoints: - ^flowcontrol_admin => admin_flowcontrol - ^role => role - ^speed_admin => admin_speed +# This is ifgrp(lag) type of ports, subset of above port api. It would only append below labels when key matches. + - query: api/private/cli/network/port/ifgrp + counters: + - ^^ifgrp => port + - ^^node => node + - ^activeports => activeports + - ^distr_func => ifgrp_func + - ^down_ports => down_ports + - ^ports => ports + - ^up_ports => up_ports plugins: LabelAgent: