Skip to content

Commit

Permalink
fix: lif template should use unique instanceKeys (#2393)
Browse files Browse the repository at this point in the history
* fix: lif template should use unique instanceKeys

Fixes: #2392
  • Loading branch information
cgrinds authored Oct 3, 2023
1 parent d46c5e2 commit a5690fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions conf/rest/9.12.0/lif.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ query: api/network/ip/interfaces
object: lif

counters:
- ^^ip.address => address
- ^^name => lif
- ^^svm.name => svm
- ^ip.address => address
- ^ipspace.name => ipspace
- ^location.home_node.name => home_node
- ^location.home_port.name => home_port
Expand All @@ -19,16 +19,17 @@ counters:
endpoints:
- query: api/private/cli/network/interface
counters:
- ^^address => address
- ^^lif
- ^^vserver => svm
- ^data_protocol => protocols

export_options:
instance_keys:
- address
- lif
- svm
instance_labels:
- address
- home_node
- home_port
- ipspace
Expand Down
4 changes: 2 additions & 2 deletions conf/zapi/cdot/9.8.0/lif.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ object: lif

counters:
net-interface-info:
- ^^address => address
- ^^interface-name => lif
- ^^vserver => svm
- ^address => address
- ^current-node => node
- ^current-port => port
- ^home-node => home_node
Expand All @@ -24,10 +24,10 @@ collect_only_labels: true

export_options:
instance_keys:
- address
- lif
- svm
instance_labels:
- address
- home_node
- home_port
- ipspace
Expand Down

0 comments on commit a5690fe

Please sign in to comment.