Repository navigation
Conversation
Fixes the items from ENG-5355 that can be resolved from the spec itself. Items 1, 3, 5, and 11 (static NIC `ip` vs `static_ip`, SDN L2 reconfigure `usable` vs `network`, 202 on ISO GETs, IPv6 iPXE prefix) are left for backend confirmation. VirtualProviderIso.yml - Remove `identifier` from `required`. The property was removed in #598 but left in the required list. Flagged by redocly (no-required-schema-properties-undefined). - State description "state of the environment" -> "state of the ISO". Wording fix; the schema describes an ISO. isos/download.yml - Summary "Delete ISO" -> "Get ISO Download URL". The operation is a GET (getVirtualProviderIsoDownloadUrl) that returns { data: { url } }; the summary was copied from the DELETE in iso.yml. isos/isos.yml - Request body "new virtual provider job" -> "new virtual provider ISO". Matches the spec's convention: "...new X job" is only used on /tasks endpoints that return a JobDescriptor; create endpoints use "...new X" (clusters, IP pools, VMs, containers). This endpoint returns 201 with the ISO, not a job. ips/ips.yml - Capability `infrastructure-ips-manage` -> `ips-manage`. The old name doesn't exist in common/Capability.yml or anywhere else in the repo. All other IP endpoints (pool get/delete, pools list/create, pool tasks) use `ips-manage`, and /docs/platform/roles-and-capabilities lists only `ips-manage` for IPs. ips/pools.yml - 'ips-manage' -> `ips-manage`. Quote style only; every other capability reference uses backticks. VirtualProviderIsoNic.yml - "serer" -> "server". Typo. VirtualProviderIsoBond.yml - Remove double periods on balance-tlb / balance-alb. Typo. servers/task/ServerUnquarantineAction.yml - Add schema description and `contents.cluster` description. Behavior taken from the required `contents.cluster` field and the portal docs (/docs/portal/virtual-providers: VP servers enter quarantine on first check-in). Cluster description intentionally doesn't say identifier vs ID; that isn't confirmed. Matches sibling actions (ServerPowerOffAction, ServerAuthResetAction), which have descriptions. hubs/integrations/integrations.yml, integration.yml - Add "Requires the `hubs-integrations-manage` capability." to createIntegration, updateIntegration, and deleteIntegration. INFERRED, not confirmed against the backend: the spec states no capability for these three. Based on the read endpoints requiring `hubs-integrations-view`, the integration tasks endpoint requiring `hubs-integrations-manage`, and those being the only two integration capabilities in Capability.yml and the docs roles page.
- VirtualProviderIsoNicStaticFlavor: require `ip` (not `static_ip`); confirmed the API field is `ip`. - ReconfigureSdnNetworkAction: rename l2.routes[].usable to `network`, matching NetworkL2.yml and the existing `required`. - isos/iso.yml, isos/download.yml: GET responses 202 -> 200; confirmed both GETs return 200. - VirtualProviderIsoIpxeConfig: document IPv6 prefix length (e.g. `64`) in `netmask`. Believed correct; still to be double-checked with backend.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the items from ENG-5355 that can be resolved from the spec itself. Items 1, 3, 5, and 11 (static NIC
ipvsstatic_ip, SDN L2 reconfigureusablevsnetwork, 202 on ISO GETs, IPv6 iPXE prefix) are left for backend confirmation.VirtualProviderIso.yml
identifierfromrequired. The property was removed in remove iso identifier #598 but left in the required list. Flagged by redocly (no-required-schema-properties-undefined).isos/download.yml
isos/isos.yml
ips/ips.yml
infrastructure-ips-manage->ips-manage. The old name doesn't exist in common/Capability.yml or anywhere else in the repo. All other IP endpoints (pool get/delete, pools list/create, pool tasks) useips-manage, and /docs/platform/roles-and-capabilities lists onlyips-managefor IPs.ips/pools.yml
ips-manage. Quote style only; every other capability reference uses backticks.VirtualProviderIsoNic.yml
VirtualProviderIsoBond.yml
servers/task/ServerUnquarantineAction.yml
contents.clusterdescription. Behavior taken from the requiredcontents.clusterfield and the portal docs (/docs/portal/virtual-providers: VP servers enter quarantine on first check-in). Cluster description intentionally doesn't say identifier vs ID; that isn't confirmed. Matches sibling actions (ServerPowerOffAction, ServerAuthResetAction), which have descriptions.hubs/integrations/integrations.yml, integration.yml
hubs-integrations-managecapability." to createIntegration, updateIntegration, and deleteIntegration. INFERRED, not confirmed against the backend: the spec states no capability for these three. Based on the read endpoints requiringhubs-integrations-view, the integration tasks endpoint requiringhubs-integrations-manage, and those being the only two integration capabilities in Capability.yml and the docs roles page.