Skip to content

Want Nexus external API support for dual-stack guest networking #9248

@bnaecker

Description

@bnaecker

Users can specify the details for an instance's NICs in the InstanceCreateParams. That includes the NICs with their private addresses and any number of external IP addresses. These types needs to be extended to allow dual-stack guest networking.

The InstanceNetworkInterfaceAttachment enum lets users ask for no NIC at all (not very useful), a "default" NIC, or any number of custom NICs. We should clarify or modify what the "default" NIC means with regards to dual-stack. IPv4-only is backwards-compatible, but we might want to have the new default be dual-stack. We could also add a new variant DefaultDualStack, if that's easier.

The InstanceNetworkInterfaceCreate type also needs to be updated to support dual-stack. Right now that has a single, optional ip field. We should extend that to an enum letting users pick:

  • no IP at all
  • auto-assign an IP from the VPC Subnet
  • use an explicit IP from the VPC Subnet

Then we need to keep the existing ip field and add a new ipv6 field. I'm not sure if we also need to change the transit_ips field.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions