ifstate.yaml
IfState configuration file
| Type | object |
|---|---|
| File match |
ifstate.yaml
**/ifstate/config.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/ifstate-yaml/latest.json |
| Source | https://ifstate.net/schema/2/ifstate.conf.schema.json |
Versions
Validate with Lintel
npx @lintel/lintel check
IfState 2.2 Configuration Schema
Properties
dictionary of interfaces related settings, the name of the interface needs to be specified as key
adjust the implicit behaviour of ifstate
5 nested properties
cshaper templates
default settings for configured interfaces
default settings for configured interfaces
hooks are executed on interface configuration and can be used to spawn commands like DHCP client, wpa_supplicant or pppd.
ignore patterns to skip interface, ip address or routing objects
12 nested properties
list of ip address prefixes to be ignored
list of ip address prefixes to be ignored
ignore dynamic assigned ip addresses
interface names matching this list of regex will be ignored
interface names matching this list of regex will be ignored
fdb entries matching this list of regex will be ignored
fdb entries matching this list of regex will be ignored
filter routes by options
filter routes by options
filter rules by options
filter rules by options
netns namespaces matching this list of regex will be ignored
load and pin eBPF programs (i.e. for XDP)
2 nested properties
network sysctl settings
4 nested properties
overrides per interface sysctl settings in /proc/sys/net/ipv*/conf/all/
2 nested properties
settings in /proc/sys/net/ipv4/<interface>/conf/
32 nested properties
settings in /proc/sys/net/ipv6/<interface>/conf/
51 nested properties
perform Optimistic Duplicate Address Detection (RFC 4429); This option is enabled by default in ifstate!
default per interface sysctl settings in /proc/sys/net/ipv*/conf/default/
2 nested properties
settings in /proc/sys/net/ipv4/<interface>/conf/
32 nested properties
settings in /proc/sys/net/ipv6/<interface>/conf/
51 nested properties
perform Optimistic Duplicate Address Detection (RFC 4429); This option is enabled by default in ifstate!
MPLS sysctl settings in /proc/sys/net/mpls/
3 nested properties
number of entries in the platform label table
control whether TTL is propagated
default TTL value to use for MPLS packets
Multipath TCP sysctl settings in /proc/sys/net/mptcp/
11 nested properties
timeout in seconds after which an ADD_ADDR control message will be resent
allow peers to send join requests to the IP address and port number used by the initial subflow
initial time period in second to disable MPTCP on active MPTCP sockets when a MPTCP firewall blackhole issue happens
control whether DSS checksum can be enabled
set the make-after-break timeout
control whether MPTCP sockets can be created
control whether MPTCP sockets can be created
set the default path manager type to use for each new MPTCP socket
select the scheduler of your choice
number of MPTCP-level retransmission intervals with no traffic and pending outstanding data on a given subflow required to declare it stale
number of SYN + MP_CAPABLE retransmissions before falling back to TCP
Definitions
configure depending on vrrp status
related vrrp INSTANCE or GROUP name
failover type
states at which the interface should be configured
fdb entries matching this list of regex will be ignored
list of ip address prefixes to be ignored
interface names matching this list of regex will be ignored
filter routes by options
filter rules by options
network driver and hardware settings via ethtool(8)
pause parameters
3 nested properties
interrupt coalescing
22 nested properties
rx/tx ring parameters
4 nested properties
number of ring entries for the Rx ring
number of ring entries for the Rx Mini ring
number of ring entries for the Rx Jumbo ring
number of ring entries for the Tx ring
offload parameters and other features
12 nested properties
device settings
11 nested properties
speed in Mbps
full or half duplex mode
device port selection
MDI-X mode for port
speed and duplex advertised by autonegotation
PHY address
transceiver type
Wake-on-LAN options
SecureOn™ password
driver message flags
number of channels
4 nested properties
number of channels with only receive queues
number of channels with only transmit queues
number of channels used only for other purposes
number of multi-purpose channels
Energy-Efficient Ethernet (according to the IEEE 802.3az specifications)
4 nested properties
sets the speed for which EEE should be enabled (see also change.advertise)
amount of idle time prior asserting Tx LPI (in microseconds)
PHY tunable parameters
3 nested properties
enable downshift
enable Fast Link Down
enable Energy Detect Power Down (EDPD)
private flags
Forward Error Correction
1 nested properties
FEC encoding
link mac address (xx:xx:xx:xx:xx:xx)
specifies the netns name or null where the tunnel or underlay should be bind, if not set the binding will happen in the netns namespace of the link
specifies a device group name or index
specifies the base link name or index
specifies the base link's netns name or null if the link isn't in a netns namespace
specifies a master device name or index, use null to remove the master
specifies the master's netns name or null if the master isn't in a netns namespace
change the mtu of the device
set device state
the transmit queue length of the device
symbolic name for easy reference
remote IPv4 address of the tunnel
local IPv4 address of the tunnel
remote IPv4 address of the tunnel
local IPv4 address of the tunnel
specifies the base link name or index
settings in /proc/sys/net/ipv4/<interface>/conf/
settings in /proc/sys/net/ipv6/<interface>/conf/
perform Optimistic Duplicate Address Detection (RFC 4429); This option is enabled by default in ifstate!
MPLS sysctl settings in /proc/sys/net/mpls/
number of entries in the platform label table
control whether TTL is propagated
default TTL value to use for MPLS packets
MPLS interface sysctl settings in /proc/sys/net/mpls/<interface>/
control whether packets can be input on this interface
Multipath TCP sysctl settings in /proc/sys/net/mptcp/
timeout in seconds after which an ADD_ADDR control message will be resent
allow peers to send join requests to the IP address and port number used by the initial subflow
initial time period in second to disable MPTCP on active MPTCP sockets when a MPTCP firewall blackhole issue happens
control whether DSS checksum can be enabled
set the make-after-break timeout
control whether MPTCP sockets can be created
control whether MPTCP sockets can be created
set the default path manager type to use for each new MPTCP socket
select the scheduler of your choice
number of MPTCP-level retransmission intervals with no traffic and pending outstanding data on a given subflow required to declare it stale
number of SYN + MP_CAPABLE retransmissions before falling back to TCP
qdisc id
protocol selector
priority
traffic control queueing discipline
cake - common applications kept enhanced (CAKE)
qdisk type
ACKnowledge filter
ATM mode
autorate-ingress
diffserv mode
ingress
overhead
flow mode
fwmark
memlimit
MPU
NAT
RAW
split GSO
target
wash
traffic control filter action