Skip to content

Commit

Permalink
fix: svm with private cli (#1465)
Browse files Browse the repository at this point in the history
* fix: svm with private cli

* fix: svm change
  • Loading branch information
Hardikl authored Nov 14, 2022
1 parent 1577ebe commit 75f8dbd
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions conf/rest/9.12.0/svm.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
# As private cli api would provide all svms(but system) which we would need for our use-case, So using private api instead of public.

name: SVM
query: api/svm/svms
query: api/private/cli/vserver
object: svm

counters:
- ^^uuid => svm_uuid
- ^name => svm
- ^state => state
- ^vserver => svm
- ^anti_ransomware_default_volume_state => anti_ransomware_state
- ^nsswitch => nameservice_switch

- ^operational_state => state

endpoints:
- query: api/svm/svms
counters:
- ^^uuid => svm_uuid
- ^nsswitch => nameservice_switch
- query: api/security/ssh/svms
counters:
- ^^svm.uuid => svm_uuid
Expand Down Expand Up @@ -55,7 +59,6 @@ endpoints:
counters:
- ^^svm.uuid => svm_uuid
- ^enabled => iscsi_service_enabled

plugins:
- SVM
- LabelAgent:
Expand Down

0 comments on commit 75f8dbd

Please sign in to comment.