Skip to content

Commit

Permalink
add attachment+endpoint definitions
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 d6e9673
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 @@ -69,11 +69,13 @@ Released versions of the spec are available as Git tags.

This document proposes a generic plugin-based networking solution for application containers on Linux, the _Container Networking Interface_, or _CNI_.

For the purposes of this proposal, we define three terms very specifically:
For the purposes of this proposal, we define six terms very specifically:
- _container_ is a network isolation domain, though the actual isolation technology is not defined by the specification. This could be a [network namespace][namespaces] or a virtual machine, for example.
- _network_ refers to a group of endpoints that are uniquely addressable that can communicate amongst each other. This could be either an individual container (as specified above), a machine, or some other network device (e.g. a router). Containers can be conceptually _added to_ or _removed from_ one or more networks.
- _runtime_ is the program responsible for executing CNI plugins.
- _plugin_ is a program that applies a specified network configuration.
- _attachment is the operation of applying a network configuration to a container, which results in an endpoint.
- _endpoint is a uniquely addressable, container-scoped connection to a single network.

This document aims to specify the interface between "runtimes" and "plugins". The key words "must", "must not", "required", "shall", "shall not", "should", "should not", "recommended", "may" and "optional" are used as specified in [RFC 2119][rfc-2119].

Expand Down

0 comments on commit d6e9673

Please sign in to comment.