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

rest api change timeout and fix trap parse #401

Merged
merged 14 commits into from
Dec 1, 2020
Merged

rest api change timeout and fix trap parse #401

merged 14 commits into from
Dec 1, 2020

Conversation

jiangyutan
Copy link
Contributor

What this PR does / why we need it:
rest api change timeout and fix trap parse

Which issue this PR fixes (optional, in fixes #<issue number>(, 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 Dec 1, 2020

Codecov Report

Merging #401 (f2131a0) into v0.8.0-maint (a8ca53b) will decrease coverage by 0.01%.
The diff coverage is 85.71%.

@@               Coverage Diff                @@
##           v0.8.0-maint     #401      +/-   ##
================================================
- Coverage         67.07%   67.05%   -0.02%     
================================================
  Files                93       93              
  Lines              6701     6700       -1     
  Branches            784      784              
================================================
- Hits               4495     4493       -2     
  Misses             1943     1943              
- Partials            263      264       +1     
Impacted Files Coverage Δ
delfin/drivers/hitachi/vsp/rest_handler.py 55.97% <80.00%> (ø)
delfin/drivers/hitachi/vsp/consts.py 100.00% <100.00%> (ø)
delfin/drivers/hitachi/vsp/vsp_stor.py 75.60% <100.00%> (-0.15%) ⬇️
delfin/drivers/fake_storage/__init__.py 88.00% <0.00%> (-1.00%) ⬇️

return result_json

def get_all_pools(self):
url = '%s/%s/pools' % \
(RestHandler.COMM_URL, self.storage_device_id)
result_json = self.get_rest_info(url)
result_json = self.get_rest_info(url, timeout=consts.SOCKET_TIMEOUT)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This could be a default parameter

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok,has changed

Copy link
Member

@NajmudheenCT NajmudheenCT 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

@ThisIsClark ThisIsClark left a comment

Choose a reason for hiding this comment

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

LGTM

@ThisIsClark ThisIsClark merged commit 7be276d into sodafoundation:v0.8.0-maint Dec 1, 2020
joseph-v pushed a commit to joseph-v/delfin that referenced this pull request Dec 23, 2020
joseph-v pushed a commit to joseph-v/delfin that referenced this pull request Dec 23, 2020
kumarashit pushed a commit that referenced this pull request Jan 2, 2021
* Code improvement (#363)

* ibm storwize_svc add sshpool and fixed some issue (#381)

Add storage driver for IBM Storwize and svc series

* add hitachi vsp storage driver to community (#388)

Add hitachi vsp driver

* Fix vsp driver issue

* change pool status and some optimize for vsp (#395)

* rest api change timeout and fix trap parse (#401)

* fix ssh excption error when the port is wrong and do some optimize (#402)

* Update the value of 'update_at' of storage when going to sync the storage (#425)

* Code improvement (#363)

* ibm storwize_svc add sshpool and fixed some issue (#381)

Add storage driver for IBM Storwize and svc series

* add hitachi vsp storage driver to community (#388)

Add hitachi vsp driver

* Fix vsp driver issue

* change pool status and some optimize for vsp (#395)

* rest api change timeout and fix trap parse (#401)

* fix ssh excption error when the port is wrong and do some optimize (#402)

* Update the value of 'update_at' of storage when going to sync the storage (#425)

* Fix rebase issue

* Fixing CI failure issues

Co-authored-by: ThisIsClark <liuyuchibubao@gmail.com>
Co-authored-by: jiangyutan <69443713+jiangyutan@users.noreply.github.com>
Co-authored-by: Joseph Vazhappilly <josephvp@gmail.com>
Co-authored-by: root <pravin ranjan>
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