ifstate.conf

Type: object

IfState 2.4 Configuration Schema

No Additional Properties

Type: object

adjust the implicit behaviour of ifstate

No Additional Properties

Type: object

cshaper templates

The following properties are required:

  • default

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression:
Type: object

cshaper profile

No Additional Properties

Type: object

cake - common applications kept enhanced (CAKE)

Type: const

qdisk type

Specific value: "cake"

Type: string

unique id

Type: enum (of boolean or string)

ACKnowledge filter

Must be one of:

  • "aggressive"
  • true
  • false

Type: enum (of boolean or string)

ATM mode

Must be one of:

  • "ptm"
  • true
  • false

Type: boolean

autorate-ingress

Type: enum (of string)

diffserv mode

Must be one of:

  • "diffserv3"
  • "diffserv4"
  • "diffserv8"
  • "besteffort"
  • "precedence"

Type: boolean

ingress

Type: integer

overhead

Value must be greater or equal to -64 and lesser or equal to 256

Type: enum (of string)

flow mode

Must be one of:

  • "flowblind"
  • "srchost"
  • "dsthost"
  • "hosts"
  • "flows"
  • "dual-srchost"
  • "dual-dsthost"
  • "triple-isolated"

Type: integer

fwmark

Value must be greater or equal to 0

Type: integer

memlimit

Value must be greater or equal to 0

Type: integer

MPU

Value must be greater or equal to 0 and lesser or equal to 256

Type: boolean

NAT

Type: boolean

RAW


Type: enum (of string)

well-known RTT

Must be one of:

  • "datacentre"
  • "lan"
  • "metro"
  • "regional"
  • "internet"
  • "oceanic"
  • "satellite"
  • "interplanetary"
Type: integer

manually specify an RTT (us)

Value must be greater or equal to 1

Type: boolean

split GSO

Type: integer

target

Value must be greater or equal to 1

Type: boolean

wash

Type: object

cake - common applications kept enhanced (CAKE)

Type: const

qdisk type

Specific value: "cake"

Type: string

unique id

Type: enum (of boolean or string)

ACKnowledge filter

Must be one of:

  • "aggressive"
  • true
  • false

Type: enum (of boolean or string)

ATM mode

Must be one of:

  • "ptm"
  • true
  • false

Type: boolean

autorate-ingress

Type: enum (of string)

diffserv mode

Must be one of:

  • "diffserv3"
  • "diffserv4"
  • "diffserv8"
  • "besteffort"
  • "precedence"

Type: boolean

ingress

Type: integer

overhead

Value must be greater or equal to -64 and lesser or equal to 256

Type: enum (of string)

flow mode

Must be one of:

  • "flowblind"
  • "srchost"
  • "dsthost"
  • "hosts"
  • "flows"
  • "dual-srchost"
  • "dual-dsthost"
  • "triple-isolated"

Type: integer

fwmark

Value must be greater or equal to 0

Type: integer

memlimit

Value must be greater or equal to 0

Type: integer

MPU

Value must be greater or equal to 0 and lesser or equal to 256

Type: boolean

NAT

Type: boolean

RAW


Type: enum (of string)

well-known RTT

Must be one of:

  • "datacentre"
  • "lan"
  • "metro"
  • "regional"
  • "internet"
  • "oceanic"
  • "satellite"
  • "interplanetary"
Type: integer

manually specify an RTT (us)

Value must be greater or equal to 1

Type: boolean

split GSO

Type: integer

target

Value must be greater or equal to 1

Type: boolean

wash

Type: object

build a ifb ifname using a regex on the ifname

No Additional Properties

Type: string

replace pattern by string

Type: array of object

default settings for configured interfaces

No Additional Items

Each item of this array must be:

Type: object

first matching entry will be used, settings will be overriden by explicit configured interface settings

No Additional Properties

Type: array of object

apply default settings for interfaces matching any list item (OR)

No Additional Items

Each item of this array must be:

Type: object

all conditions that must match (AND)

No Additional Properties

Type: string

regex to match interface name


Example:

^eth\d+$

Type: string

regex to match link type


Examples:

^physical$
^(physical|vlan)$

Type: boolean Default: false

implicit remove all ip addresses

Type: boolean Default: false

implicit remove all permanent fdb entries

Type: boolean Default: false

implicit remove all permanent ip neighbours

Type: boolean Default: false

implicit remove all tc qdiscs

Type: object

network driver and hardware settings via ethtool(8)

No Additional Properties

Type: object

pause parameters

No Additional Properties

Type: enum (of boolean or string)

enable pause autonegotiation

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable Rx pause

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable Tx pause

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

interrupt coalescing

No Additional Properties

Type: enum (of boolean or string)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

rx/tx ring parameters

No Additional Properties

Type: integer

number of ring entries for the Rx ring

Type: integer

number of ring entries for the Rx Mini ring

Type: integer

number of ring entries for the Rx Jumbo ring

Type: integer

number of ring entries for the Tx ring


offload parameters and other features

No Additional Properties

Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-checksum

Must not be:

Type: object

The following properties are required:

  • rx
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • tx-generic-segmentation

Must not be:

Type: object

The following properties are required:

  • gso
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-gro

Must not be:

Type: object

The following properties are required:

  • gro
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-lro

Must not be:

Type: object

The following properties are required:

  • lro
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-vlan-hw-parse

Must not be:

Type: object

The following properties are required:

  • rxvlan
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • tx-vlan-hw-insert

Must not be:

Type: object

The following properties are required:

  • txvlan
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-ntuple-filter

Must not be:

Type: object

The following properties are required:

  • ntuple
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-hashing

Must not be:

Type: object

The following properties are required:

  • rxhash

Type: enum (of boolean or string)

Offloads IPsec ESP encryption and decryption to the NIC, reducing CPU load for encrypted traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads checksum computation for IPsec ESP transmit packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Merges packets from the same flow into a single larger buffer to reduce receive-side CPU load (replaced by rx-gro)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments oversized network packets into MTU-sized chunks in software as a fallback for hardware offloads (replaced by tx-generic-segmentation)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Allows the NIC to DMA directly to high memory, avoiding costly bounce buffering on 32-bit systems

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads duplication of outgoing HSR or PRP frames to the NIC hardware to save CPU cycles

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Delegates forwarding of redundancy frames between HSR ring ports to hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads insertion of HSR or PRP redundancy tags onto outgoing frames to save CPU

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Removes HSR or PRP redundancy tags from received frames in hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads traffic control classifiers and actions to hardware, reducing CPU load for packet processing

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads unicast packet forwarding between physical and virtual interfaces to hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Transmits packets to the internal receive path so the NIC retains them without sending onto the physical link

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming TCP packets into larger buffers to reduce CPU load; disable on router or bridge interfaces (replaced by rx-lro)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads MACsec encryption and authentication to the NIC hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Directs matching packets to specific receive queues using programmable hardware flow filters (replaced by rx-ntuple-filter)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads incoming TCP and UDP checksum verification to the NIC, reducing CPU load (replaced by rx-checksum)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Receives all frames including errored ones, useful for sniffing links with bad packets

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads incoming TCP and UDP checksum verification to the NIC, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Appends the Ethernet frame checksum to received packets for inspection by packet analyzers

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Merges packets from the same flow into a single larger buffer to reduce receive-side CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads GRO packet coalescing to NIC hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Chains forwarded TCP packets in frag lists during GRO to bypass coalesce-resegment CPU on router paths

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Computes a hash of packet headers to steer received flows across multiple queues and CPUs

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming TCP packets into larger buffers to reduce CPU load; disable on router or bridge interfaces

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Directs matching packets to specific receive queues using programmable hardware flow filters

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming UDP packets into larger buffers on the forwarding path to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Programs the NIC to recognize UDP encapsulation ports for hardware tunnel offload

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads VLAN ID filtering to the NIC so packets for unregistered VLANs are dropped in hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC strip VLAN tags from received packets and pass tag metadata to the kernel, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Filters incoming packets by S-tag (service VLAN) ID so unregistered frames are dropped in hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Enables the NIC to parse and strip incoming 802.1ad service VLAN tags in hardware, saving CPU on double-tagged traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Computes a hash of packet headers to steer received flows across multiple queues and CPUs (replaced by rx-hashing)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC strip VLAN tags from received packets and pass tag metadata to the kernel, reducing CPU load (replaced by rx-vlan-hw-parse)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Delegates TLS record encryption and TCP connection management to the NIC, bypassing the kernel stack for that socket

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TLS record decryption and authentication to the NIC, reducing CPU load on receiving encrypted traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TLS record encryption to the NIC to reduce CPU usage on outbound connections

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads FCoE CRC32c checksum computation to the NIC, reducing CPU load on transmit

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads transport-layer checksum calculation to the NIC for all protocols and encapsulations

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TCP and UDP checksum computation for outgoing IPv4 packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TCP and UDP checksum calculation for IPv6 packets to the NIC hardware, reducing CPU load per transmitted packet

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads CRC32c checksum computation for outgoing SCTP packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large IPsec ESP packets into MTU-sized frames to reduce CPU load on encrypted tunnels

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large Fibre Channel frames in hardware to reduce CPU load for FCoE storage traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments oversized network packets into MTU-sized chunks in software as a fallback for hardware offloads

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large TCP packets inside GRE tunnels with an outer checksum, offloading segmentation to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled inside GRE to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments chained sub-packet buffers via GSO to reduce CPU load for SCTP traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Enables hardware segmentation of inner TCP payload in tunneled packets to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Recalculates segmentation metadata for GSO packets from untrusted sources

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled over IPv4, reducing CPU load on tunnel endpoints

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled over IPv6, reducing CPU load on tunnel endpoints

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Uses cache-bypassing stores when copying transmit data from user space to reduce CPU cache pollution

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Allows the NIC to read packet data from discontiguous memory, reducing CPU load from copying

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC DMA from a list of chained skbs instead of a single buffer with page fragments

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large SCTP messages into MTU-sized chunks to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Permits TSO for Accurate ECN flows where CWR carries feedback instead of being cleared per segment

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments ECN-marked TCP packets in hardware for CPU savings; disable if NIC corrupts CWR flags

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Permits the NIC to reuse or arbitrarily assign IPv4 IDs across TSO segments, enabling hardware segmentation for tunneled TCP flows

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC split large TCP sends into MTU-sized segments to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC split large TCPv6 segments into MSS-sized frames to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Defers inner checksum verification to the remote endpoint when segmenting tunneled packets to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large UDP datagrams into MTU-sized packets in hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large tunneled TCP packets and outer UDP checksum computation to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of oversized TCP packets inside UDP tunnels to NIC hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1Q VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing tagged traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1ad service VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing Q-in-Q traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1Q VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing tagged traffic (replaced by tx-vlan-hw-insert)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Indicates the device hardware cannot process 802.1Q VLAN-tagged packets

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

device settings

No Additional Properties

Type: integer

speed in Mbps

Type: enum (of string)

full or half duplex mode

Must be one of:

  • "half"
  • "full"

Type: enum (of string)

device port selection

Must be one of:

  • "tp"
  • "aui"
  • "bnc"
  • "mii"

Type: enum (of boolean or string)

MDI-X mode for port

Must be one of:

  • "auto"
  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable autonegotation

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: integer

speed and duplex advertised by autonegotation

Type: integer

PHY address

Type: enum (of string)

transceiver type

Must be one of:

  • "internal"
  • "external"

Type: string

Wake-on-LAN options

Must match regular expression: ^[pumbagsfd]+$

Type: string

SecureOnâ„¢ password

Must match regular expression: ^[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}$


driver message flags

Type: integer

driver message flags by number

Type: array

driver message flags by name

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

flag name

Must be one of:

  • "drv"
  • "probe"
  • "link"
  • "timer"
  • "ifdown"
  • "ifup"
  • "rx_err"
  • "tx_err"
  • "tx_queued"
  • "intr"
  • "tx_done"
  • "rx_status"
  • "pktdata"
  • "hw"
  • "wol"
Item at 2 must be:
Type: enum (of boolean or string)

enable flag

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

number of channels

