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

Add hostmapping support to VMAX driver #803

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

joseph-v
Copy link
Collaborator

@joseph-v joseph-v commented Jan 14, 2022

What this PR does / why we need it:
Add hostmapping support to VMAX driver

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

Special notes for your reviewer:

Release note:

@codecov
Copy link

codecov bot commented Jan 14, 2022

Codecov Report

Merging #803 (d9f6934) into master (7037a59) will increase coverage by 0.01%.
The diff coverage is 70.76%.

❗ Current head d9f6934 differs from pull request most recent head 92b31fa. Consider uploading reports for the commit 92b31fa to get more accurate results

@@            Coverage Diff             @@
##           master     #803      +/-   ##
==========================================
+ Coverage   70.56%   70.58%   +0.01%     
==========================================
  Files         180      180              
  Lines       18654    18825     +171     
  Branches     2750     2769      +19     
==========================================
+ Hits        13164    13288     +124     
- Misses       4646     4694      +48     
+ Partials      844      843       -1     
Impacted Files Coverage Δ
delfin/drivers/dell_emc/vmax/rest.py 42.02% <20.00%> (-2.17%) ⬇️
delfin/drivers/dell_emc/vmax/client.py 79.63% <97.97%> (+6.28%) ⬆️
delfin/drivers/dell_emc/vmax/vmax.py 83.33% <100.00%> (+2.77%) ⬆️
delfin/drivers/driver.py 61.76% <0.00%> (ø)
delfin/drivers/fake_storage/__init__.py 94.40% <0.00%> (+0.76%) ⬆️

@joseph-v joseph-v force-pushed the vmax-hostmapping-update branch 3 times, most recently from 3a14aab to aa8faaa Compare January 17, 2022 09:35
port_group_list.append(port_group_item)

for port in port_group_info['symmetrixPortKey']:
port_name = port['directorId'] + ':' + port['portId']
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just portId is not unique, can it be not treated as native_port_id?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just portId is not unique, can it be not treated as native_port_id?

Yes, portId is not unique, so we generate directorId + portId for native_port_id

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK

@sushanthakumar
Copy link
Collaborator

LGTM

@joseph-v joseph-v force-pushed the vmax-hostmapping-update branch 2 times, most recently from fc61aa0 to 28ba103 Compare February 18, 2022 03:33
@sushanthakumar
Copy link
Collaborator

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

Copy link
Collaborator

@skdwriting skdwriting left a comment

Choose a reason for hiding this comment

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

LGTM

@skdwriting skdwriting merged commit f691ece into sodafoundation:master Mar 2, 2022
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.

EMC VMAX driver support for host mapping feature
4 participants