schema
stringclasses
471 values
key
stringlengths
0
203
description
stringlengths
0
4.37k
object
stringlengths
2
322k
azure-deviceupdate-import-manifest-5.0.json
description
Optional update description.
{"type": "string", "minLength": 1, "maxLength": 512}
azure-deviceupdate-import-manifest-5.0.json
files
List of update payload files. Sum of all file sizes may not exceed 2 GB. May be empty or null if all instruction steps are reference steps.
{"type": "array", "items": {}, "minItems": 0, "maxItems": 10}
azure-deviceupdate-import-manifest-5.0.json
manifestVersion
Import manifest schema version. Must be 5.0.
{"type": "string", "const": "5.0"}
azure-deviceupdate-import-manifest-5.0.json
createdDateTime
Date & time import manifest was created in ISO 8601 format.
{"type": "string", "examples": ["2020-10-02T22:18:04.9446744Z"]}
server.json
The event horizon server configuration
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": {"interaction": {"type": "object", "properties": {"enabled": {"type": "boolean"}, "port": {"type": "number"}, "unixSocket": {"type": "string", "format": "uri-reference"}}}, "management": {"port": {"type": "number"}, "unixSocket": {"type": "string", "format": "uri-reference"}}}, "required": ["interaction", "management"]}
server.json
interaction
The configuration for the interaction server
{"type": "object", "properties": {"enabled": {"type": "boolean"}, "port": {"type": "number"}, "unixSocket": {"type": "string", "format": "uri-reference"}}}
server.json
enabled
Whether or not the interaction server is enabled
{"type": "boolean"}
server.json
port
The port to use for exposing the interaction server
{"type": "number"}
server.json
unixSocket
The unix socket to use for exposing the interaction server on
{"type": "string", "format": "uri-reference"}
server.json
port
The port to use for exposing the management server
{"type": "number"}
server.json
unixSocket
The unix socket to use for exposing the management server on
{"type": "string", "format": "uri-reference"}
drupal-permissions.json
restrict access
This should be used for permissions that have inherent security risks across a variety of potential use cases (for example, the "administer filters" and "bypass node access" permissions provided by Drupal core).
{"type": "boolean"}
minecraft-texture-mcmeta.json
A mcmeta file for an animated texture for a Minecraft resource pack config schema
{"$schema": "http://json-schema.org/draft-07/schema#", "properties": {"animation": {"type": "object", "properties": {"interpolate": {"type": "boolean", "default": false}, "width": {"type": "integer"}, "height": {"type": "integer"}, "frametime": {"type": "integer", "default": 1}, "frames": {"type": "array", "items": {"oneOf": [{"type": "integer"}, {"type": "object", "properties": {"index": {"type": "integer"}, "time": {"type": "integer"}}}]}}}}}, "required": ["animation"], "type": "object"}
minecraft-texture-mcmeta.json
animation
Animation
{"type": "object", "properties": {"interpolate": {"type": "boolean", "default": false}, "width": {"type": "integer"}, "height": {"type": "integer"}, "frametime": {"type": "integer", "default": 1}, "frames": {"type": "array", "items": {"oneOf": [{"type": "integer"}, {"type": "object", "properties": {"index": {"type": "integer"}, "time": {"type": "integer"}}}]}}}}
shopware-extension-schema.json
shopware cli extension configuration definition file
{"$schema": "https://json-schema.org/draft/2020-12/schema", "definitions": {"Config": {"type": "object", "additionalProperties": false, "properties": {"build": {}, "store": {}, "changelog": {}}}, "Changelog": {"type": "object", "additionalProperties": false, "properties": {"enabled": {"type": "boolean", "default": false}, "ai_enabled": {"type": "boolean", "default": false}, "pattern": {"type": "string", "default": ""}, "template": {"type": "string", "default": ""}, "variables": {"type": "object"}}}, "Build": {"type": "object", "additionalProperties": false, "properties": {"shopwareVersionConstraint": {"type": "string"}, "extraBundles": {"type": "array", "items": {"type": "object", "additionalProperties": false, "required": ["path"], "properties": {"name": {"type": "string"}, "path": {"type": "string"}}}}, "zip": {"type": "object", "additionalProperties": false, "properties": {"composer": {"type": "object", "additionalProperties": false, "properties": {"enabled": {"type": "boolean", "default": true}, "before_hooks": {"type": "array", "items": {"type": "string"}}, "after_hooks": {"type": "array", "items": {"type": "string"}}, "excluded_packages": {"type": "array", "items": {"type": "string"}}}}, "assets": {"type": "object", "additionalProperties": false, "properties": {"enabled": {"type": "boolean", "default": true}, "before_hooks": {"type": "array", "items": {"type": "string"}}, "after_hooks": {"type": "array", "items": {"type": "string"}}, "enable_es_build_for_admin": {"type": "boolean", "default": false}, "enable_es_build_for_storefront": {"type": "boolean", "default": false}}}, "pack": {"type": "object", "additionalProperties": false, "properties": {"before_hooks": {"type": "array", "items": {"type": "string"}}, "excludes": {"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"paths": {"type": "array", "items": {"type": "string"}}}}}}}}}}, "Store": {"type": "object", "additionalProperties": false, "properties": {"icon": {"type": "string"}, "availabilities": {"type": "array", "uniqueItems": true, "items": {"type": "string", "enum": ["German", "International"]}}, "localizations": {"type": "array", "uniqueItems": true, "items": {"type": "string", "enum": ["de_DE", "en_GB", "es_ES", "fi_FI", "fr_FR", "it_IT", "nb_NO", "nl_NL", "pl_PL", "sv_SE", "bg_BG", "cs_CZ", "pt_PT", "hy", "de_CH", "tr", "da_DK", "ru_RU"]}}, "categories": {"type": "array", "uniqueItems": true, "maxItems": 1, "items": {"type": "string", "enum": ["Administration", "SEOOptimierung", "Bonitaetspr\u00fcfung", "Rechtssicherheit", "Auswertung", "KommentarFeedback", "Tracking", "Integration", "PreissuchmaschinenPortale", "Warenwirtschaft", "Versand", "Bezahlung", "StorefrontDetailanpassungen", "Sprache", "Suche", "HeaderFooter", "Detailseite", "MenueKategorien", "Bestellprozess", "KundenkontoPersonalisierung", "Sonderfunktionen", "Themes", "Branche", "Home+Furnishings", "FashionBekleidung", "GartenNatur", "KosmetikGesundheit", "EssenTrinken", "KinderPartyGeschenke", "SportLifestyleReisen", "TechnikIT", "IndustrieGro\u00dfhandel", "MigrationTools", "Einkaufswelten", "ConversionOptimierung", "Extensions", "MarketingTools", "B2BExtensions", "Blog", "emailMarketing", "promotionsAndVoucher", "loyalityAndRewards", "recommendations", "otherMarketingCommercials", "socialCommerce", "middlewareAndConnectors", "pim", "dam", "cms", "crm", "personalization"]}}, "default_locale": {"type": "string", "enum": ["en_GB", "de_DE"]}, "type": {"type": "string", "enum": ["extension", "theme"]}, "automatic_bugfix_version_compatibility": {"type": "boolean"}, "videos": {"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"de": {"type": "array", "maxItems": 2, "items": {"type": "string"}}, "en": {"type": "array", "maxItems": 2, "items": {"type": "string"}}}}, "tags": {"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"de": {"type": "array", "items": {"type": "string"}, "maxItems": 5}, "en": {"type": "array", "items": {"type": "string"}, "maxItems": 5}}}, "highlights": {"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"de": {"type": "array", "items": {"type": "string"}, "maxItems": 5}, "en": {"type": "array", "items": {"type": "string"}, "maxItems": 5}}}, "features": {"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"de": {"type": "array", "items": {"type": "string"}, "maxItems": 15}, "en": {"type": "array", "items": {"type": "string"}, "maxItems": 15}}}, "faq": {"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"de": {"type": "array", "items": {}}, "en": {"type": "array", "items": {}}}}, "installation_manual": {"type": "object", "additionalProperties": false, "properties": {"de": {"type": "string"}, "en": {"type": "string"}}}, "images": {"type": "array", "minItems": 1, "items": {"type": "object", "required": ["file", "priority"], "additionalProperties": false, "properties": {"file": {"type": "string"}, "activate": {"type": "object", "additionalProperties": false, "properties": {"en": {"type": "boolean"}, "de": {"type": "boolean"}}}, "preview": {"type": "object", "additionalProperties": false, "properties": {"en": {"type": "boolean"}, "de": {"type": "boolean"}}}, "priority": {"type": "integer", "minimum": 0}}}}}}, "StoreInfoFaqQuestion": {"type": "object", "additionalProperties": false, "required": ["question", "answer"], "properties": {"question": {"type": "string"}, "answer": {"type": "string"}}}}}
shopware-extension-schema.json
enabled
Enables the changelog generation.
{"type": "boolean", "default": false}
shopware-extension-schema.json
ai_enabled
Enables the changelog generation with OpenAI (Requires OPENAI_TOKEN environment variable).
{"type": "boolean", "default": false}
shopware-extension-schema.json
pattern
Limit with RegEx which commits should be considered for the changelog generation.
{"type": "string", "default": ""}
shopware-extension-schema.json
template
Allows to override the Go template which renders the Changelog.
{"type": "string", "default": ""}
shopware-extension-schema.json
variables
Allows to write RegEx groups into variables which can be used in the template.
{"type": "object"}
shopware-extension-schema.json
shopwareVersionConstraint
Overrides the shopware version constraint in the composer.json/manifest.xml file.
{"type": "string"}
shopware-extension-schema.json
icon
Specifies the Path to the icon (128x128 px) for store.
{"type": "string"}
shopware-extension-schema.json
availabilities
Specifies the visibility in stores.
{"type": "array", "uniqueItems": true, "items": {"type": "string", "enum": ["German", "International"]}}
shopware-extension-schema.json
localizations
Specifies the languages the extension is translated.
{"type": "array", "uniqueItems": true, "items": {"type": "string", "enum": ["de_DE", "en_GB", "es_ES", "fi_FI", "fr_FR", "it_IT", "nb_NO", "nl_NL", "pl_PL", "sv_SE", "bg_BG", "cs_CZ", "pt_PT", "hy", "de_CH", "tr", "da_DK", "ru_RU"]}}
shopware-extension-schema.json
categories
Specifies the categories in which the extension can be found.
{"type": "array", "uniqueItems": true, "maxItems": 1, "items": {"type": "string", "enum": ["Administration", "SEOOptimierung", "Bonitaetspr\u00fcfung", "Rechtssicherheit", "Auswertung", "KommentarFeedback", "Tracking", "Integration", "PreissuchmaschinenPortale", "Warenwirtschaft", "Versand", "Bezahlung", "StorefrontDetailanpassungen", "Sprache", "Suche", "HeaderFooter", "Detailseite", "MenueKategorien", "Bestellprozess", "KundenkontoPersonalisierung", "Sonderfunktionen", "Themes", "Branche", "Home+Furnishings", "FashionBekleidung", "GartenNatur", "KosmetikGesundheit", "EssenTrinken", "KinderPartyGeschenke", "SportLifestyleReisen", "TechnikIT", "IndustrieGro\u00dfhandel", "MigrationTools", "Einkaufswelten", "ConversionOptimierung", "Extensions", "MarketingTools", "B2BExtensions", "Blog", "emailMarketing", "promotionsAndVoucher", "loyalityAndRewards", "recommendations", "otherMarketingCommercials", "socialCommerce", "middlewareAndConnectors", "pim", "dam", "cms", "crm", "personalization"]}}
shopware-extension-schema.json
type
Specifies the type of this extension.
{"type": "string", "enum": ["extension", "theme"]}
shopware-extension-schema.json
automatic_bugfix_version_compatibility
Specifies whether the extension should automatically be set compatible with Shopware bugfix versions.
{"type": "boolean"}
shopware-extension-schema.json
videos
Specifies the links of YouTube-Videos to show or describe the extension.
{"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"de": {"type": "array", "maxItems": 2, "items": {"type": "string"}}, "en": {"type": "array", "maxItems": 2, "items": {"type": "string"}}}}
shopware-extension-schema.json
tags
Specifies the tags of the extension.
{"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"de": {"type": "array", "items": {"type": "string"}, "maxItems": 5}, "en": {"type": "array", "items": {"type": "string"}, "maxItems": 5}}}
shopware-extension-schema.json
highlights
Specifies the highlights of the extension.
{"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"de": {"type": "array", "items": {"type": "string"}, "maxItems": 5}, "en": {"type": "array", "items": {"type": "string"}, "maxItems": 5}}}
shopware-extension-schema.json
features
Specifies the features of the extension.
{"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"de": {"type": "array", "items": {"type": "string"}, "maxItems": 15}, "en": {"type": "array", "items": {"type": "string"}, "maxItems": 15}}}
shopware-extension-schema.json
faq
Specifies Frequently Asked Questions for the extension.
{"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"de": {"type": "array", "items": {}}, "en": {"type": "array", "items": {}}}}
shopware-extension-schema.json
description
Specifies the description of the extension in store.
{"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"de": {"type": "string"}, "en": {"type": "string"}}}
shopware-extension-schema.json
de
Use string or set path to a file with prefix `file:` containing the description, f.e. `file:src/store/manual_de.md`
{"type": "string"}
shopware-extension-schema.json
en
Use string or set path to a file with prefix `file:` containing the description, f.e. `file:src/store/manual_en.md`
{"type": "string"}
shopware-extension-schema.json
installation_manual
Installation manual of the extension in store.
{"type": "object", "additionalProperties": false, "properties": {"de": {"type": "string"}, "en": {"type": "string"}}}
shopware-extension-schema.json
de
Use string or set path to a file with prefix `file:` containing the description, f.e. `file:src/store/manual_de.md`
{"type": "string"}
shopware-extension-schema.json
en
Use string or set path to a file with prefix `file:` containing the description, f.e. `file:src/store/manual_en.md`
{"type": "string"}
shopware-extension-schema.json
images
Specifies images for the extension in the store.
{"type": "array", "minItems": 1, "items": {"type": "object", "required": ["file", "priority"], "additionalProperties": false, "properties": {"file": {"type": "string"}, "activate": {"type": "object", "additionalProperties": false, "properties": {"en": {"type": "boolean"}, "de": {"type": "boolean"}}}, "preview": {"type": "object", "additionalProperties": false, "properties": {"en": {"type": "boolean"}, "de": {"type": "boolean"}}}, "priority": {"type": "integer", "minimum": 0}}}}
shopware-extension-schema.json
file
File path to image relative from root of the extension
{"type": "string"}
shopware-extension-schema.json
activate
Specifies whether the image is active in the language.
{"type": "object", "additionalProperties": false, "properties": {"en": {"type": "boolean"}, "de": {"type": "boolean"}}}
shopware-extension-schema.json
preview
Specifies whether the image is a preview in the language.
{"type": "object", "additionalProperties": false, "properties": {"en": {"type": "boolean"}, "de": {"type": "boolean"}}}
shopware-extension-schema.json
priority
Specifies the order of the image ascending the given priority.
{"type": "integer", "minimum": 0}
ifstate.conf.schema.json
IfState 1.8.2 Configuration Schema
{"$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "required": ["interfaces"], "$defs": {"ignore-ipaddr": {"type": "array", "items": {"type": "string", "examples": ["fe80::/10"]}}, "ignore-ifname": {"type": "array", "items": {"examples": ["^br-[\\da-f]{12}", "^docker\\d+", "^lo$", "^ppp\\d+$", "^veth", "^virbr\\d+", "^vrrp\\d*\\.\\d+$"], "type": "string"}}, "ignore-routes": {"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"dev": {"type": ["integer", "string"]}, "proto": {"type": ["integer", "string"], "default": "boot"}, "realm": {"type": ["integer", "string"]}, "scope": {"type": ["integer", "string"]}, "table": {"type": ["integer", "string"], "default": "main"}, "to": {"type": "string"}, "via": {"type": "string"}}}}, "ignore-rules": {"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"action": {"type": ["integer", "string"], "enum": ["to_tbl", "blackhole", "unreachable", "prohibit"], "default": "to_tbl"}, "table": {"type": ["integer", "string"], "minimum": 0, "maximum": 255}, "priority": {"type": "integer", "minimum": 0, "maximum": 4294967295}, "from": {"type": "string"}, "to": {"type": "string"}, "iif": {"type": "string"}, "oif": {"type": "string"}, "proto": {"type": ["integer", "string"], "default": "unspec"}, "fwmark": {"type": "integer"}, "ipproto": {"type": ["integer", "string"]}}}}, "iface-name": {"type": "string", "pattern": "^[^/ ]{1,15}$"}, "iface-link_address": {"type": "string", "pattern": "^([a-f0-9]{2}:){5}[a-f0-9]{2}$"}, "iface-link_group": {"type": ["integer", "string"]}, "iface-link_link": {"type": ["integer", "string"]}, "iface-link_master": {"type": ["integer", "string"]}, "iface-link_mtu": {"type": "integer", "minimum": 68, "maximum": 65536}, "iface-link_state": {"type": "string", "enum": ["up", "down"]}, "iface-link_txqlen": {"type": "integer"}, "iface-link_ifalias": {"type": "string"}, "iface-link_tun-remote4": {"type": "string", "format": "ipv4"}, "iface-link_tun-local4": {"type": "string", "format": "ipv4"}, "iface-link_tun-remote6": {"type": "string", "format": "ipv6"}, "iface-link_tun-local6": {"type": "string", "format": "ipv6"}, "iface-link_tun-dev": {}, "iface-sysctl": {"type": "object", "additionalProperties": false, "properties": {"ipv4": {"type": "object", "properties": {"accept_local": {"type": "integer"}, "accept_redirects": {"type": "integer"}, "accept_source_route": {"type": "integer"}, "arp_accept": {"type": "integer"}, "arp_announce": {"type": "integer"}, "arp_filter": {"type": "integer"}, "arp_ignore": {"type": "integer"}, "arp_notify": {"type": "integer"}, "bc_forwarding": {"type": "integer"}, "bootp_relay": {"type": "integer"}, "disable_policy": {"type": "integer"}, "disable_xfrm": {"type": "integer"}, "drop_gratuitous_arp": {"type": "integer"}, "drop_unicast_in_l2_multicast": {"type": "integer"}, "force_igmp_version": {"type": "integer"}, "forwarding": {"type": "integer"}, "igmpv2_unsolicited_report_interval": {"type": "integer"}, "igmpv3_unsolicited_report_interval": {"type": "integer"}, "ignore_routes_with_linkdown": {"type": "integer"}, "log_martians": {"type": "integer"}, "mc_forwarding": {"type": "integer"}, "medium_id": {"type": "integer"}, "promote_secondaries": {"type": "integer"}, "proxy_arp": {"type": "integer"}, "proxy_arp_pvlan": {"type": "integer"}, "route_localnet": {"type": "integer"}, "rp_filter": {"type": "integer"}, "secure_redirects": {"type": "integer"}, "send_redirects": {"type": "integer"}, "shared_media": {"type": "integer"}, "src_valid_mark": {"type": "integer"}, "tag": {"type": "integer"}}}, "ipv6": {"type": "object", "additionalProperties": false, "properties": {"accept_dad": {"type": "integer"}, "accept_ra": {"type": "integer"}, "accept_ra_defrtr": {"type": "integer"}, "accept_ra_from_local": {"type": "integer"}, "accept_ra_min_hop_limit": {"type": "integer"}, "accept_ra_mtu": {"type": "integer"}, "accept_ra_pinfo": {"type": "integer"}, "accept_ra_rt_info_max_plen": {"type": "integer"}, "accept_ra_rt_info_min_plen": {"type": "integer"}, "accept_ra_rtr_pref": {"type": "integer"}, "accept_redirects": {"type": "integer"}, "accept_source_route": {"type": "integer"}, "addr_gen_mode": {"type": "integer"}, "autoconf": {"type": "integer"}, "dad_transmits": {"type": "integer"}, "disable_ipv6": {"type": "integer"}, "disable_policy": {"type": "integer"}, "drop_unicast_in_l2_multicast": {"type": "integer"}, "drop_unsolicited_na": {"type": "integer"}, "enhanced_dad": {"type": "integer"}, "force_mld_version": {"type": "integer"}, "force_tllao": {"type": "integer"}, "forwarding": {"type": "integer"}, "hop_limit": {"type": "integer"}, "ignore_routes_with_linkdown": {"type": "integer"}, "keep_addr_on_down": {"type": "integer"}, "max_addresses": {"type": "integer"}, "max_desync_factor": {"type": "integer"}, "mc_forwarding": {"type": "integer"}, "mldv1_unsolicited_report_interval": {"type": "integer"}, "mldv2_unsolicited_report_interval": {"type": "integer"}, "mtu": {"type": "integer"}, "ndisc_notify": {"type": "integer"}, "ndisc_tclass": {"type": "integer"}, "optimistic_dad": {"type": "integer"}, "proxy_ndp": {"type": "integer"}, "regen_max_retry": {"type": "integer"}, "router_probe_interval": {"type": "integer"}, "router_solicitation_delay": {"type": "integer"}, "router_solicitation_interval": {"type": "integer"}, "router_solicitation_max_interval": {"type": "integer"}, "router_solicitations": {"type": "integer"}, "seg6_enabled": {"type": "integer"}, "seg6_require_hmac": {"type": "integer"}, "stable_secret": {"type": "string", "format": "ipv6"}, "suppress_frag_ndisc": {"type": "integer"}, "temp_prefered_lft": {"type": "integer"}, "temp_valid_lft": {"type": "integer"}, "use_oif_addrs_only": {"type": "integer"}, "use_optimistic": {"type": "integer"}, "use_tempaddr": {"type": "integer"}}}}}, "iface-ethtool_onoff": {"type": ["boolean", "string"], "enum": ["on", "off", true, false]}, "iface-tc_qid": {"type": "string", "format": "^(root|[0-9a-f]+:[0-9a-f]*)$"}, "iface-tc_protocol": {"type": ["string", "integer"], "minLength": 2, "minimum": 0, "maximum": 255, "default": 3}, "iface-tc_prio": {"type": "integer", "minimum": 0, "maximum": 65535}, "iface-tc_qdisc": {"type": "object", "required": ["handle"], "properties": {"handle": {}}, "oneOf": [{"required": ["kind"], "properties": {"kind": {"type": "string", "enum": ["gred", "hhf", "mqprio", "multiq", "netem", "pfifo_fast", "pie", "red", "sfb", "sfq", "tbf"]}}}, {}, {"required": ["kind", "limit", "min", "max", "avpkt", "burst", "probability"], "properties": {"kind": {"const": "choke"}}}, {"required": ["kind"], "properties": {"kind": {"const": "codel"}}}, {"required": ["kind"], "additionalProperties": false, "properties": {"kind": {"type": "string", "enum": ["bfifo", "pfifo"]}, "limit": {"type": "number"}}}, {"required": ["kind"], "properties": {"kind": {"const": "fq"}, "limit": {"type": "number"}, "flow_limit": {"type": "number"}}}, {"required": ["kind"], "properties": {"kind": {"const": "fq_codel"}, "limit": {"type": "number"}, "flows": {"type": "number"}}}, {"required": ["kind"], "properties": {"kind": {"type": "string", "enum": ["atm", "cbq", "drr", "dsmark", "hfsc", "htb", "prio", "qfq"]}}}, {"required": ["kind", "children"], "properties": {"kind": {"const": "mq"}, "children": {"type": "array", "items": {}}}}]}, "tc-cake": {"required": ["kind"], "properties": {"kind": {"const": "cake"}, "handle": {}, "ack_filter": {"type": ["boolean", "string"], "enum": ["aggressive", true, false]}, "atm_mode": {"type": ["boolean", "string"], "enum": ["ptm", true, false]}, "autorate": {"type": "boolean"}, "diffserv_mode": {"type": "string", "enum": ["diffserv3", "diffserv4", "diffserv8", "besteffort", "precedence"]}, "ingress": {"type": "boolean"}, "overhead": {"type": "integer", "minimum": -64, "maximum": 256}, "flow_mode": {"type": "string", "enum": ["flowblind", "srchost", "dsthost", "hosts", "flows", "dual-srchost", "dual-dsthost", "triple-isolated"]}, "fwmark": {"type": "integer", "minimum": 0}, "memlimit": {"type": "integer", "minimum": 0}, "mpu": {"type": "integer", "minimum": 0, "maximum": 256}, "nat": {"type": "boolean"}, "raw": {"type": "boolean"}, "rtt": {"oneOf": [{"type": "string", "enum": ["datacentre", "lan", "metro", "regional", "internet", "oceanic", "satellite", "interplanetary"]}, {"type": "integer", "minimum": 1}]}, "split_gso": {"type": "boolean"}, "target": {"type": "integer", "minimum": 1}, "wash": {"type": "boolean"}}}, "iface-tc_action": {"type": "array", "items": {"type": "object", "required": ["kind"], "properties": {"kind": {"const": "mirred"}}, "oneOf": [{"additionalProperties": false, "required": ["direction", "action", "dev"], "properties": {"kind": {"const": "mirred"}, "direction": {"type": "string", "enum": ["ingress", "egress"]}, "action": {"type": "string", "enum": ["mirror", "redirect"]}, "dev": {}, "index": {"type": "integer", "minimum": 0, "maximum": 4294967295}}}]}}, "xdp_mode": {"mode": {"oneOf": [{"type": "string", "enum": ["auto", "xdp", "xdpgeneric", "xdpoffload"], "default": "auto"}, {"type": "array", "items": {"type": "string", "enum": ["xdp", "xdpgeneric", "xdpoffload"]}}]}}}, "additionalProperties": false, "properties": {"options": {"type": "object", "additionalProperties": false, "properties": {"sysctl": {"type": "object", "properties": {"all": {}, "default": {}}}}}, "ignore": {"type": "object", "additionalProperties": false, "properties": {"ipaddr_builtin": {}, "ipaddr": {}, "ipaddr_dynamic": {"type": "boolean", "default": true}, "ifname_builtin": {}, "ifname": {}, "routes_builtin": {}, "routes": {}, "rules_builtin": {}, "rules": {}}}, "bpf": {"type": "object", "patternProperties": {"": {"type": "object", "additionalProperties": false, "required": ["object", "section"], "properties": {"object": {"type": "string"}, "section": {"type": "string"}}}}}, "cshaper": {"type": "object", "patternProperties": {"": {"type": "object", "additionalProperties": false, "required": ["egress_qdisc", "ingress_qdisc", "ingress_ifname"], "properties": {"egress_qdisc": {}, "ingress_qdisc": {}, "ingress_ifname": {"type": "object", "additionalProperties": false, "required": ["search", "replace"], "properties": {"search": {"type": "string"}, "replace": {"type": "string"}}}}}}, "required": ["default"]}, "interfaces": {"type": "array", "items": {"type": "object", "required": ["name"], "additionalProperties": false, "properties": {"name": {}, "addresses": {"type": "array", "items": {"type": "string", "examples": ["192.0.2.1", "192.168.0.1/24", "2001:db8::1/64"]}}, "brport": {"type": "object", "additionalProperties": false, "properties": {"priority": {"type": "integer", "minimum": 0, "maximum": 63}, "cost": {"minimum": 1, "maximum": 65535}, "guard": {"type": "boolean"}, "mode": {"type": "boolean"}, "fast_leave": {"type": "boolean"}, "protect": {"type": "boolean"}, "learning": {"type": "boolean"}, "unicast_flood": {"type": "boolean"}, "bcast_flood": {"type": "boolean"}, "mcast_flood": {"type": "boolean"}, "mcast_to_ucast": {"type": "boolean"}, "proxyarp": {"type": "boolean"}, "proxyarp_wifi": {"type": "boolean"}, "neigh_suppress": {"type": "boolean"}, "vlan_tunnel": {"type": "boolean"}, "backup_port": {}, "isolated": {"type": "boolean"}}}, "vrrp": {"type": "object", "required": ["name", "type", "states"], "additionalProperties": false, "properties": {"name": {"type": "string"}, "type": {"type": "string", "enum": ["instance", "group"]}, "states": {"type": "array", "items": [{"type": "string", "enum": ["unknown", "fault", "backup", "master"]}]}}}, "link": {"type": "object", "oneOf": [{"required": ["kind"], "additionalProperties": false, "properties": {"kind": {"const": "ifb"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind"], "properties": {"kind": {"const": "ip6tnl"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind"], "properties": {"kind": {"const": "ipoib"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind"], "properties": {"kind": {"const": "ipvlan"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind"], "properties": {"kind": {"const": "macvlan"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind"], "properties": {"kind": {"const": "macvtap"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind"], "properties": {"kind": {"const": "team"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind", "tun_type"], "additionalProperties": false, "properties": {"kind": {"const": "tun"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "tun_type": {"default": "tap", "enum": [1, "tun", 2, "tap"]}, "tun_pi": {"type": ["boolean", "integer"], "default": false, "enum": [0, false, 1, true]}, "tun_persist": {"type": ["boolean", "integer"], "default": false, "enum": [0, false, 1, true]}, "tun_vnet_hdr": {"default": false, "enum": [0, false, 1, true]}, "tun_multi_queue": {"type": ["boolean", "integer"], "default": false, "enum": [0, false, 1, true]}, "tun_owner": {"type": ["integer", "string"]}, "tun_group": {"type": ["integer", "string"]}}}, {"required": ["kind"], "properties": {"kind": {"const": "vrf"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind"], "properties": {"kind": {"const": "vti"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind"], "properties": {"kind": {"const": "vti6"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind"], "additionalProperties": false, "properties": {"kind": {"const": "bond"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "bond_mode": {"enum": [0, "balance-rr", 1, "active-backup", 2, "balance-xor", 3, "broadcast", 4, "802.3ad", 5, "balance-tlb", 6, "balance-alb"], "default": "balance-rr"}, "bond_miimon": {"type": "integer", "minimum": 0, "default": 0}, "bond_updelay": {"type": "integer", "minimum": 0, "default": 0}, "bond_downdelay": {"type": "integer", "minimum": 0, "default": 0}, "bond_use_carrier": {"enum": [0, 1], "default": 1}, "bond_arp_interval": {"type": "integer", "minimum": 0, "default": 0}, "bond_arp_validate": {"enum": [0, "none", 1, "active", 2, "backup", 3, "all", 4, "filter", 5, "filter_active", 6, "filter_backup"], "default": "none"}, "bond_arp_all_targets": {"enum": [0, "any", 1, "all"], "default": "any"}, "bond_primary_reselect": {"enum": [0, "always", 1, "better", 2, "failure"], "default": "always"}, "bond_fail_over_mac": {"enum": [0, "none", 1, "active", 2, "follow"], "default": "none"}, "bond_xmit_hash_policy": {"enum": [0, "layer2", 1, "layer3+4", 2, "layer2+3", 3, "encap2+3", 4, "encap3+4", 5, "vlan+srcmac"], "default": "layer2"}, "bond_resend_igmp": {"type": "integer", "minimum": 0, "maximum": 255, "default": 1}, "bond_num_peer_notif": {"type": "integer", "minimum": 0, "default": 1}, "bond_all_slaves_active": {"enum": [0, 1], "default": 1}, "bond_min_links": {"type": "integer", "minimum": 0, "default": 0}, "bond_lp_interval": {"type": "integer", "minimum": 0, "maximum": 2147483647, "default": 1}, "bond_packets_per_slave": {"type": "integer", "minimum": 0, "maximum": 65535, "default": 1}, "bond_ad_lacp_rate": {"enum": [0, "slow", 1, "fast"], "default": "slow"}, "bond_ad_select": {"enum": [0, "stable", 1, "bandwidth", 2, "count"], "default": "stable"}, "bond_tlb_dynamic_lb": {"enum": [0, 1], "default": 1}}}, {"required": ["kind"], "properties": {"kind": {"const": "bridge"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "br_ageing_time": {"type": "integer", "minimum": 0, "default": 30000}, "br_vlan_protocol": {"enum": [33024, "802.1q", 34984, "802.1ad"], "default": "802.1q"}}}, {"required": ["kind"], "additionalProperties": false, "properties": {"kind": {"type": "string", "enum": ["physical"]}, "address": {}, "group": {}, "permaddr": {}, "businfo": {"type": "string", "maxLength": 32}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind"], "additionalProperties": false, "properties": {"kind": {"type": "string", "enum": ["dummy"]}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind", "peer"], "additionalProperties": false, "properties": {"kind": {"type": "string", "enum": ["veth", "vxcan"]}, "address": {}, "group": {}, "peer": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind", "link", "vlan_id"], "additionalProperties": false, "properties": {"kind": {"const": "vlan"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "link": {}, "vlan_id": {"type": ["integer"], "minimum": 0, "maximum": 4094}, "vlan_protocol": {"enum": [33024, "802.1q", 34984, "802.1ad"], "default": "802.1q"}}}, {"required": ["kind", "vxlan_id", "vxlan_link"], "additionalProperties": false, "properties": {"kind": {"const": "vxlan"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "vxlan_id": {"type": ["integer"], "minimum": 0, "maximum": 16777215}, "vxlan_link": {}}}, {"required": ["kind", "ipip_remote", "ipip_local"], "additionalProperties": false, "properties": {"kind": {"const": "ipip"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "ipip_remote": {}, "ipip_local": {}}}, {"required": ["kind", "sit_remote", "sit_local"], "additionalProperties": false, "properties": {"kind": {"const": "sit"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "sit_remote": {}, "sit_local": {}}}, {"required": ["kind", "gre_remote", "gre_local"], "additionalProperties": false, "properties": {"kind": {"type": "string", "enum": ["gre", "gretap"]}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "gre_remote": {}, "gre_local": {}, "gre_link": {}}}, {"required": ["kind", "ip6gre_remote", "ip6gre_local"], "additionalProperties": false, "properties": {"kind": {"type": "string", "enum": ["ip6gre", "ip6gretap"]}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "ip6gre_remote": {}, "ip6gre_local": {}, "ip6gre_link": {}}}, {"additionalProperties": false, "required": ["kind", "geneve_id", "geneve_remote"], "properties": {"kind": {"const": "geneve"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "geneve_id": {"type": ["integer"], "minimum": 0, "maximum": 16777215}, "geneve_remote": {}}}, {"additionalProperties": false, "required": ["kind", "geneve_id", "geneve_remote6"], "properties": {"kind": {"const": "geneve"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "geneve_id": {"type": ["integer"], "minimum": 0, "maximum": 16777215}, "geneve_remote6": {}}}, {"required": ["kind"], "additionalProperties": false, "properties": {"kind": {"const": "wireguard"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}}}, {"required": ["kind", "xfrm_link"], "additionalProperties": false, "properties": {"kind": {"const": "xfrm"}, "address": {}, "group": {}, "state": {}, "master": {}, "mtu": {}, "txqlen": {}, "ifalias": {}, "xfrm_link": {}, "xfrm_if_id": {"type": ["integer"], "minimum": 0, "maximum": 4294967295, "default": 0}}}]}, "neighbours": {"type": "array", "items": {"type": "object", "required": ["dst"], "additionalProperties": false, "properties": {"dst": {"type": "string", "format": "ipv4"}, "lladdr": {"default": null}}}}, "sysctl": {}, "ethtool": {"type": "object", "additionalProperties": false, "properties": {"pause": {"type": "object", "additionalProperties": false, "properties": {"autoneg": {}, "rx": {}, "tx": {}}}, "coalesce": {"type": "object", "additionalProperties": false, "properties": {"adaptive-rx": {}, "adaptive-tx": {}, "rx-usecs": {"type": "integer"}, "rx-frames": {"type": "integer"}, "rx-usecs-irq": {"type": "integer"}, "rx-frames-irq": {"type": "integer"}, "tx-usecs": {"type": "integer"}, "tx-frames": {"type": "integer"}, "tx-usecs-irq": {"type": "integer"}, "tx-frames-irq": {"type": "integer"}, "stats-block-usecs": {"type": "integer"}, "pkt-rate-low": {"type": "integer"}, "rx-usecs-low": {"type": "integer"}, "rx-frames-low": {"type": "integer"}, "tx-usecs-low": {"type": "integer"}, "tx-frames-low": {"type": "integer"}, "pkt-rate-high": {"type": "integer"}, "rx-usecs-high": {"type": "integer"}, "rx-frames-high": {"type": "integer"}, "tx-usecs-high": {"type": "integer"}, "tx-frames-high": {"type": "integer"}, "sample-interval": {"type": "integer"}}}, "ring": {"type": "object", "additionalProperties": false, "properties": {"rx": {"type": "integer"}, "rx-mmini": {"type": "integer"}, "rx-jumbo": {"type": "integer"}, "tx": {"type": "integer"}}}, "features": {"type": "object", "additionalProperties": false, "properties": {"rx": {}, "tx": {}, "sg": {}, "tso": {}, "ufo": {}, "gso": {}, "gro": {}, "lro": {}, "rxvlan": {}, "txvlan": {}, "ntuple": {}, "rxhash": {}}}, "change": {"type": "object", "additionalProperties": false, "properties": {"speed": {"type": "integer"}, "duplex": {"type": "string", "enum": ["half", "full"]}, "port": {"type": "string", "enum": ["tp", "aui", "bnc", "mii"]}, "mdix": {"type": ["boolean", "string"], "enum": ["auto", "on", "off", true, false]}, "autoneg": {}, "advertise": {"type": "integer"}, "phyad": {"type": "integer"}, "xcvr": {"type": "string", "enum": ["internal", "external"]}, "wol": {"type": "string", "pattern": "^[pumbagsfd]+$"}, "sopass": {"type": "string", "pattern": "^[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}$"}, "msglvl": {"oneOf": [{"type": "integer"}, {"type": "array", "items": [{"type": "string", "enum": ["drv", "probe", "link", "timer", "ifdown", "ifup", "rx_err", "tx_err", "tx_queued", "intr", "tx_done", "rx_status", "pktdata", "hw", "wol"]}, {}]}]}}}, "channels": {"type": "object", "additionalProperties": false, "properties": {"rx": {"type": "integer"}, "tx": {"type": "integer"}, "other": {"type": "integer"}, "combined": {"type": "integer"}}}, "eee": {"type": "object", "additionalProperties": false, "properties": {"eee": {}, "tx-lpi": {}, "advertise": {"type": "integer"}, "tx-timer": {"type": "integer"}}}, "phy-tunable": {"type": "object", "additionalProperties": false, "properties": {"downshift": {"oneOf": [{}, {"type": "array", "minItems": 3, "maxItems": 3, "items": [{}, {"type": "string", "enum": ["count"]}, {"type": "integer"}]}]}, "fast-link-down": {"oneOf": [{}, {"type": "array", "minItems": 3, "maxItems": 3, "items": [{}, {"type": "string", "enum": ["msec"]}, {"type": "integer"}]}]}, "energy-detect-power-down": {"oneOf": [{}, {"type": "array", "minItems": 3, "maxItems": 3, "items": [{}, {"type": "string", "enum": ["msec"]}, {"type": "integer"}]}]}}}, "priv-flags": {"type": "object"}, "fec": {"type": "object", "additionalProperties": false, "properties": {"encoding": {"type": ["string", "array"], "enum": ["auto", "off", "RS", "BaseR", "LLRS"], "items": {"type": "string", "enum": ["auto", "RS", "BaseR", "LLRS"]}}}}}}, "cshaper": {"type": "object", "additionalProperties": false, "properties": {"ingress": {"type": "string", "default": "unlimited"}, "egress": {"type": "string", "default": "unlimited"}, "profile": {"type": "string", "default": "default"}}}, "tc": {"type": "object", "additionalProperties": false, "properties": {"ingress": {"type": "boolean"}, "qdisc": {}, "filter": {"type": "array", "items": {"type": "object", "required": ["kind"], "properties": {"kind": {"type": "string", "enum": ["basic", "flow", "fw", "matchall"]}}, "oneOf": [{"additionalProperties": false, "properties": {"kind": {"type": "string", "enum": ["basic"]}, "protocol": {}, "prio": {}, "action": {}, "match": {"type": "object"}}}, {"properties": {"kind": {"type": "string", "enum": ["flow"]}, "protocol": {}, "prio": {}, "action": {}, "baseclass": {"type": "integer", "minimum": 0, "maximum": 65535, "default": 1}, "divisor": {"type": "integer", "minimum": 0, "maximum": 4294967295}, "or": {"type": "integer", "minimum": 0, "maximum": 4294967295}, "and": {"type": "integer", "minimum": 0, "maximum": 4294967295}, "xor": {"type": "integer", "minimum": 0, "maximum": 4294967295}, "rshift": {"type": "integer", "minimum": 0, "maximum": 4294967295}, "addend": {"type": "integer", "minimum": 0, "maximum": 4294967295}}, "oneOf": [{"required": ["kind", "mode", "key"], "properties": {"mode": {"type": "string", "enum": ["map"]}, "key": {"type": "string", "enum": ["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"]}}}, {"required": ["kind", "mode", "keys"], "properties": {"mode": {"type": "string", "enum": ["hash"]}, "keys": {"type": "array", "items": {"type": "string", "enum": ["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"]}}, "perturb": {"type": "integer", "minimum": 0, "maximum": 294967295}}}]}, {"additionalProperties": false, "required": ["kind", "handle"], "properties": {"kind": {"type": "string", "enum": ["fw"]}, "protocol": {}, "prio": {}, "action": {}, "handle": {"type": "integer", "minimum": 0}}}, {"additionalProperties": false, "properties": {"kind": {"type": "string", "enum": ["matchall"]}, "parent": {}, "protocol": {}, "prio": {}, "action": {}, "classid": {"type": "integer", "minimum": 0, "maximum": 4294967295}, "flags": {"type": "integer", "minimum": 0, "maximum": 4294967295}}}]}}}}, "wireguard": {"type": "object", "additionalProperties": false, "required": ["private_key"], "properties": {"private_key": {"type": "string"}, "listen_port": {"type": "integer", "minimum": 0, "maximum": 65535}, "fwmark": {"type": "integer", "minimum": 0, "maximum": 4294967295}, "peers": {"type": "array", "items": {"type": "object", "additionalProperties": false, "required": ["public_key"], "properties": {"public_key": {"type": "string"}, "preshared_key": {"type": "string"}, "endpoint": {"type": "string"}, "persistent_keepalive_interval": {"type": "integer", "minimum": 0, "maximum": 65535}, "allowedips": {"type": "array", "items": {"type": "string"}}}}}}}, "xdp": {"oneOf": [{"type": "boolean", "enum": [false]}, {"type": "object", "additionalProperties": false, "required": ["pinned"], "properties": {"mode": {}, "pinned": {"type": "string", "format": "^/sys/fs/bfd/."}}}, {"type": "object", "additionalProperties": false, "required": ["bpf"], "properties": {"mode": {}, "bpf": {"type": "string"}}}]}}}}, "routing": {"type": "object", "additionalProperties": false, "properties": {"routes": {"type": "array", "items": {"type": "object", "required": ["to"], "additionalProperties": false, "properties": {"type": {"type": ["integer", "string"], "enum": ["unicast", "local", "broadcast", "anycast", "multicast", "blackhole", "unreachable", "prohibit", "throw", "nat", "xresolve"], "minimum": 1, "maximum": 11, "default": "unicast"}, "dev": {"type": ["integer", "string"]}, "proto": {"type": ["integer", "string"], "default": "boot"}, "realm": {"type": ["integer", "string"]}, "scope": {"type": ["integer", "string"]}, "table": {"type": ["integer", "string"], "default": "main"}, "to": {"type": "string"}, "via": {"type": "string", "oneOf": [{"format": "ipv4"}, {"format": "ipv6"}]}, "src": {"type": "string", "oneOf": [{"format": "ipv4"}, {"format": "ipv6"}]}, "preference": {"type": "integer", "minimum": 0, "maximum": 4294967295, "default": 0}}}}, "rules": {"type": "array", "items": {"type": "object", "if": {"properties": {"action": {"const": "to_tbl"}}}, "then": {"required": ["table", "priority"]}, "else": {"required": ["priority"]}, "additionalProperties": false, "properties": {"action": {"type": ["integer", "string"], "enum": ["to_tbl", "blackhole", "unreachable", "prohibit"], "default": "to_tbl"}, "table": {"type": ["integer", "string"], "minimum": 0, "maximum": 255}, "priority": {"type": "integer", "minimum": 0, "maximum": 4294967295}, "from": {"type": "string"}, "to": {"type": "string"}, "iif": {"type": "string"}, "oif": {"type": "string"}, "proto": {"type": ["integer", "string"], "default": "unspec"}, "fwmark": {"type": "integer"}, "ipproto": {"type": ["integer", "string"]}}}}}}}}
ifstate.conf.schema.json
ignore-ipaddr
list of ip address prefixes to be ignored
{"type": "array", "items": {"type": "string", "examples": ["fe80::/10"]}}
ifstate.conf.schema.json
items
ip address with prefix length
{"type": "string", "examples": ["fe80::/10"]}
ifstate.conf.schema.json
ignore-ifname
interface names matching this list of regex will be ignored
{"type": "array", "items": {"examples": ["^br-[\\da-f]{12}", "^docker\\d+", "^lo$", "^ppp\\d+$", "^veth", "^virbr\\d+", "^vrrp\\d*\\.\\d+$"], "type": "string"}}
ifstate.conf.schema.json
items
regex to match interface name
{"examples": ["^br-[\\da-f]{12}", "^docker\\d+", "^lo$", "^ppp\\d+$", "^veth", "^virbr\\d+", "^vrrp\\d*\\.\\d+$"], "type": "string"}
ifstate.conf.schema.json
ignore-routes
filter routes by options
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"dev": {"type": ["integer", "string"]}, "proto": {"type": ["integer", "string"], "default": "boot"}, "realm": {"type": ["integer", "string"]}, "scope": {"type": ["integer", "string"]}, "table": {"type": ["integer", "string"], "default": "main"}, "to": {"type": "string"}, "via": {"type": "string"}}}}
ifstate.conf.schema.json
ignore-rules
filter rules by options
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"action": {"type": ["integer", "string"], "enum": ["to_tbl", "blackhole", "unreachable", "prohibit"], "default": "to_tbl"}, "table": {"type": ["integer", "string"], "minimum": 0, "maximum": 255}, "priority": {"type": "integer", "minimum": 0, "maximum": 4294967295}, "from": {"type": "string"}, "to": {"type": "string"}, "iif": {"type": "string"}, "oif": {"type": "string"}, "proto": {"type": ["integer", "string"], "default": "unspec"}, "fwmark": {"type": "integer"}, "ipproto": {"type": ["integer", "string"]}}}}
ifstate.conf.schema.json
action
the type of this rule
{"type": ["integer", "string"], "enum": ["to_tbl", "blackhole", "unreachable", "prohibit"], "default": "to_tbl"}
ifstate.conf.schema.json
priority
the priority of this rule
{"type": "integer", "minimum": 0, "maximum": 4294967295}
ifstate.conf.schema.json
from
select the source prefix to match
{"type": "string"}
ifstate.conf.schema.json
to
select the destination prefix to match
{"type": "string"}
ifstate.conf.schema.json
iif
select the incoming device to match
{"type": "string"}
ifstate.conf.schema.json
oif
select the outgoing device to match
{"type": "string"}
ifstate.conf.schema.json
proto
routing protocol number (`/etc/iproute2/rt_protos`)
{"type": ["integer", "string"], "default": "unspec"}
ifstate.conf.schema.json
fwmark
select the *fwmark* value to match
{"type": "integer"}
ifstate.conf.schema.json
ipproto
select the ip protocol to match
{"type": ["integer", "string"]}
ifstate.conf.schema.json
iface-link_address
link mac address (xx:xx:xx:xx:xx:xx)
{"type": "string", "pattern": "^([a-f0-9]{2}:){5}[a-f0-9]{2}$"}
ifstate.conf.schema.json
iface-link_group
specifies a device group name or index
{"type": ["integer", "string"]}
ifstate.conf.schema.json
iface-link_link
specifies a parent device name or index
{"type": ["integer", "string"]}
ifstate.conf.schema.json
iface-link_master
specifies a master device name or index
{"type": ["integer", "string"]}
ifstate.conf.schema.json
iface-link_mtu
change the mtu of the device
{"type": "integer", "minimum": 68, "maximum": 65536}
ifstate.conf.schema.json
iface-link_state
set device state
{"type": "string", "enum": ["up", "down"]}
ifstate.conf.schema.json
iface-link_txqlen
the transmit queue length of the device
{"type": "integer"}
ifstate.conf.schema.json
iface-link_ifalias
symbolic name for easy reference
{"type": "string"}
ifstate.conf.schema.json
iface-link_tun-remote4
remote IPv4 address of the tunnel
{"type": "string", "format": "ipv4"}
ifstate.conf.schema.json
iface-link_tun-local4
local IPv4 address of the tunnel
{"type": "string", "format": "ipv4"}
ifstate.conf.schema.json
iface-link_tun-remote6
remote IPv4 address of the tunnel
{"type": "string", "format": "ipv6"}
ifstate.conf.schema.json
iface-link_tun-local6
local IPv4 address of the tunnel
{"type": "string", "format": "ipv6"}
ifstate.conf.schema.json
iface-link_tun-dev
interface to use for tunnel endpoint communication
{}
ifstate.conf.schema.json
iface-sysctl
configures [per interface sysctl settings](https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt)
{"type": "object", "additionalProperties": false, "properties": {"ipv4": {"type": "object", "properties": {"accept_local": {"type": "integer"}, "accept_redirects": {"type": "integer"}, "accept_source_route": {"type": "integer"}, "arp_accept": {"type": "integer"}, "arp_announce": {"type": "integer"}, "arp_filter": {"type": "integer"}, "arp_ignore": {"type": "integer"}, "arp_notify": {"type": "integer"}, "bc_forwarding": {"type": "integer"}, "bootp_relay": {"type": "integer"}, "disable_policy": {"type": "integer"}, "disable_xfrm": {"type": "integer"}, "drop_gratuitous_arp": {"type": "integer"}, "drop_unicast_in_l2_multicast": {"type": "integer"}, "force_igmp_version": {"type": "integer"}, "forwarding": {"type": "integer"}, "igmpv2_unsolicited_report_interval": {"type": "integer"}, "igmpv3_unsolicited_report_interval": {"type": "integer"}, "ignore_routes_with_linkdown": {"type": "integer"}, "log_martians": {"type": "integer"}, "mc_forwarding": {"type": "integer"}, "medium_id": {"type": "integer"}, "promote_secondaries": {"type": "integer"}, "proxy_arp": {"type": "integer"}, "proxy_arp_pvlan": {"type": "integer"}, "route_localnet": {"type": "integer"}, "rp_filter": {"type": "integer"}, "secure_redirects": {"type": "integer"}, "send_redirects": {"type": "integer"}, "shared_media": {"type": "integer"}, "src_valid_mark": {"type": "integer"}, "tag": {"type": "integer"}}}, "ipv6": {"type": "object", "additionalProperties": false, "properties": {"accept_dad": {"type": "integer"}, "accept_ra": {"type": "integer"}, "accept_ra_defrtr": {"type": "integer"}, "accept_ra_from_local": {"type": "integer"}, "accept_ra_min_hop_limit": {"type": "integer"}, "accept_ra_mtu": {"type": "integer"}, "accept_ra_pinfo": {"type": "integer"}, "accept_ra_rt_info_max_plen": {"type": "integer"}, "accept_ra_rt_info_min_plen": {"type": "integer"}, "accept_ra_rtr_pref": {"type": "integer"}, "accept_redirects": {"type": "integer"}, "accept_source_route": {"type": "integer"}, "addr_gen_mode": {"type": "integer"}, "autoconf": {"type": "integer"}, "dad_transmits": {"type": "integer"}, "disable_ipv6": {"type": "integer"}, "disable_policy": {"type": "integer"}, "drop_unicast_in_l2_multicast": {"type": "integer"}, "drop_unsolicited_na": {"type": "integer"}, "enhanced_dad": {"type": "integer"}, "force_mld_version": {"type": "integer"}, "force_tllao": {"type": "integer"}, "forwarding": {"type": "integer"}, "hop_limit": {"type": "integer"}, "ignore_routes_with_linkdown": {"type": "integer"}, "keep_addr_on_down": {"type": "integer"}, "max_addresses": {"type": "integer"}, "max_desync_factor": {"type": "integer"}, "mc_forwarding": {"type": "integer"}, "mldv1_unsolicited_report_interval": {"type": "integer"}, "mldv2_unsolicited_report_interval": {"type": "integer"}, "mtu": {"type": "integer"}, "ndisc_notify": {"type": "integer"}, "ndisc_tclass": {"type": "integer"}, "optimistic_dad": {"type": "integer"}, "proxy_ndp": {"type": "integer"}, "regen_max_retry": {"type": "integer"}, "router_probe_interval": {"type": "integer"}, "router_solicitation_delay": {"type": "integer"}, "router_solicitation_interval": {"type": "integer"}, "router_solicitation_max_interval": {"type": "integer"}, "router_solicitations": {"type": "integer"}, "seg6_enabled": {"type": "integer"}, "seg6_require_hmac": {"type": "integer"}, "stable_secret": {"type": "string", "format": "ipv6"}, "suppress_frag_ndisc": {"type": "integer"}, "temp_prefered_lft": {"type": "integer"}, "temp_valid_lft": {"type": "integer"}, "use_oif_addrs_only": {"type": "integer"}, "use_optimistic": {"type": "integer"}, "use_tempaddr": {"type": "integer"}}}}}
ifstate.conf.schema.json
ipv4
settings in `/proc/sys/net/ipv4/*/conf/`
{"type": "object", "properties": {"accept_local": {"type": "integer"}, "accept_redirects": {"type": "integer"}, "accept_source_route": {"type": "integer"}, "arp_accept": {"type": "integer"}, "arp_announce": {"type": "integer"}, "arp_filter": {"type": "integer"}, "arp_ignore": {"type": "integer"}, "arp_notify": {"type": "integer"}, "bc_forwarding": {"type": "integer"}, "bootp_relay": {"type": "integer"}, "disable_policy": {"type": "integer"}, "disable_xfrm": {"type": "integer"}, "drop_gratuitous_arp": {"type": "integer"}, "drop_unicast_in_l2_multicast": {"type": "integer"}, "force_igmp_version": {"type": "integer"}, "forwarding": {"type": "integer"}, "igmpv2_unsolicited_report_interval": {"type": "integer"}, "igmpv3_unsolicited_report_interval": {"type": "integer"}, "ignore_routes_with_linkdown": {"type": "integer"}, "log_martians": {"type": "integer"}, "mc_forwarding": {"type": "integer"}, "medium_id": {"type": "integer"}, "promote_secondaries": {"type": "integer"}, "proxy_arp": {"type": "integer"}, "proxy_arp_pvlan": {"type": "integer"}, "route_localnet": {"type": "integer"}, "rp_filter": {"type": "integer"}, "secure_redirects": {"type": "integer"}, "send_redirects": {"type": "integer"}, "shared_media": {"type": "integer"}, "src_valid_mark": {"type": "integer"}, "tag": {"type": "integer"}}}
ifstate.conf.schema.json
ipv6
settings in `/proc/sys/net/ipv6/*/conf/`
{"type": "object", "additionalProperties": false, "properties": {"accept_dad": {"type": "integer"}, "accept_ra": {"type": "integer"}, "accept_ra_defrtr": {"type": "integer"}, "accept_ra_from_local": {"type": "integer"}, "accept_ra_min_hop_limit": {"type": "integer"}, "accept_ra_mtu": {"type": "integer"}, "accept_ra_pinfo": {"type": "integer"}, "accept_ra_rt_info_max_plen": {"type": "integer"}, "accept_ra_rt_info_min_plen": {"type": "integer"}, "accept_ra_rtr_pref": {"type": "integer"}, "accept_redirects": {"type": "integer"}, "accept_source_route": {"type": "integer"}, "addr_gen_mode": {"type": "integer"}, "autoconf": {"type": "integer"}, "dad_transmits": {"type": "integer"}, "disable_ipv6": {"type": "integer"}, "disable_policy": {"type": "integer"}, "drop_unicast_in_l2_multicast": {"type": "integer"}, "drop_unsolicited_na": {"type": "integer"}, "enhanced_dad": {"type": "integer"}, "force_mld_version": {"type": "integer"}, "force_tllao": {"type": "integer"}, "forwarding": {"type": "integer"}, "hop_limit": {"type": "integer"}, "ignore_routes_with_linkdown": {"type": "integer"}, "keep_addr_on_down": {"type": "integer"}, "max_addresses": {"type": "integer"}, "max_desync_factor": {"type": "integer"}, "mc_forwarding": {"type": "integer"}, "mldv1_unsolicited_report_interval": {"type": "integer"}, "mldv2_unsolicited_report_interval": {"type": "integer"}, "mtu": {"type": "integer"}, "ndisc_notify": {"type": "integer"}, "ndisc_tclass": {"type": "integer"}, "optimistic_dad": {"type": "integer"}, "proxy_ndp": {"type": "integer"}, "regen_max_retry": {"type": "integer"}, "router_probe_interval": {"type": "integer"}, "router_solicitation_delay": {"type": "integer"}, "router_solicitation_interval": {"type": "integer"}, "router_solicitation_max_interval": {"type": "integer"}, "router_solicitations": {"type": "integer"}, "seg6_enabled": {"type": "integer"}, "seg6_require_hmac": {"type": "integer"}, "stable_secret": {"type": "string", "format": "ipv6"}, "suppress_frag_ndisc": {"type": "integer"}, "temp_prefered_lft": {"type": "integer"}, "temp_valid_lft": {"type": "integer"}, "use_oif_addrs_only": {"type": "integer"}, "use_optimistic": {"type": "integer"}, "use_tempaddr": {"type": "integer"}}}
ifstate.conf.schema.json
iface-tc_qid
qdisc id
{"type": "string", "format": "^(root|[0-9a-f]+:[0-9a-f]*)$"}
ifstate.conf.schema.json
iface-tc_protocol
protocol selector
{"type": ["string", "integer"], "minLength": 2, "minimum": 0, "maximum": 255, "default": 3}
ifstate.conf.schema.json
iface-tc_prio
priority
{"type": "integer", "minimum": 0, "maximum": 65535}
ifstate.conf.schema.json
iface-tc_qdisc
traffic control queueing discipline
{"type": "object", "required": ["handle"], "properties": {"handle": {}}, "oneOf": [{"required": ["kind"], "properties": {"kind": {"type": "string", "enum": ["gred", "hhf", "mqprio", "multiq", "netem", "pfifo_fast", "pie", "red", "sfb", "sfq", "tbf"]}}}, {}, {"required": ["kind", "limit", "min", "max", "avpkt", "burst", "probability"], "properties": {"kind": {"const": "choke"}}}, {"required": ["kind"], "properties": {"kind": {"const": "codel"}}}, {"required": ["kind"], "additionalProperties": false, "properties": {"kind": {"type": "string", "enum": ["bfifo", "pfifo"]}, "limit": {"type": "number"}}}, {"required": ["kind"], "properties": {"kind": {"const": "fq"}, "limit": {"type": "number"}, "flow_limit": {"type": "number"}}}, {"required": ["kind"], "properties": {"kind": {"const": "fq_codel"}, "limit": {"type": "number"}, "flows": {"type": "number"}}}, {"required": ["kind"], "properties": {"kind": {"type": "string", "enum": ["atm", "cbq", "drr", "dsmark", "hfsc", "htb", "prio", "qfq"]}}}, {"required": ["kind", "children"], "properties": {"kind": {"const": "mq"}, "children": {"type": "array", "items": {}}}}]}
ifstate.conf.schema.json
handle
unique id
{}
ifstate.conf.schema.json
iface-tc_qdisc
generic classless qdisc
{"required": ["kind"], "properties": {"kind": {"type": "string", "enum": ["gred", "hhf", "mqprio", "multiq", "netem", "pfifo_fast", "pie", "red", "sfb", "sfq", "tbf"]}}}
ifstate.conf.schema.json
kind
qdisk type
{"type": "string", "enum": ["gred", "hhf", "mqprio", "multiq", "netem", "pfifo_fast", "pie", "red", "sfb", "sfq", "tbf"]}
ifstate.conf.schema.json
iface-tc_qdisc
[choke](https://man7.org/linux/man-pages/man8/tc-choke.8.html) - choose and keep scheduler
{"required": ["kind", "limit", "min", "max", "avpkt", "burst", "probability"], "properties": {"kind": {"const": "choke"}}}
ifstate.conf.schema.json
kind
qdisk type
{"const": "choke"}
ifstate.conf.schema.json
iface-tc_qdisc
[CoDel](https://man7.org/linux/man-pages/man8/tc-codel.8.html) - Controlled-Delay Active Queue Management algorithm
{"required": ["kind"], "properties": {"kind": {"const": "codel"}}}
ifstate.conf.schema.json
kind
qdisk type
{"const": "codel"}
ifstate.conf.schema.json
iface-tc_qdisc
[bfifo](https://man7.org/linux/man-pages/man8/tc-bfifo.8.html) - Byte limited First In, First Out queue; [pfifo](https://man7.org/linux/man-pages/man8/tc-pfifo.8.html) - Packet limited First In, First Out queue
{"required": ["kind"], "additionalProperties": false, "properties": {"kind": {"type": "string", "enum": ["bfifo", "pfifo"]}, "limit": {"type": "number"}}}
ifstate.conf.schema.json
kind
qdisk type
{"type": "string", "enum": ["bfifo", "pfifo"]}
ifstate.conf.schema.json
limit
queue size in bytes or packets
{"type": "number"}
ifstate.conf.schema.json
iface-tc_qdisc
[fq](https://man7.org/linux/man-pages/man8/tc-fq.8.html) - Fair Queue traffic policing
{"required": ["kind"], "properties": {"kind": {"const": "fq"}, "limit": {"type": "number"}, "flow_limit": {"type": "number"}}}
ifstate.conf.schema.json
kind
qdisk type
{"const": "fq"}
ifstate.conf.schema.json
limit
hard limit on the real queue size (number of packets)
{"type": "number"}
ifstate.conf.schema.json
flow_limit
hard limit on the max number of packets per flow
{"type": "number"}
ifstate.conf.schema.json
iface-tc_qdisc
[fq_codel](https://man7.org/linux/man-pages/man8/tc-fq_codel.8.html) - Fair Queuing (FQ) with Controlled Delay (CoDel)
{"required": ["kind"], "properties": {"kind": {"const": "fq_codel"}, "limit": {"type": "number"}, "flows": {"type": "number"}}}
ifstate.conf.schema.json
kind
qdisk type
{"const": "fq_codel"}
ifstate.conf.schema.json
limit
hard limit on the real queue size (number of packets)
{"type": "number"}
ifstate.conf.schema.json
flows
number of flows
{"type": "number"}
ifstate.conf.schema.json
iface-tc_qdisc
generic classful qdisc
{"required": ["kind"], "properties": {"kind": {"type": "string", "enum": ["atm", "cbq", "drr", "dsmark", "hfsc", "htb", "prio", "qfq"]}}}
ifstate.conf.schema.json
kind
qdisk type
{"type": "string", "enum": ["atm", "cbq", "drr", "dsmark", "hfsc", "htb", "prio", "qfq"]}
ifstate.conf.schema.json
iface-tc_qdisc
classful multiqueue dummy scheduler
{"required": ["kind", "children"], "properties": {"kind": {"const": "mq"}, "children": {"type": "array", "items": {}}}}