No Additional Properties

Type: integer

number of channels with only receive queues

Type: integer

number of channels with only transmit queues

Type: integer

number of channels used only for other purposes

Type: integer

number of multi-purpose channels

Type: object

Energy-Efficient Ethernet (according to the IEEE 802.3az specifications)

No Additional Properties

Type: enum (of boolean or string)

enable EEE support

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

assert Tx LPI

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: integer

sets the speed for which EEE should be enabled (see also change.advertise)

Type: integer

amount of idle time prior asserting Tx LPI (in microseconds)

Type: object

PHY tunable parameters

No Additional Properties


enable downshift

Type: enum (of boolean or string)

enable downshift

Must be one of:

  • "on"
  • "off"
  • true
  • false
Type: array

Must contain a minimum of 3 items

Must contain a maximum of 3 items

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of boolean or string)

enable downshift

Must be one of:

  • "on"
  • "off"
  • true
  • false
Item at 2 must be:
Type: enum (of string)

REQUIRED

Must be one of:

  • "count"
Item at 3 must be:
Type: integer

PHY downshift re-tries count


enable Energy Detect Power Down (EDPD)

Type: enum (of boolean or string)

enable EDPD

Must be one of:

  • "on"
  • "off"
  • true
  • false
Type: array

Must contain a minimum of 3 items

Must contain a maximum of 3 items

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of boolean or string)

enable EDPD

Must be one of:

  • "on"
  • "off"
  • true
  • false
Item at 2 must be:
Type: enum (of string)

REQUIRED

Must be one of:

  • "msec"
Item at 3 must be:

Type: object

private flags

Type: object

Forward Error Correction

No Additional Properties

Type: enum (of string)

FEC encoding

Must be one of:

  • "auto"
  • "off"
  • "RS"
  • "BaseR"
  • "LLRS"

Type: array of object

default settings for configured interfaces

No Additional Items

Each item of this array must be:

Type: object

first matching entry will be used, settings will be overriden by explicit configured interface settings

No Additional Properties

Type: array of object

apply default settings for interfaces matching any list item (OR)

No Additional Items

Each item of this array must be:

Type: object

all conditions that must match (AND)

No Additional Properties

Type: string

regex to match interface name


Example:

^eth\d+$

Type: string

regex to match link type


Examples:

^physical$
^(physical|vlan)$

Type: boolean Default: false

implicit remove all ip addresses

Type: boolean Default: false

implicit remove all permanent fdb entries

Type: boolean Default: false

implicit remove all permanent ip neighbours

Type: boolean Default: false

implicit remove all tc qdiscs

Type: object

network driver and hardware settings via ethtool(8)

No Additional Properties

Type: object

pause parameters

No Additional Properties

Type: enum (of boolean or string)

enable pause autonegotiation

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable Rx pause

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable Tx pause

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

interrupt coalescing

No Additional Properties

Type: enum (of boolean or string)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

rx/tx ring parameters

No Additional Properties

Type: integer

number of ring entries for the Rx ring

Type: integer

number of ring entries for the Rx Mini ring

Type: integer

number of ring entries for the Rx Jumbo ring

Type: integer

number of ring entries for the Tx ring


offload parameters and other features

No Additional Properties

Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-checksum
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • tx-generic-segmentation
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-gro
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-lro
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-vlan-hw-parse
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • tx-vlan-hw-insert
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-ntuple-filter
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-hashing

Type: enum (of boolean or string)

Offloads IPsec ESP encryption and decryption to the NIC, reducing CPU load for encrypted traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads checksum computation for IPsec ESP transmit packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Merges packets from the same flow into a single larger buffer to reduce receive-side CPU load (replaced by rx-gro)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments oversized network packets into MTU-sized chunks in software as a fallback for hardware offloads (replaced by tx-generic-segmentation)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Allows the NIC to DMA directly to high memory, avoiding costly bounce buffering on 32-bit systems

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads duplication of outgoing HSR or PRP frames to the NIC hardware to save CPU cycles

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Delegates forwarding of redundancy frames between HSR ring ports to hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads insertion of HSR or PRP redundancy tags onto outgoing frames to save CPU

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Removes HSR or PRP redundancy tags from received frames in hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads traffic control classifiers and actions to hardware, reducing CPU load for packet processing

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads unicast packet forwarding between physical and virtual interfaces to hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Transmits packets to the internal receive path so the NIC retains them without sending onto the physical link

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming TCP packets into larger buffers to reduce CPU load; disable on router or bridge interfaces (replaced by rx-lro)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads MACsec encryption and authentication to the NIC hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Directs matching packets to specific receive queues using programmable hardware flow filters (replaced by rx-ntuple-filter)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads incoming TCP and UDP checksum verification to the NIC, reducing CPU load (replaced by rx-checksum)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Receives all frames including errored ones, useful for sniffing links with bad packets

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads incoming TCP and UDP checksum verification to the NIC, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Appends the Ethernet frame checksum to received packets for inspection by packet analyzers

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Merges packets from the same flow into a single larger buffer to reduce receive-side CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads GRO packet coalescing to NIC hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Chains forwarded TCP packets in frag lists during GRO to bypass coalesce-resegment CPU on router paths

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Computes a hash of packet headers to steer received flows across multiple queues and CPUs

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming TCP packets into larger buffers to reduce CPU load; disable on router or bridge interfaces

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Directs matching packets to specific receive queues using programmable hardware flow filters

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming UDP packets into larger buffers on the forwarding path to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Programs the NIC to recognize UDP encapsulation ports for hardware tunnel offload

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads VLAN ID filtering to the NIC so packets for unregistered VLANs are dropped in hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC strip VLAN tags from received packets and pass tag metadata to the kernel, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Filters incoming packets by S-tag (service VLAN) ID so unregistered frames are dropped in hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Enables the NIC to parse and strip incoming 802.1ad service VLAN tags in hardware, saving CPU on double-tagged traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Computes a hash of packet headers to steer received flows across multiple queues and CPUs (replaced by rx-hashing)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC strip VLAN tags from received packets and pass tag metadata to the kernel, reducing CPU load (replaced by rx-vlan-hw-parse)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Delegates TLS record encryption and TCP connection management to the NIC, bypassing the kernel stack for that socket

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TLS record decryption and authentication to the NIC, reducing CPU load on receiving encrypted traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TLS record encryption to the NIC to reduce CPU usage on outbound connections

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads FCoE CRC32c checksum computation to the NIC, reducing CPU load on transmit

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads transport-layer checksum calculation to the NIC for all protocols and encapsulations

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TCP and UDP checksum computation for outgoing IPv4 packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TCP and UDP checksum calculation for IPv6 packets to the NIC hardware, reducing CPU load per transmitted packet

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads CRC32c checksum computation for outgoing SCTP packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large IPsec ESP packets into MTU-sized frames to reduce CPU load on encrypted tunnels

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large Fibre Channel frames in hardware to reduce CPU load for FCoE storage traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments oversized network packets into MTU-sized chunks in software as a fallback for hardware offloads

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large TCP packets inside GRE tunnels with an outer checksum, offloading segmentation to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled inside GRE to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments chained sub-packet buffers via GSO to reduce CPU load for SCTP traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Enables hardware segmentation of inner TCP payload in tunneled packets to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Recalculates segmentation metadata for GSO packets from untrusted sources

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled over IPv4, reducing CPU load on tunnel endpoints

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled over IPv6, reducing CPU load on tunnel endpoints

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Uses cache-bypassing stores when copying transmit data from user space to reduce CPU cache pollution

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Allows the NIC to read packet data from discontiguous memory, reducing CPU load from copying

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC DMA from a list of chained skbs instead of a single buffer with page fragments

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large SCTP messages into MTU-sized chunks to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Permits TSO for Accurate ECN flows where CWR carries feedback instead of being cleared per segment

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments ECN-marked TCP packets in hardware for CPU savings; disable if NIC corrupts CWR flags

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Permits the NIC to reuse or arbitrarily assign IPv4 IDs across TSO segments, enabling hardware segmentation for tunneled TCP flows

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC split large TCP sends into MTU-sized segments to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC split large TCPv6 segments into MSS-sized frames to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Defers inner checksum verification to the remote endpoint when segmenting tunneled packets to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large UDP datagrams into MTU-sized packets in hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large tunneled TCP packets and outer UDP checksum computation to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of oversized TCP packets inside UDP tunnels to NIC hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1Q VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing tagged traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1ad service VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing Q-in-Q traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1Q VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing tagged traffic (replaced by tx-vlan-hw-insert)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Indicates the device hardware cannot process 802.1Q VLAN-tagged packets

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

device settings

No Additional Properties

Type: enum (of string)

full or half duplex mode

Must be one of:

  • "half"
  • "full"

Type: enum (of string)

device port selection

Must be one of:

  • "tp"
  • "aui"
  • "bnc"
  • "mii"

Type: enum (of boolean or string)

MDI-X mode for port

Must be one of:

  • "auto"
  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable autonegotation

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: integer

speed and duplex advertised by autonegotation

Type: enum (of string)

transceiver type

Must be one of:

  • "internal"
  • "external"

Type: string

Wake-on-LAN options

Must match regular expression: ^[pumbagsfd]+$

Type: string

SecureOnâ„¢ password

Must match regular expression: ^[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}$


driver message flags

Type: integer

driver message flags by number

Type: array

driver message flags by name

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

flag name

Must be one of:

  • "drv"
  • "probe"
  • "link"
  • "timer"
  • "ifdown"
  • "ifup"
  • "rx_err"
  • "tx_err"
  • "tx_queued"
  • "intr"
  • "tx_done"
  • "rx_status"
  • "pktdata"
  • "hw"
  • "wol"
Item at 2 must be:
Type: enum (of boolean or string)

enable flag

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

number of channels

No Additional Properties

Type: integer

number of channels with only receive queues

Type: integer

number of channels with only transmit queues

Type: integer

number of channels used only for other purposes

Type: integer

number of multi-purpose channels

Type: object

Energy-Efficient Ethernet (according to the IEEE 802.3az specifications)

No Additional Properties

Type: enum (of boolean or string)

enable EEE support

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

assert Tx LPI

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: integer

sets the speed for which EEE should be enabled (see also change.advertise)

Type: integer

amount of idle time prior asserting Tx LPI (in microseconds)

Type: object

PHY tunable parameters

No Additional Properties


enable downshift

Type: enum (of boolean or string)

enable downshift

Must be one of:

  • "on"
  • "off"
  • true
  • false
Type: array

Must contain a minimum of 3 items

Must contain a maximum of 3 items

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of boolean or string)

enable downshift

Must be one of:

  • "on"
  • "off"
  • true
  • false
Item at 2 must be:
Type: enum (of string)

REQUIRED

Must be one of:

  • "count"
Item at 3 must be:


enable Energy Detect Power Down (EDPD)

Type: enum (of boolean or string)

enable EDPD

Must be one of:

  • "on"
  • "off"
  • true
  • false
Type: array

Must contain a minimum of 3 items

Must contain a maximum of 3 items

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of boolean or string)

enable EDPD

Must be one of:

  • "on"
  • "off"
  • true
  • false
Item at 2 must be:
Item at 3 must be:

Type: object

Forward Error Correction

No Additional Properties

Type: enum (of string)

FEC encoding

Must be one of:

  • "auto"
  • "off"
  • "RS"
  • "BaseR"
  • "LLRS"

Type: object

hooks are executed on interface configuration and can be used to spawn commands like DHCP client, wpa_supplicant or pppd.

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression:
Type: object

hook properties

No Additional Properties

Type: string

filename to be executed on interface configuration: the hook name will be used by default; relatives file are based on /etc/ifstate/hooks

Must be at least 1 characters long

Type: enum (of string) Default: "follow"

specify if the activation of this hook should follow the vrrp state for interfaces with a vrrp constraint

Must be one of:

  • "follow"
  • "ignore"

Type: array Default: []

aliases for dependency tracking

No Additional Items

Type: array Default: []

hooks which should to be run before executing this script (hook names and provides)

No Additional Items

Type: object

ignore patterns to skip interface, ip address or routing objects

No Additional Properties

Type: array

list of ip address prefixes to be ignored

No Additional Items

Each item of this array must be:


Type: string

ip prefix the destination matches


Example:

2001:db8::/64
Type: object
No Additional Properties

Type: string

prefix that must contain the destination address


Example:

2001:db8::/64

Type: string

regex to match the interface name


Example:

eth0

Type: string

regex to match the label value

Type: integer or string

routing protocol number (/etc/iproute2/rt_addrprotos) to match

Type: integer or string

scope (/etc/iproute2/rt_scopes) to match

Type: array

list of ip address prefixes to be ignored

No Additional Items

Each item of this array must be:


Type: string

ip prefix the destination matches


Example:

2001:db8::/64
Type: object
No Additional Properties

Type: string

prefix that must contain the destination address


Example:

2001:db8::/64

Type: string

regex to match the interface name


Example:

eth0

Type: string

regex to match the label value

Type: integer or string

routing protocol number (/etc/iproute2/rt_addrprotos) to match

Type: integer or string

scope (/etc/iproute2/rt_scopes) to match

Type: boolean Default: true

ignore dynamic assigned ip addresses

Type: array of string

interface names matching this list of regex will be ignored

No Additional Items

Each item of this array must be:

Type: string

regex to match interface name


Examples:

^br-[\da-f]{12}
^docker\d+
^lo$
^ppp\d+$
^veth
^virbr\d+
^vrrp\d*\.\d+$

Type: array of string

interface names matching this list of regex will be ignored

No Additional Items

Each item of this array must be:

Type: string

regex to match interface name


Examples:

^br-[\da-f]{12}
^docker\d+
^lo$
^ppp\d+$
^veth
^virbr\d+
^vrrp\d*\.\d+$

Type: array of string

fdb entries matching this list of regex will be ignored

No Additional Items

Each item of this array must be:

Type: string

regex to match link-local addresses


Examples:

^33:33:
^01:00:5e:

Type: array of string

fdb entries matching this list of regex will be ignored

No Additional Items

Each item of this array must be:

Type: string

regex to match link-local addresses


Examples:

^33:33:
^01:00:5e:

Type: array of object

filter routes by options

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: integer or string Default: "boot"

Type: integer or string Default: "main"

Type: array of object

filter routes by options

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: integer or string

Type: integer or string Default: "boot"

Type: integer or string

Type: integer or string

Type: integer or string Default: "main"

Type: array of object

filter rules by options

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: enum (of string) Default: "to_tbl"

the type of this rule

Must be one of:

  • "to_tbl"
  • "blackhole"
  • "unreachable"
  • "prohibit"

Type: integer

the priority of this rule

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: string

select the source prefix to match

Type: string

select the destination prefix to match

Type: string

select the incoming device to match

Type: string

select the outgoing device to match

Type: integer or string Default: "unspec"

routing protocol number (/etc/iproute2/rt_protos)

Type: integer

select the fwmark value to match

Type: integer or string

select the ip protocol to match

Type: array of object

filter rules by options

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: enum (of string) Default: "to_tbl"

the type of this rule

Must be one of:

  • "to_tbl"
  • "blackhole"
  • "unreachable"
  • "prohibit"

Type: integer or string

Type: integer

the priority of this rule

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: string

select the source prefix to match

Type: string

select the destination prefix to match

Type: string

select the incoming device to match

Type: string

select the outgoing device to match

Type: integer or string Default: "unspec"

routing protocol number (/etc/iproute2/rt_protos)

Type: integer

select the fwmark value to match

Type: integer or string

select the ip protocol to match

Type: array of string

netns namespaces matching this list of regex will be ignored

No Additional Items

Each item of this array must be:

Type: string

regex to match interface name


Example:

^tenant-\d+

Type: string

Use this machine-id instead of the value from /etc/machine-id or /var/lib/dbus/machine-id.

Must be at least 1 characters long

Type: object

load and pin eBPF programs (i.e. for XDP)

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression:
Type: object

BPF program

No Additional Properties

Type: string

BPF ELF file to load

Type: string

BPF program's section name

Type: object

dictionary of interfaces related settings, the name of the interface needs to be specified as key

No Additional Properties

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^[^/ ]{1,15}$
Type: object
No Additional Properties

Type: object

netlink and devicetree attributes to identify a specific physical interface; all given attributes must match; if more than a single interface does match, any one is taken; ifstatecli identify can be used to show available attributes

No Additional Properties

Type: string

select interface by permanent address [ethtool -P]

Must match regular expression: ^([a-fA-F0-9]{2}([:-]?)([a-fA-F0-9]{2}\2){4}[a-fA-F0-9]{2}|[a-fA-F0-9]{4}\.[a-fA-F0-9]{4}\.[a-fA-F0-9]{4})$

Type: string

select interface by bus info [ethtool -i]

Type: string

select interface by bus name

Type: string

identifier of the physical port

Type: string

name of the physical port

Type: string

identifier of the physical switch

Type: object

path to the device node in the open firmware devicetree; this is only available if the platform has devicetree support

Type: array

ip addresses of the interface

No Additional Items

Each item of this array must be:


Type: string

ip address with prefix length in CIDR notation


Examples:

192.0.2.1
192.168.0.1/24
2001:db8::1/64
Type: object
No Additional Properties

Type: string

ip address with prefix length in CIDR notation


Examples:

192.0.2.1
192.168.0.1/24
2001:db8::1/64

Type: string

set label string

Must be at most 15 characters long


configures the local IP address on a point-to-point link, making address the peer's network


Examples:

192.0.2.1
2001:db8::1

Type: integer or string

set protocol instance (/etc/iproute2/rt_addrprotos)

Type: integer or string

the scope (/etc/iproute2/rt_scopes) where the address is valid

Type: stringFormat: ipv6

IPv6 tokenized interface identifier (draft-chown-6man-tokenised-ipv6-identifiers-02)

Type: object

settings for bridge ports

No Additional Properties

Type: integer

set port priority

Value must be greater or equal to 0 and lesser or equal to 63

Type: object

set port cost

Type: boolean

filter BPDU packets

Type: boolean

enable hairpin mode

Type: boolean

enable multicast fast leave

Type: boolean

prevent to become a root port

Type: boolean

allow MAC address learning

Type: boolean

flood unknown unicasts

Type: boolean

flood broadcasts

Type: boolean

flood multicasts

Type: boolean

clone multicast packets into unicasts

Type: boolean

enable proxy ARP

Type: boolean

enable proxy ARP (IEEE 802.11 and Hotspot 2.0)

Type: boolean

ARP and ND suppression

Type: boolean

VLAN to tunnel mapping

Type: integer or string

backup bridge port on loss carrier

Type: boolean

isolated port, can communicate only with non-isolated ports

Type: array of object

bridge VLAN membership for bridge ports

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: integer

VLAN ID

Value must be greater or equal to 1 and lesser or equal to 4094

Type: boolean

VLAN is the port VLAN ID (PVID)

Type: boolean

egress traffic for this VLAN is sent untagged

Type: boolean

VLAN entry on the bridge device itself instead of a bridge port (equivalent to bridge vlan add ... self)

Type: array of object

forwarding database for bridge interfaces, the entries are distinct by the lladdr property

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: string Default: null

destination link layer address

Must match regular expression: ^([a-fA-F0-9]{2}([:-]?)([a-fA-F0-9]{2}\2){4}[a-fA-F0-9]{2}|[a-fA-F0-9]{4}\.[a-fA-F0-9]{4}\.[a-fA-F0-9]{4})$


ip address of the destination VXLAN tunnel endpoint

Type: objectFormat: ipv4
Type: objectFormat: ipv6

Type: integer

ecmp nexthop group for the VXLAN device driver

Value must be greater or equal to 1

Type: integer

destination port number to use to connect to the remote VXLAN tunnel endpoint

Value must be greater or equal to 0 and lesser or equal to 65535

Type: integer

virtual network identifier this entry belongs to

Value must be greater or equal to 0 and lesser or equal to 16777215

Type: integer

the VLAN ID this entry belongs to

Value must be greater or equal to 0 and lesser or equal to 4096

Type: array
No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

Must be one of:

  • "self"
  • "master"
  • "router"
  • "use"
  • "sticky"

Type: array
No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

Must be one of:

  • "permanent"
  • "noarp"

Type: array Default: []

list of hook names enabled for the interfaces

No Additional Items

Tuple Validation

Item at 1 must be:
Type: object
No Additional Properties

Type: string

name of the hook defined in $.parameters.hooks`

Must be at least 1 characters long

Type: object Default: {}

dictonary to be passed to hooks as environment variables

Type: integer Default: 3

hook execution timeout in seconds

Type: object

configure depending on vrrp status

No Additional Properties

Type: string

related vrrp INSTANCE or GROUP name

Type: enum (of string)

failover type

Must be one of:

  • "instance"
  • "group"

Type: array

states at which the interface should be configured

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

Must be one of:

  • "unknown"
  • "fault"
  • "backup"
  • "master"

Type: array of object

static ARP or NDISC cache entries

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: stringFormat: ipv4

protocol address of the neighbour

Type: string Default: null

link layer address of the neighbour

Must match regular expression: ^([a-fA-F0-9]{2}([:-]?)([a-fA-F0-9]{2}\2){4}[a-fA-F0-9]{2}|[a-fA-F0-9]{4}\.[a-fA-F0-9]{4}\.[a-fA-F0-9]{4})$

Type: object

interface sysctl settings

No Additional Properties

Type: object

settings in /proc/sys/net/ipv4/<interface>/conf/

Type: integer

Type: object

settings in /proc/sys/net/ipv6/<interface>/conf/

No Additional Properties

Type: integer

Type: integer

perform Optimistic Duplicate Address Detection (RFC 4429); This option is enabled by default in ifstate!

Type: stringFormat: ipv6

Type: object

MPLS interface sysctl settings in /proc/sys/net/mpls/<interface>/

No Additional Properties

Type: integer

control whether packets can be input on this interface

Value must be greater or equal to 0 and lesser or equal to 1

Type: object

network driver and hardware settings via ethtool(8)

No Additional Properties

Type: object

pause parameters

No Additional Properties

Type: enum (of boolean or string)

enable pause autonegotiation

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable Rx pause

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable Tx pause

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

interrupt coalescing

No Additional Properties

Type: enum (of boolean or string)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

rx/tx ring parameters

No Additional Properties

Type: integer

number of ring entries for the Rx ring

Type: integer

number of ring entries for the Rx Mini ring

Type: integer

number of ring entries for the Rx Jumbo ring

Type: integer

number of ring entries for the Tx ring


offload parameters and other features

No Additional Properties

Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-checksum

Must not be:

Type: object

The following properties are required:

  • rx
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • tx-generic-segmentation

Must not be:

Type: object

The following properties are required:

  • gso
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-gro

Must not be:

Type: object

The following properties are required:

  • gro
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-lro

Must not be:

Type: object

The following properties are required:

  • lro
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-vlan-hw-parse

Must not be:

Type: object

The following properties are required:

  • rxvlan
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • tx-vlan-hw-insert

Must not be:

Type: object

The following properties are required:

  • txvlan
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-ntuple-filter

Must not be:

Type: object

The following properties are required:

  • ntuple
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-hashing

Must not be:

Type: object

The following properties are required:

  • rxhash

Type: enum (of boolean or string)

Offloads IPsec ESP encryption and decryption to the NIC, reducing CPU load for encrypted traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads checksum computation for IPsec ESP transmit packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Merges packets from the same flow into a single larger buffer to reduce receive-side CPU load (replaced by rx-gro)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments oversized network packets into MTU-sized chunks in software as a fallback for hardware offloads (replaced by tx-generic-segmentation)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Allows the NIC to DMA directly to high memory, avoiding costly bounce buffering on 32-bit systems

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads duplication of outgoing HSR or PRP frames to the NIC hardware to save CPU cycles

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Delegates forwarding of redundancy frames between HSR ring ports to hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads insertion of HSR or PRP redundancy tags onto outgoing frames to save CPU

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Removes HSR or PRP redundancy tags from received frames in hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads traffic control classifiers and actions to hardware, reducing CPU load for packet processing

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads unicast packet forwarding between physical and virtual interfaces to hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Transmits packets to the internal receive path so the NIC retains them without sending onto the physical link

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming TCP packets into larger buffers to reduce CPU load; disable on router or bridge interfaces (replaced by rx-lro)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads MACsec encryption and authentication to the NIC hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Directs matching packets to specific receive queues using programmable hardware flow filters (replaced by rx-ntuple-filter)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads incoming TCP and UDP checksum verification to the NIC, reducing CPU load (replaced by rx-checksum)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Receives all frames including errored ones, useful for sniffing links with bad packets

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads incoming TCP and UDP checksum verification to the NIC, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Appends the Ethernet frame checksum to received packets for inspection by packet analyzers

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Merges packets from the same flow into a single larger buffer to reduce receive-side CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads GRO packet coalescing to NIC hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Chains forwarded TCP packets in frag lists during GRO to bypass coalesce-resegment CPU on router paths

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Computes a hash of packet headers to steer received flows across multiple queues and CPUs

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming TCP packets into larger buffers to reduce CPU load; disable on router or bridge interfaces

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Directs matching packets to specific receive queues using programmable hardware flow filters

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming UDP packets into larger buffers on the forwarding path to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Programs the NIC to recognize UDP encapsulation ports for hardware tunnel offload

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads VLAN ID filtering to the NIC so packets for unregistered VLANs are dropped in hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC strip VLAN tags from received packets and pass tag metadata to the kernel, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Filters incoming packets by S-tag (service VLAN) ID so unregistered frames are dropped in hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Enables the NIC to parse and strip incoming 802.1ad service VLAN tags in hardware, saving CPU on double-tagged traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Computes a hash of packet headers to steer received flows across multiple queues and CPUs (replaced by rx-hashing)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC strip VLAN tags from received packets and pass tag metadata to the kernel, reducing CPU load (replaced by rx-vlan-hw-parse)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Delegates TLS record encryption and TCP connection management to the NIC, bypassing the kernel stack for that socket

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TLS record decryption and authentication to the NIC, reducing CPU load on receiving encrypted traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TLS record encryption to the NIC to reduce CPU usage on outbound connections

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads FCoE CRC32c checksum computation to the NIC, reducing CPU load on transmit

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads transport-layer checksum calculation to the NIC for all protocols and encapsulations

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TCP and UDP checksum computation for outgoing IPv4 packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TCP and UDP checksum calculation for IPv6 packets to the NIC hardware, reducing CPU load per transmitted packet

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads CRC32c checksum computation for outgoing SCTP packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large IPsec ESP packets into MTU-sized frames to reduce CPU load on encrypted tunnels

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large Fibre Channel frames in hardware to reduce CPU load for FCoE storage traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments oversized network packets into MTU-sized chunks in software as a fallback for hardware offloads

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large TCP packets inside GRE tunnels with an outer checksum, offloading segmentation to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled inside GRE to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments chained sub-packet buffers via GSO to reduce CPU load for SCTP traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Enables hardware segmentation of inner TCP payload in tunneled packets to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Recalculates segmentation metadata for GSO packets from untrusted sources

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled over IPv4, reducing CPU load on tunnel endpoints

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled over IPv6, reducing CPU load on tunnel endpoints

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Uses cache-bypassing stores when copying transmit data from user space to reduce CPU cache pollution

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Allows the NIC to read packet data from discontiguous memory, reducing CPU load from copying

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC DMA from a list of chained skbs instead of a single buffer with page fragments

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large SCTP messages into MTU-sized chunks to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Permits TSO for Accurate ECN flows where CWR carries feedback instead of being cleared per segment

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments ECN-marked TCP packets in hardware for CPU savings; disable if NIC corrupts CWR flags

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Permits the NIC to reuse or arbitrarily assign IPv4 IDs across TSO segments, enabling hardware segmentation for tunneled TCP flows

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC split large TCP sends into MTU-sized segments to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC split large TCPv6 segments into MSS-sized frames to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Defers inner checksum verification to the remote endpoint when segmenting tunneled packets to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large UDP datagrams into MTU-sized packets in hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large tunneled TCP packets and outer UDP checksum computation to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of oversized TCP packets inside UDP tunnels to NIC hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1Q VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing tagged traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1ad service VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing Q-in-Q traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1Q VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing tagged traffic (replaced by tx-vlan-hw-insert)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Indicates the device hardware cannot process 802.1Q VLAN-tagged packets

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

device settings

No Additional Properties

Type: integer

speed in Mbps

Type: enum (of string)

full or half duplex mode

Must be one of:

  • "half"
  • "full"

Type: enum (of string)

device port selection

Must be one of:

  • "tp"
  • "aui"
  • "bnc"
  • "mii"

Type: enum (of boolean or string)

MDI-X mode for port

Must be one of:

  • "auto"
  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable autonegotation

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: integer

speed and duplex advertised by autonegotation

Type: integer

PHY address

Type: enum (of string)

transceiver type

Must be one of:

  • "internal"
  • "external"

Type: string

Wake-on-LAN options

Must match regular expression: ^[pumbagsfd]+$

Type: string

SecureOnâ„¢ password

Must match regular expression: ^[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}$


driver message flags

Type: integer

driver message flags by number

Type: array

driver message flags by name

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

flag name

Must be one of:

  • "drv"
  • "probe"
  • "link"
  • "timer"
  • "ifdown"
  • "ifup"
  • "rx_err"
  • "tx_err"
  • "tx_queued"
  • "intr"
  • "tx_done"
  • "rx_status"
  • "pktdata"
  • "hw"
  • "wol"
Item at 2 must be:
Type: enum (of boolean or string)

enable flag

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

number of channels

No Additional Properties

Type: integer

number of channels with only receive queues

Type: integer

number of channels with only transmit queues

Type: integer

number of channels used only for other purposes

Type: integer

number of multi-purpose channels

Type: object

Energy-Efficient Ethernet (according to the IEEE 802.3az specifications)

No Additional Properties

Type: enum (of boolean or string)

enable EEE support

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

assert Tx LPI

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: integer

sets the speed for which EEE should be enabled (see also change.advertise)

Type: integer

amount of idle time prior asserting Tx LPI (in microseconds)

Type: object

PHY tunable parameters

No Additional Properties


enable downshift

Type: enum (of boolean or string)

enable downshift

Must be one of:

  • "on"
  • "off"
  • true
  • false
Type: array

Must contain a minimum of 3 items

Must contain a maximum of 3 items

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of boolean or string)

enable downshift

Must be one of:

  • "on"
  • "off"
  • true
  • false
Item at 2 must be:
Type: enum (of string)

REQUIRED

Must be one of:

  • "count"
Item at 3 must be:
Type: integer

PHY downshift re-tries count


enable Energy Detect Power Down (EDPD)

Type: enum (of boolean or string)

enable EDPD

Must be one of:

  • "on"
  • "off"
  • true
  • false
Type: array

Must contain a minimum of 3 items

Must contain a maximum of 3 items

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of boolean or string)

enable EDPD

Must be one of:

  • "on"
  • "off"
  • true
  • false
Item at 2 must be:
Type: enum (of string)

REQUIRED

Must be one of:

  • "msec"
Item at 3 must be:

Type: object

private flags

Type: object

Forward Error Correction

No Additional Properties

Type: enum (of string)

FEC encoding

Must be one of:

  • "auto"
  • "off"
  • "RS"
  • "BaseR"
  • "LLRS"

Type: object

simple shaper setup based on the cake queue discipline; replaces any tc settings

No Additional Properties

Type: string Default: "unlimited"

target ingress bandwidth

Type: string Default: "unlimited"

target egress bandwidth

Type: string Default: "default"

cshaper profile

Type: object

settings for traffic control

No Additional Properties

Type: boolean

enable the ingress qdisc for policing and shaping in ingress

Type: object

root queueing disciplines

Type: object

generic classless qdisc

Type: enum (of string)

qdisk type

Must be one of:

  • "gred"
  • "hhf"
  • "mqprio"
  • "multiq"
  • "netem"
  • "pfifo_fast"
  • "pie"
  • "red"
  • "sfb"
  • "sfq"
  • "tbf"
Type: object

cake - common applications kept enhanced (CAKE)

Type: const

qdisk type

Specific value: "cake"

Type: string

unique id

Type: enum (of boolean or string)

ACKnowledge filter

Must be one of:

  • "aggressive"
  • true
  • false

Type: enum (of boolean or string)

ATM mode

Must be one of:

  • "ptm"
  • true
  • false

Type: boolean

autorate-ingress

Type: enum (of string)

diffserv mode

Must be one of:

  • "diffserv3"
  • "diffserv4"
  • "diffserv8"
  • "besteffort"
  • "precedence"

Type: boolean

ingress

Type: integer

overhead

Value must be greater or equal to -64 and lesser or equal to 256

Type: enum (of string)

flow mode

Must be one of:

  • "flowblind"
  • "srchost"
  • "dsthost"
  • "hosts"
  • "flows"
  • "dual-srchost"
  • "dual-dsthost"
  • "triple-isolated"

Type: integer

fwmark

Value must be greater or equal to 0

Type: integer

memlimit

Value must be greater or equal to 0

Type: integer

MPU

Value must be greater or equal to 0 and lesser or equal to 256

Type: boolean

NAT

Type: boolean

RAW


Type: enum (of string)

well-known RTT

Must be one of:

  • "datacentre"
  • "lan"
  • "metro"
  • "regional"
  • "internet"
  • "oceanic"
  • "satellite"
  • "interplanetary"
Type: integer

manually specify an RTT (us)

Value must be greater or equal to 1

Type: boolean

split GSO

Type: integer

target

Value must be greater or equal to 1

Type: boolean

wash

Type: object

choke - choose and keep scheduler

The following properties are required:

  • limit
  • min
  • max
  • avpkt
  • burst
  • probability

Type: const

qdisk type

Specific value: "choke"
Type: object

CoDel - Controlled-Delay Active Queue Management algorithm

Type: const

qdisk type

Specific value: "codel"
Type: object

bfifo - Byte limited First In, First Out queue; pfifo - Packet limited First In, First Out queue

No Additional Properties

Type: enum (of string)

qdisk type

Must be one of:

  • "bfifo"
  • "pfifo"

Type: number

queue size in bytes or packets

Type: object

fq - Fair Queue traffic policing

Type: const

qdisk type

Specific value: "fq"

Type: number

hard limit on the real queue size (number of packets)

Type: number

hard limit on the max number of packets per flow

Type: object

fq_codel - Fair Queuing (FQ) with Controlled Delay (CoDel)

Type: const

qdisk type

Specific value: "fq_codel"

Type: number

hard limit on the real queue size (number of packets)

Type: number

number of flows

Type: object

generic classful qdisc

Type: enum (of string)

qdisk type

Must be one of:

  • "atm"
  • "cbq"
  • "drr"
  • "dsmark"
  • "hfsc"
  • "htb"
  • "prio"
  • "qfq"
Type: object

classful multiqueue dummy scheduler

Type: const

qdisk type

Specific value: "mq"

Type: array

list child qdiscs for each device TX queue

No Additional Items

Each item of this array must be:

Type: object

child qdiscs for the nth device TX queue

Same definition as qdisc

Type: string

unique id

Type: array of object

filter used by qdiscs

No Additional Items

Each item of this array must be:


Type: object

basic - basic traffic control filter

No Additional Properties

Type: enum (of string)

Must be one of:

  • "basic"

Type: string or integer Default: 3

protocol selector

Type: integer

priority

Value must be greater or equal to 0 and lesser or equal to 65535

Type: array of object

traffic control filter action

No Additional Items

Each item of this array must be:


Type: object

mirred - mirror/redirect action

No Additional Properties

Type: enum (of string)

packet direction

Must be one of:

  • "ingress"
  • "egress"

Type: enum (of string)

copy (mirror) or move (redirect) packets to the destination interface

Must be one of:

  • "mirror"
  • "redirect"

Type: integer or string

destination interface where packets are redirected or mirrored to

Type: integer

unique action ID

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: object

vlan - vlan manipulation module

No Additional Properties

Type: enum (of string)

Must be one of:

  • "pop"
  • "push"
  • "modify"

Type: enum (of string)

Must be one of:

  • "unspec"
  • "ok"
  • "reclassify"
  • "shot"
  • "drop"
  • "pipe"

Type: integer

VLAN id

Value must be greater or equal to 0 and lesser or equal to 4095

Type: integer

VLAN priority

Value must be greater or equal to 0 and lesser or equal to 7

Type: enum (of string)

Must be one of:

  • "802.1Q"
  • "802.1ad"

Type: enum (of string)

Must be one of:

  • "mirred"
  • "vlan"

Type: array of object

match packets using the extended match infrastructure

No Additional Items

Each item of this array must be:


flow - flow based traffic control filter

Type: object

The following properties are required:

  • kind

Type: enum (of string)

filter mode

Must be one of:

  • "map"

Type: enum (of string)

map to class ID by key

Must be one of:

  • "src"
  • "dst"
  • "proto"
  • "proto-src"
  • "proto-dst"
  • "iif"
  • "priority"
  • "mark"
  • "nfct"
  • "nfct-src"
  • "nfct-dst"
  • "nfct-proto-src"
  • "nfct-proto-dst"
  • "rt-classid"
  • "sk-uid"
  • "sk-gid"
  • "vlan-tag"
  • "rxhash"
Type: object

The following properties are required:

  • kind

Type: enum (of string)

filter mode

Must be one of:

  • "hash"

Type: array of enum (of string)

hash over keys for class ID calculation

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "src"
  • "dst"
  • "proto"
  • "proto-src"
  • "proto-dst"
  • "iif"
  • "priority"
  • "mark"
  • "nfct"
  • "nfct-src"
  • "nfct-dst"
  • "nfct-proto-src"
  • "nfct-proto-dst"
  • "rt-classid"
  • "sk-uid"
  • "sk-gid"
  • "vlan-tag"
  • "rxhash"

Type: integer

rehashing interval (in seconds)

Value must be greater or equal to 0 and lesser or equal to 294967295

Type: enum (of string)

Must be one of:

  • "flow"

Type: string or integer Default: 3

protocol selector

Type: integer

priority

Value must be greater or equal to 0 and lesser or equal to 65535

Type: array of object

traffic control filter action

No Additional Items

Each item of this array must be:


Type: object

mirred - mirror/redirect action

No Additional Properties

Type: enum (of string)

packet direction

Must be one of:

  • "ingress"
  • "egress"

Type: enum (of string)

copy (mirror) or move (redirect) packets to the destination interface

Must be one of:

  • "mirror"
  • "redirect"

Type: integer or string

destination interface where packets are redirected or mirrored to

Type: integer

unique action ID

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: object

vlan - vlan manipulation module

No Additional Properties

Type: enum (of string)

Must be one of:

  • "pop"
  • "push"
  • "modify"

Type: enum (of string)

Must be one of:

  • "unspec"
  • "ok"
  • "reclassify"
  • "shot"
  • "drop"
  • "pipe"

Type: integer

VLAN id

Value must be greater or equal to 0 and lesser or equal to 4095

Type: integer

VLAN priority

Value must be greater or equal to 0 and lesser or equal to 7

Type: enum (of string)

Must be one of:

  • "802.1Q"
  • "802.1ad"

Type: enum (of string)

Must be one of:

  • "mirred"
  • "vlan"

Type: integer Default: 1

offset for the class ID calculation

Value must be greater or equal to 0 and lesser or equal to 65535

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: object

fw - fwmark traffic control filter

No Additional Properties

Type: enum (of string)

Must be one of:

  • "fw"

Type: string or integer Default: 3

protocol selector

Type: integer

priority

Value must be greater or equal to 0 and lesser or equal to 65535

Type: array of object

traffic control filter action

No Additional Items

Each item of this array must be:


Type: object

mirred - mirror/redirect action

No Additional Properties

Type: enum (of string)

packet direction

Must be one of:

  • "ingress"
  • "egress"

Type: enum (of string)

copy (mirror) or move (redirect) packets to the destination interface

Must be one of:

  • "mirror"
  • "redirect"

Type: integer or string

destination interface where packets are redirected or mirrored to

Type: integer

unique action ID

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: object

vlan - vlan manipulation module

No Additional Properties

Type: enum (of string)

Must be one of:

  • "pop"
  • "push"
  • "modify"

Type: enum (of string)

Must be one of:

  • "unspec"
  • "ok"
  • "reclassify"
  • "shot"
  • "drop"
  • "pipe"

Type: integer

VLAN id

Value must be greater or equal to 0 and lesser or equal to 4095

Type: integer

VLAN priority

Value must be greater or equal to 0 and lesser or equal to 7

Type: enum (of string)

Must be one of:

  • "802.1Q"
  • "802.1ad"

Type: enum (of string)

Must be one of:

  • "mirred"
  • "vlan"

Type: integer

fwmark (iptables) to match

Value must be greater or equal to 0

Type: object

matchall - traffic control filter that matches every packet

No Additional Properties

Type: enum (of string)

Must be one of:

  • "matchall"

Type: string or integer Default: 3

protocol selector

Type: integer

priority

Value must be greater or equal to 0 and lesser or equal to 65535

Type: array of object

traffic control filter action

No Additional Items

Each item of this array must be:


Type: object

mirred - mirror/redirect action

No Additional Properties

Type: enum (of string)

packet direction

Must be one of:

  • "ingress"
  • "egress"

Type: enum (of string)

copy (mirror) or move (redirect) packets to the destination interface

Must be one of:

  • "mirror"
  • "redirect"

Type: integer or string

destination interface where packets are redirected or mirrored to

Type: integer

unique action ID

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: object

vlan - vlan manipulation module

No Additional Properties

Type: enum (of string)

Must be one of:

  • "pop"
  • "push"
  • "modify"

Type: enum (of string)

Must be one of:

  • "unspec"
  • "ok"
  • "reclassify"
  • "shot"
  • "drop"
  • "pipe"

Type: integer

VLAN id

Value must be greater or equal to 0 and lesser or equal to 4095

Type: integer

VLAN priority

Value must be greater or equal to 0 and lesser or equal to 7

Type: enum (of string)

Must be one of:

  • "802.1Q"
  • "802.1ad"

Type: enum (of string)

Must be one of:

  • "mirred"
  • "vlan"

Type: integer

push matching packets into class

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

process flags (1: SKIPHW, 2: SKIPSW)

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: enum (of string)

filter type

Must be one of:

  • "basic"
  • "flow"
  • "fw"
  • "matchall"

Type: object

settings for WireGuard interfaces

No Additional Properties

Type: string

local private key (consider to use the !include tag to read the key from file)

Type: integer

port for listening

Value must be greater or equal to 0 and lesser or equal to 65535

Type: integer

fwmark for outgoing packets

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer or string Default: null

add routes for peer's prefixes to the specified routing table, required routing quirks for peer endpoint addresses (i.e. when the default route points into wireguard) are not added automatically


Example:

main

Type: object

dictonary with peers: the keys of the dictionary are the public keys of the peers (base64 encoded)

No Additional Properties

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^[-A-Za-z0-9+/]{43}=$
Type: object
No Additional Properties

Type: string

preshared key for post-quantum resistance (consider to use the !include tag to read the key from file)

Type: string

initial endpoint IP or hostname

Type: integer

keepalive interval seconds

Value must be greater or equal to 0 and lesser or equal to 65535

Type: array of string

list of prefixes in CIDR notation

No Additional Items

Each item of this array must be:


settings for XDP ("eXpress Data Path") BPF program

Type: enum (of boolean)

remove attached XDP program

Must be one of:

  • false
Type: object

attach already pinned XDP program

No Additional Properties

Type: stringFormat: ^/sys/fs/bfd/.

path to already pinned XDP program

Type: object

BPF program from ifstate's bpf config section

No Additional Properties

Type: string

BPF program (key in bpf config section)

Type: object

Type: string

The mac_seed is used to assign reproducible MAC addresses to virtual interfaces. The default mac_seed is based on the host's machine-id and the network namespace of the interface. Interfaces with identical names and mac_seed gets the same MAC addresses.

Must be at least 1 characters long

Type: null

Do not handle MAC addresses for virtual interfaces. If an interfaces has no link.address property, it will get a random MAC addresses assigned by the Linux kernel.

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: enum (of string) Default: "unicast"

the type of this route

Must be one of:

  • "unicast"
  • "local"
  • "broadcast"
  • "anycast"
  • "multicast"
  • "blackhole"
  • "unreachable"
  • "prohibit"
  • "throw"
  • "nat"
  • "xresolve"

Type: integer or string

the output device name

Type: integer or string Default: "boot"

the routing protool identifier of this route

Type: integer or string

the realm to which this route is assigned

Type: integer or string

the scope (/etc/iproute2/rt_scopes) of the destinations covered by the route prefix

Type: integer or string Default: "main"

the table to add this route to

Type: string

the destination prefix of the route


address of the nexthop router

Type: objectFormat: ipv4
Type: objectFormat: ipv6

Type: object

configure depending on vrrp status

No Additional Properties

Type: string

related vrrp INSTANCE or GROUP name

Type: enum (of string)

failover type

Must be one of:

  • "instance"
  • "group"

Type: array

states at which the interface should be configured

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

Must be one of:

  • "unknown"
  • "fault"
  • "backup"
  • "master"


the source address to prefer

Type: objectFormat: ipv4
Type: objectFormat: ipv6

Type: integer Default: 0

preference of the route

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: array of object
No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "to_tbl"
Type: object

The following properties are required:

  • table
  • priority
Type: object

The following properties are required:

  • priority

Type: enum (of string) Default: "to_tbl"

the type of this rule

Must be one of:

  • "to_tbl"
  • "blackhole"
  • "unreachable"
  • "prohibit"

Type: integer or string

Type: integer

the priority of this rule

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: string

select the source prefix to match

Type: string

select the destination prefix to match

Type: string

select the incoming device to match

Type: string

select the outgoing device to match

Type: integer or string Default: "unspec"

routing protocol number (/etc/iproute2/rt_protos)

Type: integer

select the fwmark value to match

Type: integer or string

select the ip protocol to match

Type: object

configure depending on vrrp status

No Additional Properties

Type: string

related vrrp INSTANCE or GROUP name

Type: enum (of string)

failover type

Must be one of:

  • "instance"
  • "group"

Type: array

states at which the interface should be configured

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

Must be one of:

  • "unknown"
  • "fault"
  • "backup"
  • "master"

Type: enum (of integer or string)

IP family (IPv4 or IPv6) to add the rule to. One of AF_INET, inet, 2 for IPv4 or AF_INET6, inet6, 10 for IPv6. Leave undefined to let ifstate and pyroute2 automatically detect it from the 'to' and 'from' addresses, defaulting to IPv4.

Must be one of:

  • "AF_INET"
  • "AF_INET6"
  • "inet"
  • "inet6"
  • 2
  • 10

Type: object

network sysctl settings

No Additional Properties

Type: object

overrides per interface sysctl settings in /proc/sys/net/ipv*/conf/all/

No Additional Properties

Type: object

settings in /proc/sys/net/ipv4/<interface>/conf/

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: object

settings in /proc/sys/net/ipv6/<interface>/conf/

No Additional Properties

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

perform Optimistic Duplicate Address Detection (RFC 4429); This option is enabled by default in ifstate!

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: stringFormat: ipv6

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: object

default per interface sysctl settings in /proc/sys/net/ipv*/conf/default/

No Additional Properties

Type: object

settings in /proc/sys/net/ipv4/<interface>/conf/

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: object

settings in /proc/sys/net/ipv6/<interface>/conf/

No Additional Properties

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

perform Optimistic Duplicate Address Detection (RFC 4429); This option is enabled by default in ifstate!

Type: integer

Type: integer

Type: integer

Type: integer

Type: stringFormat: ipv6

Type: integer

Type: integer

Type: integer

Type: integer

Type: object

MPLS sysctl settings in /proc/sys/net/mpls/

No Additional Properties

Type: integer

number of entries in the platform label table

Value must be greater or equal to 0 and lesser or equal to 1048575

Type: integer

control whether TTL is propagated

Value must be greater or equal to 0 and lesser or equal to 1

Type: integer

default TTL value to use for MPLS packets

Value must be greater or equal to 1 and lesser or equal to 255

Type: object

Multipath TCP sysctl settings in /proc/sys/net/mptcp/

No Additional Properties

Type: integer Default: 120

timeout in seconds after which an ADD_ADDR control message will be resent

Value must be greater or equal to -8589934 and lesser or equal to 8589934

Type: boolean Default: true

allow peers to send join requests to the IP address and port number used by the initial subflow

Type: integer Default: 3600

initial time period in second to disable MPTCP on active MPTCP sockets when a MPTCP firewall blackhole issue happens

Value must be greater or equal to 0 and lesser or equal to 2147483647

Type: boolean Default: false

control whether DSS checksum can be enabled

Type: integer Default: 60

set the make-after-break timeout

Value must be greater or equal to -8589934 and lesser or equal to 8589934

Type: boolean Default: true

control whether MPTCP sockets can be created

Type: enum (of string) Default: "kernel"

control whether MPTCP sockets can be created

Must be one of:

  • "kernel"
  • "userspace"

Type: enum (of integer)

set the default path manager type to use for each new MPTCP socket

Must be one of:

  • 0
  • 1

Type: string Default: "default"

select the scheduler of your choice

Type: integer Default: 4

number of MPTCP-level retransmission intervals with no traffic and pending outstanding data on a given subflow required to declare it stale

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer Default: 2

number of SYN + MP_CAPABLE retransmissions before falling back to TCP

Value must be greater or equal to 0

Type: object
No Additional Properties

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: .+
Type: object
No Additional Properties

Type: object

load and pin eBPF programs (i.e. for XDP)

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression:
Type: object

BPF program

No Additional Properties

Type: string

BPF ELF file to load

Type: string

BPF program's section name

Type: object

dictionary of interfaces related settings, the name of the interface needs to be specified as key

No Additional Properties

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^[^/ ]{1,15}$
Type: object
No Additional Properties

Type: object

netlink and devicetree attributes to identify a specific physical interface; all given attributes must match; if more than a single interface does match, any one is taken; ifstatecli identify can be used to show available attributes

No Additional Properties

Type: string

select interface by permanent address [ethtool -P]

Must match regular expression: ^([a-fA-F0-9]{2}([:-]?)([a-fA-F0-9]{2}\2){4}[a-fA-F0-9]{2}|[a-fA-F0-9]{4}\.[a-fA-F0-9]{4}\.[a-fA-F0-9]{4})$

Type: string

select interface by bus info [ethtool -i]

Type: string

select interface by bus name

Type: string

identifier of the physical port

Type: string

name of the physical port

Type: string

identifier of the physical switch

Type: object

path to the device node in the open firmware devicetree; this is only available if the platform has devicetree support

Type: array

ip addresses of the interface

No Additional Items

Each item of this array must be:


Type: string

ip address with prefix length in CIDR notation


Examples:

192.0.2.1
192.168.0.1/24
2001:db8::1/64
Type: object
No Additional Properties

Type: string

ip address with prefix length in CIDR notation


Examples:

192.0.2.1
192.168.0.1/24
2001:db8::1/64

Type: string

set label string

Must be at most 15 characters long


configures the local IP address on a point-to-point link, making address the peer's network


Examples:

192.0.2.1
2001:db8::1

Type: integer or string

set protocol instance (/etc/iproute2/rt_addrprotos)

Type: integer or string

the scope (/etc/iproute2/rt_scopes) where the address is valid

Type: stringFormat: ipv6

IPv6 tokenized interface identifier (draft-chown-6man-tokenised-ipv6-identifiers-02)

Type: object

settings for bridge ports

No Additional Properties

Type: integer

set port priority

Value must be greater or equal to 0 and lesser or equal to 63

Type: object

set port cost

Type: boolean

filter BPDU packets

Type: boolean

enable hairpin mode

Type: boolean

enable multicast fast leave

Type: boolean

prevent to become a root port

Type: boolean

allow MAC address learning

Type: boolean

flood unknown unicasts

Type: boolean

flood broadcasts

Type: boolean

flood multicasts

Type: boolean

clone multicast packets into unicasts

Type: boolean

enable proxy ARP

Type: boolean

enable proxy ARP (IEEE 802.11 and Hotspot 2.0)

Type: boolean

ARP and ND suppression

Type: boolean

VLAN to tunnel mapping

Type: integer or string

backup bridge port on loss carrier

Type: boolean

isolated port, can communicate only with non-isolated ports

Type: array of object

bridge VLAN membership for bridge ports

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: integer

VLAN ID

Value must be greater or equal to 1 and lesser or equal to 4094

Type: boolean

VLAN is the port VLAN ID (PVID)

Type: boolean

egress traffic for this VLAN is sent untagged

Type: boolean

VLAN entry on the bridge device itself instead of a bridge port (equivalent to bridge vlan add ... self)

Type: array of object

forwarding database for bridge interfaces, the entries are distinct by the lladdr property

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: string Default: null

destination link layer address

Must match regular expression: ^([a-fA-F0-9]{2}([:-]?)([a-fA-F0-9]{2}\2){4}[a-fA-F0-9]{2}|[a-fA-F0-9]{4}\.[a-fA-F0-9]{4}\.[a-fA-F0-9]{4})$


ip address of the destination VXLAN tunnel endpoint

Type: integer

ecmp nexthop group for the VXLAN device driver

Value must be greater or equal to 1

Type: integer

destination port number to use to connect to the remote VXLAN tunnel endpoint

Value must be greater or equal to 0 and lesser or equal to 65535

Type: integer

virtual network identifier this entry belongs to

Value must be greater or equal to 0 and lesser or equal to 16777215

Type: integer

the VLAN ID this entry belongs to

Value must be greater or equal to 0 and lesser or equal to 4096

Type: array
No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

Must be one of:

  • "self"
  • "master"
  • "router"
  • "use"
  • "sticky"

Type: array
No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

Must be one of:

  • "permanent"
  • "noarp"

Type: array Default: []

list of hook names enabled for the interfaces

No Additional Items

Tuple Validation

Item at 1 must be:
Type: object
No Additional Properties

Type: string

name of the hook defined in $.parameters.hooks`

Must be at least 1 characters long

Type: object Default: {}

dictonary to be passed to hooks as environment variables

Type: integer Default: 3

hook execution timeout in seconds

Type: object

configure depending on vrrp status

No Additional Properties

Type: string

related vrrp INSTANCE or GROUP name

Type: enum (of string)

failover type

Must be one of:

  • "instance"
  • "group"

Type: array

states at which the interface should be configured

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

Must be one of:

  • "unknown"
  • "fault"
  • "backup"
  • "master"

Type: array of object

static ARP or NDISC cache entries

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: stringFormat: ipv4

protocol address of the neighbour

Type: string Default: null

link layer address of the neighbour

Must match regular expression: ^([a-fA-F0-9]{2}([:-]?)([a-fA-F0-9]{2}\2){4}[a-fA-F0-9]{2}|[a-fA-F0-9]{4}\.[a-fA-F0-9]{4}\.[a-fA-F0-9]{4})$

Type: object

interface sysctl settings

No Additional Properties

Type: object

settings in /proc/sys/net/ipv4/<interface>/conf/

Type: object

settings in /proc/sys/net/ipv6/<interface>/conf/

No Additional Properties

Type: integer

perform Optimistic Duplicate Address Detection (RFC 4429); This option is enabled by default in ifstate!

Type: object

MPLS interface sysctl settings in /proc/sys/net/mpls/<interface>/

No Additional Properties

Type: integer

control whether packets can be input on this interface

Value must be greater or equal to 0 and lesser or equal to 1

Type: object

network driver and hardware settings via ethtool(8)

No Additional Properties

Type: object

pause parameters

No Additional Properties

Type: enum (of boolean or string)

enable pause autonegotiation

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable Rx pause

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable Tx pause

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

interrupt coalescing

No Additional Properties

Type: enum (of boolean or string)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

rx/tx ring parameters

No Additional Properties

Type: integer

number of ring entries for the Rx ring

Type: integer

number of ring entries for the Rx Mini ring

Type: integer

number of ring entries for the Rx Jumbo ring

Type: integer

number of ring entries for the Tx ring


offload parameters and other features

No Additional Properties

Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-checksum

Must not be:

Type: object

The following properties are required:

  • rx
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • tx-generic-segmentation

Must not be:

Type: object

The following properties are required:

  • gso
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-gro

Must not be:

Type: object

The following properties are required:

  • gro
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-lro

Must not be:

Type: object

The following properties are required:

  • lro
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-vlan-hw-parse

Must not be:

Type: object

The following properties are required:

  • rxvlan
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • tx-vlan-hw-insert

Must not be:

Type: object

The following properties are required:

  • txvlan
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-ntuple-filter

Must not be:

Type: object

The following properties are required:

  • ntuple
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

The following properties are required:

  • rx-hashing

Must not be:

Type: object

The following properties are required:

  • rxhash

Type: enum (of boolean or string)

Offloads IPsec ESP encryption and decryption to the NIC, reducing CPU load for encrypted traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads checksum computation for IPsec ESP transmit packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Merges packets from the same flow into a single larger buffer to reduce receive-side CPU load (replaced by rx-gro)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments oversized network packets into MTU-sized chunks in software as a fallback for hardware offloads (replaced by tx-generic-segmentation)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Allows the NIC to DMA directly to high memory, avoiding costly bounce buffering on 32-bit systems

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads duplication of outgoing HSR or PRP frames to the NIC hardware to save CPU cycles

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Delegates forwarding of redundancy frames between HSR ring ports to hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads insertion of HSR or PRP redundancy tags onto outgoing frames to save CPU

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Removes HSR or PRP redundancy tags from received frames in hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads traffic control classifiers and actions to hardware, reducing CPU load for packet processing

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads unicast packet forwarding between physical and virtual interfaces to hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Transmits packets to the internal receive path so the NIC retains them without sending onto the physical link

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming TCP packets into larger buffers to reduce CPU load; disable on router or bridge interfaces (replaced by rx-lro)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads MACsec encryption and authentication to the NIC hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Directs matching packets to specific receive queues using programmable hardware flow filters (replaced by rx-ntuple-filter)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads incoming TCP and UDP checksum verification to the NIC, reducing CPU load (replaced by rx-checksum)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Receives all frames including errored ones, useful for sniffing links with bad packets

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads incoming TCP and UDP checksum verification to the NIC, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Appends the Ethernet frame checksum to received packets for inspection by packet analyzers

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Merges packets from the same flow into a single larger buffer to reduce receive-side CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads GRO packet coalescing to NIC hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Chains forwarded TCP packets in frag lists during GRO to bypass coalesce-resegment CPU on router paths

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Computes a hash of packet headers to steer received flows across multiple queues and CPUs

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming TCP packets into larger buffers to reduce CPU load; disable on router or bridge interfaces

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Directs matching packets to specific receive queues using programmable hardware flow filters

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Coalesces incoming UDP packets into larger buffers on the forwarding path to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Programs the NIC to recognize UDP encapsulation ports for hardware tunnel offload

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads VLAN ID filtering to the NIC so packets for unregistered VLANs are dropped in hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC strip VLAN tags from received packets and pass tag metadata to the kernel, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Filters incoming packets by S-tag (service VLAN) ID so unregistered frames are dropped in hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Enables the NIC to parse and strip incoming 802.1ad service VLAN tags in hardware, saving CPU on double-tagged traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Computes a hash of packet headers to steer received flows across multiple queues and CPUs (replaced by rx-hashing)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC strip VLAN tags from received packets and pass tag metadata to the kernel, reducing CPU load (replaced by rx-vlan-hw-parse)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Delegates TLS record encryption and TCP connection management to the NIC, bypassing the kernel stack for that socket

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TLS record decryption and authentication to the NIC, reducing CPU load on receiving encrypted traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TLS record encryption to the NIC to reduce CPU usage on outbound connections

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads FCoE CRC32c checksum computation to the NIC, reducing CPU load on transmit

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads transport-layer checksum calculation to the NIC for all protocols and encapsulations

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TCP and UDP checksum computation for outgoing IPv4 packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads TCP and UDP checksum calculation for IPv6 packets to the NIC hardware, reducing CPU load per transmitted packet

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads CRC32c checksum computation for outgoing SCTP packets to the NIC hardware

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large IPsec ESP packets into MTU-sized frames to reduce CPU load on encrypted tunnels

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large Fibre Channel frames in hardware to reduce CPU load for FCoE storage traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments oversized network packets into MTU-sized chunks in software as a fallback for hardware offloads

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large TCP packets inside GRE tunnels with an outer checksum, offloading segmentation to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled inside GRE to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments chained sub-packet buffers via GSO to reduce CPU load for SCTP traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Enables hardware segmentation of inner TCP payload in tunneled packets to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Recalculates segmentation metadata for GSO packets from untrusted sources

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled over IPv4, reducing CPU load on tunnel endpoints

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large TCP packets tunneled over IPv6, reducing CPU load on tunnel endpoints

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Uses cache-bypassing stores when copying transmit data from user space to reduce CPU cache pollution

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Allows the NIC to read packet data from discontiguous memory, reducing CPU load from copying

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC DMA from a list of chained skbs instead of a single buffer with page fragments

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large SCTP messages into MTU-sized chunks to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Permits TSO for Accurate ECN flows where CWR carries feedback instead of being cleared per segment

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments ECN-marked TCP packets in hardware for CPU savings; disable if NIC corrupts CWR flags

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Permits the NIC to reuse or arbitrarily assign IPv4 IDs across TSO segments, enabling hardware segmentation for tunneled TCP flows

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC split large TCP sends into MTU-sized segments to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Lets the NIC split large TCPv6 segments into MSS-sized frames to reduce per-packet CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Defers inner checksum verification to the remote endpoint when segmenting tunneled packets to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Segments large UDP datagrams into MTU-sized packets in hardware to reduce CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of large tunneled TCP packets and outer UDP checksum computation to the NIC

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads segmentation of oversized TCP packets inside UDP tunnels to NIC hardware, reducing CPU load

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1Q VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing tagged traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1ad service VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing Q-in-Q traffic

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Offloads 802.1Q VLAN tag insertion to the NIC hardware, reducing CPU load on outgoing tagged traffic (replaced by tx-vlan-hw-insert)

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

