[WIP] support forthcoming "any" facility
At Packet we are considering on an API update that will would users to choose “any” or “first available” as a facility location. This work is not done yet, but the idea is that it would simplify location selection for test deployments where you are willing to pick from available inventory more independently of location.
This would probably show up in the packet baremetal create-device --facility command but there may be other places it touches.
I'll update this issue when the code is ready to test and the docs are written.
This feature has been completed, I'll update here with release notes when they are produced. Unclear as of yet whether this requires changes to the API, I am pretty sure it doesn't, but need to confirm that.
@vielmetti : How to specify "any" when creating ? Should I just pass the string "any" in place of a facility name ?
There's doc here
- https://github.com/packethost/packngo/issues/86
- https://help.packet.net/technical/deployment-options/batch-deployment
@ebsarr @vielmetti can we close this issue or anything still needed here?
@lindavs : Will keep this open as I haven't implemented yet.