Skip to content

Commit

Permalink
fix: volume template fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss authored and cgrinds committed Jun 30, 2023
1 parent dbb34e7 commit b52b59b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 30 deletions.
3 changes: 0 additions & 3 deletions conf/rest/9.12.0/volume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ plugins:
value_to_num:
- new_status state online online `0`
replace:
- style style `flexgroup_constituent` `flexgroup`
- svm_root root_volume `false` `No`
- svm_root root_volume `true` `Yes`
# To prevent visibility of transient volumes, uncomment the following lines
Expand All @@ -120,8 +119,6 @@ plugins:
# - volume `MDV_CRS_.+`
# # Exclude Metadata volumes, Audit volumes have a “MDV_aud_” prefix
# - volume `MDV_aud_.+`
- Aggregator:
- volume<style=flexgroup>volume node,svm,aggr,style

export_options:
instance_keys:
Expand Down
51 changes: 24 additions & 27 deletions conf/zapi/cdot/9.8.0/volume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,33 +76,30 @@ plugins:
- snapshot_reserve_used SUBTRACT snapshot_reserve_size snapshot_reserve_available
- overwrite_reserve_available SUBTRACT overwrite_reserve_total overwrite_reserve_used
- LabelAgent:
exclude_equals:
- style `flexgroup_constituent`
# metric label zapi_value rest_value `default_value`
value_to_num:
- new_status state online online `0`
# To prevent visibility of transient volumes, uncomment the following lines
# exclude_regex:
# # Exclude SnapProtect/CommVault Intellisnap, Clone volumes have a “_CVclone” suffix
# - volume `.+_CVclone`
# # Exclude SnapCenter, Clone volumes have a “DDMMYYhhmmss” suffix
# - volume `.+(0[1-9]|[12][0-9]|3[01])(0[1-9]|1[012])\d\d[0-9]{6}`
# # Exclude manually created SnapCreator clones, Clone volumes have a “cl_” prefix and a “_YYYYMMDDhhmmss” suffix
# - volume `cl_.+_(19|20)\d\d(0[1-9]|1[012])( 0[1-9]|[12][0-9]|3[01])[0-9]{6}`
# # Exclude SnapDrive/SnapManager, Clone volumes have a “sdw_cl_” prefix
# - volume `sdw_cl_.+`
# # Exclude Metadata volumes, CRS volumes in SVM-DR or MetroCluster have a “MDV_CRS_” prefix
# - volume `MDV_CRS_.+`
# # Exclude Metadata volumes, Audit volumes have a “MDV_aud_” prefix
# - volume `MDV_aud_.+`
replace:
- style style `flexgroup_constituent` `flexgroup`
- node_root root_volume `false` `No`
- svm_root root_volume `false` `No`
- node_root root_volume `true` `Yes`
- svm_root root_volume `true` `Yes`
- Aggregator:
- volume<style=flexgroup>volume node,svm,aggr,style
exclude_equals:
- style `flexgroup_constituent`
# metric label zapi_value rest_value `default_value`
value_to_num:
- new_status state online online `0`
# To prevent visibility of transient volumes, uncomment the following lines
# exclude_regex:
# # Exclude SnapProtect/CommVault Intellisnap, Clone volumes have a “_CVclone” suffix
# - volume `.+_CVclone`
# # Exclude SnapCenter, Clone volumes have a “DDMMYYhhmmss” suffix
# - volume `.+(0[1-9]|[12][0-9]|3[01])(0[1-9]|1[012])\d\d[0-9]{6}`
# # Exclude manually created SnapCreator clones, Clone volumes have a “cl_” prefix and a “_YYYYMMDDhhmmss” suffix
# - volume `cl_.+_(19|20)\d\d(0[1-9]|1[012])( 0[1-9]|[12][0-9]|3[01])[0-9]{6}`
# # Exclude SnapDrive/SnapManager, Clone volumes have a “sdw_cl_” prefix
# - volume `sdw_cl_.+`
# # Exclude Metadata volumes, CRS volumes in SVM-DR or MetroCluster have a “MDV_CRS_” prefix
# - volume `MDV_CRS_.+`
# # Exclude Metadata volumes, Audit volumes have a “MDV_aud_” prefix
# - volume `MDV_aud_.+`
replace:
- node_root root_volume `false` `No`
- svm_root root_volume `false` `No`
- node_root root_volume `true` `Yes`
- svm_root root_volume `true` `Yes`

export_options:
instance_keys:
Expand Down

0 comments on commit b52b59b

Please sign in to comment.