Indicates the device hardware cannot process 802.1Q VLAN-tagged packets

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

device settings

No Additional Properties

Type: integer

speed in Mbps

Type: enum (of string)

full or half duplex mode

Must be one of:

  • "half"
  • "full"

Type: enum (of string)

device port selection

Must be one of:

  • "tp"
  • "aui"
  • "bnc"
  • "mii"

Type: enum (of boolean or string)

MDI-X mode for port

Must be one of:

  • "auto"
  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

enable autonegotation

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: integer

speed and duplex advertised by autonegotation

Type: integer

PHY address

Type: enum (of string)

transceiver type

Must be one of:

  • "internal"
  • "external"

Type: string

Wake-on-LAN options

Must match regular expression: ^[pumbagsfd]+$

Type: string

SecureOnâ„¢ password

Must match regular expression: ^[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}$


driver message flags

Type: integer

driver message flags by number

Type: array

driver message flags by name

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

flag name

Must be one of:

  • "drv"
  • "probe"
  • "link"
  • "timer"
  • "ifdown"
  • "ifup"
  • "rx_err"
  • "tx_err"
  • "tx_queued"
  • "intr"
  • "tx_done"
  • "rx_status"
  • "pktdata"
  • "hw"
  • "wol"
Item at 2 must be:
Type: enum (of boolean or string)

enable flag

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: object

number of channels

No Additional Properties

Type: integer

number of channels with only receive queues

Type: integer

number of channels with only transmit queues

Type: integer

number of channels used only for other purposes

Type: integer

number of multi-purpose channels

Type: object

Energy-Efficient Ethernet (according to the IEEE 802.3az specifications)

No Additional Properties

Type: enum (of boolean or string)

enable EEE support

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: enum (of boolean or string)

assert Tx LPI

Must be one of:

  • "on"
  • "off"
  • true
  • false

Type: integer

sets the speed for which EEE should be enabled (see also change.advertise)

Type: integer

amount of idle time prior asserting Tx LPI (in microseconds)

Type: object

PHY tunable parameters

No Additional Properties


enable downshift

Type: enum (of boolean or string)

enable downshift

Must be one of:

  • "on"
  • "off"
  • true
  • false
Type: array

Must contain a minimum of 3 items

Must contain a maximum of 3 items

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of boolean or string)

enable downshift

Must be one of:

  • "on"
  • "off"
  • true
  • false
Item at 2 must be:
Type: enum (of string)

REQUIRED

Must be one of:

  • "count"
Item at 3 must be:
Type: integer

PHY downshift re-tries count


enable Energy Detect Power Down (EDPD)

Type: enum (of boolean or string)

enable EDPD

Must be one of:

  • "on"
  • "off"
  • true
  • false
Type: array

Must contain a minimum of 3 items

Must contain a maximum of 3 items

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of boolean or string)

enable EDPD

Must be one of:

  • "on"
  • "off"
  • true
  • false
Item at 2 must be:
Type: enum (of string)

REQUIRED

Must be one of:

  • "msec"
Item at 3 must be:

Type: object

private flags

Type: object

Forward Error Correction

No Additional Properties

Type: enum (of string)

FEC encoding

Must be one of:

  • "auto"
  • "off"
  • "RS"
  • "BaseR"
  • "LLRS"

Type: object

simple shaper setup based on the cake queue discipline; replaces any tc settings

No Additional Properties

Type: string Default: "unlimited"

target ingress bandwidth

Type: string Default: "unlimited"

target egress bandwidth

Type: string Default: "default"

cshaper profile

Type: object

settings for traffic control

No Additional Properties

Type: boolean

enable the ingress qdisc for policing and shaping in ingress

Type: object

root queueing disciplines

Type: object

generic classless qdisc

Type: enum (of string)

qdisk type

Must be one of:

  • "gred"
  • "hhf"
  • "mqprio"
  • "multiq"
  • "netem"
  • "pfifo_fast"
  • "pie"
  • "red"
  • "sfb"
  • "sfq"
  • "tbf"
Type: object

cake - common applications kept enhanced (CAKE)

Type: const

qdisk type

Specific value: "cake"

Type: enum (of boolean or string)

ACKnowledge filter

Must be one of:

  • "aggressive"
  • true
  • false

Type: enum (of boolean or string)

ATM mode

Must be one of:

  • "ptm"
  • true
  • false

Type: boolean

autorate-ingress

Type: enum (of string)

diffserv mode

Must be one of:

  • "diffserv3"
  • "diffserv4"
  • "diffserv8"
  • "besteffort"
  • "precedence"

Type: integer

overhead

Value must be greater or equal to -64 and lesser or equal to 256

Type: enum (of string)

flow mode

Must be one of:

  • "flowblind"
  • "srchost"
  • "dsthost"
  • "hosts"
  • "flows"
  • "dual-srchost"
  • "dual-dsthost"
  • "triple-isolated"

Type: integer

fwmark

Value must be greater or equal to 0

Type: integer

memlimit

Value must be greater or equal to 0

Type: integer

MPU

Value must be greater or equal to 0 and lesser or equal to 256


Type: enum (of string)

well-known RTT

Must be one of:

  • "datacentre"
  • "lan"
  • "metro"
  • "regional"
  • "internet"
  • "oceanic"
  • "satellite"
  • "interplanetary"
Type: integer

manually specify an RTT (us)

Value must be greater or equal to 1

Type: integer

target

Value must be greater or equal to 1

Type: object

choke - choose and keep scheduler

The following properties are required:

  • limit
  • min
  • max
  • avpkt
  • burst
  • probability

Type: const

qdisk type

Specific value: "choke"
Type: object

CoDel - Controlled-Delay Active Queue Management algorithm

Type: const

qdisk type

Specific value: "codel"
Type: object

bfifo - Byte limited First In, First Out queue; pfifo - Packet limited First In, First Out queue

No Additional Properties

Type: enum (of string)

qdisk type

Must be one of:

  • "bfifo"
  • "pfifo"

Type: number

queue size in bytes or packets

Type: object

fq - Fair Queue traffic policing

Type: const

qdisk type

Specific value: "fq"

Type: number

hard limit on the real queue size (number of packets)

Type: number

hard limit on the max number of packets per flow

Type: object

fq_codel - Fair Queuing (FQ) with Controlled Delay (CoDel)

Type: const

qdisk type

Specific value: "fq_codel"

Type: number

hard limit on the real queue size (number of packets)

Type: number

number of flows

Type: object

generic classful qdisc

Type: enum (of string)

qdisk type

Must be one of:

  • "atm"
  • "cbq"
  • "drr"
  • "dsmark"
  • "hfsc"
  • "htb"
  • "prio"
  • "qfq"
Type: object

classful multiqueue dummy scheduler

Type: const

qdisk type

Specific value: "mq"

Type: array

list child qdiscs for each device TX queue

No Additional Items

Each item of this array must be:

Type: object

child qdiscs for the nth device TX queue

Same definition as qdisc

Type: string

unique id

Type: array of object

filter used by qdiscs

No Additional Items

Each item of this array must be:


Type: object

basic - basic traffic control filter

No Additional Properties

Type: enum (of string)

Must be one of:

  • "basic"

Type: string or integer Default: 3

protocol selector

Type: integer

priority

Value must be greater or equal to 0 and lesser or equal to 65535

Type: array of object

traffic control filter action

No Additional Items

Each item of this array must be:


Type: object

mirred - mirror/redirect action

No Additional Properties

Type: enum (of string)

packet direction

Must be one of:

  • "ingress"
  • "egress"

Type: enum (of string)

copy (mirror) or move (redirect) packets to the destination interface

Must be one of:

  • "mirror"
  • "redirect"

Type: integer or string

destination interface where packets are redirected or mirrored to

Type: integer

unique action ID

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: object

vlan - vlan manipulation module

No Additional Properties

Type: enum (of string)

Must be one of:

  • "pop"
  • "push"
  • "modify"

Type: enum (of string)

Must be one of:

  • "unspec"
  • "ok"
  • "reclassify"
  • "shot"
  • "drop"
  • "pipe"

Type: integer

VLAN id

Value must be greater or equal to 0 and lesser or equal to 4095

Type: integer

VLAN priority

Value must be greater or equal to 0 and lesser or equal to 7

Type: enum (of string)

Must be one of:

  • "802.1Q"
  • "802.1ad"

Type: enum (of string)

Must be one of:

  • "mirred"
  • "vlan"

Type: array of object

match packets using the extended match infrastructure

No Additional Items

Each item of this array must be:


flow - flow based traffic control filter

Type: object

The following properties are required:

  • kind

Type: enum (of string)

filter mode

Must be one of:

  • "map"

Type: enum (of string)

map to class ID by key

Must be one of:

  • "src"
  • "dst"
  • "proto"
  • "proto-src"
  • "proto-dst"
  • "iif"
  • "priority"
  • "mark"
  • "nfct"
  • "nfct-src"
  • "nfct-dst"
  • "nfct-proto-src"
  • "nfct-proto-dst"
  • "rt-classid"
  • "sk-uid"
  • "sk-gid"
  • "vlan-tag"
  • "rxhash"
Type: object

The following properties are required:

  • kind

Type: enum (of string)

filter mode

Must be one of:

  • "hash"

Type: array of enum (of string)

hash over keys for class ID calculation

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "src"
  • "dst"
  • "proto"
  • "proto-src"
  • "proto-dst"
  • "iif"
  • "priority"
  • "mark"
  • "nfct"
  • "nfct-src"
  • "nfct-dst"
  • "nfct-proto-src"
  • "nfct-proto-dst"
  • "rt-classid"
  • "sk-uid"
  • "sk-gid"
  • "vlan-tag"
  • "rxhash"

