BSD Ports

sysutils/cni-epair 1.1.3 FreeBSD

CNI plugin giving containers a LAN address via epair and bridge

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
e94cf0ee37
License
BSD2CLAUSE
Categories
sysutils
Package size
11.2 KiB, 28.1 KiB installed

Description

A CNI plugin that gives FreeBSD containers an address on a real LAN segment.

FreeBSD has no macvlan. This plugin does the native equivalent: it creates an epair per container, attaches one end to a host bridge, moves the other into the container's jail, and applies the address supplied by IPAM.

IPv4 and IPv6 are both supported, together or alone: a network configuration carrying a range for each gives the container an address and a default route in both families.

It implements the ADD, DEL, CHECK and VERSION commands, and delegates address allocation to the IPAM plugin named in the network configuration.

Install

Binary package:

pkg install cni-epair

From the ports tree:

cd /usr/ports/sysutils/cni-epair/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	cni-epair>0:sysutils/cni-epair

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.11.1.3--1.1.3
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest1.1.31.1.3n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest-1.1.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

Run dependencies 1
Required by 1

Configuration

Options name: sysutils_cni-epair

OptionDefaultDescription
DOCSonBuild and/or install documentation
EXAMPLESonBuild and/or install examples
Service scripts
none

Files

distinfo 1
FileSizeSHA256
daemonless-cni-epair-v1.1.3_GH0.tar.gz10250e3a1b8f554eeaa9745b74d8171df6ec3d3465d585ed1e705936964258f2f44fb

Commit history 2

DateCommitCreditsLog message
e94cf0ee37 Michael Johnson sysutils/cni-epair: Update to 1.1.3
Request DHCP leases under the container's name instead of the host's hostname, so a container no longer takes over the host's DNS record. While here, update MAINTAINER to my FreeBSD address. Reviewed by: acm, dtxdf Approved by: acm, dtxdf (mentors) Differential Revision: https://reviews.freebsd.org/D60583
968b1ae64b Michael Johnson sysutils/cni-epair: New port: CNI plugin giving containers a LAN address via epair and bridge
A CNI plugin that gives FreeBSD containers an address on a real LAN segment. FreeBSD has no macvlan. This plugin does the native equivalent: it creates an epair per container, attaches one end to a host bridge, moves the other into the container's jail, and applies the address supplied by IPAM. IPv4 and IPv6 are both supported, together or alone: a network configuration carrying a range for each gives the container an address and a default route in both families. It implements the ADD, DEL, CHECK and VERSION commands, and delegates address allocation to the IPAM plugin named in the network configuration. WWW: https://github.com/daemonless/cni-epair PR: 298571