Closed t0mk closed 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.
equinix-metal 0.2.1 was released and this is ready for review
@ctreatma if you think all looks good, please approve this PR
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