Skip to content

add initiator type and host os_type#804

Merged
joseph-v merged 5 commits intosodafoundation:masterfrom
qinwang-murphy:add_host_initiator_type
Jan 19, 2022
Merged

add initiator type and host os_type#804
joseph-v merged 5 commits intosodafoundation:masterfrom
qinwang-murphy:add_host_initiator_type

Conversation

@qinwang-murphy
Copy link
Contributor

@qinwang-murphy qinwang-murphy commented Jan 14, 2022

add initiator type and host os_type

@codecov
Copy link

codecov bot commented Jan 14, 2022

Codecov Report

Merging #804 (d803410) into master (6774a9a) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #804      +/-   ##
==========================================
+ Coverage   70.54%   70.57%   +0.02%     
==========================================
  Files         180      180              
  Lines       18638    18646       +8     
  Branches     2749     2750       +1     
==========================================
+ Hits        13148    13159      +11     
+ Misses       4646     4645       -1     
+ Partials      844      842       -2     
Impacted Files Coverage Δ
delfin/common/constants.py 100.00% <100.00%> (ø)
delfin/db/sqlalchemy/models.py 99.66% <100.00%> (+<0.01%) ⬆️
delfin/drivers/fake_storage/__init__.py 94.40% <0.00%> (+0.76%) ⬆️

Comment on lines 278 to 281
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we make type without initiator, similar to port type?

Suggested change
FC = 'fcinitiator'
ISCSI = 'iscsiinitiator'
NVME_OVER_ROCE = 'roceinitiator'
UNKNOWN = 'unknown'
FC = 'fc'
ISCSI = 'iscsi'
NVME_OVER_ROCE = 'roce'
UNKNOWN = 'unknown'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we can

@qinwang-murphy qinwang-murphy changed the title add initiator type add initiator type and host os_type Jan 18, 2022
@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

@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

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.

4 participants

Comments