Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPEC: allow delegated IPAM to return interfaces #1137

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
- The `interfaces` field is optional. Any interfaces provided must not have the `sandbox` field defined. Entries must not refer to interfaces in the sandbox. The delegating plugin should use the returned interface for host-side connectivity. For example, it may specify the uplink for a macvlan interface.
- The `interface` field in the `ips` list is optional. If missing, it is assumed to apply to the interface specified by CNI_IFNAME.


### VERSION Success
Expand Down
Loading