-
Bug
-
Resolution: Done
-
Major
-
None
-
None
The network-attachment-definition-client library creates the network-status annotation from the CNI response.
It currently is reporting all the interfaces created for UDN as `default`, which breaks the de-facto standard, since according to it, only one can have this attribute enabled:
5.3.5 "default" This required key’s value (type boolean) shall indicate that this attachment is the result of the cluster-wide default network. Only one element in the Network Attachment Status Annotation list may have the "default" key set to true.
Check the following network-status from a primary UDN pod:
[ { "name": "ovn-kubernetes", "interface": "eth0", "ips": [ "10.244.1.6", "fd00:10:244:2::6" ], "mac": "0a:58:0a:f4:01:06", "default": true, "dns": {} }, { "name": "ovn-kubernetes", "interface": "ovn-udn1", "ips": [ "10.128.0.3" ], "mac": "0a:58:0a:80:00:03", "default": true, "dns": {} } ]