-
Notifications
You must be signed in to change notification settings - Fork 0
Document order of ips on loopback #141
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -770,6 +770,7 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> & | |
|
|
||
| /** | ||
| * Networks this machine should be attached to | ||
| * Order of ips of external networks will be preserved. | ||
| * | ||
| * @generated from field: repeated metalstack.api.v2.MachineNetwork networks = 9; | ||
| */ | ||
|
|
@@ -856,6 +857,7 @@ export type MachineAllocationNetwork = Message<"metalstack.api.v2.MachineAllocat | |
| /** | ||
| * IPs to to attach to this machine additionally | ||
| * If none given, one ip address is acquired per network for the machine | ||
| * Order of ips is preserved on the loopback interface. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe I do not fully understand the issue, but if this is a breaking change, this is really hard to figure out if all client implementations properly do this to see the same behavior as before? What happens when I allocate a machine with a fixed private IP and then provide an external network along with the private network for machine creation? Will the auto-acquired IP from the external network be put before my own statically passed definition or not? How can I switch it around? I think, normal users will not be able to understand the consequences of this comment without reading this PR (+ the entire code base to the point where the network interfaces are configured?). So, to me this feels a little sparse? As I said, maybe I do not understand the problem, I just worry that my automations break with this when I read it. 😅 |
||
| * | ||
| * @generated from field: repeated string ips = 2; | ||
| */ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed because order of messages is not guaranteed by protovalidate