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

Equinix update #1548

Merged
merged 4 commits into from Feb 12, 2021
Merged

Equinix update #1548

merged 4 commits into from Feb 12, 2021

Conversation

dimgal1
Copy link
Contributor

@dimgal1 dimgal1 commented Jan 24, 2021

Various updates on EquinixMetal compute driver

Description

Handle exceptions where necessary, pass explicitly disk and disk_size instead of kwargs on create_node, add supported_sizes field on images and regions field on sizes.

Status

  • done, ready for review

Checklist (tick everything that applies)

  • Code linting (required, can be done after the PR checks)
  • Documentation
  • Tests
  • ICLA (required for bigger changes)

@codecov-io
Copy link

Codecov Report

Merging #1548 (d85509a) into trunk (1749a7f) will decrease coverage by 0.00%.
The diff coverage is 42.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##            trunk    #1548      +/-   ##
==========================================
- Coverage   83.08%   83.08%   -0.01%     
==========================================
  Files         394      394              
  Lines       84795    84808      +13     
  Branches     9004     9006       +2     
==========================================
+ Hits        70456    70460       +4     
- Misses      11274    11282       +8     
- Partials     3065     3066       +1     
Impacted Files Coverage Δ
libcloud/compute/drivers/equinixmetal.py 64.28% <40.74%> (-0.98%) ⬇️
libcloud/test/compute/test_equinixmetal.py 90.12% <100.00%> (ø)

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 1749a7f...d85509a. Read the comment docs.

Copy link
Member

@Kami Kami left a comment

Choose a reason for hiding this comment

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

LGTM.

@asfgit asfgit merged commit 3a18644 into apache:trunk Feb 12, 2021
disk = None
if data['specs'].get('drives', ''):
disk = 0
for disks in data['specs']['drives']:
Copy link
Member

Choose a reason for hiding this comment

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

Eventually it would be nice to split this formatting functionality in separate functions to make (unit) testing easier, but not a blocker for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants