Skip to content

Commit a3e7451

Browse files
committed
spec: interfaces can be included in the delegated IPAM plugin result
Signed-off-by: Rui Cao <[email protected]>
1 parent 3b4dfc5 commit a3e7451

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SPEC.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,9 @@ Plugins provided a `prevResult` key as part of their request configuration must
598598
#### Delegated plugins (IPAM)
599599
Delegated plugins may omit irrelevant sections.
600600

601-
Delegated IPAM plugins must return an abbreviated _Success_ object. Specifically, it is missing the `interfaces` array, as well as the `interface` entry in `ips`.
601+
Delegated IPAM plugins must return an abbreviated _Success_ object. Specifically, it is missing the `interface` entry in `ips`.
602+
603+
The `interfaces` array can still be kept to indicate the host interface(`sandbox` is empty) associated with the allocated IP. For example, in cases where a node has multiple network interfaces, a specific network interface serves as the uplink for the allocated IP. The primary CNI needs to know the uplink interface to install the corresponding ergess routes.
602604

603605

604606
### VERSION Success

0 commit comments

Comments
 (0)