ifstate.conf

Type: object

IfState Configuration Schema

Type: object

global configuration settings

Type: object

ignore patterns to skip interface, ip address or routing objects

Type: array of string

list of ip address prefixes to be ignored

No Additional Items

Each item of this array must be:

Type: string

ip address with prefix length


Example:

fe80::/10

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:

^docker\d+
^lo$
^ppp\d+$
^veth

Type: object

filter routes by options

Type: array of integer
No Additional Items

Each item of this array must be:

Type: integer

protocol number (/etc/iproute2/rt_protos)

Type: array of object

list of interface settings (link settings and ip addresses)

No Additional Items

Each item of this array must be:

Type: object

Type: string

name of the interface

Type: array of string

ip addresses of the interface

No Additional Items

Each item of this array must be:

Type: string

Examples:

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

Type: object

Type: array of object
No Additional Items

Each item of this array must be:

Type: object

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: string

Type: string