emc-openstack / storops

Python storage management library for VNX and Unity.
Apache License 2.0
53 stars 29 forks source link

Unity: Support userQuota management #343

Closed rajendraindukuri closed 3 years ago

rajendraindukuri commented 3 years ago

Added support for Unity user_quota management:

  1. Create user_quota on a filesystem using uid, unixName and winName
  2. Get all user_quotas on unity array
  3. Get a specific user_quota using quota_id
  4. Modify user_quota using user_quota_id - we can modify hardLimit and softLimit
  5. Unit test coverage for the newly added modules and functions
codecov[bot] commented 3 years ago

Codecov Report

Merging #343 (9169141) into master (7254045) will increase coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #343      +/-   ##
==========================================
+ Coverage   91.77%   91.81%   +0.03%     
==========================================
  Files         100      101       +1     
  Lines       14002    14045      +43     
  Branches     1699     1701       +2     
==========================================
+ Hits        12851    12895      +44     
+ Misses        740      739       -1     
  Partials      411      411              
Impacted Files Coverage Δ
storops/unity/resource/system.py 95.16% <100.00%> (+0.07%) :arrow_up:
storops/unity/resource/user_quota.py 100.00% <100.00%> (ø)
storops/lib/common.py 93.13% <0.00%> (-0.27%) :arrow_down:
storops/vnx/navi_command.py 86.42% <0.00%> (+1.42%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7254045...9169141. Read the comment docs.