Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions doc/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,12 @@ set:

For an example of both, see the next section.

> [!IMPORTANT]
> **VETH Pair Limitation:** When using VETH pairs with containers, at least
> one side of the pair must remain in the host namespace. It is currently
> not possible to create VETH pairs where both ends are assigned to different
> containers. One end must always be accessible from the host.

[^3]: Something which the container bridge network type does behind the
scenes with one end of an automatically created VETH pair.

Expand Down
6 changes: 5 additions & 1 deletion src/confd/yang/confd/infix-if-container.yang
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ submodule infix-if-container {

identity host {
base container-network;
description "Host device, e.g., one end of a VETH pair or other host interface.";
description "Host device, e.g., one end of a VETH pair or other host interface.

Note: When using VETH pairs, at least one side must remain in the
host namespace. Both ends of a VETH pair cannot be assigned to
different containers.";
}

/*
Expand Down
6 changes: 5 additions & 1 deletion src/confd/yang/confd/infix-if-veth.yang
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ submodule infix-if-veth {

organization "KernelKit";
contact "kernelkit@googlegroups.com";
description "Linux virtual Ethernet pair extension for ietf-interfaces.";
description "Linux virtual Ethernet pair extension for ietf-interfaces.

Note: When using VETH pairs with containers, at least one side
of the pair must remain in the host namespace. Both ends of a
VETH pair cannot be assigned to different containers.";

revision 2023-06-05 {
description "Initial revision.";
Expand Down