Skip to content

Commit 9f692b7

Browse files
committed
Add metadata to interfaces
Signed-off-by: Michael Zappa <[email protected]>
1 parent 2317778 commit 9f692b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SPEC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ Plugins must output a JSON object with the following keys upon a successful `ADD
568568
- `name`: The name of the interface.
569569
- `mac`: The hardware address of the interface (if applicable).
570570
- `sandbox`: The isolation domain reference (e.g. path to network namespace) for the interface, or empty if on the host. For interfaces created inside the container, this should be the value passed via `CNI_NETNS`.
571+
- `metadata`: a dictionary consisting of interface configurion information.
571572
- `ips`: IPs assigned by this attachment. Plugins may include IPs assigned external to the container.
572573
- `address` (string): an IP address in CIDR notation (eg "192.168.1.3/24").
573574
- `gateway` (string): the default gateway for this subnet, if one exists.

0 commit comments

Comments
 (0)