Type: integer

rehashing interval (in seconds)

Value must be greater or equal to 0 and lesser or equal to 294967295

Type: enum (of string)

Must be one of:

  • "flow"

Type: string or integer Default: 3

protocol selector

Type: integer

priority

Value must be greater or equal to 0 and lesser or equal to 65535

Type: array of object

traffic control filter action

No Additional Items

Each item of this array must be:


Type: object

mirred - mirror/redirect action

No Additional Properties

Type: enum (of string)

packet direction

Must be one of:

  • "ingress"
  • "egress"

Type: enum (of string)

copy (mirror) or move (redirect) packets to the destination interface

Must be one of:

  • "mirror"
  • "redirect"

Type: integer or string

destination interface where packets are redirected or mirrored to

Type: integer

unique action ID

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: object

vlan - vlan manipulation module

No Additional Properties

Type: enum (of string)

Must be one of:

  • "pop"
  • "push"
  • "modify"

Type: enum (of string)

Must be one of:

  • "unspec"
  • "ok"
  • "reclassify"
  • "shot"
  • "drop"
  • "pipe"

Type: integer

VLAN id

Value must be greater or equal to 0 and lesser or equal to 4095

Type: integer

VLAN priority

Value must be greater or equal to 0 and lesser or equal to 7

Type: enum (of string)

Must be one of:

  • "802.1Q"
  • "802.1ad"

Type: enum (of string)

Must be one of:

  • "mirred"
  • "vlan"

Type: integer Default: 1

offset for the class ID calculation

Value must be greater or equal to 0 and lesser or equal to 65535

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: object

fw - fwmark traffic control filter

No Additional Properties

Type: enum (of string)

Must be one of:

  • "fw"

Type: string or integer Default: 3

protocol selector

Type: integer

priority

Value must be greater or equal to 0 and lesser or equal to 65535

Type: array of object

traffic control filter action

No Additional Items

Each item of this array must be:


Type: object

mirred - mirror/redirect action

No Additional Properties

Type: enum (of string)

packet direction

Must be one of:

  • "ingress"
  • "egress"

Type: enum (of string)

copy (mirror) or move (redirect) packets to the destination interface

Must be one of:

  • "mirror"
  • "redirect"

Type: integer or string

destination interface where packets are redirected or mirrored to

Type: integer

unique action ID

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: object

vlan - vlan manipulation module

No Additional Properties

Type: enum (of string)

Must be one of:

  • "pop"
  • "push"
  • "modify"

Type: enum (of string)

Must be one of:

  • "unspec"
  • "ok"
  • "reclassify"
  • "shot"
  • "drop"
  • "pipe"

Type: integer

VLAN id

Value must be greater or equal to 0 and lesser or equal to 4095

Type: integer

VLAN priority

Value must be greater or equal to 0 and lesser or equal to 7

Type: enum (of string)

Must be one of:

  • "802.1Q"
  • "802.1ad"

Type: enum (of string)

Must be one of:

  • "mirred"
  • "vlan"

Type: integer

fwmark (iptables) to match

Value must be greater or equal to 0

Type: object

matchall - traffic control filter that matches every packet

No Additional Properties

Type: enum (of string)

Must be one of:

  • "matchall"

Type: string or integer Default: 3

protocol selector

Type: integer

priority

Value must be greater or equal to 0 and lesser or equal to 65535

Type: array of object

traffic control filter action

No Additional Items

Each item of this array must be:


Type: object

mirred - mirror/redirect action

No Additional Properties

Type: enum (of string)

packet direction

Must be one of:

  • "ingress"
  • "egress"

Type: enum (of string)

copy (mirror) or move (redirect) packets to the destination interface

Must be one of:

  • "mirror"
  • "redirect"

Type: integer or string

destination interface where packets are redirected or mirrored to

Type: integer

unique action ID

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: object

vlan - vlan manipulation module

No Additional Properties

Type: enum (of string)

Must be one of:

  • "pop"
  • "push"
  • "modify"

Type: enum (of string)

Must be one of:

  • "unspec"
  • "ok"
  • "reclassify"
  • "shot"
  • "drop"
  • "pipe"

Type: integer

VLAN id

Value must be greater or equal to 0 and lesser or equal to 4095

Type: integer

VLAN priority

Value must be greater or equal to 0 and lesser or equal to 7

Type: enum (of string)

Must be one of:

  • "802.1Q"
  • "802.1ad"

Type: enum (of string)

Must be one of:

  • "mirred"
  • "vlan"

Type: integer

push matching packets into class

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer

process flags (1: SKIPHW, 2: SKIPSW)

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: enum (of string)

filter type

Must be one of:

  • "basic"
  • "flow"
  • "fw"
  • "matchall"

Type: object

settings for WireGuard interfaces

No Additional Properties

Type: string

local private key (consider to use the !include tag to read the key from file)

Type: integer

port for listening

Value must be greater or equal to 0 and lesser or equal to 65535

Type: integer

fwmark for outgoing packets

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer or string Default: null

add routes for peer's prefixes to the specified routing table, required routing quirks for peer endpoint addresses (i.e. when the default route points into wireguard) are not added automatically


Example:

main

Type: object

dictonary with peers: the keys of the dictionary are the public keys of the peers (base64 encoded)

No Additional Properties

All properties whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^[-A-Za-z0-9+/]{43}=$
Type: object
No Additional Properties

Type: string

preshared key for post-quantum resistance (consider to use the !include tag to read the key from file)

Type: string

initial endpoint IP or hostname

Type: integer

keepalive interval seconds

Value must be greater or equal to 0 and lesser or equal to 65535

Type: array of string

list of prefixes in CIDR notation

No Additional Items

Each item of this array must be:


settings for XDP ("eXpress Data Path") BPF program

Type: enum (of boolean)

remove attached XDP program

Must be one of:

  • false
Type: object

attach already pinned XDP program

No Additional Properties

Type: stringFormat: ^/sys/fs/bfd/.

path to already pinned XDP program

Type: object

BPF program from ifstate's bpf config section

No Additional Properties

Type: string

BPF program (key in bpf config section)

Type: object

Type: string

The mac_seed is used to assign reproducible MAC addresses to virtual interfaces. The default mac_seed is based on the host's machine-id and the network namespace of the interface. Interfaces with identical names and mac_seed gets the same MAC addresses.

Must be at least 1 characters long

Type: null

Do not handle MAC addresses for virtual interfaces. If an interfaces has no link.address property, it will get a random MAC addresses assigned by the Linux kernel.

Type: object
No Additional Properties

Type: array of object
No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: enum (of string) Default: "unicast"

the type of this route

Must be one of:

  • "unicast"
  • "local"
  • "broadcast"
  • "anycast"
  • "multicast"
  • "blackhole"
  • "unreachable"
  • "prohibit"
  • "throw"
  • "nat"
  • "xresolve"

Type: integer or string

the output device name

Type: integer or string Default: "boot"

the routing protool identifier of this route

Type: integer or string

the realm to which this route is assigned

Type: integer or string

the scope (/etc/iproute2/rt_scopes) of the destinations covered by the route prefix

Type: integer or string Default: "main"

the table to add this route to

Type: string

the destination prefix of the route


address of the nexthop router

Type: objectFormat: ipv4
Type: objectFormat: ipv6

Type: object

configure depending on vrrp status

No Additional Properties

Type: string

related vrrp INSTANCE or GROUP name

Type: enum (of string)

failover type

Must be one of:

  • "instance"
  • "group"

Type: array

states at which the interface should be configured

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

Must be one of:

  • "unknown"
  • "fault"
  • "backup"
  • "master"


the source address to prefer

Type: objectFormat: ipv4
Type: objectFormat: ipv6

Type: integer Default: 0

preference of the route

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: array of object
No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "to_tbl"
Type: object

The following properties are required:

  • table
  • priority
Type: object

The following properties are required:

  • priority

Type: enum (of string) Default: "to_tbl"

the type of this rule

Must be one of:

  • "to_tbl"
  • "blackhole"
  • "unreachable"
  • "prohibit"

Type: integer or string

Type: integer

the priority of this rule

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: string

select the source prefix to match

Type: string

select the destination prefix to match

Type: string

select the incoming device to match

Type: string

select the outgoing device to match

Type: integer or string Default: "unspec"

routing protocol number (/etc/iproute2/rt_protos)

Type: integer

select the fwmark value to match

Type: integer or string

select the ip protocol to match

Type: object

configure depending on vrrp status

No Additional Properties

Type: string

related vrrp INSTANCE or GROUP name

Type: enum (of string)

failover type

Must be one of:

  • "instance"
  • "group"

Type: array

states at which the interface should be configured

No Additional Items

Tuple Validation

Item at 1 must be:
Type: enum (of string)

Must be one of:

  • "unknown"
  • "fault"
  • "backup"
  • "master"

Type: enum (of integer or string)

IP family (IPv4 or IPv6) to add the rule to. One of AF_INET, inet, 2 for IPv4 or AF_INET6, inet6, 10 for IPv6. Leave undefined to let ifstate and pyroute2 automatically detect it from the 'to' and 'from' addresses, defaulting to IPv4.

Must be one of:

  • "AF_INET"
  • "AF_INET6"
  • "inet"
  • "inet6"
  • 2
  • 10

Type: object

network sysctl settings

No Additional Properties

Type: object

overrides per interface sysctl settings in /proc/sys/net/ipv*/conf/all/

No Additional Properties

Type: object

settings in /proc/sys/net/ipv4/<interface>/conf/

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: object

settings in /proc/sys/net/ipv6/<interface>/conf/

No Additional Properties

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

Type: integer

perform Optimistic Duplicate Address Detection (RFC 4429); This option is enabled by default in ifstate!

Type: integer

Type: integer

Type: stringFormat: ipv6

Type: integer

Type: object

default per interface sysctl settings in /proc/sys/net/ipv*/conf/default/

No Additional Properties

Type: object

settings in /proc/sys/net/ipv4/<interface>/conf/

Type: integer

Type: object

settings in /proc/sys/net/ipv6/<interface>/conf/

No Additional Properties

Type: integer

Type: integer

Type: integer

perform Optimistic Duplicate Address Detection (RFC 4429); This option is enabled by default in ifstate!

Type: stringFormat: ipv6

Type: object

MPLS sysctl settings in /proc/sys/net/mpls/

No Additional Properties

Type: integer

number of entries in the platform label table

Value must be greater or equal to 0 and lesser or equal to 1048575

Type: integer

control whether TTL is propagated

Value must be greater or equal to 0 and lesser or equal to 1

Type: integer

default TTL value to use for MPLS packets

Value must be greater or equal to 1 and lesser or equal to 255

Type: object

Multipath TCP sysctl settings in /proc/sys/net/mptcp/

No Additional Properties

Type: integer Default: 120

timeout in seconds after which an ADD_ADDR control message will be resent

Value must be greater or equal to -8589934 and lesser or equal to 8589934

Type: boolean Default: true

allow peers to send join requests to the IP address and port number used by the initial subflow

Type: integer Default: 3600

initial time period in second to disable MPTCP on active MPTCP sockets when a MPTCP firewall blackhole issue happens

Value must be greater or equal to 0 and lesser or equal to 2147483647

Type: boolean Default: false

control whether DSS checksum can be enabled

Type: integer Default: 60

set the make-after-break timeout

Value must be greater or equal to -8589934 and lesser or equal to 8589934

Type: boolean Default: true

control whether MPTCP sockets can be created

Type: enum (of string) Default: "kernel"

control whether MPTCP sockets can be created

Must be one of:

  • "kernel"
  • "userspace"

Type: enum (of integer)

set the default path manager type to use for each new MPTCP socket

Must be one of:

  • 0
  • 1

Type: string Default: "default"

select the scheduler of your choice

Type: integer Default: 4

number of MPTCP-level retransmission intervals with no traffic and pending outstanding data on a given subflow required to declare it stale

Value must be greater or equal to 0 and lesser or equal to 4294967295

Type: integer Default: 2

number of SYN + MP_CAPABLE retransmissions before falling back to TCP

Value must be greater or equal to 0