Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding ifgrp api to fetch ifgrp labels in net_port #3342

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions conf/rest/9.12.0/netport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down