libcloud
libcloud copied to clipboard
chore: Deprecate facility in the favor of metro
Changes Title (replace this with a logical title for your changes)
Deprecate facility in the favor of metro API
Description
- Support Metros location in libcloud interfaces and deprecate facility api.
- Also, remove implementation of storage APIs as they were removed from Packet years ago. there is no direct replacement. Equinix Metal offers Pure and NetApp storage devices today but there is not equivalent functionality as far as the Equinix Metal API is concerned with directly attaching storage to servers and equinix metal doesnot supports only 2 storage providers and
For more information on contributing, please see Contributing section of our documentation.
Status
Ready For Review
Checklist (tick everything that applies)
- [x] Code linting (required, can be done after the PR checks)
- [x] Documentation
- [x] Tests
- [x] ICLA (required for bigger changes)
@aayushrangwala perhaps the removal of strorage should be done in a separate PR from the facility deprecation and introduction of metros.
nice i"ll puul this PR into my work area and make sure PR #1970 & PR #1971 are all thats needed to tqeak EqunixMetal back into prime shape.
Also, I agree with @displague that it's cleaner, safer, & simpler to keep each PR small & doing a specifc thing. That's why I started this journey to update the EquinixMetal driver with the simple and safe PR #1970
@aayushrangwala perhaps the removal of strorage should be done in a separate PR from the facility deprecation and introduction of metros.
Sure, will raise another PR
Reviewers, please note that Equinix Metal removed the facilities
/facility
request field in June for new users, and the field will be entirely unavailable for all users after December. metro
is the replacement. Facilities reside within a metro. Legacy facility
values are not compatible with the metro
field.
https://feedback.equinixmetal.com/changelog/reminder-facilities-turns-to-metros-on-may-30
@Kami Can you please review and approve this PR as well
@aayushrangwala Looks like tests and some other CI checks are failing. Can you please look into it when you get a chance?
Thanks.
Sorry for the delay - the PR has finally been merged into trunk.
Thanks again for your contribution.