Skip to content

Commit

Permalink
Add metadata to interfaces
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Zappa <michaelzappa@microsoft.com>
  • Loading branch information
MikeZappa87 committed Dec 12, 2023
1 parent 2317778 commit 9f692b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ Plugins must output a JSON object with the following keys upon a successful `ADD
- `name`: The name of the interface.
- `mac`: The hardware address of the interface (if applicable).
- `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`.
- `metadata`: a dictionary consisting of interface configurion information.
- `ips`: IPs assigned by this attachment. Plugins may include IPs assigned external to the container.
- `address` (string): an IP address in CIDR notation (eg "192.168.1.3/24").
- `gateway` (string): the default gateway for this subnet, if one exists.
Expand Down

0 comments on commit 9f692b7

Please sign in to comment.