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

Emc vnx block add host mapping view #807

Merged
merged 16 commits into from
May 6, 2022

Conversation

yuanyu-ghca
Copy link
Contributor

What this PR does / why we need it:
1 add host mapping view

Which issue this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Release note:

@codecov
Copy link

codecov bot commented Jan 21, 2022

Codecov Report

Merging #807 (7a03c6b) into master (0272eed) will increase coverage by 0.02%.
The diff coverage is 72.88%.

@@            Coverage Diff             @@
##           master     #807      +/-   ##
==========================================
+ Coverage   70.47%   70.50%   +0.02%     
==========================================
  Files         181      181              
  Lines       19055    19232     +177     
  Branches     2812     2854      +42     
==========================================
+ Hits        13429    13559     +130     
- Misses       4756     4782      +26     
- Partials      870      891      +21     
Impacted Files Coverage Δ
...rivers/dell_emc/vnx/vnx_block/component_handler.py 76.01% <62.22%> (-5.38%) ⬇️
...fin/drivers/dell_emc/vnx/vnx_block/navi_handler.py 76.71% <81.57%> (+0.77%) ⬆️
delfin/drivers/dell_emc/vnx/vnx_block/consts.py 100.00% <100.00%> (ø)
delfin/drivers/dell_emc/vnx/vnx_block/vnx_block.py 88.00% <100.00%> (+1.63%) ⬆️
delfin/drivers/fake_storage/__init__.py 93.89% <0.00%> (+0.25%) ⬆️

view_model.get('native_masking_view_id'),
host_id, lun_id)
views_list.append(view_model)
elif lun_ids:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Masking view without native_storage_host_group_id or native_storage_host_id is invalid. Please check comment section in function list_masking_views() in file <>/delfin/drivers/driver.py

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified

view_model.get('native_masking_view_id'),
lun_id)
views_list.append(view_model)
elif host_names:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above, masking view require native_volume_group_id or native_volume_id

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified

joseph-v
joseph-v previously approved these changes Jan 21, 2022
Copy link
Collaborator

@joseph-v joseph-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@joseph-v joseph-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@wisererik wisererik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wisererik wisererik merged commit e53d3a1 into sodafoundation:master May 6, 2022
@yuanyu-ghca yuanyu-ghca deleted the emc_vnx_block_hostmaping branch May 17, 2022 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants