You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Ipv4Addr instead of String in RackNetworkConfig IP address fields (#3399)
I believe based on current usage that all of these are required to be
`Ipv4Addr`s specifically, and not `IpAddr`/`Ipv6Addr`:
* `infra_ip_first` and `infra_ip_last` are stored in a variable named
`ipv4_block`, and a later `ipv6_block` (that does not use those config
values) is also created
* `uplink_ip`'s doc comment says it should be in the
`infra_ip_first..last` range, which means it would also have to be ipv4
* `gateway_ip` was being parsed into `nexthop: Option<Ipv4Addr>`.
but I don't have a lot of context here so would appreciate confirmation.
Fixes#3397.
0 commit comments