Skip to content

driver: add flag to specify network interface ip#39

Closed
sudomateo wants to merge 1 commit intomainfrom
nic-ip
Closed

driver: add flag to specify network interface ip#39
sudomateo wants to merge 1 commit intomainfrom
nic-ip

Conversation

@sudomateo
Copy link
Collaborator

Added a new oxide-nic-ip string flag to configure the IP address for the instance's network interface. Perhaps there's an opportunity here to create flags that allow users to specify multiple network interfaces, but that can be a follow-up item if there are use cases for that.

This change was introduced because there were cases where an instance's network interface would not be assigned an IP address unless the IP address was explicitly specified even though the underlying subnet had available IP addresses for use.

Added a new `oxide-nic-ip` string flag to configure the IP address for
the instance's network interface. Perhaps there's an opportunity here to
create flags that allow users to specify multiple network interfaces, but
that can be a follow-up item if there are use cases for that.

This change was introduced because there were cases where an instance's
network interface would not be assigned an IP address unless the IP
address was explicitly specified even though the underlying subnet had
available IP addresses for use.
@sudomateo
Copy link
Collaborator Author

Note to self. Don't submit draft pull requests before eating breakfast haha. This change would work for a single node managed by the node driver but doesn't work when using node pools to manage multiple nodes. That's because the node pool calls the node driver with a static state (e.g., use VPC X) rather than a per-node state (e.g., use IP X). This change would result in all nodes in a node pool trying to use the same IP address, which is obviously incorrect. Closing this for now but will keep the learning in mind.

@sudomateo sudomateo closed this May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments