Skip to content

Commit

Permalink
spec: interfaces can be included in the delegated IPAM plugin result
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Cao <[email protected]>
  • Loading branch information
ruicao93 committed Sep 24, 2024
1 parent 3b4dfc5 commit a3e7451
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,9 @@ Plugins provided a `prevResult` key as part of their request configuration must
#### Delegated plugins (IPAM)
Delegated plugins may omit irrelevant sections.

Delegated IPAM plugins must return an abbreviated _Success_ object. Specifically, it is missing the `interfaces` array, as well as the `interface` entry in `ips`.
Delegated IPAM plugins must return an abbreviated _Success_ object. Specifically, it is missing the `interface` entry in `ips`.

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.


### VERSION Success
Expand Down

0 comments on commit a3e7451

Please sign in to comment.