{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "set_neighbor_discovery_settings",
  "type": "object",
  "properties": {
    "discover_interface_list": {
      "description": "Interface-list to run discovery on, e.g. \"all\", \"LAN\", \"none\".",
      "type": "string"
    },
    "mode": {
      "description": "Whether the router transmits and/or receives discovery frames.",
      "type": "string",
      "enum": ["tx-only", "rx-only", "tx-and-rx"]
    },
    "protocol": {
      "description": "Comma-separated protocols, e.g. \"mndp,cdp,lldp\".",
      "type": "string"
    },
    "lldp_med_net_policy_vlan": {
      "description": "LLDP-MED network-policy VLAN, e.g. \"auto\" or a VLAN id.",
      "type": "string"
    },
    "lldp_mac_phy_config": {
      "description": "Include the IEEE 802.3 MAC/PHY Configuration/Status TLV in LLDP frames.",
      "type": "boolean"
    },
    "lldp_max_frame_size": {
      "description": "Include the Maximum Frame Size TLV in LLDP frames.",
      "type": "boolean"
    },
    "lldp_vlan_info": {
      "description": "Include the Port VLAN ID and VLAN Name TLVs in LLDP frames.",
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
