-
Story
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
-
Strategic Product Work
-
False
-
None
-
False
-
OCPSTRAT-1613 - Enhance User Defined Networks: Add support for Services(Full), EIP(Full), NetPol: GA
-
---
-
-
-
0
-
0
The cluster UDN API should support localnet support.
During development of the namespace and cluster API we realized localnet require more thinking and might require talking different approach.
The localnet configuration must be mutable - even if there are pods connected to them. When that happens, the UDN is marked as degraded until all the "old" pods are gone (vm restart / pod scale-in/out).
Some examples of localnet specific validation:
- assert the localnets with the same PhysicalNetworkName and VlanID don't have overlapping IPs (when subnets are set in them)
Attributes we want to expose to the user:
- subnets (array)
- excludedSubnets (array)
- vlanID (int) - default is no vlan
- PhysicalNetworkName (string)
- persistentIPs (copy from whatever we have in L2)
- MTU - the default value should be 1500
We know we will want the VLANID & MTU attributes to be mutable. We also know we cannot have the `PhysicalNetworkName` attribute mutable.