equinix-labs / ansible-collection-equinix

Ansible content to help automate the management of Equinix resources
https://deploy.equinix.com/labs/ansible-collection-equinix/
GNU General Public License v3.0
2 stars 8 forks source link

modules for hardware reservations #103

Closed t0mk closed 1 year ago

t0mk commented 1 year ago

This PR adds modules for hw reservation. It also fixes hw ressevation support in metal_device .

There is a test, but it's (clumsily) disabled by default. It can be used locally to tests the modules if user has own hw reservation, and maybe it can be enabled in CI if we get a hw reservation to test. That would be further complicated by hw reservation "cooldown" period after a device is deleted.

This doesn't yet move the hardware reservation, as requested in #102 , I need to think a bit how to implement the move.

fixes #101

t0mk commented 1 year ago

This needs equinix-metal 0.2.1. We should merge only after the version bump in Metal SDK (https://github.com/equinix-labs/metal-python/pull/35) is merged and 0.2.1 is released.

t0mk commented 1 year ago

equinix-metal 0.2.1 was released and this is ready for review

t0mk commented 1 year ago

@ctreatma if you think all looks good, please approve this PR