-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metalv1 missing the metadata SDK #69
Comments
Ideally, this would start with a published API spec for the Metadata service and visibility alongside (not necessarily within) the other Equinix API specs, such as https://deploy.equinix.com/developers/api/metal/ within: I've chatted with @ctreatma before about how some of metadata structure is represented within the Metal API Device Instance object. Being able to reference the same object for both API roots would be neat. A spec can contain multiple roots and authentication patterns, the endpoints defined for these roots could share schema definitions. Being neat doesn't make this the best way to represent the Metadata API spec. alongside: The metadata service is currently described at https://deploy.equinix.com/developers/docs/metal/server-metadata/metadata/, but no formal definition is offered today, which is a dependency of the generated SDKs and generated API docs. (cc @DailyAlice) |
Yeah, that would be best. If the API paths and content were identical across both, then it would be much simpler. |
In my opinion the most straightforward path for adding metadata API support in this SDK is a separate spec. Despite any similarities in response structure in certain cases for certain endpoints, my understanding is that the metadata API is a truly separate thing. If/when it fails it may not fail in the same way that metalv1 does, and as a separate entity it could change in different ways and at different times than metalv1. For comparison, the |
The metalv1 section of this SDK replaces the packethost/packngo SDK, which has been deprecated at least since Dec 2023 (this commit).
The metalv1 SDK in this archive is missing the packethost/packngo/metadata section. Per the link, it provides an ability to interface with the local metadata endpoint from directly on hosts. I.e. it does not use the authenticated public Metal endpoint, but rather the equivalent of
curl metadata.equinixmetal.com
from within a device itself and then processing it.The text was updated successfully, but these errors were encountered: