equinixmetal-archive / packngo

[Deprecated] A Golang client for the Equinix Metal API. (Packet is now Equinix Metal)
https://deploy.equinix.com/labs/equinix-sdk-go/
Other
79 stars 60 forks source link

Add VRF Support (not-GA) #326

Closed displague closed 2 years ago

displague commented 2 years ago

This PR adds support for the upcoming VRF features:

VRF features are not generally available. The changes in this PR make some currently "required" (always sent in Create requests) "optional". This does not change the overall experience for existing use-cases. Empty values in the modified fields would have angered the EM API before or after these changes.

Fixes #325

The PR adds support for the following new endpoints:

The following resources have been updated to be aware of new VRF related request and response fields:

Some resources were indirectly affected, response fields are updated but request fields remain the same, although behavior may be altered conditioned on request values.