Download OpenAPI specification:
pfSense® Plus software is a widely deployed, robust, and easy to use firewall solution. This repository contains the set of packages to extend the powerful management capabilities of pfSense Plus through the availability a RESTful interface provided by the pfSense Multi-instance Management Controller.
This API schema is provided for language agnostic client implementations. The schema generated document can be viewed here: netgate.github.io/pfsense-api
Authentication Operations: Use the functions in this namespace to login to the Controller and obtain the session token required for issuing API requests.
Login to pfSense. If the JWT access token is not provided, then a new one is allocated. A JWT refresh token is also applied to cookie. The client can refresh the access token, while the refresh token is still valid, by calling RefreshAccessToken (POST /login/refresh).
| username required | string base64 encoded |
| password required | string base64 encoded |
| secondfactor | string |
{- "username": "string",
- "password": "string",
- "secondfactor": "string"
}{- "token": "string",
- "user": "string",
- "version": "string",
- "alerts": [
- "string"
]
}| username | string |
{- "username": "string"
}{- "token": "string",
- "user": "string",
- "version": "string",
- "alerts": [
- "string"
]
}| authtype | string |
| username | string |
| password | string |
{- "authtype": "string",
- "username": "string",
- "password": "string"
}{- "authenticated": true
}{- "build": "string",
- "api_version": "string",
- "host": "string",
- "host_os": {
- "property1": "string",
- "property2": "string"
}, - "pubkey": "string",
- "tls_pubkey": "string",
- "tls_key_id": "string",
- "public_addresses": [
- "string"
], - "mim_vpn_addr": "string",
- "stats": {
- "uptime": 0,
- "started": 0,
- "mem_total": 0,
- "mem_used": 0,
- "storage": [
- {
- "volume": "string",
- "device": "string",
- "capacity": 0,
- "used": 0
}
], - "cpu_load": [
- 0
], - "admin_logins": 0,
- "systems_total": 0,
- "systems_online": 0,
- "systems_failed": 0,
- "mesh": {
- "devices_total": 0,
- "devices_online": 0,
- "vpn_conns": [
- {
- "vpn_type": "string",
- "vpn_name": "string",
- "subnets": [
- "string"
], - "conns": "string"
}
]
}, - "admin_sessions": [
- {
- "identity": "string",
- "at": 0,
- "at_str": "string"
}
], - "timestamp": 0
}
}| device_name | string |
| type | string debug, info (default), warning, error, critical |
| from_ts | integer millisecond timestamp of starting log time |
| to_ts | integer millisecond timestamp of ending log time |
| class | string source class of the log, for example - auth, config, cron, controller |
{- "entries": [
- {
- "type": "string",
- "timestamp": 0,
- "timestr": "string",
- "device_name": "string",
- "device_address": "string",
- "class": "string",
- "message": "string"
}
]
}| action | string Enum: "restart" "reload" "stop" Action to carry out [restart, reload, stop] |
{- "action": "restart"
}{- "result": "string"
}{- "uptime": 0,
- "started": 0,
- "mem_total": 0,
- "mem_used": 0,
- "storage": [
- {
- "volume": "string",
- "device": "string",
- "capacity": 0,
- "used": 0
}
], - "cpu_load": [
- 0
], - "admin_logins": 0,
- "systems_total": 0,
- "systems_online": 0,
- "systems_failed": 0,
- "mesh": {
- "devices_total": 0,
- "devices_online": 0,
- "vpn_conns": [
- {
- "vpn_type": "string",
- "vpn_name": "string",
- "subnets": [
- "string"
], - "conns": "string"
}
]
}, - "admin_sessions": [
- {
- "identity": "string",
- "at": 0,
- "at_str": "string"
}
], - "timestamp": 0
}Detect system events or alerts that need to be attended to. Calling this function will block the client, and it should therefore be done on a dedicated connection from other API requests. Each event returned in the events list has an event_id, which can be used as a tracker for retrieving the next set of events.
parameters:
| last_id | integer last seen ID |
{- "events": [
- {
- "event_type": "string",
- "event_id": 0,
- "firewall": {
- "intf_name": "string",
- "action": "string",
- "rule_type": "string",
- "filter": {
- "id": "string",
- "fwids": "string",
- "disabled": true,
- "readonly": true,
- "floating": true,
- "ethernet": true,
- "gateway": "string",
- "tracker": "string",
- "type": "string",
- "interface": "string",
- "ipprotocol": "string",
- "tag": "string",
- "tagged": "string",
- "max": "string",
- "max_src_nodes": "string",
- "max_src_conn": "string",
- "max_src_states": "string",
- "statetimeout": "string",
- "statepolicy": "string",
- "statetype": "string",
- "state": {
- "id": "string",
- "tracker": "string",
- "label": "string",
- "evaluations": 0,
- "packets": 0,
- "bytes": 0,
- "states": 0,
- "pid": 0,
- "state_creations": 0
}, - "os": "string",
- "protocol": "string",
- "direction": "string",
- "quick": true,
- "log": true,
- "dscp": "string",
- "allowopts": true,
- "disablereplyto": true,
- "nottagged": true,
- "pflow": "string",
- "max_src_conn_rate": "string",
- "max_src_conn_rates": "string",
- "tcpflags1": "string",
- "tcpflags2": "string",
- "tcpflags1_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags2_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags_any": true,
- "icmptype": "string",
- "nopfsync": true,
- "nosync": true,
- "vlanprio": "string",
- "vlanprioset": "string",
- "dnpipe": "string",
- "pdnpipe": "string",
- "ackqueue": "string",
- "defaultqueue": "string",
- "bridgeto": "string",
- "source": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "sched": "string",
- "destination": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "descr": "string",
- "srcmac": "string",
- "dstmac": "string",
- "nat": {
- "enabled": true,
- "source": "string",
- "type": "string"
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "created": {
- "time": "string",
- "username": "string"
}, - "associated_rule_id": "string"
}, - "nat": {
- "id": "string",
- "associated_rule_id": "string",
- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "filter_rule_association": "string",
- "interface": "string",
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "natreflection": "string",
- "nordr": true,
- "protocol": "string",
- "ipprotocol": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "nosync": true
}, - "nat1to1": {
- "id": "string",
- "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "external": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "interface": "string",
- "ipprotocol": "string",
- "nobinat": true,
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}
}, - "natout": {
- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "id": "string",
- "interface": "string",
- "ipprotocol": "string",
- "nonat": true,
- "nosync": true,
- "eimnat": true,
- "protocol": "string",
- "poolopts": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "source-hash-key": "string",
- "staticnatport": true,
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}
}, - "npt": {
- "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "not": true,
- "type": "string"
}, - "id": "string",
- "interface": "string",
- "source": {
- "address": "string",
- "not": true,
- "type": "string"
}
}, - "separator": {
- "id": "string",
- "row": "string",
- "text": "string",
- "color": "string",
- "if": "string"
}
}, - "interface": {
- "name": "string",
- "friendly_name": "string",
- "state": "string",
- "speed": 0
}, - "system": {
- "message": "string",
- "level": "string"
}, - "config": {
- "dirty_subsystems": [
- {
- "name": "string",
- "descr": "string",
- "file": "string"
}
], - "reboot_required": true,
- "change_message": "string"
}
}
]
}{- "admin": {
- "webguiproto": "string",
- "webguiport": "string",
- "max_procs": 0,
- "disablehttpredirect": true,
- "disablehsts": true,
- "ocsp_staple": true,
- "disableconsolemenu": true,
- "noantilockout": true,
- "nodnsrebindcheck": true,
- "nohttpreferercheck": true,
- "pagenamefirst": true,
- "loginautocomplete": true,
- "althostnames": "string",
- "enableserial": true,
- "serialspeed": "string",
- "primaryconsole": "string",
- "sshport": "string",
- "enablesshd": true,
- "sshdkeyonly": "string",
- "sshdagentforwarding": true,
- "quietlogin": true,
- "roaming": true,
- "sshguard_threshold": "string",
- "sshguard_blocktime": "string",
- "sshguard_detection_time": "string",
- "sshguard_whitelist": "string",
- "ssl_certref": "string",
- "certsavailable": true,
- "certlist": [
- {
- "id": "string",
- "descr": "string"
}
], - "enableserial_force": true
}
}object (SystemAdvAdmin) |
{- "admin": {
- "webguiproto": "string",
- "webguiport": "string",
- "max_procs": 0,
- "disablehttpredirect": true,
- "disablehsts": true,
- "ocsp_staple": true,
- "disableconsolemenu": true,
- "noantilockout": true,
- "nodnsrebindcheck": true,
- "nohttpreferercheck": true,
- "pagenamefirst": true,
- "loginautocomplete": true,
- "althostnames": "string",
- "enableserial": true,
- "serialspeed": "string",
- "primaryconsole": "string",
- "sshport": "string",
- "enablesshd": true,
- "sshdkeyonly": "string",
- "sshdagentforwarding": true,
- "quietlogin": true,
- "roaming": true,
- "sshguard_threshold": "string",
- "sshguard_blocktime": "string",
- "sshguard_detection_time": "string",
- "sshguard_whitelist": "string",
- "ssl_certref": "string",
- "certsavailable": true,
- "certlist": [
- {
- "id": "string",
- "descr": "string"
}
], - "enableserial_force": true
}
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "firewall": {
- "adaptiveend": "string",
- "adaptivestart": "string",
- "aliasesresolveinterval": "string",
- "bogonsinterval": "string",
- "bypassstaticroutes": true,
- "checkaliasesurlcert": true,
- "disablefilter": true,
- "disablenegate": true,
- "disablereplyto": true,
- "disablescrub": true,
- "disablevpnrules": true,
- "enablebinatreflection": true,
- "enablenatreflectionhelper": true,
- "enableethfilter": true,
- "icmperrortimeout": "string",
- "icmpfirsttimeout": "string",
- "maximumfrags": "string",
- "maximumstates": "string",
- "maximumtableentries": "string",
- "maxmss": "string",
- "maxmss_enable": true,
- "vpn_fragment_reassemble": true,
- "natreflection": "string",
- "no_apipa_block": true,
- "optimization": "string",
- "otherfirsttimeout": "string",
- "othermultipletimeout": "string",
- "othersingletimeout": "string",
- "reflectiontimeout": "string",
- "scrubnodf": true,
- "scrubrnid": true,
- "sctpfirsttimeout": "string",
- "sctpopeningtimeout": "string",
- "sctpestablishedtimeout": "string",
- "sctpclosingtimeout": "string",
- "sctpclosedtimeout": "string",
- "statepolicy": "string",
- "tcpclosedtimeout": "string",
- "tcpclosingtimeout": "string",
- "tcpestablishedtimeout": "string",
- "tcpfinwaittimeout": "string",
- "tcpfirsttimeout": "string",
- "tcpopeningtimeout": "string",
- "tcptsdifftimeout": "string",
- "tftpinterface": [
- "string"
], - "udpfirsttimeout": "string",
- "udpmultipletimeout": "string",
- "udpsingletimeout": "string",
- "allow_nat64_prefix_override": true
}, - "interfaces": [
- {
- "text": "string",
- "value": "string"
}
]
}| adaptiveend | string |
| adaptivestart | string |
| aliasesresolveinterval | string |
| bogonsinterval | string |
| bypassstaticroutes | boolean |
| checkaliasesurlcert | boolean |
| disablefilter | boolean |
| disablenegate | boolean |
| disablereplyto | boolean |
| disablescrub | boolean |
| disablevpnrules | boolean |
| enablebinatreflection | boolean |
| enablenatreflectionhelper | boolean |
| enableethfilter | boolean |
| icmperrortimeout | string |
| icmpfirsttimeout | string |
| maximumfrags | string |
| maximumstates | string |
| maximumtableentries | string |
| maxmss | string |
| maxmss_enable | boolean |
| vpn_fragment_reassemble | boolean |
| natreflection | string |
| no_apipa_block | boolean |
| optimization | string |
| otherfirsttimeout | string |
| othermultipletimeout | string |
| othersingletimeout | string |
| reflectiontimeout | string |
| scrubnodf | boolean |
| scrubrnid | boolean |
| sctpfirsttimeout | string |
| sctpopeningtimeout | string |
| sctpestablishedtimeout | string |
| sctpclosingtimeout | string |
| sctpclosedtimeout | string |
| statepolicy | string |
| tcpclosedtimeout | string |
| tcpclosingtimeout | string |
| tcpestablishedtimeout | string |
| tcpfinwaittimeout | string |
| tcpfirsttimeout | string |
| tcpopeningtimeout | string |
| tcptsdifftimeout | string |
| tftpinterface | Array of strings |
| udpfirsttimeout | string |
| udpmultipletimeout | string |
| udpsingletimeout | string |
| allow_nat64_prefix_override | boolean Allow overriding the NAT64 prefix used in rules and services |
{- "adaptiveend": "string",
- "adaptivestart": "string",
- "aliasesresolveinterval": "string",
- "bogonsinterval": "string",
- "bypassstaticroutes": true,
- "checkaliasesurlcert": true,
- "disablefilter": true,
- "disablenegate": true,
- "disablereplyto": true,
- "disablescrub": true,
- "disablevpnrules": true,
- "enablebinatreflection": true,
- "enablenatreflectionhelper": true,
- "enableethfilter": true,
- "icmperrortimeout": "string",
- "icmpfirsttimeout": "string",
- "maximumfrags": "string",
- "maximumstates": "string",
- "maximumtableentries": "string",
- "maxmss": "string",
- "maxmss_enable": true,
- "vpn_fragment_reassemble": true,
- "natreflection": "string",
- "no_apipa_block": true,
- "optimization": "string",
- "otherfirsttimeout": "string",
- "othermultipletimeout": "string",
- "othersingletimeout": "string",
- "reflectiontimeout": "string",
- "scrubnodf": true,
- "scrubrnid": true,
- "sctpfirsttimeout": "string",
- "sctpopeningtimeout": "string",
- "sctpestablishedtimeout": "string",
- "sctpclosingtimeout": "string",
- "sctpclosedtimeout": "string",
- "statepolicy": "string",
- "tcpclosedtimeout": "string",
- "tcpclosingtimeout": "string",
- "tcpestablishedtimeout": "string",
- "tcpfinwaittimeout": "string",
- "tcpfirsttimeout": "string",
- "tcpopeningtimeout": "string",
- "tcptsdifftimeout": "string",
- "tftpinterface": [
- "string"
], - "udpfirsttimeout": "string",
- "udpmultipletimeout": "string",
- "udpsingletimeout": "string",
- "allow_nat64_prefix_override": true
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "misc": {
- "available_kernel_memory": 0,
- "block_external_services": true,
- "crypto_hardware": "string",
- "do_not_send_uniqueid": true,
- "dpinger_dont_add_static_routes": true,
- "gw_down_kill_states": "string",
- "harddiskstandby": "string",
- "hwpstate": true,
- "hwpstate_control_level": "string",
- "hwpstate_epp": 0,
- "ipsec_mb": true,
- "keep_failover_states": true,
- "lb_use_sticky": true,
- "mds": "string",
- "mds_disable": "string",
- "php_memory_limit": 0,
- "powerd_ac_mode": "string",
- "powerd_battery_mode": "string",
- "powerd_enable": true,
- "powerd_normal_mode": "string",
- "proxypass": "string",
- "proxypass_confirm": "string",
- "proxyport": 0,
- "proxyurl": "string",
- "proxyuser": "string",
- "pti": "string",
- "pti_disabled": true,
- "remove_failover_states_default": "string",
- "schedule_states": true,
- "skip_rules_gw_down": true,
- "srctrack": "string",
- "thermal_hardware": "string",
- "use_mfs_tmp_size": 0,
- "use_mfs_tmpvar": true,
- "use_mfs_var_size": 0,
- "watchdogd_enable": true,
- "watchdogd_timeout": "string",
- "rrdbackup": 0,
- "dhcpbackup": 0,
- "logsbackup": 0,
- "captiveportalbackup": 0
}
}object (AdvMisc) |
{- "misc": {
- "available_kernel_memory": 0,
- "block_external_services": true,
- "crypto_hardware": "string",
- "do_not_send_uniqueid": true,
- "dpinger_dont_add_static_routes": true,
- "gw_down_kill_states": "string",
- "harddiskstandby": "string",
- "hwpstate": true,
- "hwpstate_control_level": "string",
- "hwpstate_epp": 0,
- "ipsec_mb": true,
- "keep_failover_states": true,
- "lb_use_sticky": true,
- "mds": "string",
- "mds_disable": "string",
- "php_memory_limit": 0,
- "powerd_ac_mode": "string",
- "powerd_battery_mode": "string",
- "powerd_enable": true,
- "powerd_normal_mode": "string",
- "proxypass": "string",
- "proxypass_confirm": "string",
- "proxyport": 0,
- "proxyurl": "string",
- "proxyuser": "string",
- "pti": "string",
- "pti_disabled": true,
- "remove_failover_states_default": "string",
- "schedule_states": true,
- "skip_rules_gw_down": true,
- "srctrack": "string",
- "thermal_hardware": "string",
- "use_mfs_tmp_size": 0,
- "use_mfs_tmpvar": true,
- "use_mfs_var_size": 0,
- "watchdogd_enable": true,
- "watchdogd_timeout": "string",
- "rrdbackup": 0,
- "dhcpbackup": 0,
- "logsbackup": 0,
- "captiveportalbackup": 0
}
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "networking": {
- "disablechecksumoffloading": true,
- "disablesegmentationoffloading": true,
- "disablelargereceiveoffloading": true,
- "dhcp6debug": true,
- "dhcp6norelease": true,
- "hnaltqenable": true,
- "ignoreiscwarning": true,
- "ip_change_kill_states": true,
- "ipv6allow": true,
- "ipv6dontcreatelocaldns": true,
- "ipv6nat_enable": true,
- "prefer_ipv4": true,
- "sharednet": true,
- "radvddebug": true,
- "duid": "string",
- "global_v6duid": "string",
- "ipv6duiden_en": "string",
- "ipv6duiden_id": "string",
- "ipv6duidll": "string",
- "ipv6duidllt_ll": "string",
- "ipv6duidllt_time": "string",
- "ipv6duidtype": "string",
- "ipv6duiduuid": "string",
- "ipv6nat_ipaddr": "string",
- "dhcpbackend": "string",
- "use_if_pppoe": true
}
}| disablechecksumoffloading | boolean |
| disablesegmentationoffloading | boolean |
| disablelargereceiveoffloading | boolean |
| dhcp6debug | boolean |
| dhcp6norelease | boolean |
| hnaltqenable | boolean |
| ignoreiscwarning | boolean |
| ip_change_kill_states | boolean |
| ipv6allow | boolean |
| ipv6dontcreatelocaldns | boolean |
| ipv6nat_enable | boolean |
| prefer_ipv4 | boolean |
| sharednet | boolean |
| radvddebug | boolean |
| duid | string |
| global_v6duid | string |
| ipv6duiden_en | string |
| ipv6duiden_id | string |
| ipv6duidll | string |
| ipv6duidllt_ll | string |
| ipv6duidllt_time | string |
| ipv6duidtype | string |
| ipv6duiduuid | string |
| ipv6nat_ipaddr | string |
| dhcpbackend | string |
| use_if_pppoe | boolean |
{- "disablechecksumoffloading": true,
- "disablesegmentationoffloading": true,
- "disablelargereceiveoffloading": true,
- "dhcp6debug": true,
- "dhcp6norelease": true,
- "hnaltqenable": true,
- "ignoreiscwarning": true,
- "ip_change_kill_states": true,
- "ipv6allow": true,
- "ipv6dontcreatelocaldns": true,
- "ipv6nat_enable": true,
- "prefer_ipv4": true,
- "sharednet": true,
- "radvddebug": true,
- "duid": "string",
- "global_v6duid": "string",
- "ipv6duiden_en": "string",
- "ipv6duiden_id": "string",
- "ipv6duidll": "string",
- "ipv6duidllt_ll": "string",
- "ipv6duidllt_time": "string",
- "ipv6duidtype": "string",
- "ipv6duiduuid": "string",
- "ipv6nat_ipaddr": "string",
- "dhcpbackend": "string",
- "use_if_pppoe": true
}{- "reboot_msg": "string"
}{- "notifications": {
- "cert_enable_notify": true,
- "disablebeep": true,
- "disable_smtp": true,
- "enable_pushover": true,
- "enable_telegram": true,
- "smtpssl": true,
- "sslvalidate": true,
- "api": "string",
- "certexpiredays": 0,
- "chatid": "string",
- "pushoverapikey": "string",
- "pushoverexpire": 0,
- "pushoverpriority": "string",
- "pushoverretry": 0,
- "pushoversound": "string",
- "pushoveruserkey": "string",
- "smtpauthmech": "string",
- "smtpfromaddress": "string",
- "smtpipaddress": "string",
- "smtpnotifyemailaddress": "string",
- "smtppassword": "string",
- "smtppassword_confirm": "string",
- "smtpport": "string",
- "smtptimeout": 0,
- "smtpusername": "string",
- "save": true,
- "test_smtp": true,
- "test_telegram": true,
- "test_pushover": true,
- "revoked_cert_ignore_notify": true,
- "enable_slack": true,
- "slack_api": "string",
- "slack_channel": "string"
}
}object (AdvNotificationSetting) |
{- "notifications": {
- "cert_enable_notify": true,
- "disablebeep": true,
- "disable_smtp": true,
- "enable_pushover": true,
- "enable_telegram": true,
- "smtpssl": true,
- "sslvalidate": true,
- "api": "string",
- "certexpiredays": 0,
- "chatid": "string",
- "pushoverapikey": "string",
- "pushoverexpire": 0,
- "pushoverpriority": "string",
- "pushoverretry": 0,
- "pushoversound": "string",
- "pushoveruserkey": "string",
- "smtpauthmech": "string",
- "smtpfromaddress": "string",
- "smtpipaddress": "string",
- "smtpnotifyemailaddress": "string",
- "smtppassword": "string",
- "smtppassword_confirm": "string",
- "smtpport": "string",
- "smtptimeout": 0,
- "smtpusername": "string",
- "save": true,
- "test_smtp": true,
- "test_telegram": true,
- "test_pushover": true,
- "revoked_cert_ignore_notify": true,
- "enable_slack": true,
- "slack_api": "string",
- "slack_channel": "string"
}
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "tunable": {
- "tunable": "string",
- "value": "string",
- "descr": "string",
- "modified": true
}, - "id": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| cert_path | string |
| key_path | string |
{- "cert_path": "string",
- "key_path": "string"
}{- "result": "string"
}{- "envs": {
- "property1": {
- "creation_nice": "string",
- "used_nice": 0,
- "version": "string",
- "name": "string",
- "mounted": "string",
- "activate_title": "string",
- "dataset": "string",
- "prior": "string",
- "creation": "string",
- "usedrefreserv": "string",
- "used": "string",
- "upgrading": true,
- "active": true,
- "nextboot": true,
- "activate_icon": "string",
- "lastbooted_nice": "string",
- "usedsnap": "string",
- "descr": "string",
- "failed": true,
- "referenced": "string",
- "mountpoint": "string",
- "bootonce": true,
- "origin": "string",
- "useds": "string",
- "protect": true
}, - "property2": {
- "creation_nice": "string",
- "used_nice": 0,
- "version": "string",
- "name": "string",
- "mounted": "string",
- "activate_title": "string",
- "dataset": "string",
- "prior": "string",
- "creation": "string",
- "usedrefreserv": "string",
- "used": "string",
- "upgrading": true,
- "active": true,
- "nextboot": true,
- "activate_icon": "string",
- "lastbooted_nice": "string",
- "usedsnap": "string",
- "descr": "string",
- "failed": true,
- "referenced": "string",
- "mountpoint": "string",
- "bootonce": true,
- "origin": "string",
- "useds": "string",
- "protect": true
}
}
}| name required | string |
| descr | string |
| from required | string |
| protect | boolean |
{- "name": "string",
- "descr": "string",
- "from": "string",
- "protect": true
}{- "result": "string"
}| name | string |
| temp | boolean |
{- "name": "string",
- "temp": true
}{- "envs": {
- "property1": {
- "creation_nice": "string",
- "used_nice": 0,
- "version": "string",
- "name": "string",
- "mounted": "string",
- "activate_title": "string",
- "dataset": "string",
- "prior": "string",
- "creation": "string",
- "usedrefreserv": "string",
- "used": "string",
- "upgrading": true,
- "active": true,
- "nextboot": true,
- "activate_icon": "string",
- "lastbooted_nice": "string",
- "usedsnap": "string",
- "descr": "string",
- "failed": true,
- "referenced": "string",
- "mountpoint": "string",
- "bootonce": true,
- "origin": "string",
- "useds": "string",
- "protect": true
}, - "property2": {
- "creation_nice": "string",
- "used_nice": 0,
- "version": "string",
- "name": "string",
- "mounted": "string",
- "activate_title": "string",
- "dataset": "string",
- "prior": "string",
- "creation": "string",
- "usedrefreserv": "string",
- "used": "string",
- "upgrading": true,
- "active": true,
- "nextboot": true,
- "activate_icon": "string",
- "lastbooted_nice": "string",
- "usedsnap": "string",
- "descr": "string",
- "failed": true,
- "referenced": "string",
- "mountpoint": "string",
- "bootonce": true,
- "origin": "string",
- "useds": "string",
- "protect": true
}
}
}| name required | string |
| old_name required | string |
| name | string |
| descr | string |
| protect | boolean |
{- "old_name": "string",
- "name": "string",
- "descr": "string",
- "protect": true
}{- "result": "string"
}{- "cas": [
- {
- "name": "string",
- "refid": "string",
- "internal": true,
- "issuer": "string",
- "certificates": 0,
- "inuse": [
- "string"
], - "trust": true,
- "randomize_serial": true,
- "next_serial": 0,
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}
}
]
}Add a new Certificate Authority. The input must provide one of the method structures which contain the parameters to generate the certificate from. If an existing certificate is to be used, the method_existing must contain the certificate and the private key associated with it.
The input NewCaCertReq object must have a name provided, and one of the method_xxxxx
providing the certificate creation options.
| name required | string |
| trust | boolean |
| randomize_serial | boolean |
object (CaCertMethodNew) Options for creating/updating an internal CA certificate. The values for internal and intermediate certificates are the same, with the exception that the intermediate certificate is signed by a CA referenced by caref. For key type, size and options, query /system/certopts for the supported values.
| |
object (CaCertMethodExisting) Existing PEM certificate and key, either in PEM format or base64-encoded | |
object (CaCertMethodNew) Options for creating/updating an internal CA certificate. The values for internal and intermediate certificates are the same, with the exception that the intermediate certificate is signed by a CA referenced by caref. For key type, size and options, query /system/certopts for the supported values.
|
{- "name": "string",
- "trust": true,
- "randomize_serial": true,
- "method_internal": {
- "key_type": "string",
- "key_size": 0,
- "key_opt": "string",
- "digest_alg": "string",
- "lifetime": 0,
- "cn": "string",
- "country_code": "string",
- "state": "string",
- "city": "string",
- "org": "string",
- "ou": "string",
- "caref": "string"
}, - "method_existing": {
- "cert": "string",
- "private_key": "string",
- "next_serial": 0
}, - "method_intermediate": {
- "key_type": "string",
- "key_size": 0,
- "key_opt": "string",
- "digest_alg": "string",
- "lifetime": 0,
- "cn": "string",
- "country_code": "string",
- "state": "string",
- "city": "string",
- "org": "string",
- "ou": "string",
- "caref": "string"
}
}{- "name": "string",
- "refid": "string",
- "internal": true,
- "issuer": "string",
- "certificates": 0,
- "inuse": [
- "string"
], - "trust": true,
- "randomize_serial": true,
- "next_serial": 0,
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}
}| refid required | string |
{- "name": "string",
- "refid": "string",
- "internal": true,
- "issuer": "string",
- "certificates": 0,
- "inuse": [
- "string"
], - "trust": true,
- "randomize_serial": true,
- "next_serial": 0,
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}
}{- "cas": [
- {
- "name": "string",
- "refid": "string",
- "internal": true,
- "issuer": "string",
- "certificates": 0,
- "inuse": [
- "string"
], - "trust": true,
- "randomize_serial": true,
- "next_serial": 0,
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}
}
]
}| refid required | string |
| name required | string |
| trust | boolean |
| randomize_serial | boolean |
object (CaCertMethodNew) Options for creating/updating an internal CA certificate. The values for internal and intermediate certificates are the same, with the exception that the intermediate certificate is signed by a CA referenced by caref. For key type, size and options, query /system/certopts for the supported values.
| |
object (CaCertMethodExisting) Existing PEM certificate and key, either in PEM format or base64-encoded | |
object (CaCertMethodNew) Options for creating/updating an internal CA certificate. The values for internal and intermediate certificates are the same, with the exception that the intermediate certificate is signed by a CA referenced by caref. For key type, size and options, query /system/certopts for the supported values.
|
{- "name": "string",
- "trust": true,
- "randomize_serial": true,
- "method_internal": {
- "key_type": "string",
- "key_size": 0,
- "key_opt": "string",
- "digest_alg": "string",
- "lifetime": 0,
- "cn": "string",
- "country_code": "string",
- "state": "string",
- "city": "string",
- "org": "string",
- "ou": "string",
- "caref": "string"
}, - "method_existing": {
- "cert": "string",
- "private_key": "string",
- "next_serial": 0
}, - "method_intermediate": {
- "key_type": "string",
- "key_size": 0,
- "key_opt": "string",
- "digest_alg": "string",
- "lifetime": 0,
- "cn": "string",
- "country_code": "string",
- "state": "string",
- "city": "string",
- "org": "string",
- "ou": "string",
- "caref": "string"
}
}{- "name": "string",
- "refid": "string",
- "internal": true,
- "issuer": "string",
- "certificates": 0,
- "inuse": [
- "string"
], - "trust": true,
- "randomize_serial": true,
- "next_serial": 0,
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}
}{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}| refid required | string |
| reusekey | boolean |
| reuseserial | boolean |
| strictsecurity | boolean |
{- "reusekey": true,
- "reuseserial": true,
- "strictsecurity": true
}{- "name": "string",
- "refid": "string",
- "internal": true,
- "issuer": "string",
- "certificates": 0,
- "inuse": [
- "string"
], - "trust": true,
- "randomize_serial": true,
- "next_serial": 0,
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}
}{- "certs": [
- {
- "refid": "string",
- "descr": "string",
- "crt": "string",
- "csr": "string",
- "caref": "string",
- "cadata": "string",
- "ends": "string",
- "inuse": "string",
- "issuer": "string",
- "prv": "string",
- "starts": "string",
- "subj": "string",
- "type": "string",
- "name": "string",
- "dn": "string",
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}, - "can_renew": true
}
]
}Add a certificate, CSR or sign CSR request. The NewCertReq method can contain one of:
| name | string |
| descr | string |
| description | string |
| userid | integer |
object (CertMethodNew) Options for creating/updating an internal certificate. For key type, size and options, query /system/certopts for the supported values.
| |
object (CertMethodExistingPEM) Existing PEM certificate and key, either in PEM/pkcs12 format or base64-encoded | |
object (CertMethodExistingPkcs12) Existing PKCS12 certificate and key; the PKCS12 payload is to be sent as a file upload part in a multi-part request, otherwise it can be included as pkcs12_b64 directly within this structure. | |
object (CertMethodSigningRequest) | |
object (CertMethodSignCSR) Sign a certificate signing request with the selected CA. An existing csr_refid or new CSR (base64 encoded "csr") must be provided. |
{- "name": "string",
- "descr": "string",
- "description": "string",
- "userid": 0,
- "method_internal": {
- "caref": "string",
- "key_type": "string",
- "key_size": 0,
- "key_opt": "string",
- "digest_alg": "string",
- "lifetime": 0,
- "cn": "string",
- "country_code": "string",
- "state": "string",
- "city": "string",
- "org": "string",
- "ou": "string",
- "server_cert": true,
- "alt_names": [
- {
- "type": "string",
- "value": "string"
}
]
}, - "method_existing_pem": {
- "cert": "string",
- "private_key": "string"
}, - "method_existing_pkcs12": {
- "password": "string",
- "intermediates": true,
- "pkcs12_b64": "string"
}, - "method_csr": {
- "key_type": "string",
- "key_size": 0,
- "key_opt": "string",
- "digest_alg": "string",
- "cn": "string",
- "country_code": "string",
- "state": "string",
- "city": "string",
- "org": "string",
- "ou": "string",
- "server_cert": true,
- "alt_names": [
- {
- "type": "string",
- "value": "string"
}
]
}, - "method_sign": {
- "caref": "string",
- "csr_refid": "string",
- "csr": "string",
- "priv_key": "string",
- "lifetime": 0,
- "digest_alg": "string",
- "server_cert": true,
- "alt_names": [
- {
- "type": "string",
- "value": "string"
}
]
}
}{- "refid": "string",
- "descr": "string",
- "crt": "string",
- "csr": "string",
- "caref": "string",
- "cadata": "string",
- "ends": "string",
- "inuse": "string",
- "issuer": "string",
- "prv": "string",
- "starts": "string",
- "subj": "string",
- "type": "string",
- "name": "string",
- "dn": "string",
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}, - "can_renew": true
}object (NewCertReq) Request for creating a cert or updating an existing one.
| |
| pkcs12file | string <binary> |
{- "refid": "string",
- "descr": "string",
- "crt": "string",
- "csr": "string",
- "caref": "string",
- "cadata": "string",
- "ends": "string",
- "inuse": "string",
- "issuer": "string",
- "prv": "string",
- "starts": "string",
- "subj": "string",
- "type": "string",
- "name": "string",
- "dn": "string",
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}, - "can_renew": true
}{- "cert": {
- "refid": "string",
- "descr": "string",
- "crt": "string",
- "csr": "string",
- "caref": "string",
- "cadata": "string",
- "ends": "string",
- "inuse": "string",
- "issuer": "string",
- "prv": "string",
- "starts": "string",
- "subj": "string",
- "type": "string",
- "name": "string",
- "dn": "string",
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}, - "can_renew": true
}
}{- "certs": [
- {
- "refid": "string",
- "descr": "string",
- "crt": "string",
- "csr": "string",
- "caref": "string",
- "cadata": "string",
- "ends": "string",
- "inuse": "string",
- "issuer": "string",
- "prv": "string",
- "starts": "string",
- "subj": "string",
- "type": "string",
- "name": "string",
- "dn": "string",
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}, - "can_renew": true
}
]
}| refid required | string |
| name | string |
| descr | string |
| description | string |
object (CertMethodExistingPEM) Existing PEM certificate and key, either in PEM/pkcs12 format or base64-encoded | |
object (CertMethodExistingPkcs12) Existing PKCS12 certificate and key; the PKCS12 payload is to be sent as a file upload part in a multi-part request, otherwise it can be included as pkcs12_b64 directly within this structure. |
{- "name": "string",
- "descr": "string",
- "description": "string",
- "method_existing_pem": {
- "cert": "string",
- "private_key": "string"
}, - "method_existing_pkcs12": {
- "password": "string",
- "intermediates": true,
- "pkcs12_b64": "string"
}
}{- "refid": "string",
- "descr": "string",
- "crt": "string",
- "csr": "string",
- "caref": "string",
- "cadata": "string",
- "ends": "string",
- "inuse": "string",
- "issuer": "string",
- "prv": "string",
- "starts": "string",
- "subj": "string",
- "type": "string",
- "name": "string",
- "dn": "string",
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}, - "can_renew": true
}| refid required | string |
object (UpdatePKCS12CertReq) Update the certificate with PKCS12 appended file upload | |
| pcsk12file | string <binary> |
{- "refid": "string",
- "descr": "string",
- "crt": "string",
- "csr": "string",
- "caref": "string",
- "cadata": "string",
- "ends": "string",
- "inuse": "string",
- "issuer": "string",
- "prv": "string",
- "starts": "string",
- "subj": "string",
- "type": "string",
- "name": "string",
- "dn": "string",
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}, - "can_renew": true
}{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}| refid required | string |
| password | string pass-phrase to protect certificate |
{- "password": "string"
}{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}| refid required | string |
{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}| refid required | string |
| password | string pass-phrase to protect pkcs12 file |
| add_certauths | boolean add cert authorities to pkcs12 store |
| encryption | string Enum: "high" "low" "legacy" encryption level (high, low, legacy) |
{- "password": "string",
- "add_certauths": true,
- "encryption": "high"
}{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}| refid required | string |
| reusekey | boolean |
| reuseserial | boolean |
| strictsecurity | boolean |
{- "reusekey": true,
- "reuseserial": true,
- "strictsecurity": true
}{- "refid": "string",
- "descr": "string",
- "crt": "string",
- "csr": "string",
- "caref": "string",
- "cadata": "string",
- "ends": "string",
- "inuse": "string",
- "issuer": "string",
- "prv": "string",
- "starts": "string",
- "subj": "string",
- "type": "string",
- "name": "string",
- "dn": "string",
- "info": {
- "issuer": "string",
- "serial": "string",
- "sig_digest": "string",
- "dn": "string",
- "san": "string",
- "key_usage": "string",
- "key_type": "string",
- "key_size": 0,
- "ext_key_usage": "string",
- "hash": "string",
- "subject": "string",
- "subject_key_id": "string",
- "auth_key_id": "string",
- "valid_from": "string",
- "expires": "string",
- "raw_data": "string",
- "cert_fingerprint": "string",
- "self_signed": true,
- "private_key": "string"
}, - "can_renew": true
}Retrieve the list of subsystem configuration which are pending applying of changes
{- "dirty_subsystems": {
- "property1": {
- "name": "string",
- "descr": "string",
- "file": "string"
}, - "property2": {
- "name": "string",
- "descr": "string",
- "file": "string"
}
}, - "all_subsystems": {
- "property1": {
- "name": "string",
- "descr": "string",
- "file": "string"
}, - "property2": {
- "name": "string",
- "descr": "string",
- "file": "string"
}
}
}The configuration has pending changes that require a series of being applied. It returns the list of subsystems that are still dirty.
| apply | boolean |
{- "apply": true
}{- "dirty_subsystems": {
- "property1": {
- "name": "string",
- "descr": "string",
- "file": "string"
}, - "property2": {
- "name": "string",
- "descr": "string",
- "file": "string"
}
}, - "all_subsystems": {
- "property1": {
- "name": "string",
- "descr": "string",
- "file": "string"
}, - "property2": {
- "name": "string",
- "descr": "string",
- "file": "string"
}
}
}{- "crls": [
- {
- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "method": "string",
- "serial": 0,
- "lifetime": 0,
- "internal": true,
- "inuse": true,
- "is_ovpn_crl": true,
- "text": "string",
- "cert": [
- {
- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "type": "string",
- "cert": "string",
- "privkey": "string",
- "serial": 0,
- "reason": "string",
- "revoke_time": 0
}
], - "pkgs": {
- "property1": {
- "used_by": [
- "string"
], - "count": 0
}, - "property2": {
- "used_by": [
- "string"
], - "count": 0
}
}
}
], - "refid": "string"
}Add a new CRL with either an existing X509 input or values for creating a new one. The NewCRLReq method must contain one of:
| ca_refid | string CA reference ID |
| descr | string descriptive name |
object (CRLMethodNew) | |
object (CRLMethodX509) |
{- "ca_refid": "string",
- "descr": "string",
- "method_internal": {
- "lifetime": 0,
- "serial": 0
}, - "method_x509": {
- "crl": "string"
}
}{- "crls": [
- {
- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "method": "string",
- "serial": 0,
- "lifetime": 0,
- "internal": true,
- "inuse": true,
- "is_ovpn_crl": true,
- "text": "string",
- "cert": [
- {
- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "type": "string",
- "cert": "string",
- "privkey": "string",
- "serial": 0,
- "reason": "string",
- "revoke_time": 0
}
], - "pkgs": {
- "property1": {
- "used_by": [
- "string"
], - "count": 0
}, - "property2": {
- "used_by": [
- "string"
], - "count": 0
}
}
}
], - "refid": "string"
}{- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "method": "string",
- "serial": 0,
- "lifetime": 0,
- "internal": true,
- "inuse": true,
- "is_ovpn_crl": true,
- "text": "string",
- "cert": [
- {
- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "type": "string",
- "cert": "string",
- "privkey": "string",
- "serial": 0,
- "reason": "string",
- "revoke_time": 0
}
], - "pkgs": {
- "property1": {
- "used_by": [
- "string"
], - "count": 0
}, - "property2": {
- "used_by": [
- "string"
], - "count": 0
}
}
}Update CRL details, with option to add certificates to be revoked (if the CRL is an internal one). The update request must provide the complete CRL information including its description, just like creating a new CRL.
| refid required | string |
| ca_refid | string CA reference ID |
| descr | string descriptive name |
object (CRLMethodInternalUpdate) | |
object (CRLMethodX509) |
{- "ca_refid": "string",
- "descr": "string",
- "method_internal": {
- "lifetime": 0,
- "serial": 0,
- "revoke_reason": "nostatus",
- "revoke_serials": [
- 0
], - "revoke_certref": [
- "string"
]
}, - "method_x509": {
- "crl": "string"
}
}{- "crls": [
- {
- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "method": "string",
- "serial": 0,
- "lifetime": 0,
- "internal": true,
- "inuse": true,
- "is_ovpn_crl": true,
- "text": "string",
- "cert": [
- {
- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "type": "string",
- "cert": "string",
- "privkey": "string",
- "serial": 0,
- "reason": "string",
- "revoke_time": 0
}
], - "pkgs": {
- "property1": {
- "used_by": [
- "string"
], - "count": 0
}, - "property2": {
- "used_by": [
- "string"
], - "count": 0
}
}
}
], - "refid": "string"
}Deletes the CRL record from the configuration. This also results in certificates being unrevoked.
| refid required | string |
{- "crls": [
- {
- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "method": "string",
- "serial": 0,
- "lifetime": 0,
- "internal": true,
- "inuse": true,
- "is_ovpn_crl": true,
- "text": "string",
- "cert": [
- {
- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "type": "string",
- "cert": "string",
- "privkey": "string",
- "serial": 0,
- "reason": "string",
- "revoke_time": 0
}
], - "pkgs": {
- "property1": {
- "used_by": [
- "string"
], - "count": 0
}, - "property2": {
- "used_by": [
- "string"
], - "count": 0
}
}
}
], - "refid": "string"
}Unrevokes the certificate by removing it from the CRL.
| refid required | string |
| certid required | string |
{- "crls": [
- {
- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "method": "string",
- "serial": 0,
- "lifetime": 0,
- "internal": true,
- "inuse": true,
- "is_ovpn_crl": true,
- "text": "string",
- "cert": [
- {
- "refid": "string",
- "ca_refid": "string",
- "descr": "string",
- "type": "string",
- "cert": "string",
- "privkey": "string",
- "serial": 0,
- "reason": "string",
- "revoke_time": 0
}
], - "pkgs": {
- "property1": {
- "used_by": [
- "string"
], - "count": 0
}, - "property2": {
- "used_by": [
- "string"
], - "count": 0
}
}
}
], - "refid": "string"
}{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}Retrieve the system's current firmware version and determine if there is an upgradable firmware image available to install on the system.
{- "current_version": "string",
- "latest_version": "string",
- "status": "string",
- "message": "string"
}Upgrade the system's firmware to the latest available version. The system should be rebooted after upgrading.
| upgrade | boolean set to true to confirm upgrade |
{- "upgrade": true
}{- "result": "string"
}{- "defaults": {
- "defaultgw4": "string",
- "defaultgw6": "string"
}, - "gateways": [
- {
- "gateway": "string",
- "name": "string",
- "dynamic": true,
- "disabled": true,
- "ipprotocol": "string",
- "gw_down_kill_states": "string",
- "interface_device": "string",
- "interface_identity": "string",
- "interface_assigned": "string",
- "interface": "string",
- "friendlyiface": "string",
- "friendlyifdescr": "string",
- "action_disable": true,
- "attribute": "string",
- "isdefaultgw": true,
- "monitor": "string",
- "monitor_disable": true,
- "descr": "string",
- "tiername": "string",
- "weight": 0,
- "data_payload": 0,
- "interval": 0,
- "latencylow": 0,
- "latencyhigh": 0,
- "losslow": 0,
- "losshigh": 0,
- "loss_interval": 0,
- "time_period": 0,
- "alert_interval": 0,
- "nonlocalgateway": true,
- "defaults": {
- "defaultgw4": "string",
- "defaultgw6": "string"
}
}
], - "default_assignable_gw4": [
- {
- "value": "string",
- "text": "string"
}
], - "default_assignable_gw6": [
- {
- "value": "string",
- "text": "string"
}
]
}| gateway required | string |
| name | string |
| dynamic | boolean |
| disabled | boolean |
| ipprotocol | string |
| gw_down_kill_states | string |
| interface_device | string |
| interface_identity | string |
| interface_assigned | string |
| interface | string obsolete - use interface_device |
| friendlyiface | string obsolete - use interface_identity |
| friendlyifdescr | string obsolete - use interface_assigned |
| action_disable | boolean |
| attribute | string |
| isdefaultgw | boolean |
| monitor | string |
| monitor_disable | boolean |
| descr | string |
| tiername | string |
| weight | integer |
| data_payload | integer |
| interval | integer |
| latencylow | integer |
| latencyhigh | integer |
| losslow | integer |
| losshigh | integer |
| loss_interval | integer |
| time_period | integer |
| alert_interval | integer |
| nonlocalgateway | boolean |
object (GatewayDefaults) |
{- "gateway": "string",
- "name": "string",
- "dynamic": true,
- "disabled": true,
- "ipprotocol": "string",
- "gw_down_kill_states": "string",
- "interface_device": "string",
- "interface_identity": "string",
- "interface_assigned": "string",
- "interface": "string",
- "friendlyiface": "string",
- "friendlyifdescr": "string",
- "action_disable": true,
- "attribute": "string",
- "isdefaultgw": true,
- "monitor": "string",
- "monitor_disable": true,
- "descr": "string",
- "tiername": "string",
- "weight": 0,
- "data_payload": 0,
- "interval": 0,
- "latencylow": 0,
- "latencyhigh": 0,
- "losslow": 0,
- "losshigh": 0,
- "loss_interval": 0,
- "time_period": 0,
- "alert_interval": 0,
- "nonlocalgateway": true,
- "defaults": {
- "defaultgw4": "string",
- "defaultgw6": "string"
}
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "gateways": [
- {
- "name": "string",
- "gateway": "string",
- "vaddress": [
- {
- "vaddress": "string",
- "descr": "string"
}
], - "descr": "string",
- "ipprotocol": "string"
}
], - "priorities": [
- {
- "priority": "string",
- "priority_descr": "string"
}
]
}{- "groups": [
- {
- "idx": 0,
- "name": "string",
- "descr": "string",
- "gateway_priority": [
- {
- "gateway": "string",
- "priority": "string",
- "vaddress": "string"
}
], - "keep_failover_states": "string",
- "trigger": "string",
- "trigger_descr": "string",
- "keep_failover_states_descr": "string"
}
]
}| idx | integer |
| name required | string |
| descr | string |
Array of objects (GatewayGroupPriority) | |
| keep_failover_states | string |
| trigger | string |
| trigger_descr | string |
| keep_failover_states_descr | string |
{- "idx": 0,
- "name": "string",
- "descr": "string",
- "gateway_priority": [
- {
- "gateway": "string",
- "priority": "string",
- "vaddress": "string"
}
], - "keep_failover_states": "string",
- "trigger": "string",
- "trigger_descr": "string",
- "keep_failover_states_descr": "string"
}{- "groups": [
- {
- "idx": 0,
- "name": "string",
- "descr": "string",
- "gateway_priority": [
- {
- "gateway": "string",
- "priority": "string",
- "vaddress": "string"
}
], - "keep_failover_states": "string",
- "trigger": "string",
- "trigger_descr": "string",
- "keep_failover_states_descr": "string"
}
]
}{- "groups": [
- {
- "idx": 0,
- "name": "string",
- "descr": "string",
- "gateway_priority": [
- {
- "gateway": "string",
- "priority": "string",
- "vaddress": "string"
}
], - "keep_failover_states": "string",
- "trigger": "string",
- "trigger_descr": "string",
- "keep_failover_states_descr": "string"
}
]
}| id required | string |
| idx | integer |
| name required | string |
| descr | string |
Array of objects (GatewayGroupPriority) | |
| keep_failover_states | string |
| trigger | string |
| trigger_descr | string |
| keep_failover_states_descr | string |
{- "idx": 0,
- "name": "string",
- "descr": "string",
- "gateway_priority": [
- {
- "gateway": "string",
- "priority": "string",
- "vaddress": "string"
}
], - "keep_failover_states": "string",
- "trigger": "string",
- "trigger_descr": "string",
- "keep_failover_states_descr": "string"
}{- "groups": [
- {
- "idx": 0,
- "name": "string",
- "descr": "string",
- "gateway_priority": [
- {
- "gateway": "string",
- "priority": "string",
- "vaddress": "string"
}
], - "keep_failover_states": "string",
- "trigger": "string",
- "trigger_descr": "string",
- "keep_failover_states_descr": "string"
}
]
}{- "gateways": [
- {
- "name": "string",
- "gateway": "string",
- "defaultgw": true,
- "monitor": "string",
- "descr": "string",
- "delay": "string",
- "stddev": "string",
- "loss": "string",
- "status": "string",
- "display": "string"
}
], - "groups": [
- {
- "name": "string",
- "descr": "string",
- "tier1": [
- {
- "name": "string",
- "status": "string",
- "display": "string"
}
], - "tier2": [
- {
- "name": "string",
- "status": "string",
- "display": "string"
}
], - "tier3": [
- {
- "name": "string",
- "status": "string",
- "display": "string"
}
], - "tier4": [
- {
- "name": "string",
- "status": "string",
- "display": "string"
}
], - "tier5": [
- {
- "name": "string",
- "status": "string",
- "display": "string"
}
]
}
]
}| id required | string |
| gateway required | string |
| name | string |
| dynamic | boolean |
| disabled | boolean |
| ipprotocol | string |
| gw_down_kill_states | string |
| interface_device | string |
| interface_identity | string |
| interface_assigned | string |
| interface | string obsolete - use interface_device |
| friendlyiface | string obsolete - use interface_identity |
| friendlyifdescr | string obsolete - use interface_assigned |
| action_disable | boolean |
| attribute | string |
| isdefaultgw | boolean |
| monitor | string |
| monitor_disable | boolean |
| descr | string |
| tiername | string |
| weight | integer |
| data_payload | integer |
| interval | integer |
| latencylow | integer |
| latencyhigh | integer |
| losslow | integer |
| losshigh | integer |
| loss_interval | integer |
| time_period | integer |
| alert_interval | integer |
| nonlocalgateway | boolean |
object (GatewayDefaults) |
{- "gateway": "string",
- "name": "string",
- "dynamic": true,
- "disabled": true,
- "ipprotocol": "string",
- "gw_down_kill_states": "string",
- "interface_device": "string",
- "interface_identity": "string",
- "interface_assigned": "string",
- "interface": "string",
- "friendlyiface": "string",
- "friendlyifdescr": "string",
- "action_disable": true,
- "attribute": "string",
- "isdefaultgw": true,
- "monitor": "string",
- "monitor_disable": true,
- "descr": "string",
- "tiername": "string",
- "weight": 0,
- "data_payload": 0,
- "interval": 0,
- "latencylow": 0,
- "latencyhigh": 0,
- "losslow": 0,
- "losshigh": 0,
- "loss_interval": 0,
- "time_period": 0,
- "alert_interval": 0,
- "nonlocalgateway": true,
- "defaults": {
- "defaultgw4": "string",
- "defaultgw6": "string"
}
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "pfsync": {
- "enabled": true,
- "sync_assigned_intf": "string",
- "hostid": "string",
- "peer_ip": "string"
}, - "xmlrpc": {
- "sync_to_ip": "string",
- "username": "string",
- "password": "string",
- "sync_admin_acct": true,
- "sync_users": true,
- "sync_auth_servers": true,
- "sync_certs": true,
- "sync_fw_rules": true,
- "sync_fw_schedules": true,
- "sync_fw_aliases": true,
- "sync_nat": true,
- "sync_ipsec": true,
- "sync_ovpn": true,
- "sync_dhcp_server": true,
- "sync_dhcp_relay": true,
- "sync_dhcp6_server": true,
- "sync_dhcp6_relay": true,
- "sync_static_routes": true,
- "sync_wol": true,
- "sync_virtual_ips": true,
- "sync_traffic_shaper": true,
- "sync_traffic_shaper_limiters": true,
- "sync_dns": true,
- "sync_cap_portal": true
}, - "avail_sync_interfaces": [
- "string"
]
}object (HAPfsync) | |
object (HAXMLRPCSync) | |
| avail_sync_interfaces | Array of strings |
{- "pfsync": {
- "enabled": true,
- "sync_assigned_intf": "string",
- "hostid": "string",
- "peer_ip": "string"
}, - "xmlrpc": {
- "sync_to_ip": "string",
- "username": "string",
- "password": "string",
- "sync_admin_acct": true,
- "sync_users": true,
- "sync_auth_servers": true,
- "sync_certs": true,
- "sync_fw_rules": true,
- "sync_fw_schedules": true,
- "sync_fw_aliases": true,
- "sync_nat": true,
- "sync_ipsec": true,
- "sync_ovpn": true,
- "sync_dhcp_server": true,
- "sync_dhcp_relay": true,
- "sync_dhcp6_server": true,
- "sync_dhcp6_relay": true,
- "sync_static_routes": true,
- "sync_wol": true,
- "sync_virtual_ips": true,
- "sync_traffic_shaper": true,
- "sync_traffic_shaper_limiters": true,
- "sync_dns": true,
- "sync_cap_portal": true
}, - "avail_sync_interfaces": [
- "string"
]
}{- "pfsync": {
- "enabled": true,
- "sync_assigned_intf": "string",
- "hostid": "string",
- "peer_ip": "string"
}, - "xmlrpc": {
- "sync_to_ip": "string",
- "username": "string",
- "password": "string",
- "sync_admin_acct": true,
- "sync_users": true,
- "sync_auth_servers": true,
- "sync_certs": true,
- "sync_fw_rules": true,
- "sync_fw_schedules": true,
- "sync_fw_aliases": true,
- "sync_nat": true,
- "sync_ipsec": true,
- "sync_ovpn": true,
- "sync_dhcp_server": true,
- "sync_dhcp_relay": true,
- "sync_dhcp6_server": true,
- "sync_dhcp6_relay": true,
- "sync_static_routes": true,
- "sync_wol": true,
- "sync_virtual_ips": true,
- "sync_traffic_shaper": true,
- "sync_traffic_shaper_limiters": true,
- "sync_dns": true,
- "sync_cap_portal": true
}, - "avail_sync_interfaces": [
- "string"
]
}{- "setup": {
- "hostname": "string",
- "domain": "string",
- "dnsservers": [
- {
- "name": "string",
- "ip": "string",
- "gw": "string"
}
], - "dnsoveride": true,
- "dnsresolution": "string",
- "timezone": "string",
- "timeservers": "string",
- "lang": "string",
- "login_message": "string",
- "ui_req_state_filter": true
}
}{- "interfaces": [
- {
- "assigned_interface": "string",
- "internal_name": "string",
- "friendly_name": "string",
- "assigned_name": "string",
- "identity": "string",
- "device": "string",
- "enabled": true,
- "status": "string",
- "mac_address": "string",
- "mtu": 0,
- "media": "string",
- "plugged": "string",
- "vendor": "string",
- "temperature": "string",
- "voltage": "string",
- "rx": "string",
- "tx": "string",
- "channel": 0,
- "ssid": "string",
- "bssid": "string",
- "rate": "string",
- "rssi": "string",
- "in_packets": 0,
- "out_packets": 0,
- "in_bytes": 0,
- "out_bytes": 0,
- "in_packets_pass": 0,
- "out_packets_pass": 0,
- "in_bytes_pass": 0,
- "out_bytes_pass": 0,
- "in_packets_block": 0,
- "out_packets_block": 0,
- "in_bytes_block": 0,
- "out_bytes_block": 0,
- "in_errors": 0,
- "out_errors": 0,
- "collisions": 0,
- "ip_address": "string",
- "subnet_mask": "string",
- "gateway": "string",
- "ipv6_link_local": "string",
- "ipv6_address": "string",
- "ipv6_subnet_mask": "string",
- "ipv6_gateway": "string",
- "dns_servers": [
- "string"
], - "lagg_enabled": true,
- "lagg_ports": "string",
- "current_ppp_uptime": "string",
- "historical_ppp_uptime": "string",
- "cell_rssi": "string",
- "cell_mode": "string",
- "cell_simstate": "string",
- "cell_service": "string",
- "cell_bwupstream": 0,
- "cell_bwdownstream": 0,
- "cell_upstream": 0,
- "cell_downstream": 0,
- "dhcplink": "string",
- "pppoelink": "string",
- "pptplink": "string"
}
]
}| reverse | boolean |
| nentries | integer |
| logfilesize | integer |
| logcompressiontype | string none, bzip2, gzip, xz, zstd |
| format | string rfc3164, rfc5424 |
| default_log_level | string refer to options in syslog_levels |
| rotatecount | integer |
| enable_remote | boolean |
| remoteserver | string ip:port of remote server |
| remoteserver2 | string ip:port of second remote server |
| remoteserver3 | string ip:port of third remote server |
| sourceip | string source network interface for binding to |
| ipproto | string ipv4, ipv6 |
| logall | boolean remote log everything |
| filter | boolean remote log firewall events |
| dhcp | boolean remote log DHCP events |
| auth | boolean remote log authentication events |
| portalauth | boolean remtoe log captive portal events |
| vpn | boolean remote log vpn events |
| dpinger | boolean remote log gateway monitor events |
| hostapd | boolean remote log wireless events |
| system | boolean remote log system events |
| pfnet_controller | boolean remote log Nexus events |
| resolver | boolean remote log DNS events |
| ppp | boolean remote log PPP events |
| routing | boolean remote log routing daemon events |
| ntpd | boolean remote log NTP events |
| disablelocallogging | boolean disable local logging |
| rawfilter | boolean show raw filter logs |
| showfilterdescrips | string where to show firewall rule descriptions:
|
| logipoptions | boolean log blocked packets due to IP options |
| logdefaultblock | boolean log default "block" rules |
| logdefaultpass | boolean log default "pass" rules |
| logbogons | boolean log Bogon Networks block rules |
| logprivatenets | boolean log Private Networks block rules |
| loglinklocal4 | boolean log IPv4 link-local block rules |
| logids | boolean log hosts blocked by IDS |
| lognginx | boolean log web server |
| logconfigchanges | boolean log configuration changes |
Array of objects (TextValue) | |
Array of objects (TextValue) |
{- "reverse": true,
- "nentries": 0,
- "logfilesize": 0,
- "logcompressiontype": "string",
- "format": "string",
- "default_log_level": "string",
- "rotatecount": 0,
- "enable_remote": true,
- "remoteserver": "string",
- "remoteserver2": "string",
- "remoteserver3": "string",
- "sourceip": "string",
- "ipproto": "string",
- "logall": true,
- "filter": true,
- "dhcp": true,
- "auth": true,
- "portalauth": true,
- "vpn": true,
- "dpinger": true,
- "hostapd": true,
- "system": true,
- "pfnet_controller": true,
- "resolver": true,
- "ppp": true,
- "routing": true,
- "ntpd": true,
- "disablelocallogging": true,
- "rawfilter": true,
- "showfilterdescrips": "string",
- "logipoptions": true,
- "logdefaultblock": true,
- "logdefaultpass": true,
- "logbogons": true,
- "logprivatenets": true,
- "loglinklocal4": true,
- "logids": true,
- "lognginx": true,
- "logconfigchanges": true,
- "source_addresses": [
- {
- "value": "string",
- "text": "string"
}
], - "syslog_levels": [
- {
- "value": "string",
- "text": "string"
}
]
}{- "result": "string"
}{- "reverse": true,
- "nentries": 0,
- "logfilesize": 0,
- "logcompressiontype": "string",
- "format": "string",
- "default_log_level": "string",
- "rotatecount": 0,
- "enable_remote": true,
- "remoteserver": "string",
- "remoteserver2": "string",
- "remoteserver3": "string",
- "sourceip": "string",
- "ipproto": "string",
- "logall": true,
- "filter": true,
- "dhcp": true,
- "auth": true,
- "portalauth": true,
- "vpn": true,
- "dpinger": true,
- "hostapd": true,
- "system": true,
- "pfnet_controller": true,
- "resolver": true,
- "ppp": true,
- "routing": true,
- "ntpd": true,
- "disablelocallogging": true,
- "rawfilter": true,
- "showfilterdescrips": "string",
- "logipoptions": true,
- "logdefaultblock": true,
- "logdefaultpass": true,
- "logbogons": true,
- "logprivatenets": true,
- "loglinklocal4": true,
- "logids": true,
- "lognginx": true,
- "logconfigchanges": true,
- "source_addresses": [
- {
- "value": "string",
- "text": "string"
}
], - "syslog_levels": [
- {
- "value": "string",
- "text": "string"
}
]
}Regular log files are returned as a list of records in StdLogs.Logs. For firewall logs (filename being "filter" or "firewall"), the log records are returned in StdLogs.filter_logs. If the query string "summary=true" is provided, then the firewall log summary is returned in StdLogs.filter_summary with dictionaries of each category with its tallied values.
| filename required | string |
| start | string |
| end | string |
| summary | boolean |
{- "logfile": "string",
- "logs": [
- {
- "time": "string",
- "proc": "string",
- "pid": "string",
- "msg": "string"
}
], - "filter_logs": [
- {
- "time_usec": 0,
- "time": "string",
- "rulenum": 0,
- "subrulenum": 0,
- "anchor": "string",
- "rule_descr": "string",
- "tracker": "string",
- "interface_assigned": "string",
- "interface_device": "string",
- "reason": "string",
- "action": "string",
- "direction": "string",
- "version": 0,
- "proto_id": 0,
- "proto": "string",
- "v4info": {
- "tos": "string",
- "ecn": "string",
- "ttl": "string",
- "id": "string",
- "offset": "string",
- "flags": "string"
}, - "v6info": {
- "class": "string",
- "flow_label": "string",
- "hlim": "string"
}, - "length": 0,
- "src": "string",
- "dst": "string",
- "src_ip": "string",
- "dst_ip": "string",
- "src_port": 0,
- "dst_port": 0,
- "tcp_info": {
- "tcp_flags": "string",
- "seq": "string",
- "ack": 0,
- "window": 0,
- "urg": 0,
- "options": "string"
}, - "icmp_info": {
- "icmp_type": "string",
- "icmp_id": 0,
- "icmp_seq": 0,
- "icmp_dstip": "string",
- "icmp_proto_id": 0,
- "icmp_port": 0,
- "icmp_descr": "string",
- "icmp_mtu": 0,
- "icmp_otime": "string",
- "icmp_rtime": "string",
- "icmp_ttime": "string"
}, - "carp_info": {
- "type": "string",
- "ttl": 0,
- "vhid": 0,
- "version": 0,
- "adv_skew": 0,
- "adv_base": 0
}
}
], - "filter_rules": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "filter_summary": {
- "total_records": 0,
- "actions": {
- "property1": 0,
- "property2": 0
}, - "interfaces": {
- "property1": 0,
- "property2": 0
}, - "protocols": {
- "property1": 0,
- "property2": 0
}, - "src_ips": {
- "property1": 0,
- "property2": 0
}, - "dest_ips": {
- "property1": 0,
- "property2": 0
}, - "src_ports": {
- "property1": 0,
- "property2": 0
}, - "dest_ports": {
- "property1": 0,
- "property2": 0
}, - "tracker_hits": {
- "property1": 0,
- "property2": 0
}
}, - "alerts": {
- "result": "string"
}
}| filename required | string |
| cronorder | string reverse, forward, or empty for default |
| nentries | integer |
| logfilesize | integer |
| rotatecount | integer |
| format | string formatted, raw |
| lognginx | boolean |
| logipoptions | boolean log blocked packets due to IP options |
| logdefaultblock | boolean log default "block" rules |
| logdefaultpass | boolean log default "pass" rules |
| logbogons | boolean log Bogon Networks block rules |
| logprivatenets | boolean log Private Networks block rules |
| loglinklocal4 | boolean log IPv4 link-local block rules |
| logids | boolean log hosts blocked by IDS |
| showfilterdescrips | string where to show firewall rule descriptions:
|
{- "cronorder": "string",
- "nentries": 0,
- "logfilesize": 0,
- "rotatecount": 0,
- "format": "string",
- "lognginx": true,
- "logipoptions": true,
- "logdefaultblock": true,
- "logdefaultpass": true,
- "logbogons": true,
- "logprivatenets": true,
- "loglinklocal4": true,
- "logids": true,
- "showfilterdescrips": "string"
}{- "result": "string"
}| filename required | string |
{- "cronorder": "string",
- "nentries": 0,
- "logfilesize": 0,
- "rotatecount": 0,
- "format": "string",
- "lognginx": true,
- "logipoptions": true,
- "logdefaultblock": true,
- "logdefaultpass": true,
- "logbogons": true,
- "logprivatenets": true,
- "loglinklocal4": true,
- "logids": true,
- "showfilterdescrips": "string"
}| scope | string |
| dataset | string |
| start_time_unix_seconds | integer |
| end_time_unix_seconds | integer |
| resolution_seconds | integer |
{- "scope": "string",
- "dataset": "string",
- "start_time_unix_seconds": 0,
- "end_time_unix_seconds": 0,
- "resolution_seconds": 0
}{- "request": {
- "scope": "string",
- "dataset": "string",
- "start_time_unix_seconds": 0,
- "end_time_unix_seconds": 0,
- "resolution_seconds": 0
}, - "dataseries": [
- "string"
], - "data_format": "string",
- "data": [
- "string"
]
}{- "packages": [
- {
- "name": "string",
- "internal_name": "string",
- "info_link": "string",
- "descr": "string",
- "version": "string",
- "config_file": "string",
- "include_file": "string",
- "category": "string",
- "depedencies": [
- "string"
]
}
]
}Install specified list of packages. If chunked=true, then the progress of the installation is returned as chunks.
| chunked | boolean |
Array of objects (InstallPackageOpt) |
{- "packages": [
- {
- "name": "string",
- "version": "string"
}
]
}{- "transaction": "string",
- "progress": [
- {
- "name": "string",
- "version": "string",
- "messages": [
- "string"
], - "percent": 0,
- "error": "string",
- "action": "string"
}
]
}{- "packages": [
- {
- "name": "string",
- "internal_name": "string",
- "info_link": "string",
- "descr": "string",
- "version": "string",
- "config_file": "string",
- "include_file": "string",
- "category": "string",
- "depedencies": [
- "string"
]
}
]
}| name required | string |
{- "transaction": "string",
- "progress": [
- {
- "name": "string",
- "version": "string",
- "messages": [
- "string"
], - "percent": 0,
- "error": "string",
- "action": "string"
}
]
}| chunked | boolean |
{- "transaction": "string",
- "progress": [
- {
- "name": "string",
- "version": "string",
- "messages": [
- "string"
], - "percent": 0,
- "error": "string",
- "action": "string"
}
]
}Reinstall specified list of packages. If chunked=true, then the progress of the reinstallation is returned as chunks.
| chunked | boolean |
Array of objects (InstallPackageOpt) |
{- "packages": [
- {
- "name": "string",
- "version": "string"
}
]
}{- "transaction": "string",
- "progress": [
- {
- "name": "string",
- "version": "string",
- "messages": [
- "string"
], - "percent": 0,
- "error": "string",
- "action": "string"
}
]
}{- "name": "string",
- "interface": "string",
- "shapertype": "string",
- "contains": [
- "string"
], - "pkts": "string",
- "bytes": "string",
- "droppedpkts": "string",
- "droppedbytes": "string",
- "qlengthitems": "string",
- "qlengthsize": "string",
- "borrows": "string",
- "suspends": "string"
}| apply | boolean |
{- "apply": true
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| network required | string |
| gateway required | string |
| descr | string |
| disabled | boolean |
| interface | string |
| network_encoded | string base64 encoded network; read-only |
| gateway_encoded | string base64 encoded gateway; read-only |
{- "network": "string",
- "gateway": "string",
- "descr": "string",
- "disabled": true,
- "interface": "string",
- "network_encoded": "string",
- "gateway_encoded": "string"
}{- "routes": [
- {
- "network": "string",
- "gateway": "string",
- "descr": "string",
- "disabled": true,
- "interface": "string",
- "network_encoded": "string",
- "gateway_encoded": "string"
}
]
}The network address must be URL-safe, base64 encoded.
| network required | string |
{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}The network address and gateway name must be URL-safe, base64 encoded.
| network required | string |
| gateway required | string |
{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "country": {
- "code": "string",
- "provider": [
- {
- "name": "string",
- "plans": [
- {
- "name": "string",
- "apn": "string",
- "username": "string",
- "password": "string",
- "number": "string"
}
]
}
]
}
}{- "hostname": "string",
- "domain": "string",
- "dnsservers": [
- {
- "name": "string",
- "ip": "string",
- "gw": "string"
}
], - "dnsoveride": true,
- "dnsresolution": "string",
- "timezone": "string",
- "timeservers": "string",
- "lang": "string",
- "login_message": "string",
- "ui_req_state_filter": true
}| hostname required | string |
| domain | string |
Array of objects (SetupDNSSetting) | |
| dnsoveride | boolean |
| dnsresolution | string DNS resolution behavior, options - not-specified (default), local, remote |
| timezone | string |
| timeservers | string space separated list of time servers |
| lang | string |
| login_message | string message to display when user authenticates |
| ui_req_state_filter | boolean require state filter in diagnostics-states |
{- "hostname": "string",
- "domain": "string",
- "dnsservers": [
- {
- "name": "string",
- "ip": "string",
- "gw": "string"
}
], - "dnsoveride": true,
- "dnsresolution": "string",
- "timezone": "string",
- "timeservers": "string",
- "lang": "string",
- "login_message": "string",
- "ui_req_state_filter": true
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "setup": {
- "hostname": "string",
- "domain": "string",
- "pridns": "string",
- "secdns": "string",
- "dnsoverride": true,
- "tz": "string",
- "timeservers": "string",
- "wantype": "string",
- "wanip": "string",
- "gw": "string",
- "spoofmac": "string",
- "mtu": "string",
- "mss": "string",
- "dhcphost": "string",
- "lanip": "string",
- "bogons": true,
- "rfc1918": true,
- "pppoe": {
- "service_name": "string",
- "username": "string",
- "password": "string",
- "dod": true,
- "idletimeout": "string",
- "provider": "string",
- "localip": "string"
}
}
}object (SetupWizardOptions) |
{- "setup": {
- "hostname": "string",
- "domain": "string",
- "pridns": "string",
- "secdns": "string",
- "dnsoverride": true,
- "tz": "string",
- "timeservers": "string",
- "wantype": "string",
- "wanip": "string",
- "gw": "string",
- "spoofmac": "string",
- "mtu": "string",
- "mss": "string",
- "dhcphost": "string",
- "lanip": "string",
- "bogons": true,
- "rfc1918": true,
- "pppoe": {
- "service_name": "string",
- "username": "string",
- "password": "string",
- "dod": true,
- "idletimeout": "string",
- "provider": "string",
- "localip": "string"
}
}
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "status": {
- "prod": "string",
- "host": "string",
- "osver": "string",
- "os": "string",
- "machine": "string",
- "arch": "string",
- "vndr": "string",
- "cores": 0,
- "cpu": "string",
- "up": "string",
- "rev": "string",
- "ram": 0,
- "fram": 0,
- "swap": 0,
- "fswap": 0,
- "timestamp": "string",
- "apiver": "string",
- "vpn_addr": "string",
- "alerts": "string",
- "net_interfaces": [
- {
- "assigned_name": "string",
- "identity": "string",
- "device": "string",
- "state": "string",
- "addresses": [
- "string"
]
}
], - "nexus_controllers": [
- {
- "addresses": [
- "string"
], - "public_key": "string",
- "vpn_pubkey": "string",
- "vpn_addr": "string",
- "mim_addr": "string"
}
]
}, - "timestamp": 0,
- "packages": [
- {
- "name": "string",
- "version": "string",
- "descr": "string",
- "enabled": true
}
], - "dirty": {
- "dirty_subsystems": {
- "property1": {
- "name": "string",
- "descr": "string",
- "file": "string"
}, - "property2": {
- "name": "string",
- "descr": "string",
- "file": "string"
}
}, - "all_subsystems": {
- "property1": {
- "name": "string",
- "descr": "string",
- "file": "string"
}, - "property2": {
- "name": "string",
- "descr": "string",
- "file": "string"
}
}
}, - "ui_features": {
- "property1": true,
- "property2": true
}, - "alerts": "string"
}{- "firmware_branch": "string",
- "firmware_branches": [
- {
- "name": "string",
- "descr": "string"
}
], - "messages": [
- "string"
], - "boot_env": "string",
- "curr_base_system": "string",
- "latest_base_system": "string",
- "status_message": "string",
- "update_messages": [
- "string"
]
}{- "firmware_branch": "string"
}{- "messages": [
- "string"
], - "completed": 0,
- "started_timestamp": 0,
- "ended_timestamp": 0,
- "started_time": "string",
- "ended_time": "string"
}{- "firmware_branch": "string",
- "firmware_branches": [
- {
- "name": "string",
- "descr": "string"
}
], - "disable_check": true,
- "boot_envs": {
- "deferred_boot": true,
- "verify": true,
- "verify_timeout": 0
}, - "git_sync": {
- "sync_on_upgrade": true,
- "repo_url": "string",
- "branches": [
- "string"
], - "minimal": true,
- "diff": true,
- "show_files": true,
- "show_command": true,
- "dry_run": true
}
}| firmware_branch | string |
| disable_check | boolean |
object (SystemUpdateBootEnvsSettings) |
{- "firmware_branch": "string",
- "disable_check": true,
- "boot_envs": {
- "deferred_boot": true,
- "verify": true,
- "verify_timeout": 0
}
}{- "firmware_branch": "string",
- "firmware_branches": [
- {
- "name": "string",
- "descr": "string"
}
], - "disable_check": true,
- "boot_envs": {
- "deferred_boot": true,
- "verify": true,
- "verify_timeout": 0
}, - "git_sync": {
- "sync_on_upgrade": true,
- "repo_url": "string",
- "branches": [
- "string"
], - "minimal": true,
- "diff": true,
- "show_files": true,
- "show_command": true,
- "dry_run": true
}
}{- "users": [
- {
- "username": "string",
- "name": "string",
- "descr": "string",
- "scope": "string",
- "groupname": "string",
- "groups": [
- "string"
], - "disabled": true,
- "uid": 0,
- "full_name": "string",
- "cert_refids": [
- "string"
], - "authorized_keys": "string",
- "privs": [
- "string"
], - "keep_cmd_history": true,
- "expiration": 0,
- "ipsec_psk": "string",
- "custom_settings": true,
- "interfaces_sort": true,
- "webguicss": "string",
- "webguifixedmenu": "string",
- "webguihostnamemenu": "string",
- "dashboardcolumns": 0,
- "dashboardavailablewidgetspanel": true,
- "systemlogsfilterpanel": true,
- "systemlogsmanagelogpanel": true,
- "statusmonitoringsettingspanel": true,
- "webguileftcolumnhyper": true,
- "disablealiaspopupdetail": true,
- "pagenamefirst": true
}
], - "groups": [
- {
- "name": "string",
- "description": "string",
- "scope": "string",
- "gid": 0,
- "members": [
- 0
], - "privs": [
- "string"
]
}
]
}{- "active_type": "string",
- "active_name": "string",
- "ldap": [
- {
- "type": "string",
- "name": "string",
- "host": "string",
- "version": 0,
- "port": 0,
- "transport": "string",
- "timeout": 0,
- "search_scope": "string",
- "base_dn": "string",
- "auth_containers": "string",
- "extended_query": "string",
- "bind_user_dn": "string",
- "bind_password": "string",
- "user_naming_attrib": "string",
- "group_naming_attrib": "string",
- "group_member_attrib": "string",
- "rfc2307": true,
- "rfc2307_group_class": "string",
- "rfc2307_use_userdn": true,
- "shell_group_dn": "string",
- "username_alterations": true,
- "utf8_encode": true,
- "unauthenticated_bind": true,
- "no_strip_at": true,
- "caref": "string",
- "certref": "string",
- "refid": "string",
- "nexus_group_prefix": "string"
}
], - "radius": [
- {
- "type": "string",
- "name": "string",
- "host": "string",
- "protocol": "string",
- "nasip_attribute": "string",
- "secret": "string",
- "timeout": 0,
- "auth_port": 0,
- "acct_port": 0,
- "refid": "string"
}
], - "local": {
- "name": "string",
- "type": "string",
- "host": "string"
}, - "radius_nas_list": [
- {
- "value": "string",
- "text": "string"
}
]
}object (LdapAuthServer) | |
object (RadiusAuthServer) |
{- "ldap": {
- "type": "string",
- "name": "string",
- "host": "string",
- "version": 0,
- "port": 0,
- "transport": "string",
- "timeout": 0,
- "search_scope": "string",
- "base_dn": "string",
- "auth_containers": "string",
- "extended_query": "string",
- "bind_user_dn": "string",
- "bind_password": "string",
- "user_naming_attrib": "string",
- "group_naming_attrib": "string",
- "group_member_attrib": "string",
- "rfc2307": true,
- "rfc2307_group_class": "string",
- "rfc2307_use_userdn": true,
- "shell_group_dn": "string",
- "username_alterations": true,
- "utf8_encode": true,
- "unauthenticated_bind": true,
- "no_strip_at": true,
- "caref": "string",
- "certref": "string",
- "refid": "string",
- "nexus_group_prefix": "string"
}, - "radius": {
- "type": "string",
- "name": "string",
- "host": "string",
- "protocol": "string",
- "nasip_attribute": "string",
- "secret": "string",
- "timeout": 0,
- "auth_port": 0,
- "acct_port": 0,
- "refid": "string"
}
}{- "active_type": "string",
- "active_name": "string",
- "ldap": [
- {
- "type": "string",
- "name": "string",
- "host": "string",
- "version": 0,
- "port": 0,
- "transport": "string",
- "timeout": 0,
- "search_scope": "string",
- "base_dn": "string",
- "auth_containers": "string",
- "extended_query": "string",
- "bind_user_dn": "string",
- "bind_password": "string",
- "user_naming_attrib": "string",
- "group_naming_attrib": "string",
- "group_member_attrib": "string",
- "rfc2307": true,
- "rfc2307_group_class": "string",
- "rfc2307_use_userdn": true,
- "shell_group_dn": "string",
- "username_alterations": true,
- "utf8_encode": true,
- "unauthenticated_bind": true,
- "no_strip_at": true,
- "caref": "string",
- "certref": "string",
- "refid": "string",
- "nexus_group_prefix": "string"
}
], - "radius": [
- {
- "type": "string",
- "name": "string",
- "host": "string",
- "protocol": "string",
- "nasip_attribute": "string",
- "secret": "string",
- "timeout": 0,
- "auth_port": 0,
- "acct_port": 0,
- "refid": "string"
}
], - "local": {
- "name": "string",
- "type": "string",
- "host": "string"
}, - "radius_nas_list": [
- {
- "value": "string",
- "text": "string"
}
]
}| name required | string |
object (LdapAuthServer) | |
object (RadiusAuthServer) |
{- "ldap": {
- "type": "string",
- "name": "string",
- "host": "string",
- "version": 0,
- "port": 0,
- "transport": "string",
- "timeout": 0,
- "search_scope": "string",
- "base_dn": "string",
- "auth_containers": "string",
- "extended_query": "string",
- "bind_user_dn": "string",
- "bind_password": "string",
- "user_naming_attrib": "string",
- "group_naming_attrib": "string",
- "group_member_attrib": "string",
- "rfc2307": true,
- "rfc2307_group_class": "string",
- "rfc2307_use_userdn": true,
- "shell_group_dn": "string",
- "username_alterations": true,
- "utf8_encode": true,
- "unauthenticated_bind": true,
- "no_strip_at": true,
- "caref": "string",
- "certref": "string",
- "refid": "string",
- "nexus_group_prefix": "string"
}, - "radius": {
- "type": "string",
- "name": "string",
- "host": "string",
- "protocol": "string",
- "nasip_attribute": "string",
- "secret": "string",
- "timeout": 0,
- "auth_port": 0,
- "acct_port": 0,
- "refid": "string"
}
}{- "active_type": "string",
- "active_name": "string",
- "ldap": [
- {
- "type": "string",
- "name": "string",
- "host": "string",
- "version": 0,
- "port": 0,
- "transport": "string",
- "timeout": 0,
- "search_scope": "string",
- "base_dn": "string",
- "auth_containers": "string",
- "extended_query": "string",
- "bind_user_dn": "string",
- "bind_password": "string",
- "user_naming_attrib": "string",
- "group_naming_attrib": "string",
- "group_member_attrib": "string",
- "rfc2307": true,
- "rfc2307_group_class": "string",
- "rfc2307_use_userdn": true,
- "shell_group_dn": "string",
- "username_alterations": true,
- "utf8_encode": true,
- "unauthenticated_bind": true,
- "no_strip_at": true,
- "caref": "string",
- "certref": "string",
- "refid": "string",
- "nexus_group_prefix": "string"
}
], - "radius": [
- {
- "type": "string",
- "name": "string",
- "host": "string",
- "protocol": "string",
- "nasip_attribute": "string",
- "secret": "string",
- "timeout": 0,
- "auth_port": 0,
- "acct_port": 0,
- "refid": "string"
}
], - "local": {
- "name": "string",
- "type": "string",
- "host": "string"
}, - "radius_nas_list": [
- {
- "value": "string",
- "text": "string"
}
]
}| name required | string |
| description | string |
| scope required | string |
| gid | integer |
| members | Array of integers |
| privs | Array of strings |
{- "name": "string",
- "description": "string",
- "scope": "string",
- "gid": 0,
- "members": [
- 0
], - "privs": [
- "string"
]
}{- "groups": [
- {
- "name": "string",
- "description": "string",
- "scope": "string",
- "gid": 0,
- "members": [
- 0
], - "privs": [
- "string"
]
}
], - "errmsg": "string"
}| groupname required | string |
| description | string |
| scope | string local or remote (if non-system) |
| gid | integer |
| members | Array of integers |
| remove_members | Array of integers |
| privs | Array of strings |
{- "description": "string",
- "scope": "string",
- "gid": 0,
- "members": [
- 0
], - "remove_members": [
- 0
], - "privs": [
- "string"
]
}{- "groups": [
- {
- "name": "string",
- "description": "string",
- "scope": "string",
- "gid": 0,
- "members": [
- 0
], - "privs": [
- "string"
]
}
], - "errmsg": "string"
}In pfSense, the user privileges are applied to the user's login to the legacy user interface. When pfSense acts as a Multi-instance Management Controller, MIM privileges are defined by the group's name.
When the Controller runs as a separate entity, group privileges are used as roles in Multi-instance management and define the entitlements of the user belonging to the group. Apart from the superuser (or admin) role, all roles can be made granular with read, modify and delete attributes. A role without these attributes is considered to be granted them all.
{- "privs": [
- {
- "value": "string",
- "text": "string",
- "descr": "string",
- "warn": "string"
}
]
}| authentication_server required | string |
| save_and_test | boolean |
| session_timeout | string session timeout in minutes, empty string is default 240 |
| password_hash | string |
| shell_auth | boolean |
| auth_refresh_time | string duration to cache authentication results from remote auth servers in seconds, empty string is default 30, max 3600 |
{- "authentication_server": "string",
- "save_and_test": true,
- "session_timeout": "string",
- "password_hash": "string",
- "shell_auth": true,
- "auth_refresh_time": "string"
}{- "session_timeout": "string",
- "authentication_server": "string",
- "authentication_servers": [
- "string"
], - "password_hash": "string",
- "password_hashes": [
- "string"
], - "shell_auth": true,
- "auth_refresh_time": "string"
}{- "users": [
- {
- "username": "string",
- "name": "string",
- "descr": "string",
- "scope": "string",
- "groupname": "string",
- "groups": [
- "string"
], - "disabled": true,
- "uid": 0,
- "full_name": "string",
- "cert_refids": [
- "string"
], - "authorized_keys": "string",
- "privs": [
- "string"
], - "keep_cmd_history": true,
- "expiration": 0,
- "ipsec_psk": "string",
- "custom_settings": true,
- "interfaces_sort": true,
- "webguicss": "string",
- "webguifixedmenu": "string",
- "webguihostnamemenu": "string",
- "dashboardcolumns": 0,
- "dashboardavailablewidgetspanel": true,
- "systemlogsfilterpanel": true,
- "systemlogsmanagelogpanel": true,
- "statusmonitoringsettingspanel": true,
- "webguileftcolumnhyper": true,
- "disablealiaspopupdetail": true,
- "pagenamefirst": true
}
]
}| username required | string |
| uid | integer |
| password | string |
| full_name | string |
| groups | Array of strings |
| cert_refids | Array of strings |
| authorized_keys | string <byte> |
| privs | Array of strings |
| scope | string |
| keep_cmd_history | boolean |
| expiration | integer |
| disabled | boolean |
| ipsec_psk | string <byte> |
{- "username": "string",
- "uid": 0,
- "password": "string",
- "full_name": "string",
- "groups": [
- "string"
], - "cert_refids": [
- "string"
], - "authorized_keys": "string",
- "privs": [
- "string"
], - "scope": "string",
- "keep_cmd_history": true,
- "expiration": 0,
- "disabled": true,
- "ipsec_psk": "string"
}{- "users": [
- {
- "username": "string",
- "name": "string",
- "descr": "string",
- "scope": "string",
- "groupname": "string",
- "groups": [
- "string"
], - "disabled": true,
- "uid": 0,
- "full_name": "string",
- "cert_refids": [
- "string"
], - "authorized_keys": "string",
- "privs": [
- "string"
], - "keep_cmd_history": true,
- "expiration": 0,
- "ipsec_psk": "string",
- "custom_settings": true,
- "interfaces_sort": true,
- "webguicss": "string",
- "webguifixedmenu": "string",
- "webguihostnamemenu": "string",
- "dashboardcolumns": 0,
- "dashboardavailablewidgetspanel": true,
- "systemlogsfilterpanel": true,
- "systemlogsmanagelogpanel": true,
- "statusmonitoringsettingspanel": true,
- "webguileftcolumnhyper": true,
- "disablealiaspopupdetail": true,
- "pagenamefirst": true
}
]
}| username required | string |
| password | string |
| full_name | string |
| groups | Array of strings |
| cert_refids | Array of strings |
| authorized_keys | string |
| ipsec_psk | string <byte> |
| privs | Array of strings |
| keep_cmd_history | boolean |
| expiration | integer |
| disabled | boolean |
{- "password": "string",
- "full_name": "string",
- "groups": [
- "string"
], - "cert_refids": [
- "string"
], - "authorized_keys": "string",
- "ipsec_psk": "string",
- "privs": [
- "string"
], - "keep_cmd_history": true,
- "expiration": 0,
- "disabled": true
}{- "users": [
- {
- "username": "string",
- "name": "string",
- "descr": "string",
- "scope": "string",
- "groupname": "string",
- "groups": [
- "string"
], - "disabled": true,
- "uid": 0,
- "full_name": "string",
- "cert_refids": [
- "string"
], - "authorized_keys": "string",
- "privs": [
- "string"
], - "keep_cmd_history": true,
- "expiration": 0,
- "ipsec_psk": "string",
- "custom_settings": true,
- "interfaces_sort": true,
- "webguicss": "string",
- "webguifixedmenu": "string",
- "webguihostnamemenu": "string",
- "dashboardcolumns": 0,
- "dashboardavailablewidgetspanel": true,
- "systemlogsfilterpanel": true,
- "systemlogsmanagelogpanel": true,
- "statusmonitoringsettingspanel": true,
- "webguileftcolumnhyper": true,
- "disablealiaspopupdetail": true,
- "pagenamefirst": true
}
]
}{- "interfaces": {
- "property1": {
- "packets_in": 0,
- "packets_out": 0,
- "bytes_in": 0,
- "bytes_out": 0,
- "errors_in": 0,
- "errors_out": 0,
- "collisions": 0
}, - "property2": {
- "packets_in": 0,
- "packets_out": 0,
- "bytes_in": 0,
- "bytes_out": 0,
- "errors_in": 0,
- "errors_out": 0,
- "collisions": 0
}
}
}{- "phase1s_active": 0,
- "phase1s_total": 0,
- "phase2s_active": 0,
- "phase2s_total": 0,
- "total_active": 0,
- "total_inactive": 0,
- "mobile_users": 0,
- "mobile_active": 0,
- "mobile_total": 0,
- "tunnels": [
- {
- "source": "string",
- "destination": "string",
- "description": "string",
- "status": "string"
}
], - "mobile": [
- {
- "user": "string",
- "ip": "string",
- "status": "string"
}
]
}| maxvalues | integer maximum number of values to return for each alias, default 5 |
{- "aliases": [
- {
- "name": "string",
- "address": "string",
- "targets": [
- {
- "name": "string",
- "descr": "string",
- "updatefreq": "string"
}
], - "descr": "string",
- "type": "host",
- "detail": "string",
- "updatefreq": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "system_aliases": [
- {
- "name": "string",
- "type": "string",
- "descr": "string",
- "address": "string",
- "url": "string",
- "table": "string",
- "if_ident": "string",
- "if_assigned_name": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
]
}| name required | string |
| address | string space separated list of addresses |
Array of objects (FWTarget) | |
| descr | string |
| type | string Enum: "host" "network" "url" "urltable" "urltable_ports" "port" "url_ports" host, network, url, urltable, urltable_ports, port, or url_ports |
| detail | string |
| updatefreq | string |
| truncated | boolean |
| display_values | Array of strings |
{- "name": "string",
- "address": "string",
- "targets": [
- {
- "name": "string",
- "descr": "string",
- "updatefreq": "string"
}
], - "descr": "string",
- "type": "host",
- "detail": "string",
- "updatefreq": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "name": "string",
- "address": "string",
- "targets": [
- {
- "name": "string",
- "descr": "string",
- "updatefreq": "string"
}
], - "descr": "string",
- "type": "host",
- "detail": "string",
- "updatefreq": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}| id required | string |
| name required | string |
| address | string space separated list of addresses |
Array of objects (FWTarget) | |
| descr | string |
| type | string Enum: "host" "network" "url" "urltable" "urltable_ports" "port" "url_ports" host, network, url, urltable, urltable_ports, port, or url_ports |
| detail | string |
| updatefreq | string |
| truncated | boolean |
| display_values | Array of strings |
{- "name": "string",
- "address": "string",
- "targets": [
- {
- "name": "string",
- "descr": "string",
- "updatefreq": "string"
}
], - "descr": "string",
- "type": "host",
- "detail": "string",
- "updatefreq": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "interfaces": [
- {
- "name": "string",
- "identity": "string",
- "assigned": "string",
- "if": "string",
- "descr": "string",
- "ipaddr": "string",
- "ipaddrv6": "string",
- "mac": "string",
- "tag": 0,
- "member": "string",
- "addresses": [
- "string"
], - "enable": true
}
]
}Array of objects (InterfaceSimple) |
{- "interfaces": [
- {
- "name": "string",
- "identity": "string",
- "assigned": "string",
- "if": "string",
- "descr": "string",
- "ipaddr": "string",
- "ipaddrv6": "string",
- "mac": "string",
- "tag": 0,
- "member": "string",
- "addresses": [
- "string"
], - "enable": true
}
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name | string alias to assigned name |
| if | string alias to device_name |
| assigned_name | string user assigned name, e.g. MYLAN |
| device_name | string host device name, e.g. ix1 |
| identity | string unique identity of device, e.g. opt1 |
| enable | boolean |
| blockbogons | boolean |
| pseudo | boolean |
| blockpriv | boolean |
| slaacusev4iface | boolean |
| descr | string |
| type | string |
| type6 | string |
| mtu | integer |
| mss | integer |
| pcp | integer |
| promisc | boolean |
| ipaddr | string |
| member | string |
| media | string |
| mac | string |
| mediaopt | string |
| spoofmac | string |
| tag | integer |
| gateway | string |
| ipaddrv6 | string |
| ipv6usev4iface | boolean |
| gatewayv6 | string |
| alias_address | string |
| dhcphostname | string |
| dhcprejectfrom | string |
| dhcprejectfromarray | Array of strings |
| dhcpvlanenable | boolean |
| dhcp6usev4iface | boolean |
| dhcp6prefixonly | boolean |
| dhcp6_ia_pd_send_hint | boolean |
| dhcp6debug | boolean |
| dhcp6withoutra | boolean |
| dhcp6norelease | boolean |
| dhcpcvpt | string |
| dhcp6cvpt | string |
| prefix_6rd | string |
| gateway_6rd | string |
| dhcp6_ia_pd_len | string |
| prefix_6rd_v4plen | string |
| track6_interface | string |
| track6_prefix_id | string |
| adv_dhcp_config_advanced | boolean |
| adv_dhcp_config_file_override | boolean |
| adv_dhcp_pt_timeout | string |
| adv_dhcp_pt_retry | string |
| adv_dhcp_pt_select_timeout | string |
| adv_dhcp_pt_reboot | string |
| adv_dhcp_pt_backoff_cutoff | string |
| adv_dhcp_pt_initial_interval | string |
| adv_dhcp_pt_values | string |
| adv_dhcp_config_file_override_path | string |
| adv_dhcp_send_options | string |
| adv_dhcp_request_options | string |
| adv_dhcp_required_options | string |
| adv_dhcp_option_modifiers | string |
| adv_dhcp6_config_advanced | boolean |
| adv_dhcp6_config_file_override | boolean |
| adv_dhcp6_prefix_selected_interface | string |
| adv_dhcp6_config_file_override_path | string |
| adv_dhcp6_interface_statement_information_only_enable | boolean |
| adv_dhcp6_interface_statement_send_options | string |
| adv_dhcp6_interface_statement_request_options | string |
| adv_dhcp6_interface_statement_script | string |
| adv_dhcp6_id_assoc_statement_address_enable | boolean |
| adv_dhcp6_id_assoc_statement_address_id | string |
| adv_dhcp6_id_assoc_statement_address | string |
| adv_dhcp6_id_assoc_statement_address_pltime | string |
| adv_dhcp6_id_assoc_statement_address_vltime | string |
| adv_dhcp6_id_assoc_statement_prefix_enable | boolean |
| adv_dhcp6_id_assoc_statement_prefix_id | string |
| adv_dhcp6_id_assoc_statement_prefix | string |
| adv_dhcp6_id_assoc_statement_prefix_pltime | string |
| adv_dhcp6_id_assoc_statement_prefix_vltime | string |
| adv_dhcp6_prefix_interface_statement_sla_id | string |
| adv_dhcp6_prefix_interface_statement_sla_len | string |
| adv_dhcp6_authentication_statement_authname | string |
| adv_dhcp6_authentication_statement_protocol | string |
| adv_dhcp6_authentication_statement_algorithm | string |
| adv_dhcp6_authentication_statement_rdm | string |
| adv_dhcp6_key_info_statement_keyname | string |
| adv_dhcp6_key_info_statement_realm | string |
| adv_dhcp6_key_info_statement_keyid | string |
| adv_dhcp6_key_info_statement_secret | string |
| adv_dhcp6_key_info_statement_expire | string |
{- "name": "string",
- "if": "string",
- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "enable": true,
- "blockbogons": true,
- "pseudo": true,
- "blockpriv": true,
- "slaacusev4iface": true,
- "descr": "string",
- "type": "string",
- "type6": "string",
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "ipaddr": "string",
- "member": "string",
- "media": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0,
- "gateway": "string",
- "ipaddrv6": "string",
- "ipv6usev4iface": true,
- "gatewayv6": "string",
- "alias_address": "string",
- "dhcphostname": "string",
- "dhcprejectfrom": "string",
- "dhcprejectfromarray": [
- "string"
], - "dhcpvlanenable": true,
- "dhcp6usev4iface": true,
- "dhcp6prefixonly": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6debug": true,
- "dhcp6withoutra": true,
- "dhcp6norelease": true,
- "dhcpcvpt": "string",
- "dhcp6cvpt": "string",
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "dhcp6_ia_pd_len": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string",
- "track6_prefix_id": "string",
- "adv_dhcp_config_advanced": true,
- "adv_dhcp_config_file_override": true,
- "adv_dhcp_pt_timeout": "string",
- "adv_dhcp_pt_retry": "string",
- "adv_dhcp_pt_select_timeout": "string",
- "adv_dhcp_pt_reboot": "string",
- "adv_dhcp_pt_backoff_cutoff": "string",
- "adv_dhcp_pt_initial_interval": "string",
- "adv_dhcp_pt_values": "string",
- "adv_dhcp_config_file_override_path": "string",
- "adv_dhcp_send_options": "string",
- "adv_dhcp_request_options": "string",
- "adv_dhcp_required_options": "string",
- "adv_dhcp_option_modifiers": "string",
- "adv_dhcp6_config_advanced": true,
- "adv_dhcp6_config_file_override": true,
- "adv_dhcp6_prefix_selected_interface": "string",
- "adv_dhcp6_config_file_override_path": "string",
- "adv_dhcp6_interface_statement_information_only_enable": true,
- "adv_dhcp6_interface_statement_send_options": "string",
- "adv_dhcp6_interface_statement_request_options": "string",
- "adv_dhcp6_interface_statement_script": "string",
- "adv_dhcp6_id_assoc_statement_address_enable": true,
- "adv_dhcp6_id_assoc_statement_address_id": "string",
- "adv_dhcp6_id_assoc_statement_address": "string",
- "adv_dhcp6_id_assoc_statement_address_pltime": "string",
- "adv_dhcp6_id_assoc_statement_address_vltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_enable": true,
- "adv_dhcp6_id_assoc_statement_prefix_id": "string",
- "adv_dhcp6_id_assoc_statement_prefix": "string",
- "adv_dhcp6_id_assoc_statement_prefix_pltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_vltime": "string",
- "adv_dhcp6_prefix_interface_statement_sla_id": "string",
- "adv_dhcp6_prefix_interface_statement_sla_len": "string",
- "adv_dhcp6_authentication_statement_authname": "string",
- "adv_dhcp6_authentication_statement_protocol": "string",
- "adv_dhcp6_authentication_statement_algorithm": "string",
- "adv_dhcp6_authentication_statement_rdm": "string",
- "adv_dhcp6_key_info_statement_keyname": "string",
- "adv_dhcp6_key_info_statement_realm": "string",
- "adv_dhcp6_key_info_statement_keyid": "string",
- "adv_dhcp6_key_info_statement_secret": "string",
- "adv_dhcp6_key_info_statement_expire": "string"
}{- "name": "string"
}{- "interfaces": [
- {
- "members": [
- "string"
], - "enablestp": true,
- "descr": "string",
- "maxaddr": 0,
- "timeout": 0,
- "maxage": 0,
- "fwdelay": 0,
- "hellotime": 0,
- "priority": 0,
- "proto": "string",
- "holdcnt": 0,
- "ip6linklocal": true,
- "ifpriority": {
- "property1": 0,
- "property2": 0
}, - "ifpathcost": {
- "property1": 0,
- "property2": 0
}, - "static": [
- "string"
], - "private": [
- "string"
], - "stp": [
- "string"
], - "span": [
- "string"
], - "edge": [
- "string"
], - "autoedge": [
- "string"
], - "ptp": [
- "string"
], - "autoptp": [
- "string"
], - "bridgeif_device": "string"
}
], - "bridge_capable_ifs": [
- {
- "if_identity": "string",
- "if_assigned_name": "string"
}
]
}| members required | Array of strings |
| enablestp | boolean enable RSTP/STP |
| descr | string description |
| maxaddr | integer cache size of the bridge address, default is 2000 entries |
| timeout | integer cache expire time, default is 1200 seconds |
| maxage | integer the time that a Spanning Tree Protocol configuration is valid default is 20 seconds, minimum is 6 seconds and maximum is 40 seconds |
| fwdelay | integer the time that must pass before an interface begins forwarding packets when spanning tree is enabled default is 15 seconds, minimum is 4 seconds and maximum is 30 seconds |
| hellotime | integer the time in seconds between broadcasting of STP configuration messages default is 2 seconds, minimum is 1 second and maximum is 2 seconds |
| priority | integer the bridge priority for spanning tree default is 32768, minimum is 0 and maximum is 61440 |
| proto | string protocol used for spanning tree valid value = "rstp" or "stp" |
| holdcnt | integer the transmit hold count for spanning tree default is 6, minimum is 1 and maximum is 10 |
| ip6linklocal | boolean enable IPv6 auto linklocal |
object | |
object | |
| static | Array of strings |
| private | Array of strings |
| stp | Array of strings |
| span | Array of strings |
| edge | Array of strings |
| autoedge | Array of strings |
| ptp | Array of strings |
| autoptp | Array of strings |
| bridgeif_device | string generated by system when a Bridge is created |
{- "members": [
- "string"
], - "enablestp": true,
- "descr": "string",
- "maxaddr": 0,
- "timeout": 0,
- "maxage": 0,
- "fwdelay": 0,
- "hellotime": 0,
- "priority": 0,
- "proto": "string",
- "holdcnt": 0,
- "ip6linklocal": true,
- "ifpriority": {
- "property1": 0,
- "property2": 0
}, - "ifpathcost": {
- "property1": 0,
- "property2": 0
}, - "static": [
- "string"
], - "private": [
- "string"
], - "stp": [
- "string"
], - "span": [
- "string"
], - "edge": [
- "string"
], - "autoedge": [
- "string"
], - "ptp": [
- "string"
], - "autoptp": [
- "string"
], - "bridgeif_device": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| members required | Array of strings |
| enablestp | boolean enable RSTP/STP |
| descr | string description |
| maxaddr | integer cache size of the bridge address, default is 2000 entries |
| timeout | integer cache expire time, default is 1200 seconds |
| maxage | integer the time that a Spanning Tree Protocol configuration is valid default is 20 seconds, minimum is 6 seconds and maximum is 40 seconds |
| fwdelay | integer the time that must pass before an interface begins forwarding packets when spanning tree is enabled default is 15 seconds, minimum is 4 seconds and maximum is 30 seconds |
| hellotime | integer the time in seconds between broadcasting of STP configuration messages default is 2 seconds, minimum is 1 second and maximum is 2 seconds |
| priority | integer the bridge priority for spanning tree default is 32768, minimum is 0 and maximum is 61440 |
| proto | string protocol used for spanning tree valid value = "rstp" or "stp" |
| holdcnt | integer the transmit hold count for spanning tree default is 6, minimum is 1 and maximum is 10 |
| ip6linklocal | boolean enable IPv6 auto linklocal |
object | |
object | |
| static | Array of strings |
| private | Array of strings |
| stp | Array of strings |
| span | Array of strings |
| edge | Array of strings |
| autoedge | Array of strings |
| ptp | Array of strings |
| autoptp | Array of strings |
| bridgeif_device | string generated by system when a Bridge is created |
{- "members": [
- "string"
], - "enablestp": true,
- "descr": "string",
- "maxaddr": 0,
- "timeout": 0,
- "maxage": 0,
- "fwdelay": 0,
- "hellotime": 0,
- "priority": 0,
- "proto": "string",
- "holdcnt": 0,
- "ip6linklocal": true,
- "ifpriority": {
- "property1": 0,
- "property2": 0
}, - "ifpathcost": {
- "property1": 0,
- "property2": 0
}, - "static": [
- "string"
], - "private": [
- "string"
], - "stp": [
- "string"
], - "span": [
- "string"
], - "edge": [
- "string"
], - "autoedge": [
- "string"
], - "ptp": [
- "string"
], - "autoptp": [
- "string"
], - "bridgeif_device": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "interfaces": [
- {
- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "descr": "string",
- "enable": true,
- "pseudo": true,
- "addr_type": "string",
- "addr6_type": "string",
- "options": {
- "blockbogons": true,
- "blockpriv": true,
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "member": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0
}, - "addr": {
- "ipaddr": "string",
- "gateway_ip": "string",
- "gateway_name": "string",
- "alias_address": "string",
- "ipaddrv6": "string",
- "default_gw6": true,
- "gateway_ip6": "string",
- "gateway_descr6": "string",
- "gateway_name6": "string",
- "ipv6_usev4_iface": true,
- "slaac_usev4_iface": true
}, - "dhcp": {
- "dhcp_hostname": "string",
- "dhcp_reject_from": [
- "string"
], - "dhcp_vlan_enable": true,
- "dhcp_vlan_priority": 0,
- "dhcp6_usev4_iface": true,
- "dhcp6_prefix_only": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6_debug": true,
- "dhcp6_without_ra": true,
- "dhcp6_no_release": true,
- "dhcp6_vlan_priority": 0,
- "enable_adv_opt": true,
- "enable_adv6_opt": true,
- "dhcp_advanced": {
- "req_timeout": "string",
- "req_retry": "string",
- "req_select_timeout": "string",
- "req_restart": "string",
- "req_backoff_cutoff": "string",
- "req_initial_interval": "string",
- "send_options": "string",
- "request_options": "string",
- "required_options": "string",
- "option_modifiers": "string",
- "enable_override_options": true,
- "override_options": "string",
- "config_file_override_path": "string"
}, - "dhcp6_advanced": {
- "duid": "string",
- "client_id": "string",
- "dhcp6_pfxdel_len": 0,
- "prefix_selected_interface": "string",
- "ifreq_information_only_enable": true,
- "send_options": "string",
- "request_options": "string",
- "enable_override_options": true,
- "override_options": "string",
- "config_file_override_path": "string"
}
}, - "ipv6rd": {
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "track6_prefix_id_hex": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string"
}, - "ownership": {
- "owner_type": "string",
- "owner_id": "string",
- "host_config": {
- "wol": true,
- "hw_flags": "string"
}, - "vpp_config": {
- "name": "string"
}, - "container_config": {
- "ctn_id": "string"
}, - "vm_config": {
- "vm_id": "string"
}
}, - "device_config": {
- "device": "string",
- "bus_path": "string",
- "mac": "string",
- "parent_device": "string",
- "parent_path": "string",
- "iftype": "string",
- "members": [
- "string"
]
}, - "info": {
- "media": "string",
- "state": "string"
}
}
]
}Host interfaces are those defined by the operating system's drivers. It also includes pseudo interfaces, which are software created, such as TUN, TAP and bridges. This function gets the information of the {devname} specified.
| devname required | string |
{- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "descr": "string",
- "enable": true,
- "pseudo": true,
- "addr_type": "string",
- "addr6_type": "string",
- "options": {
- "blockbogons": true,
- "blockpriv": true,
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "member": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0
}, - "addr": {
- "ipaddr": "string",
- "gateway_ip": "string",
- "gateway_name": "string",
- "alias_address": "string",
- "ipaddrv6": "string",
- "default_gw6": true,
- "gateway_ip6": "string",
- "gateway_descr6": "string",
- "gateway_name6": "string",
- "ipv6_usev4_iface": true,
- "slaac_usev4_iface": true
}, - "dhcp": {
- "dhcp_hostname": "string",
- "dhcp_reject_from": [
- "string"
], - "dhcp_vlan_enable": true,
- "dhcp_vlan_priority": 0,
- "dhcp6_usev4_iface": true,
- "dhcp6_prefix_only": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6_debug": true,
- "dhcp6_without_ra": true,
- "dhcp6_no_release": true,
- "dhcp6_vlan_priority": 0,
- "enable_adv_opt": true,
- "enable_adv6_opt": true,
- "dhcp_advanced": {
- "req_timeout": "string",
- "req_retry": "string",
- "req_select_timeout": "string",
- "req_restart": "string",
- "req_backoff_cutoff": "string",
- "req_initial_interval": "string",
- "send_options": "string",
- "request_options": "string",
- "required_options": "string",
- "option_modifiers": "string",
- "enable_override_options": true,
- "override_options": "string",
- "config_file_override_path": "string"
}, - "dhcp6_advanced": {
- "duid": "string",
- "client_id": "string",
- "dhcp6_pfxdel_len": 0,
- "prefix_selected_interface": "string",
- "ifreq_information_only_enable": true,
- "send_options": "string",
- "request_options": "string",
- "enable_override_options": true,
- "override_options": "string",
- "config_file_override_path": "string"
}
}, - "ipv6rd": {
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "track6_prefix_id_hex": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string"
}, - "ownership": {
- "owner_type": "string",
- "owner_id": "string",
- "host_config": {
- "wol": true,
- "hw_flags": "string"
}, - "vpp_config": {
- "name": "string"
}, - "container_config": {
- "ctn_id": "string"
}, - "vm_config": {
- "vm_id": "string"
}
}, - "device_config": {
- "device": "string",
- "bus_path": "string",
- "mac": "string",
- "parent_device": "string",
- "parent_path": "string",
- "iftype": "string",
- "members": [
- "string"
]
}, - "info": {
- "media": "string",
- "state": "string"
}
}| devname required | string |
| owner_type | string Enum: "host" "vpp" "container" "vm" |
| owner_id | string |
{- "owner_type": "host",
- "owner_id": "string"
}{- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "descr": "string",
- "enable": true,
- "pseudo": true,
- "addr_type": "string",
- "addr6_type": "string",
- "options": {
- "blockbogons": true,
- "blockpriv": true,
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "member": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0
}, - "addr": {
- "ipaddr": "string",
- "gateway_ip": "string",
- "gateway_name": "string",
- "alias_address": "string",
- "ipaddrv6": "string",
- "default_gw6": true,
- "gateway_ip6": "string",
- "gateway_descr6": "string",
- "gateway_name6": "string",
- "ipv6_usev4_iface": true,
- "slaac_usev4_iface": true
}, - "dhcp": {
- "dhcp_hostname": "string",
- "dhcp_reject_from": [
- "string"
], - "dhcp_vlan_enable": true,
- "dhcp_vlan_priority": 0,
- "dhcp6_usev4_iface": true,
- "dhcp6_prefix_only": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6_debug": true,
- "dhcp6_without_ra": true,
- "dhcp6_no_release": true,
- "dhcp6_vlan_priority": 0,
- "enable_adv_opt": true,
- "enable_adv6_opt": true,
- "dhcp_advanced": {
- "req_timeout": "string",
- "req_retry": "string",
- "req_select_timeout": "string",
- "req_restart": "string",
- "req_backoff_cutoff": "string",
- "req_initial_interval": "string",
- "send_options": "string",
- "request_options": "string",
- "required_options": "string",
- "option_modifiers": "string",
- "enable_override_options": true,
- "override_options": "string",
- "config_file_override_path": "string"
}, - "dhcp6_advanced": {
- "duid": "string",
- "client_id": "string",
- "dhcp6_pfxdel_len": 0,
- "prefix_selected_interface": "string",
- "ifreq_information_only_enable": true,
- "send_options": "string",
- "request_options": "string",
- "enable_override_options": true,
- "override_options": "string",
- "config_file_override_path": "string"
}
}, - "ipv6rd": {
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "track6_prefix_id_hex": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string"
}, - "ownership": {
- "owner_type": "string",
- "owner_id": "string",
- "host_config": {
- "wol": true,
- "hw_flags": "string"
}, - "vpp_config": {
- "name": "string"
}, - "container_config": {
- "ctn_id": "string"
}, - "vm_config": {
- "vm_id": "string"
}
}, - "device_config": {
- "device": "string",
- "bus_path": "string",
- "mac": "string",
- "parent_device": "string",
- "parent_path": "string",
- "iftype": "string",
- "members": [
- "string"
]
}, - "info": {
- "media": "string",
- "state": "string"
}
}{- "descriptors": {
- "gre": {
- "property1": "string",
- "property2": "string"
}, - "gif": {
- "property1": "string",
- "property2": "string"
}, - "lagg": {
- "property1": "string",
- "property2": "string"
}, - "qinq": {
- "property1": "string",
- "property2": "string"
}, - "ppp": {
- "property1": "string",
- "property2": "string"
}, - "bridges": {
- "property1": "string",
- "property2": "string"
}, - "vlan": {
- "property1": "string",
- "property2": "string"
}, - "vxlan": {
- "property1": "string",
- "property2": "string"
}, - "physical": {
- "property1": "string",
- "property2": "string"
}
}
}{- "interfaces": [
- {
- "if_identity": "string",
- "tunnel_local_addr": "string",
- "tunnel_remote_addr": "string",
- "tunnel_remote_net": 0,
- "remote_addr": "string",
- "descr": "string",
- "link1": true,
- "link2": true,
- "gifif": "string"
}
], - "gif_capable_ifs": [
- {
- "if_identity": "string",
- "if_assigned_name": "string"
}
]
}| if_identity required | string identity name of the parent interface |
| tunnel_local_addr | string local tunnel address |
| tunnel_remote_addr | string remote tunnel address |
| tunnel_remote_net | integer remote tunnel address subnet |
| remote_addr | string address of the remote peer |
| descr | string description |
| link1 | boolean explicit congestion notification (ecn) friendly behavior |
| link2 | boolean disable automatic filtering of the outer gif source |
| gifif | string generated by system when create gif |
{- "if_identity": "string",
- "tunnel_local_addr": "string",
- "tunnel_remote_addr": "string",
- "tunnel_remote_net": 0,
- "remote_addr": "string",
- "descr": "string",
- "link1": true,
- "link2": true,
- "gifif": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| if_identity required | string identity name of the parent interface |
| tunnel_local_addr | string local tunnel address |
| tunnel_remote_addr | string remote tunnel address |
| tunnel_remote_net | integer remote tunnel address subnet |
| remote_addr | string address of the remote peer |
| descr | string description |
| link1 | boolean explicit congestion notification (ecn) friendly behavior |
| link2 | boolean disable automatic filtering of the outer gif source |
| gifif | string generated by system when create gif |
{- "if_identity": "string",
- "tunnel_local_addr": "string",
- "tunnel_remote_addr": "string",
- "tunnel_remote_net": 0,
- "remote_addr": "string",
- "descr": "string",
- "link1": true,
- "link2": true,
- "gifif": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "interfaces": [
- {
- "if_identity": "string",
- "tunnel_local_addr": "string",
- "tunnel_remote_addr": "string",
- "tunnel_local_addr6": "string",
- "tunnel_remote_addr6": "string",
- "tunnel_remote_net": 0,
- "tunnel_remote_net6": 0,
- "remote_addr": "string",
- "descr": "string",
- "link1": true,
- "greif": "string"
}
], - "gre_capable_ifs": [
- {
- "if_identity": "string",
- "if_assigned_name": "string"
}
]
}| if_identity required | string identity name of the parent interface |
| tunnel_local_addr | string local ipv4 tunnel address |
| tunnel_remote_addr | string remote ipv4 tunnel address |
| tunnel_local_addr6 | string local ipv6 tunnel address |
| tunnel_remote_addr6 | string remote ipv6 tunnel address |
| tunnel_remote_net | integer remote ipv4 tunnel address subnet |
| tunnel_remote_net6 | integer remote ipv6 tunnel address subnet |
| remote_addr | string address of the remote peer |
| descr | string description |
| link1 | boolean add an explicit static route for the remote inner tunnel |
| greif | string generated by system when create gre |
{- "if_identity": "string",
- "tunnel_local_addr": "string",
- "tunnel_remote_addr": "string",
- "tunnel_local_addr6": "string",
- "tunnel_remote_addr6": "string",
- "tunnel_remote_net": 0,
- "tunnel_remote_net6": 0,
- "remote_addr": "string",
- "descr": "string",
- "link1": true,
- "greif": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| if_identity required | string identity name of the parent interface |
| tunnel_local_addr | string local ipv4 tunnel address |
| tunnel_remote_addr | string remote ipv4 tunnel address |
| tunnel_local_addr6 | string local ipv6 tunnel address |
| tunnel_remote_addr6 | string remote ipv6 tunnel address |
| tunnel_remote_net | integer remote ipv4 tunnel address subnet |
| tunnel_remote_net6 | integer remote ipv6 tunnel address subnet |
| remote_addr | string address of the remote peer |
| descr | string description |
| link1 | boolean add an explicit static route for the remote inner tunnel |
| greif | string generated by system when create gre |
{- "if_identity": "string",
- "tunnel_local_addr": "string",
- "tunnel_remote_addr": "string",
- "tunnel_local_addr6": "string",
- "tunnel_remote_addr6": "string",
- "tunnel_remote_net": 0,
- "tunnel_remote_net6": 0,
- "remote_addr": "string",
- "descr": "string",
- "link1": true,
- "greif": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| members | Array of strings |
| descr | string |
| ifname | string interface group name |
{- "members": [
- "string"
], - "descr": "string",
- "ifname": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| members | Array of strings |
| descr | string |
| ifname | string interface group name |
{- "members": [
- "string"
], - "descr": "string",
- "ifname": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "interfaces": [
- {
- "members": [
- "string"
], - "descr": "string",
- "laggif_device": "string",
- "proto": "none",
- "failovermaster": "string",
- "lacptimeout": "slow",
- "lagghash": "string"
}
], - "lagg_capable_ifs": {
- "capable_ifs": [
- {
- "if_device": "string",
- "mac": "string"
}
], - "lagg_members": [
- {
- "if_device": "string",
- "mac": "string"
}
]
}
}| members required | Array of strings |
| descr | string description |
| laggif_device | string generated by system when create lagg |
| proto | string Enum: "none" "lacp" "failover" "loadbalance" "roundrobin" lagg protocol valid value = none, lacp, failover, loadbalance, roundrobin |
| failovermaster | string (for proto=failover only) failover master interface |
| lacptimeout | string Enum: "slow" "fast" (for proto=lacp only) LACP Timeout Mode valid value = slow, fast |
| lagghash | string (for proto=lacp or loadbalance) hash algorithms for the packet layers valid value = "l2,l3,l4", "l2", "l3", "l4", "l2,l3", "l3,l4", "l2,l4" |
{- "members": [
- "string"
], - "descr": "string",
- "laggif_device": "string",
- "proto": "none",
- "failovermaster": "string",
- "lacptimeout": "slow",
- "lagghash": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| members required | Array of strings |
| descr | string description |
| laggif_device | string generated by system when create lagg |
| proto | string Enum: "none" "lacp" "failover" "loadbalance" "roundrobin" lagg protocol valid value = none, lacp, failover, loadbalance, roundrobin |
| failovermaster | string (for proto=failover only) failover master interface |
| lacptimeout | string Enum: "slow" "fast" (for proto=lacp only) LACP Timeout Mode valid value = slow, fast |
| lagghash | string (for proto=lacp or loadbalance) hash algorithms for the packet layers valid value = "l2,l3,l4", "l2", "l3", "l4", "l2,l3", "l3,l4", "l2,l4" |
{- "members": [
- "string"
], - "descr": "string",
- "laggif_device": "string",
- "proto": "none",
- "failovermaster": "string",
- "lacptimeout": "slow",
- "lagghash": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "name": "string",
- "if": "string",
- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "enable": true,
- "blockbogons": true,
- "pseudo": true,
- "blockpriv": true,
- "slaacusev4iface": true,
- "descr": "string",
- "type": "string",
- "type6": "string",
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "ipaddr": "string",
- "member": "string",
- "media": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0,
- "gateway": "string",
- "ipaddrv6": "string",
- "ipv6usev4iface": true,
- "gatewayv6": "string",
- "alias_address": "string",
- "dhcphostname": "string",
- "dhcprejectfrom": "string",
- "dhcprejectfromarray": [
- "string"
], - "dhcpvlanenable": true,
- "dhcp6usev4iface": true,
- "dhcp6prefixonly": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6debug": true,
- "dhcp6withoutra": true,
- "dhcp6norelease": true,
- "dhcpcvpt": "string",
- "dhcp6cvpt": "string",
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "dhcp6_ia_pd_len": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string",
- "track6_prefix_id": "string",
- "adv_dhcp_config_advanced": true,
- "adv_dhcp_config_file_override": true,
- "adv_dhcp_pt_timeout": "string",
- "adv_dhcp_pt_retry": "string",
- "adv_dhcp_pt_select_timeout": "string",
- "adv_dhcp_pt_reboot": "string",
- "adv_dhcp_pt_backoff_cutoff": "string",
- "adv_dhcp_pt_initial_interval": "string",
- "adv_dhcp_pt_values": "string",
- "adv_dhcp_config_file_override_path": "string",
- "adv_dhcp_send_options": "string",
- "adv_dhcp_request_options": "string",
- "adv_dhcp_required_options": "string",
- "adv_dhcp_option_modifiers": "string",
- "adv_dhcp6_config_advanced": true,
- "adv_dhcp6_config_file_override": true,
- "adv_dhcp6_prefix_selected_interface": "string",
- "adv_dhcp6_config_file_override_path": "string",
- "adv_dhcp6_interface_statement_information_only_enable": true,
- "adv_dhcp6_interface_statement_send_options": "string",
- "adv_dhcp6_interface_statement_request_options": "string",
- "adv_dhcp6_interface_statement_script": "string",
- "adv_dhcp6_id_assoc_statement_address_enable": true,
- "adv_dhcp6_id_assoc_statement_address_id": "string",
- "adv_dhcp6_id_assoc_statement_address": "string",
- "adv_dhcp6_id_assoc_statement_address_pltime": "string",
- "adv_dhcp6_id_assoc_statement_address_vltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_enable": true,
- "adv_dhcp6_id_assoc_statement_prefix_id": "string",
- "adv_dhcp6_id_assoc_statement_prefix": "string",
- "adv_dhcp6_id_assoc_statement_prefix_pltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_vltime": "string",
- "adv_dhcp6_prefix_interface_statement_sla_id": "string",
- "adv_dhcp6_prefix_interface_statement_sla_len": "string",
- "adv_dhcp6_authentication_statement_authname": "string",
- "adv_dhcp6_authentication_statement_protocol": "string",
- "adv_dhcp6_authentication_statement_algorithm": "string",
- "adv_dhcp6_authentication_statement_rdm": "string",
- "adv_dhcp6_key_info_statement_keyname": "string",
- "adv_dhcp6_key_info_statement_realm": "string",
- "adv_dhcp6_key_info_statement_keyid": "string",
- "adv_dhcp6_key_info_statement_secret": "string",
- "adv_dhcp6_key_info_statement_expire": "string"
}| name | string alias to assigned name |
| if | string alias to device_name |
| assigned_name | string user assigned name, e.g. MYLAN |
| device_name | string host device name, e.g. ix1 |
| identity | string unique identity of device, e.g. opt1 |
| enable | boolean |
| blockbogons | boolean |
| pseudo | boolean |
| blockpriv | boolean |
| slaacusev4iface | boolean |
| descr | string |
| type | string |
| type6 | string |
| mtu | integer |
| mss | integer |
| pcp | integer |
| promisc | boolean |
| ipaddr | string |
| member | string |
| media | string |
| mac | string |
| mediaopt | string |
| spoofmac | string |
| tag | integer |
| gateway | string |
| ipaddrv6 | string |
| ipv6usev4iface | boolean |
| gatewayv6 | string |
| alias_address | string |
| dhcphostname | string |
| dhcprejectfrom | string |
| dhcprejectfromarray | Array of strings |
| dhcpvlanenable | boolean |
| dhcp6usev4iface | boolean |
| dhcp6prefixonly | boolean |
| dhcp6_ia_pd_send_hint | boolean |
| dhcp6debug | boolean |
| dhcp6withoutra | boolean |
| dhcp6norelease | boolean |
| dhcpcvpt | string |
| dhcp6cvpt | string |
| prefix_6rd | string |
| gateway_6rd | string |
| dhcp6_ia_pd_len | string |
| prefix_6rd_v4plen | string |
| track6_interface | string |
| track6_prefix_id | string |
| adv_dhcp_config_advanced | boolean |
| adv_dhcp_config_file_override | boolean |
| adv_dhcp_pt_timeout | string |
| adv_dhcp_pt_retry | string |
| adv_dhcp_pt_select_timeout | string |
| adv_dhcp_pt_reboot | string |
| adv_dhcp_pt_backoff_cutoff | string |
| adv_dhcp_pt_initial_interval | string |
| adv_dhcp_pt_values | string |
| adv_dhcp_config_file_override_path | string |
| adv_dhcp_send_options | string |
| adv_dhcp_request_options | string |
| adv_dhcp_required_options | string |
| adv_dhcp_option_modifiers | string |
| adv_dhcp6_config_advanced | boolean |
| adv_dhcp6_config_file_override | boolean |
| adv_dhcp6_prefix_selected_interface | string |
| adv_dhcp6_config_file_override_path | string |
| adv_dhcp6_interface_statement_information_only_enable | boolean |
| adv_dhcp6_interface_statement_send_options | string |
| adv_dhcp6_interface_statement_request_options | string |
| adv_dhcp6_interface_statement_script | string |
| adv_dhcp6_id_assoc_statement_address_enable | boolean |
| adv_dhcp6_id_assoc_statement_address_id | string |
| adv_dhcp6_id_assoc_statement_address | string |
| adv_dhcp6_id_assoc_statement_address_pltime | string |
| adv_dhcp6_id_assoc_statement_address_vltime | string |
| adv_dhcp6_id_assoc_statement_prefix_enable | boolean |
| adv_dhcp6_id_assoc_statement_prefix_id | string |
| adv_dhcp6_id_assoc_statement_prefix | string |
| adv_dhcp6_id_assoc_statement_prefix_pltime | string |
| adv_dhcp6_id_assoc_statement_prefix_vltime | string |
| adv_dhcp6_prefix_interface_statement_sla_id | string |
| adv_dhcp6_prefix_interface_statement_sla_len | string |
| adv_dhcp6_authentication_statement_authname | string |
| adv_dhcp6_authentication_statement_protocol | string |
| adv_dhcp6_authentication_statement_algorithm | string |
| adv_dhcp6_authentication_statement_rdm | string |
| adv_dhcp6_key_info_statement_keyname | string |
| adv_dhcp6_key_info_statement_realm | string |
| adv_dhcp6_key_info_statement_keyid | string |
| adv_dhcp6_key_info_statement_secret | string |
| adv_dhcp6_key_info_statement_expire | string |
{- "name": "string",
- "if": "string",
- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "enable": true,
- "blockbogons": true,
- "pseudo": true,
- "blockpriv": true,
- "slaacusev4iface": true,
- "descr": "string",
- "type": "string",
- "type6": "string",
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "ipaddr": "string",
- "member": "string",
- "media": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0,
- "gateway": "string",
- "ipaddrv6": "string",
- "ipv6usev4iface": true,
- "gatewayv6": "string",
- "alias_address": "string",
- "dhcphostname": "string",
- "dhcprejectfrom": "string",
- "dhcprejectfromarray": [
- "string"
], - "dhcpvlanenable": true,
- "dhcp6usev4iface": true,
- "dhcp6prefixonly": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6debug": true,
- "dhcp6withoutra": true,
- "dhcp6norelease": true,
- "dhcpcvpt": "string",
- "dhcp6cvpt": "string",
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "dhcp6_ia_pd_len": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string",
- "track6_prefix_id": "string",
- "adv_dhcp_config_advanced": true,
- "adv_dhcp_config_file_override": true,
- "adv_dhcp_pt_timeout": "string",
- "adv_dhcp_pt_retry": "string",
- "adv_dhcp_pt_select_timeout": "string",
- "adv_dhcp_pt_reboot": "string",
- "adv_dhcp_pt_backoff_cutoff": "string",
- "adv_dhcp_pt_initial_interval": "string",
- "adv_dhcp_pt_values": "string",
- "adv_dhcp_config_file_override_path": "string",
- "adv_dhcp_send_options": "string",
- "adv_dhcp_request_options": "string",
- "adv_dhcp_required_options": "string",
- "adv_dhcp_option_modifiers": "string",
- "adv_dhcp6_config_advanced": true,
- "adv_dhcp6_config_file_override": true,
- "adv_dhcp6_prefix_selected_interface": "string",
- "adv_dhcp6_config_file_override_path": "string",
- "adv_dhcp6_interface_statement_information_only_enable": true,
- "adv_dhcp6_interface_statement_send_options": "string",
- "adv_dhcp6_interface_statement_request_options": "string",
- "adv_dhcp6_interface_statement_script": "string",
- "adv_dhcp6_id_assoc_statement_address_enable": true,
- "adv_dhcp6_id_assoc_statement_address_id": "string",
- "adv_dhcp6_id_assoc_statement_address": "string",
- "adv_dhcp6_id_assoc_statement_address_pltime": "string",
- "adv_dhcp6_id_assoc_statement_address_vltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_enable": true,
- "adv_dhcp6_id_assoc_statement_prefix_id": "string",
- "adv_dhcp6_id_assoc_statement_prefix": "string",
- "adv_dhcp6_id_assoc_statement_prefix_pltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_vltime": "string",
- "adv_dhcp6_prefix_interface_statement_sla_id": "string",
- "adv_dhcp6_prefix_interface_statement_sla_len": "string",
- "adv_dhcp6_authentication_statement_authname": "string",
- "adv_dhcp6_authentication_statement_protocol": "string",
- "adv_dhcp6_authentication_statement_algorithm": "string",
- "adv_dhcp6_authentication_statement_rdm": "string",
- "adv_dhcp6_key_info_statement_keyname": "string",
- "adv_dhcp6_key_info_statement_realm": "string",
- "adv_dhcp6_key_info_statement_keyid": "string",
- "adv_dhcp6_key_info_statement_secret": "string",
- "adv_dhcp6_key_info_statement_expire": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}Get interface ports as a map of port-type (e.g. wans, gres) to a list of its corresponding datastructure.
{- "ports": {
- "gres": [
- {
- "if_identity": "string",
- "tunnel_local_addr": "string",
- "tunnel_remote_addr": "string",
- "tunnel_local_addr6": "string",
- "tunnel_remote_addr6": "string",
- "tunnel_remote_net": 0,
- "tunnel_remote_net6": 0,
- "remote_addr": "string",
- "descr": "string",
- "link1": true,
- "greif": "string"
}
], - "gifs": [
- {
- "if_identity": "string",
- "tunnel_local_addr": "string",
- "tunnel_remote_addr": "string",
- "tunnel_remote_net": 0,
- "remote_addr": "string",
- "descr": "string",
- "link1": true,
- "link2": true,
- "gifif": "string"
}
], - "bridges": [
- {
- "members": [
- "string"
], - "enablestp": true,
- "descr": "string",
- "maxaddr": 0,
- "timeout": 0,
- "maxage": 0,
- "fwdelay": 0,
- "hellotime": 0,
- "priority": 0,
- "proto": "string",
- "holdcnt": 0,
- "ip6linklocal": true,
- "ifpriority": {
- "property1": 0,
- "property2": 0
}, - "ifpathcost": {
- "property1": 0,
- "property2": 0
}, - "static": [
- "string"
], - "private": [
- "string"
], - "stp": [
- "string"
], - "span": [
- "string"
], - "edge": [
- "string"
], - "autoedge": [
- "string"
], - "ptp": [
- "string"
], - "autoptp": [
- "string"
], - "bridgeif_device": "string"
}
], - "vlans": [
- {
- "if_device": "string",
- "tag": 1,
- "tag_type": "string",
- "pcp": 7,
- "descr": "string",
- "vlanif": "string"
}
], - "ppps": [
- {
- "ptpid": "string",
- "if_device": "string",
- "type": "ppp",
- "link_interfaces": [
- {
- "if_device": "string",
- "bandwidth": 0,
- "mtu": 0,
- "mru": 0,
- "mrru": 0,
- "localip": "string",
- "subnet": 0,
- "gateway": "string"
}
], - "descr": "string",
- "username": "string",
- "password": "string",
- "phone": "string",
- "apn": "string",
- "apnum": "string",
- "simpin": "string",
- "pin_wait": "string",
- "initstr": "string",
- "connect_timeout": "string",
- "uptime": true,
- "country": "string",
- "providerplan": "string",
- "provider": "string",
- "null_service": true,
- "pppoe_reset_type": "custom",
- "pppoe_pr_preset_val": "monthly",
- "pppoe_resethour": "string",
- "pppoe_resetminute": "string",
- "pppoe_resetdate": "string",
- "pppoe_multilink_over_singlelink": true,
- "pppoe_mtu_override": true,
- "l2tp_secret": "string",
- "ondemand": true,
- "idletimeout": 0,
- "vjcomp": true,
- "tcpmssfix": true,
- "shortseq": true,
- "acfcomp": true,
- "protocomp": true
}
], - "qinqs": [
- {
- "if_device": "string",
- "tag": 1,
- "tag_type": "string",
- "autogroup": true,
- "members": [
- "string"
], - "descr": "string",
- "vlanif": "string"
}
], - "laggs": [
- {
- "members": [
- "string"
], - "descr": "string",
- "laggif_device": "string",
- "proto": "none",
- "failovermaster": "string",
- "lacptimeout": "slow",
- "lagghash": "string"
}
], - "wan": {
- "name": "string",
- "if": "string",
- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "enable": true,
- "blockbogons": true,
- "pseudo": true,
- "blockpriv": true,
- "slaacusev4iface": true,
- "descr": "string",
- "type": "string",
- "type6": "string",
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "ipaddr": "string",
- "member": "string",
- "media": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0,
- "gateway": "string",
- "ipaddrv6": "string",
- "ipv6usev4iface": true,
- "gatewayv6": "string",
- "alias_address": "string",
- "dhcphostname": "string",
- "dhcprejectfrom": "string",
- "dhcprejectfromarray": [
- "string"
], - "dhcpvlanenable": true,
- "dhcp6usev4iface": true,
- "dhcp6prefixonly": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6debug": true,
- "dhcp6withoutra": true,
- "dhcp6norelease": true,
- "dhcpcvpt": "string",
- "dhcp6cvpt": "string",
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "dhcp6_ia_pd_len": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string",
- "track6_prefix_id": "string",
- "adv_dhcp_config_advanced": true,
- "adv_dhcp_config_file_override": true,
- "adv_dhcp_pt_timeout": "string",
- "adv_dhcp_pt_retry": "string",
- "adv_dhcp_pt_select_timeout": "string",
- "adv_dhcp_pt_reboot": "string",
- "adv_dhcp_pt_backoff_cutoff": "string",
- "adv_dhcp_pt_initial_interval": "string",
- "adv_dhcp_pt_values": "string",
- "adv_dhcp_config_file_override_path": "string",
- "adv_dhcp_send_options": "string",
- "adv_dhcp_request_options": "string",
- "adv_dhcp_required_options": "string",
- "adv_dhcp_option_modifiers": "string",
- "adv_dhcp6_config_advanced": true,
- "adv_dhcp6_config_file_override": true,
- "adv_dhcp6_prefix_selected_interface": "string",
- "adv_dhcp6_config_file_override_path": "string",
- "adv_dhcp6_interface_statement_information_only_enable": true,
- "adv_dhcp6_interface_statement_send_options": "string",
- "adv_dhcp6_interface_statement_request_options": "string",
- "adv_dhcp6_interface_statement_script": "string",
- "adv_dhcp6_id_assoc_statement_address_enable": true,
- "adv_dhcp6_id_assoc_statement_address_id": "string",
- "adv_dhcp6_id_assoc_statement_address": "string",
- "adv_dhcp6_id_assoc_statement_address_pltime": "string",
- "adv_dhcp6_id_assoc_statement_address_vltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_enable": true,
- "adv_dhcp6_id_assoc_statement_prefix_id": "string",
- "adv_dhcp6_id_assoc_statement_prefix": "string",
- "adv_dhcp6_id_assoc_statement_prefix_pltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_vltime": "string",
- "adv_dhcp6_prefix_interface_statement_sla_id": "string",
- "adv_dhcp6_prefix_interface_statement_sla_len": "string",
- "adv_dhcp6_authentication_statement_authname": "string",
- "adv_dhcp6_authentication_statement_protocol": "string",
- "adv_dhcp6_authentication_statement_algorithm": "string",
- "adv_dhcp6_authentication_statement_rdm": "string",
- "adv_dhcp6_key_info_statement_keyname": "string",
- "adv_dhcp6_key_info_statement_realm": "string",
- "adv_dhcp6_key_info_statement_keyid": "string",
- "adv_dhcp6_key_info_statement_secret": "string",
- "adv_dhcp6_key_info_statement_expire": "string"
}, - "lan": {
- "name": "string",
- "if": "string",
- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "enable": true,
- "blockbogons": true,
- "pseudo": true,
- "blockpriv": true,
- "slaacusev4iface": true,
- "descr": "string",
- "type": "string",
- "type6": "string",
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "ipaddr": "string",
- "member": "string",
- "media": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0,
- "gateway": "string",
- "ipaddrv6": "string",
- "ipv6usev4iface": true,
- "gatewayv6": "string",
- "alias_address": "string",
- "dhcphostname": "string",
- "dhcprejectfrom": "string",
- "dhcprejectfromarray": [
- "string"
], - "dhcpvlanenable": true,
- "dhcp6usev4iface": true,
- "dhcp6prefixonly": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6debug": true,
- "dhcp6withoutra": true,
- "dhcp6norelease": true,
- "dhcpcvpt": "string",
- "dhcp6cvpt": "string",
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "dhcp6_ia_pd_len": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string",
- "track6_prefix_id": "string",
- "adv_dhcp_config_advanced": true,
- "adv_dhcp_config_file_override": true,
- "adv_dhcp_pt_timeout": "string",
- "adv_dhcp_pt_retry": "string",
- "adv_dhcp_pt_select_timeout": "string",
- "adv_dhcp_pt_reboot": "string",
- "adv_dhcp_pt_backoff_cutoff": "string",
- "adv_dhcp_pt_initial_interval": "string",
- "adv_dhcp_pt_values": "string",
- "adv_dhcp_config_file_override_path": "string",
- "adv_dhcp_send_options": "string",
- "adv_dhcp_request_options": "string",
- "adv_dhcp_required_options": "string",
- "adv_dhcp_option_modifiers": "string",
- "adv_dhcp6_config_advanced": true,
- "adv_dhcp6_config_file_override": true,
- "adv_dhcp6_prefix_selected_interface": "string",
- "adv_dhcp6_config_file_override_path": "string",
- "adv_dhcp6_interface_statement_information_only_enable": true,
- "adv_dhcp6_interface_statement_send_options": "string",
- "adv_dhcp6_interface_statement_request_options": "string",
- "adv_dhcp6_interface_statement_script": "string",
- "adv_dhcp6_id_assoc_statement_address_enable": true,
- "adv_dhcp6_id_assoc_statement_address_id": "string",
- "adv_dhcp6_id_assoc_statement_address": "string",
- "adv_dhcp6_id_assoc_statement_address_pltime": "string",
- "adv_dhcp6_id_assoc_statement_address_vltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_enable": true,
- "adv_dhcp6_id_assoc_statement_prefix_id": "string",
- "adv_dhcp6_id_assoc_statement_prefix": "string",
- "adv_dhcp6_id_assoc_statement_prefix_pltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_vltime": "string",
- "adv_dhcp6_prefix_interface_statement_sla_id": "string",
- "adv_dhcp6_prefix_interface_statement_sla_len": "string",
- "adv_dhcp6_authentication_statement_authname": "string",
- "adv_dhcp6_authentication_statement_protocol": "string",
- "adv_dhcp6_authentication_statement_algorithm": "string",
- "adv_dhcp6_authentication_statement_rdm": "string",
- "adv_dhcp6_key_info_statement_keyname": "string",
- "adv_dhcp6_key_info_statement_realm": "string",
- "adv_dhcp6_key_info_statement_keyid": "string",
- "adv_dhcp6_key_info_statement_secret": "string",
- "adv_dhcp6_key_info_statement_expire": "string"
}, - "physical": [
- {
- "name": "string",
- "mac": "string",
- "up": true,
- "ipaddr": "string",
- "friendly": "string",
- "dmesg": "string"
}
]
}, - "modems": [
- "string"
]
}{- "interfaces": [
- {
- "ptpid": "string",
- "if_device": "string",
- "type": "ppp",
- "link_interfaces": [
- {
- "if_device": "string",
- "bandwidth": 0,
- "mtu": 0,
- "mru": 0,
- "mrru": 0,
- "localip": "string",
- "subnet": 0,
- "gateway": "string"
}
], - "descr": "string",
- "username": "string",
- "password": "string",
- "phone": "string",
- "apn": "string",
- "apnum": "string",
- "simpin": "string",
- "pin_wait": "string",
- "initstr": "string",
- "connect_timeout": "string",
- "uptime": true,
- "country": "string",
- "providerplan": "string",
- "provider": "string",
- "null_service": true,
- "pppoe_reset_type": "custom",
- "pppoe_pr_preset_val": "monthly",
- "pppoe_resethour": "string",
- "pppoe_resetminute": "string",
- "pppoe_resetdate": "string",
- "pppoe_multilink_over_singlelink": true,
- "pppoe_mtu_override": true,
- "l2tp_secret": "string",
- "ondemand": true,
- "idletimeout": 0,
- "vjcomp": true,
- "tcpmssfix": true,
- "shortseq": true,
- "acfcomp": true,
- "protocomp": true
}
], - "ppp_capable_ifs": {
- "serials": [
- {
- "if_device": "string",
- "desc": "string"
}
], - "interfaces": [
- {
- "if_device": "string",
- "desc": "string"
}
]
}
}| ptpid | string generated by system when a PPP is created |
| if_device | string generated by system when a PPP is created |
| type | string Enum: "ppp" "pppoe" "pptp" "l2tp" link type valid value = ppp, pppoe, pptp, l2tp |
Array of objects (PPPLinkInterface) | |
| descr | string description |
| username | string |
| password | string GET request will return ******** to protect previously entered password POST and PUT request need to send password encoded in base64 |
| phone | string (type ppp only) phone number to ISP |
| apn | string (type ppp only) access point name |
| apnum | string (type ppp only) apn number, default to 1 if apn is set |
| simpin | string (type ppp only) security code on the SIM |
| pin_wait | string (type ppp only) seconds to wait for the SIM to discover network after the PIN is sent |
| initstr | string (type ppp only and base64 encoded) modem initialization string, if necessary |
| connect_timeout | string (type ppp only) time to wait for a connection attempt to succeed |
| uptime | boolean (type ppp only) tracks the uptime for the connection |
| country | string (type ppp only) country in which the modem resides |
| providerplan | string (type ppp only) type of cellular service this modem uses from provider |
| provider | string (for type ppp) cellular service provider for the modem (for type pppoe) service name of the ISP, leave blank for most ISPs |
| null_service | boolean (type pppoe only) some ISPs require to send a NULL value instead of a blank service name |
| pppoe_reset_type | string Enum: "custom" "preset" (type pppoe only) configures a preset time to reset the connection valid value = custom, preset |
| pppoe_pr_preset_val | string Enum: "monthly" "weekly" "daily" "hourly" (type pppoe only and pppoe_pr_preset_val = "preset") connection reset frequency valid value = monthly, weekly, daily, hourly |
| pppoe_resethour | string (type pppoe only and pppoe_pr_preset_val = "custom") hour of the reset date/time |
| pppoe_resetminute | string (type pppoe only and pppoe_pr_preset_val = "custom") minute of the reset date/time |
| pppoe_resetdate | string (type pppoe only and pppoe_pr_preset_val = "custom") date of the reset date/time |
| pppoe_multilink_over_singlelink | boolean (type pppoe only) use LCP multi-link extensions over a single link |
| pppoe_mtu_override | boolean (type pppoe only) overrides the MTU negotiated with the ISP |
| l2tp_secret | string (type l2tp only and base64 encoded) l2tp tunnel shared secret, optional |
| ondemand | boolean dial On demand mode |
| idletimeout | integer number of idle seconds to disconnect the connection |
| vjcomp | boolean disable Van Jacobson TCP header compression, auto-negotiated by default |
| tcpmssfix | boolean disable TCP maximum segment size fix, enabled by default |
| shortseq | boolean for multi-link PPP, disable shorter multi-link fragment headers, auto-negotiated by default |
| acfcomp | boolean disable address and control field compression, auto-negotiated by default |
| protocomp | boolean disable protocol field compression, auto-negotiated by default |
{- "ptpid": "string",
- "if_device": "string",
- "type": "ppp",
- "link_interfaces": [
- {
- "if_device": "string",
- "bandwidth": 0,
- "mtu": 0,
- "mru": 0,
- "mrru": 0,
- "localip": "string",
- "subnet": 0,
- "gateway": "string"
}
], - "descr": "string",
- "username": "string",
- "password": "string",
- "phone": "string",
- "apn": "string",
- "apnum": "string",
- "simpin": "string",
- "pin_wait": "string",
- "initstr": "string",
- "connect_timeout": "string",
- "uptime": true,
- "country": "string",
- "providerplan": "string",
- "provider": "string",
- "null_service": true,
- "pppoe_reset_type": "custom",
- "pppoe_pr_preset_val": "monthly",
- "pppoe_resethour": "string",
- "pppoe_resetminute": "string",
- "pppoe_resetdate": "string",
- "pppoe_multilink_over_singlelink": true,
- "pppoe_mtu_override": true,
- "l2tp_secret": "string",
- "ondemand": true,
- "idletimeout": 0,
- "vjcomp": true,
- "tcpmssfix": true,
- "shortseq": true,
- "acfcomp": true,
- "protocomp": true
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| ptpid | string generated by system when a PPP is created |
| if_device | string generated by system when a PPP is created |
| type | string Enum: "ppp" "pppoe" "pptp" "l2tp" link type valid value = ppp, pppoe, pptp, l2tp |
Array of objects (PPPLinkInterface) | |
| descr | string description |
| username | string |
| password | string GET request will return ******** to protect previously entered password POST and PUT request need to send password encoded in base64 |
| phone | string (type ppp only) phone number to ISP |
| apn | string (type ppp only) access point name |
| apnum | string (type ppp only) apn number, default to 1 if apn is set |
| simpin | string (type ppp only) security code on the SIM |
| pin_wait | string (type ppp only) seconds to wait for the SIM to discover network after the PIN is sent |
| initstr | string (type ppp only and base64 encoded) modem initialization string, if necessary |
| connect_timeout | string (type ppp only) time to wait for a connection attempt to succeed |
| uptime | boolean (type ppp only) tracks the uptime for the connection |
| country | string (type ppp only) country in which the modem resides |
| providerplan | string (type ppp only) type of cellular service this modem uses from provider |
| provider | string (for type ppp) cellular service provider for the modem (for type pppoe) service name of the ISP, leave blank for most ISPs |
| null_service | boolean (type pppoe only) some ISPs require to send a NULL value instead of a blank service name |
| pppoe_reset_type | string Enum: "custom" "preset" (type pppoe only) configures a preset time to reset the connection valid value = custom, preset |
| pppoe_pr_preset_val | string Enum: "monthly" "weekly" "daily" "hourly" (type pppoe only and pppoe_pr_preset_val = "preset") connection reset frequency valid value = monthly, weekly, daily, hourly |
| pppoe_resethour | string (type pppoe only and pppoe_pr_preset_val = "custom") hour of the reset date/time |
| pppoe_resetminute | string (type pppoe only and pppoe_pr_preset_val = "custom") minute of the reset date/time |
| pppoe_resetdate | string (type pppoe only and pppoe_pr_preset_val = "custom") date of the reset date/time |
| pppoe_multilink_over_singlelink | boolean (type pppoe only) use LCP multi-link extensions over a single link |
| pppoe_mtu_override | boolean (type pppoe only) overrides the MTU negotiated with the ISP |
| l2tp_secret | string (type l2tp only and base64 encoded) l2tp tunnel shared secret, optional |
| ondemand | boolean dial On demand mode |
| idletimeout | integer number of idle seconds to disconnect the connection |
| vjcomp | boolean disable Van Jacobson TCP header compression, auto-negotiated by default |
| tcpmssfix | boolean disable TCP maximum segment size fix, enabled by default |
| shortseq | boolean for multi-link PPP, disable shorter multi-link fragment headers, auto-negotiated by default |
| acfcomp | boolean disable address and control field compression, auto-negotiated by default |
| protocomp | boolean disable protocol field compression, auto-negotiated by default |
{- "ptpid": "string",
- "if_device": "string",
- "type": "ppp",
- "link_interfaces": [
- {
- "if_device": "string",
- "bandwidth": 0,
- "mtu": 0,
- "mru": 0,
- "mrru": 0,
- "localip": "string",
- "subnet": 0,
- "gateway": "string"
}
], - "descr": "string",
- "username": "string",
- "password": "string",
- "phone": "string",
- "apn": "string",
- "apnum": "string",
- "simpin": "string",
- "pin_wait": "string",
- "initstr": "string",
- "connect_timeout": "string",
- "uptime": true,
- "country": "string",
- "providerplan": "string",
- "provider": "string",
- "null_service": true,
- "pppoe_reset_type": "custom",
- "pppoe_pr_preset_val": "monthly",
- "pppoe_resethour": "string",
- "pppoe_resetminute": "string",
- "pppoe_resetdate": "string",
- "pppoe_multilink_over_singlelink": true,
- "pppoe_mtu_override": true,
- "l2tp_secret": "string",
- "ondemand": true,
- "idletimeout": 0,
- "vjcomp": true,
- "tcpmssfix": true,
- "shortseq": true,
- "acfcomp": true,
- "protocomp": true
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "interfaces": [
- {
- "if_device": "string",
- "tag": 1,
- "tag_type": "string",
- "autogroup": true,
- "members": [
- "string"
], - "descr": "string",
- "vlanif": "string"
}
], - "vlan_capable_ifs": [
- {
- "if_device": "string",
- "if_assigned_name": "string",
- "mac": "string",
- "up": true,
- "ipaddr": "string",
- "dmesg": "string"
}
]
}| if_device required | string parent interface |
| tag required | integer [ 1 .. 4094 ] first level VLAN tag |
| tag_type | string |
| autogroup | boolean adds interface to QinQ interface groups |
| members | Array of strings |
| descr | string description |
| vlanif | string generated by system when a QinQ is created |
{- "if_device": "string",
- "tag": 1,
- "tag_type": "string",
- "autogroup": true,
- "members": [
- "string"
], - "descr": "string",
- "vlanif": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| if_device required | string parent interface |
| tag required | integer [ 1 .. 4094 ] first level VLAN tag |
| tag_type | string |
| autogroup | boolean adds interface to QinQ interface groups |
| members | Array of strings |
| descr | string description |
| vlanif | string generated by system when a QinQ is created |
{- "if_device": "string",
- "tag": 1,
- "tag_type": "string",
- "autogroup": true,
- "members": [
- "string"
], - "descr": "string",
- "vlanif": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "interfaces": [
- {
- "if_device": "string",
- "tag": 1,
- "tag_type": "string",
- "pcp": 7,
- "descr": "string",
- "vlanif": "string"
}
], - "vlan_capable_ifs": [
- {
- "if_device": "string",
- "if_assigned_name": "string",
- "mac": "string",
- "up": true,
- "ipaddr": "string",
- "dmesg": "string"
}
]
}| if_device required | string parent interface of the VLAN |
| tag | integer [ 1 .. 4094 ] 802.1Q VLAN tag (between 1 and 4094) |
| tag_type | string ctag or stag |
| pcp | integer [ 0 .. 7 ] 802.1Q VLAN Priority (between 0 and 7) |
| descr | string description |
| vlanif | string generated by system when a VLAN is created |
{- "if_device": "string",
- "tag": 1,
- "tag_type": "string",
- "pcp": 7,
- "descr": "string",
- "vlanif": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| if_device required | string parent interface of the VLAN |
| tag | integer [ 1 .. 4094 ] 802.1Q VLAN tag (between 1 and 4094) |
| tag_type | string ctag or stag |
| pcp | integer [ 0 .. 7 ] 802.1Q VLAN Priority (between 0 and 7) |
| descr | string description |
| vlanif | string generated by system when a VLAN is created |
{- "if_device": "string",
- "tag": 1,
- "tag_type": "string",
- "pcp": 7,
- "descr": "string",
- "vlanif": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "interfaces": [
- {
- "if_device": "string",
- "remote_addr": "string",
- "ttl": 0,
- "id": 1,
- "local_port": 0,
- "remote_port": 0,
- "learn": true,
- "descr": "string",
- "vxlanif": "string"
}
], - "vxlan_capable_ifs": [
- {
- "if_device": "string",
- "if_assigned_name": "string"
}
]
}| if_device required | string |
| remote_addr | string |
| ttl | integer |
| id | integer [ 1 .. 16777215 ] |
| local_port | integer |
| remote_port | integer |
| learn | boolean |
| descr | string |
| vxlanif | string |
{- "if_device": "string",
- "remote_addr": "string",
- "ttl": 0,
- "id": 1,
- "local_port": 0,
- "remote_port": 0,
- "learn": true,
- "descr": "string",
- "vxlanif": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| if_device required | string |
| remote_addr | string |
| ttl | integer |
| id | integer [ 1 .. 16777215 ] |
| local_port | integer |
| remote_port | integer |
| learn | boolean |
| descr | string |
| vxlanif | string |
{- "if_device": "string",
- "remote_addr": "string",
- "ttl": 0,
- "id": 1,
- "local_port": 0,
- "remote_port": 0,
- "learn": true,
- "descr": "string",
- "vxlanif": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "name": "string",
- "if": "string",
- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "enable": true,
- "blockbogons": true,
- "pseudo": true,
- "blockpriv": true,
- "slaacusev4iface": true,
- "descr": "string",
- "type": "string",
- "type6": "string",
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "ipaddr": "string",
- "member": "string",
- "media": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0,
- "gateway": "string",
- "ipaddrv6": "string",
- "ipv6usev4iface": true,
- "gatewayv6": "string",
- "alias_address": "string",
- "dhcphostname": "string",
- "dhcprejectfrom": "string",
- "dhcprejectfromarray": [
- "string"
], - "dhcpvlanenable": true,
- "dhcp6usev4iface": true,
- "dhcp6prefixonly": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6debug": true,
- "dhcp6withoutra": true,
- "dhcp6norelease": true,
- "dhcpcvpt": "string",
- "dhcp6cvpt": "string",
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "dhcp6_ia_pd_len": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string",
- "track6_prefix_id": "string",
- "adv_dhcp_config_advanced": true,
- "adv_dhcp_config_file_override": true,
- "adv_dhcp_pt_timeout": "string",
- "adv_dhcp_pt_retry": "string",
- "adv_dhcp_pt_select_timeout": "string",
- "adv_dhcp_pt_reboot": "string",
- "adv_dhcp_pt_backoff_cutoff": "string",
- "adv_dhcp_pt_initial_interval": "string",
- "adv_dhcp_pt_values": "string",
- "adv_dhcp_config_file_override_path": "string",
- "adv_dhcp_send_options": "string",
- "adv_dhcp_request_options": "string",
- "adv_dhcp_required_options": "string",
- "adv_dhcp_option_modifiers": "string",
- "adv_dhcp6_config_advanced": true,
- "adv_dhcp6_config_file_override": true,
- "adv_dhcp6_prefix_selected_interface": "string",
- "adv_dhcp6_config_file_override_path": "string",
- "adv_dhcp6_interface_statement_information_only_enable": true,
- "adv_dhcp6_interface_statement_send_options": "string",
- "adv_dhcp6_interface_statement_request_options": "string",
- "adv_dhcp6_interface_statement_script": "string",
- "adv_dhcp6_id_assoc_statement_address_enable": true,
- "adv_dhcp6_id_assoc_statement_address_id": "string",
- "adv_dhcp6_id_assoc_statement_address": "string",
- "adv_dhcp6_id_assoc_statement_address_pltime": "string",
- "adv_dhcp6_id_assoc_statement_address_vltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_enable": true,
- "adv_dhcp6_id_assoc_statement_prefix_id": "string",
- "adv_dhcp6_id_assoc_statement_prefix": "string",
- "adv_dhcp6_id_assoc_statement_prefix_pltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_vltime": "string",
- "adv_dhcp6_prefix_interface_statement_sla_id": "string",
- "adv_dhcp6_prefix_interface_statement_sla_len": "string",
- "adv_dhcp6_authentication_statement_authname": "string",
- "adv_dhcp6_authentication_statement_protocol": "string",
- "adv_dhcp6_authentication_statement_algorithm": "string",
- "adv_dhcp6_authentication_statement_rdm": "string",
- "adv_dhcp6_key_info_statement_keyname": "string",
- "adv_dhcp6_key_info_statement_realm": "string",
- "adv_dhcp6_key_info_statement_keyid": "string",
- "adv_dhcp6_key_info_statement_secret": "string",
- "adv_dhcp6_key_info_statement_expire": "string"
}| name | string alias to assigned name |
| if | string alias to device_name |
| assigned_name | string user assigned name, e.g. MYLAN |
| device_name | string host device name, e.g. ix1 |
| identity | string unique identity of device, e.g. opt1 |
| enable | boolean |
| blockbogons | boolean |
| pseudo | boolean |
| blockpriv | boolean |
| slaacusev4iface | boolean |
| descr | string |
| type | string |
| type6 | string |
| mtu | integer |
| mss | integer |
| pcp | integer |
| promisc | boolean |
| ipaddr | string |
| member | string |
| media | string |
| mac | string |
| mediaopt | string |
| spoofmac | string |
| tag | integer |
| gateway | string |
| ipaddrv6 | string |
| ipv6usev4iface | boolean |
| gatewayv6 | string |
| alias_address | string |
| dhcphostname | string |
| dhcprejectfrom | string |
| dhcprejectfromarray | Array of strings |
| dhcpvlanenable | boolean |
| dhcp6usev4iface | boolean |
| dhcp6prefixonly | boolean |
| dhcp6_ia_pd_send_hint | boolean |
| dhcp6debug | boolean |
| dhcp6withoutra | boolean |
| dhcp6norelease | boolean |
| dhcpcvpt | string |
| dhcp6cvpt | string |
| prefix_6rd | string |
| gateway_6rd | string |
| dhcp6_ia_pd_len | string |
| prefix_6rd_v4plen | string |
| track6_interface | string |
| track6_prefix_id | string |
| adv_dhcp_config_advanced | boolean |
| adv_dhcp_config_file_override | boolean |
| adv_dhcp_pt_timeout | string |
| adv_dhcp_pt_retry | string |
| adv_dhcp_pt_select_timeout | string |
| adv_dhcp_pt_reboot | string |
| adv_dhcp_pt_backoff_cutoff | string |
| adv_dhcp_pt_initial_interval | string |
| adv_dhcp_pt_values | string |
| adv_dhcp_config_file_override_path | string |
| adv_dhcp_send_options | string |
| adv_dhcp_request_options | string |
| adv_dhcp_required_options | string |
| adv_dhcp_option_modifiers | string |
| adv_dhcp6_config_advanced | boolean |
| adv_dhcp6_config_file_override | boolean |
| adv_dhcp6_prefix_selected_interface | string |
| adv_dhcp6_config_file_override_path | string |
| adv_dhcp6_interface_statement_information_only_enable | boolean |
| adv_dhcp6_interface_statement_send_options | string |
| adv_dhcp6_interface_statement_request_options | string |
| adv_dhcp6_interface_statement_script | string |
| adv_dhcp6_id_assoc_statement_address_enable | boolean |
| adv_dhcp6_id_assoc_statement_address_id | string |
| adv_dhcp6_id_assoc_statement_address | string |
| adv_dhcp6_id_assoc_statement_address_pltime | string |
| adv_dhcp6_id_assoc_statement_address_vltime | string |
| adv_dhcp6_id_assoc_statement_prefix_enable | boolean |
| adv_dhcp6_id_assoc_statement_prefix_id | string |
| adv_dhcp6_id_assoc_statement_prefix | string |
| adv_dhcp6_id_assoc_statement_prefix_pltime | string |
| adv_dhcp6_id_assoc_statement_prefix_vltime | string |
| adv_dhcp6_prefix_interface_statement_sla_id | string |
| adv_dhcp6_prefix_interface_statement_sla_len | string |
| adv_dhcp6_authentication_statement_authname | string |
| adv_dhcp6_authentication_statement_protocol | string |
| adv_dhcp6_authentication_statement_algorithm | string |
| adv_dhcp6_authentication_statement_rdm | string |
| adv_dhcp6_key_info_statement_keyname | string |
| adv_dhcp6_key_info_statement_realm | string |
| adv_dhcp6_key_info_statement_keyid | string |
| adv_dhcp6_key_info_statement_secret | string |
| adv_dhcp6_key_info_statement_expire | string |
{- "name": "string",
- "if": "string",
- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "enable": true,
- "blockbogons": true,
- "pseudo": true,
- "blockpriv": true,
- "slaacusev4iface": true,
- "descr": "string",
- "type": "string",
- "type6": "string",
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "ipaddr": "string",
- "member": "string",
- "media": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0,
- "gateway": "string",
- "ipaddrv6": "string",
- "ipv6usev4iface": true,
- "gatewayv6": "string",
- "alias_address": "string",
- "dhcphostname": "string",
- "dhcprejectfrom": "string",
- "dhcprejectfromarray": [
- "string"
], - "dhcpvlanenable": true,
- "dhcp6usev4iface": true,
- "dhcp6prefixonly": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6debug": true,
- "dhcp6withoutra": true,
- "dhcp6norelease": true,
- "dhcpcvpt": "string",
- "dhcp6cvpt": "string",
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "dhcp6_ia_pd_len": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string",
- "track6_prefix_id": "string",
- "adv_dhcp_config_advanced": true,
- "adv_dhcp_config_file_override": true,
- "adv_dhcp_pt_timeout": "string",
- "adv_dhcp_pt_retry": "string",
- "adv_dhcp_pt_select_timeout": "string",
- "adv_dhcp_pt_reboot": "string",
- "adv_dhcp_pt_backoff_cutoff": "string",
- "adv_dhcp_pt_initial_interval": "string",
- "adv_dhcp_pt_values": "string",
- "adv_dhcp_config_file_override_path": "string",
- "adv_dhcp_send_options": "string",
- "adv_dhcp_request_options": "string",
- "adv_dhcp_required_options": "string",
- "adv_dhcp_option_modifiers": "string",
- "adv_dhcp6_config_advanced": true,
- "adv_dhcp6_config_file_override": true,
- "adv_dhcp6_prefix_selected_interface": "string",
- "adv_dhcp6_config_file_override_path": "string",
- "adv_dhcp6_interface_statement_information_only_enable": true,
- "adv_dhcp6_interface_statement_send_options": "string",
- "adv_dhcp6_interface_statement_request_options": "string",
- "adv_dhcp6_interface_statement_script": "string",
- "adv_dhcp6_id_assoc_statement_address_enable": true,
- "adv_dhcp6_id_assoc_statement_address_id": "string",
- "adv_dhcp6_id_assoc_statement_address": "string",
- "adv_dhcp6_id_assoc_statement_address_pltime": "string",
- "adv_dhcp6_id_assoc_statement_address_vltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_enable": true,
- "adv_dhcp6_id_assoc_statement_prefix_id": "string",
- "adv_dhcp6_id_assoc_statement_prefix": "string",
- "adv_dhcp6_id_assoc_statement_prefix_pltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_vltime": "string",
- "adv_dhcp6_prefix_interface_statement_sla_id": "string",
- "adv_dhcp6_prefix_interface_statement_sla_len": "string",
- "adv_dhcp6_authentication_statement_authname": "string",
- "adv_dhcp6_authentication_statement_protocol": "string",
- "adv_dhcp6_authentication_statement_algorithm": "string",
- "adv_dhcp6_authentication_statement_rdm": "string",
- "adv_dhcp6_key_info_statement_keyname": "string",
- "adv_dhcp6_key_info_statement_realm": "string",
- "adv_dhcp6_key_info_statement_keyid": "string",
- "adv_dhcp6_key_info_statement_secret": "string",
- "adv_dhcp6_key_info_statement_expire": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "interfaces": [
- {
- "mode": "string",
- "standard": "string",
- "protmode": "string",
- "ssid": "string",
- "channel": "string",
- "authmode": "string",
- "txpower": "string",
- "distance": "string",
- "regdomain": "string",
- "regcountry": "string",
- "reglocation": "string",
- "wpa": {
- "macaddr_acl": "string",
- "wpa_mode": "string",
- "wpa_key_mgmt": "string",
- "wpa_pairwise": "string",
- "wpa_group_rekey": "string",
- "wpa_gmk_rekey": "string",
- "passphrase": "string",
- "ext_wpa_sw": "string"
}, - "auth_server_addr": "string",
- "auth_server_port": "string",
- "auth_server_shared_secret": "string",
- "auth_server_addr2": "string",
- "auth_server_port2": "string",
- "auth_server_shared_secret2": "string",
- "wme": {
- "enable": true
}, - "channel_width": "string"
}
], - "interfacesClone": [
- {
- "clone": {
- "if": "string",
- "mode": "string",
- "descr": "string",
- "cloneif": "string"
}
}
]
}| mode | string |
| standard | string |
| protmode | string |
| ssid | string |
| channel | string |
| authmode | string |
| txpower | string |
| distance | string |
| regdomain | string |
| regcountry | string |
| reglocation | string |
object (WPASetting) | |
| auth_server_addr | string |
| auth_server_port | string |
| auth_server_shared_secret | string |
| auth_server_addr2 | string |
| auth_server_port2 | string |
| auth_server_shared_secret2 | string |
object (WMESetting) | |
| channel_width | string |
{- "mode": "string",
- "standard": "string",
- "protmode": "string",
- "ssid": "string",
- "channel": "string",
- "authmode": "string",
- "txpower": "string",
- "distance": "string",
- "regdomain": "string",
- "regcountry": "string",
- "reglocation": "string",
- "wpa": {
- "macaddr_acl": "string",
- "wpa_mode": "string",
- "wpa_key_mgmt": "string",
- "wpa_pairwise": "string",
- "wpa_group_rekey": "string",
- "wpa_gmk_rekey": "string",
- "passphrase": "string",
- "ext_wpa_sw": "string"
}, - "auth_server_addr": "string",
- "auth_server_port": "string",
- "auth_server_shared_secret": "string",
- "auth_server_addr2": "string",
- "auth_server_port2": "string",
- "auth_server_shared_secret2": "string",
- "wme": {
- "enable": true
}, - "channel_width": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| id required | string |
| mode | string |
| standard | string |
| protmode | string |
| ssid | string |
| channel | string |
| authmode | string |
| txpower | string |
| distance | string |
| regdomain | string |
| regcountry | string |
| reglocation | string |
object (WPASetting) | |
| auth_server_addr | string |
| auth_server_port | string |
| auth_server_shared_secret | string |
| auth_server_addr2 | string |
| auth_server_port2 | string |
| auth_server_shared_secret2 | string |
object (WMESetting) | |
| channel_width | string |
{- "mode": "string",
- "standard": "string",
- "protmode": "string",
- "ssid": "string",
- "channel": "string",
- "authmode": "string",
- "txpower": "string",
- "distance": "string",
- "regdomain": "string",
- "regcountry": "string",
- "reglocation": "string",
- "wpa": {
- "macaddr_acl": "string",
- "wpa_mode": "string",
- "wpa_key_mgmt": "string",
- "wpa_pairwise": "string",
- "wpa_group_rekey": "string",
- "wpa_gmk_rekey": "string",
- "passphrase": "string",
- "ext_wpa_sw": "string"
}, - "auth_server_addr": "string",
- "auth_server_port": "string",
- "auth_server_shared_secret": "string",
- "auth_server_addr2": "string",
- "auth_server_port2": "string",
- "auth_server_shared_secret2": "string",
- "wme": {
- "enable": true
}, - "channel_width": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "name": "string",
- "if": "string",
- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "enable": true,
- "blockbogons": true,
- "pseudo": true,
- "blockpriv": true,
- "slaacusev4iface": true,
- "descr": "string",
- "type": "string",
- "type6": "string",
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "ipaddr": "string",
- "member": "string",
- "media": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0,
- "gateway": "string",
- "ipaddrv6": "string",
- "ipv6usev4iface": true,
- "gatewayv6": "string",
- "alias_address": "string",
- "dhcphostname": "string",
- "dhcprejectfrom": "string",
- "dhcprejectfromarray": [
- "string"
], - "dhcpvlanenable": true,
- "dhcp6usev4iface": true,
- "dhcp6prefixonly": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6debug": true,
- "dhcp6withoutra": true,
- "dhcp6norelease": true,
- "dhcpcvpt": "string",
- "dhcp6cvpt": "string",
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "dhcp6_ia_pd_len": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string",
- "track6_prefix_id": "string",
- "adv_dhcp_config_advanced": true,
- "adv_dhcp_config_file_override": true,
- "adv_dhcp_pt_timeout": "string",
- "adv_dhcp_pt_retry": "string",
- "adv_dhcp_pt_select_timeout": "string",
- "adv_dhcp_pt_reboot": "string",
- "adv_dhcp_pt_backoff_cutoff": "string",
- "adv_dhcp_pt_initial_interval": "string",
- "adv_dhcp_pt_values": "string",
- "adv_dhcp_config_file_override_path": "string",
- "adv_dhcp_send_options": "string",
- "adv_dhcp_request_options": "string",
- "adv_dhcp_required_options": "string",
- "adv_dhcp_option_modifiers": "string",
- "adv_dhcp6_config_advanced": true,
- "adv_dhcp6_config_file_override": true,
- "adv_dhcp6_prefix_selected_interface": "string",
- "adv_dhcp6_config_file_override_path": "string",
- "adv_dhcp6_interface_statement_information_only_enable": true,
- "adv_dhcp6_interface_statement_send_options": "string",
- "adv_dhcp6_interface_statement_request_options": "string",
- "adv_dhcp6_interface_statement_script": "string",
- "adv_dhcp6_id_assoc_statement_address_enable": true,
- "adv_dhcp6_id_assoc_statement_address_id": "string",
- "adv_dhcp6_id_assoc_statement_address": "string",
- "adv_dhcp6_id_assoc_statement_address_pltime": "string",
- "adv_dhcp6_id_assoc_statement_address_vltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_enable": true,
- "adv_dhcp6_id_assoc_statement_prefix_id": "string",
- "adv_dhcp6_id_assoc_statement_prefix": "string",
- "adv_dhcp6_id_assoc_statement_prefix_pltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_vltime": "string",
- "adv_dhcp6_prefix_interface_statement_sla_id": "string",
- "adv_dhcp6_prefix_interface_statement_sla_len": "string",
- "adv_dhcp6_authentication_statement_authname": "string",
- "adv_dhcp6_authentication_statement_protocol": "string",
- "adv_dhcp6_authentication_statement_algorithm": "string",
- "adv_dhcp6_authentication_statement_rdm": "string",
- "adv_dhcp6_key_info_statement_keyname": "string",
- "adv_dhcp6_key_info_statement_realm": "string",
- "adv_dhcp6_key_info_statement_keyid": "string",
- "adv_dhcp6_key_info_statement_secret": "string",
- "adv_dhcp6_key_info_statement_expire": "string"
}| name required | string |
| name | string alias to assigned name |
| if | string alias to device_name |
| assigned_name | string user assigned name, e.g. MYLAN |
| device_name | string host device name, e.g. ix1 |
| identity | string unique identity of device, e.g. opt1 |
| enable | boolean |
| blockbogons | boolean |
| pseudo | boolean |
| blockpriv | boolean |
| slaacusev4iface | boolean |
| descr | string |
| type | string |
| type6 | string |
| mtu | integer |
| mss | integer |
| pcp | integer |
| promisc | boolean |
| ipaddr | string |
| member | string |
| media | string |
| mac | string |
| mediaopt | string |
| spoofmac | string |
| tag | integer |
| gateway | string |
| ipaddrv6 | string |
| ipv6usev4iface | boolean |
| gatewayv6 | string |
| alias_address | string |
| dhcphostname | string |
| dhcprejectfrom | string |
| dhcprejectfromarray | Array of strings |
| dhcpvlanenable | boolean |
| dhcp6usev4iface | boolean |
| dhcp6prefixonly | boolean |
| dhcp6_ia_pd_send_hint | boolean |
| dhcp6debug | boolean |
| dhcp6withoutra | boolean |
| dhcp6norelease | boolean |
| dhcpcvpt | string |
| dhcp6cvpt | string |
| prefix_6rd | string |
| gateway_6rd | string |
| dhcp6_ia_pd_len | string |
| prefix_6rd_v4plen | string |
| track6_interface | string |
| track6_prefix_id | string |
| adv_dhcp_config_advanced | boolean |
| adv_dhcp_config_file_override | boolean |
| adv_dhcp_pt_timeout | string |
| adv_dhcp_pt_retry | string |
| adv_dhcp_pt_select_timeout | string |
| adv_dhcp_pt_reboot | string |
| adv_dhcp_pt_backoff_cutoff | string |
| adv_dhcp_pt_initial_interval | string |
| adv_dhcp_pt_values | string |
| adv_dhcp_config_file_override_path | string |
| adv_dhcp_send_options | string |
| adv_dhcp_request_options | string |
| adv_dhcp_required_options | string |
| adv_dhcp_option_modifiers | string |
| adv_dhcp6_config_advanced | boolean |
| adv_dhcp6_config_file_override | boolean |
| adv_dhcp6_prefix_selected_interface | string |
| adv_dhcp6_config_file_override_path | string |
| adv_dhcp6_interface_statement_information_only_enable | boolean |
| adv_dhcp6_interface_statement_send_options | string |
| adv_dhcp6_interface_statement_request_options | string |
| adv_dhcp6_interface_statement_script | string |
| adv_dhcp6_id_assoc_statement_address_enable | boolean |
| adv_dhcp6_id_assoc_statement_address_id | string |
| adv_dhcp6_id_assoc_statement_address | string |
| adv_dhcp6_id_assoc_statement_address_pltime | string |
| adv_dhcp6_id_assoc_statement_address_vltime | string |
| adv_dhcp6_id_assoc_statement_prefix_enable | boolean |
| adv_dhcp6_id_assoc_statement_prefix_id | string |
| adv_dhcp6_id_assoc_statement_prefix | string |
| adv_dhcp6_id_assoc_statement_prefix_pltime | string |
| adv_dhcp6_id_assoc_statement_prefix_vltime | string |
| adv_dhcp6_prefix_interface_statement_sla_id | string |
| adv_dhcp6_prefix_interface_statement_sla_len | string |
| adv_dhcp6_authentication_statement_authname | string |
| adv_dhcp6_authentication_statement_protocol | string |
| adv_dhcp6_authentication_statement_algorithm | string |
| adv_dhcp6_authentication_statement_rdm | string |
| adv_dhcp6_key_info_statement_keyname | string |
| adv_dhcp6_key_info_statement_realm | string |
| adv_dhcp6_key_info_statement_keyid | string |
| adv_dhcp6_key_info_statement_secret | string |
| adv_dhcp6_key_info_statement_expire | string |
{- "name": "string",
- "if": "string",
- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "enable": true,
- "blockbogons": true,
- "pseudo": true,
- "blockpriv": true,
- "slaacusev4iface": true,
- "descr": "string",
- "type": "string",
- "type6": "string",
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "ipaddr": "string",
- "member": "string",
- "media": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0,
- "gateway": "string",
- "ipaddrv6": "string",
- "ipv6usev4iface": true,
- "gatewayv6": "string",
- "alias_address": "string",
- "dhcphostname": "string",
- "dhcprejectfrom": "string",
- "dhcprejectfromarray": [
- "string"
], - "dhcpvlanenable": true,
- "dhcp6usev4iface": true,
- "dhcp6prefixonly": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6debug": true,
- "dhcp6withoutra": true,
- "dhcp6norelease": true,
- "dhcpcvpt": "string",
- "dhcp6cvpt": "string",
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "dhcp6_ia_pd_len": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string",
- "track6_prefix_id": "string",
- "adv_dhcp_config_advanced": true,
- "adv_dhcp_config_file_override": true,
- "adv_dhcp_pt_timeout": "string",
- "adv_dhcp_pt_retry": "string",
- "adv_dhcp_pt_select_timeout": "string",
- "adv_dhcp_pt_reboot": "string",
- "adv_dhcp_pt_backoff_cutoff": "string",
- "adv_dhcp_pt_initial_interval": "string",
- "adv_dhcp_pt_values": "string",
- "adv_dhcp_config_file_override_path": "string",
- "adv_dhcp_send_options": "string",
- "adv_dhcp_request_options": "string",
- "adv_dhcp_required_options": "string",
- "adv_dhcp_option_modifiers": "string",
- "adv_dhcp6_config_advanced": true,
- "adv_dhcp6_config_file_override": true,
- "adv_dhcp6_prefix_selected_interface": "string",
- "adv_dhcp6_config_file_override_path": "string",
- "adv_dhcp6_interface_statement_information_only_enable": true,
- "adv_dhcp6_interface_statement_send_options": "string",
- "adv_dhcp6_interface_statement_request_options": "string",
- "adv_dhcp6_interface_statement_script": "string",
- "adv_dhcp6_id_assoc_statement_address_enable": true,
- "adv_dhcp6_id_assoc_statement_address_id": "string",
- "adv_dhcp6_id_assoc_statement_address": "string",
- "adv_dhcp6_id_assoc_statement_address_pltime": "string",
- "adv_dhcp6_id_assoc_statement_address_vltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_enable": true,
- "adv_dhcp6_id_assoc_statement_prefix_id": "string",
- "adv_dhcp6_id_assoc_statement_prefix": "string",
- "adv_dhcp6_id_assoc_statement_prefix_pltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_vltime": "string",
- "adv_dhcp6_prefix_interface_statement_sla_id": "string",
- "adv_dhcp6_prefix_interface_statement_sla_len": "string",
- "adv_dhcp6_authentication_statement_authname": "string",
- "adv_dhcp6_authentication_statement_protocol": "string",
- "adv_dhcp6_authentication_statement_algorithm": "string",
- "adv_dhcp6_authentication_statement_rdm": "string",
- "adv_dhcp6_key_info_statement_keyname": "string",
- "adv_dhcp6_key_info_statement_realm": "string",
- "adv_dhcp6_key_info_statement_keyid": "string",
- "adv_dhcp6_key_info_statement_secret": "string",
- "adv_dhcp6_key_info_statement_expire": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}Update an interface's gateway(s). A gateway value which is not provided will not be modified. A gateway with an empty string is set to None. Otherwise, the gateway should already exist and the interface is updated with that value.
| name required | string |
| gateway | string name of IPv4 gateway |
| gatewayv6 | string name of IPv6 gateway |
{- "gateway": "string",
- "gatewayv6": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| authserver | string |
| username | string <byte> |
| password | string <byte> |
| debug | boolean |
{- "authserver": "string",
- "username": "string",
- "password": "string",
- "debug": true
}{- "authtype": "string",
- "groups": [
- "string"
], - "authenticated": true
}| area | string |
| nopkg | boolean |
| norrd | boolean |
| data | boolean |
| ssh | boolean |
| enc | boolean file is encrypted |
| pwd | string password to decrypt file |
| filename | string |
| contents | string |
| reboot | boolean reboot system on applying |
{- "area": "string",
- "nopkg": true,
- "norrd": true,
- "data": true,
- "ssh": true,
- "enc": true,
- "pwd": "string",
- "filename": "string",
- "contents": "string",
- "reboot": true
}{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}The package manager could fail during the upgrade or restore process, leaving the system with a package-lock dirty state, and prevents other package functions from being usable. Use this function to clear out the lock so that it can be retried.
{- "result": "string"
}{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}| cmd | string <byte> |
| timeout | integer number of seconds to wait for command before timing out, default 90, max 300 |
{- "cmd": "string",
- "timeout": 0
}{- "response": "string"
}| filename | string |
| contents | string <byte> |
{- "filename": "string",
- "contents": "string"
}{- "result": "string",
- "location": "string"
}| viewtype | string interpret captured traffic as specified type: default, aodv, carp, cnfp, lmp, pgm, pgm_zmtp1, resp, radius, rpc, rtp, rtcp snmp, tftp, vat, wb, vxlan, zmtp1 |
| detail | string level of detail - normal, medium, high, full |
{- "filename": "string",
- "capture": "string",
- "starttime": "string",
- "endtime": "string",
- "running": true,
- "command": "string",
- "interfaces": [
- {
- "if": "string",
- "name": "string"
}
]
}| action | string start, stop |
| interface | string assigned network interface name |
| promiscuous | boolean |
| count | integer how many packets to capture |
| snaplen | integer packet length |
| detail | string level of detail - normal, medium, high, full |
| viewtype | string interpret captured traffic as specified type: default, aodv, carp, cnfp, lmp, pgm, pgm_zmtp1, resp, radius, rpc, rtp, rtcp snmp, tftp, vat, wb, vxlan, zmtp1 |
| dnsquery | boolean reverse DNS lookup |
object (PacketCaptureFilter) Additional packet capture filter. These are common options for both tagged and untagged filters, with the exception of the vlan_* values which are only used by the tagged_filter. | |
object (PacketCaptureFilter) Additional packet capture filter. These are common options for both tagged and untagged filters, with the exception of the vlan_* values which are only used by the tagged_filter. |
{- "action": "string",
- "interface": "string",
- "promiscuous": true,
- "count": 0,
- "snaplen": 0,
- "detail": "string",
- "viewtype": "string",
- "dnsquery": true,
- "untagged_filter": {
- "exclude": true,
- "vlan_tag_op": "string",
- "vlan_tag": "string",
- "vlan_level": 0,
- "host_addr_op": "string",
- "host_addr": "string",
- "host_mac_op": "string",
- "host_mac": "string",
- "protocol_op": "string",
- "protocol": "string",
- "port_op": "string",
- "port": "string",
- "ether_op": "string",
- "ether": "string"
}, - "tagged_filter": {
- "exclude": true,
- "vlan_tag_op": "string",
- "vlan_tag": "string",
- "vlan_level": 0,
- "host_addr_op": "string",
- "host_addr": "string",
- "host_mac_op": "string",
- "host_mac": "string",
- "protocol_op": "string",
- "protocol": "string",
- "port_op": "string",
- "port": "string",
- "ether_op": "string",
- "ether": "string"
}
}{- "filename": "string",
- "capture": "string",
- "starttime": "string",
- "endtime": "string",
- "running": true,
- "command": "string",
- "interfaces": [
- {
- "if": "string",
- "name": "string"
}
]
}| host | string host name or address to ping |
| count | integer number of packets to send |
| wait_sec | integer number of seconds between ping packets |
| ipv6 | boolean if hostname is provided, use IPv6 instead of IPv4 |
| source_addr | string local IP address or name of interface to use, default "" (any) |
{- "host": "string",
- "count": 0,
- "wait_sec": 0,
- "ipv6": true,
- "source_addr": "string"
}{- "results": "string"
}{- "ipv4": [
- {
- "dest": "string",
- "gw": "string",
- "flags": "string",
- "uses": "string",
- "mtu": "string",
- "interface": "string",
- "exp": "string"
}
], - "ipv6": [
- {
- "dest": "string",
- "gw": "string",
- "flags": "string",
- "uses": "string",
- "mtu": "string",
- "interface": "string",
- "exp": "string"
}
]
}{- "sockets": {
- "ipv4": [
- {
- "user": "string",
- "command": "string",
- "fd": "string",
- "pid": "string",
- "proto": "string",
- "local": "string",
- "foreign": "string"
}
], - "ipv6": [
- {
- "user": "string",
- "command": "string",
- "fd": "string",
- "pid": "string",
- "proto": "string",
- "local": "string",
- "foreign": "string"
}
]
}
}| interface | string comma separated list of interfaces to retrieve states for |
| filter_str | string expression to use as a filter |
| rule_ids | string comma separated list of rule IDs |
{- "states": [
- {
- "interface": "string",
- "proto": "string",
- "src": "string",
- "dst": "string",
- "display": "string",
- "state": "string",
- "packet": "string",
- "bytes": "string"
}
], - "interfaces": [
- {
- "text": "string",
- "value": "string"
}
], - "msg": "string"
}| srcip | string delete matching source IP |
| dstip | string delete matching destination IP |
| filter_str | string delete states matching the filter, only used if srcip and dstip both not provided |
{- "result": "string"
}Retrieve the list of user-defined alias or system table.
Aliases become Tables when loaded into the active firewall ruleset. The contents displayed on this page reflect the current addresses inside tables used by the firewall.
{- "tables": [
- {
- "table_name": "string",
- "avail_action": "string",
- "action_descr": "string"
}
]
}| table_name required | string |
{- "table_name": "string",
- "last_update": "string",
- "avail_action": "string",
- "action_descr": "string",
- "action_prompt": "string",
- "entries": [
- "string"
], - "entries_removable": true
}| table_name required | string |
| action | string value from available action |
{- "action": "string"
}{- "table_name": "string",
- "last_update": "string",
- "avail_action": "string",
- "action_descr": "string",
- "action_prompt": "string",
- "entries": [
- "string"
], - "entries_removable": true
}| table_name required | string |
| entry required | string |
{- "table_name": "string",
- "last_update": "string",
- "avail_action": "string",
- "action_descr": "string",
- "action_prompt": "string",
- "entries": [
- "string"
], - "entries_removable": true
}| host | string |
| src_port | string |
| src_ip | string |
| port | integer |
| show_text | boolean |
| ip_proto | string |
{- "host": "string",
- "src_port": "string",
- "src_ip": "string",
- "port": 0,
- "show_text": true,
- "ip_proto": "string"
}{- "response": "string"
}| host | string destination host or IP |
| hops | integer maximum hops to trace |
| icmp | boolean use ICMP instead of UDP |
| proto | string IP protocol (ipv4 or ipv6) |
| rev | boolean reverse address lookup |
| src | string source IP, network interface or "any" |
{- "host": "string",
- "hops": 0,
- "icmp": true,
- "proto": "string",
- "rev": true,
- "src": "string"
}{- "results": "string"
}{- "interfacelist": [
- {
- "text": "string",
- "value": "string"
}
], - "rules": [
- {
- "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "not": true,
- "type": "string"
}, - "id": "string",
- "interface": "string",
- "source": {
- "address": "string",
- "not": true,
- "type": "string"
}
}
]
}| descr | string |
| disabled | boolean |
object (NATNptAddr) | |
| id | string |
| interface | string |
object (NATNptAddr) |
{- "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "not": true,
- "type": "string"
}, - "id": "string",
- "interface": "string",
- "source": {
- "address": "string",
- "not": true,
- "type": "string"
}
}{- "interfacelist": [
- {
- "text": "string",
- "value": "string"
}
], - "rules": [
- {
- "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "not": true,
- "type": "string"
}, - "id": "string",
- "interface": "string",
- "source": {
- "address": "string",
- "not": true,
- "type": "string"
}
}
]
}{- "rule": [
- "string"
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "destlist": [
- {
- "text": "string",
- "value": "string"
}
], - "interfacelist": [
- {
- "text": "string",
- "value": "string"
}
], - "aliases": [
- {
- "name": "string",
- "address": "string",
- "targets": [
- {
- "name": "string",
- "descr": "string",
- "updatefreq": "string"
}
], - "descr": "string",
- "type": "host",
- "detail": "string",
- "updatefreq": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "sysaliases": [
- {
- "name": "string",
- "type": "string",
- "descr": "string",
- "address": "string",
- "url": "string",
- "table": "string",
- "if_ident": "string",
- "if_assigned_name": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "rules": [
- {
- "id": "string",
- "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "external": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "interface": "string",
- "ipprotocol": "string",
- "nobinat": true,
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}
}
], - "extlist": [
- {
- "text": "string",
- "value": "string"
}
], - "srclist": [
- {
- "text": "string",
- "value": "string"
}
]
}| id | string |
| descr | string |
| disabled | boolean |
object (NATAddrPort) | |
object (NATAddrPort) | |
| interface | string |
| ipprotocol | string |
| nobinat | boolean |
object (NATAddrPort) |
{- "id": "string",
- "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "external": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "interface": "string",
- "ipprotocol": "string",
- "nobinat": true,
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}
}{- "destlist": [
- {
- "text": "string",
- "value": "string"
}
], - "interfacelist": [
- {
- "text": "string",
- "value": "string"
}
], - "aliases": [
- {
- "name": "string",
- "address": "string",
- "targets": [
- {
- "name": "string",
- "descr": "string",
- "updatefreq": "string"
}
], - "descr": "string",
- "type": "host",
- "detail": "string",
- "updatefreq": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "sysaliases": [
- {
- "name": "string",
- "type": "string",
- "descr": "string",
- "address": "string",
- "url": "string",
- "table": "string",
- "if_ident": "string",
- "if_assigned_name": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "rules": [
- {
- "id": "string",
- "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "external": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "interface": "string",
- "ipprotocol": "string",
- "nobinat": true,
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}
}
], - "extlist": [
- {
- "text": "string",
- "value": "string"
}
], - "srclist": [
- {
- "text": "string",
- "value": "string"
}
]
}{- "rule": [
- "string"
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| id required | string |
| rules | Array of strings |
| value | boolean true to disable |
{- "rules": [
- "string"
], - "value": true
}{- "status": {
- "disabled": true,
- "id": "string"
}
}{- "destlist": [
- {
- "text": "string",
- "value": "string"
}
], - "interfacelist": [
- {
- "text": "string",
- "value": "string"
}
], - "locallist": [
- {
- "text": "string",
- "value": "string"
}
], - "mode": "string",
- "aliases": [
- {
- "name": "string",
- "address": "string",
- "targets": [
- {
- "name": "string",
- "descr": "string",
- "updatefreq": "string"
}
], - "descr": "string",
- "type": "host",
- "detail": "string",
- "updatefreq": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "sysaliases": [
- {
- "name": "string",
- "type": "string",
- "descr": "string",
- "address": "string",
- "url": "string",
- "table": "string",
- "if_ident": "string",
- "if_assigned_name": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "rules": [
- {
- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "id": "string",
- "interface": "string",
- "ipprotocol": "string",
- "nonat": true,
- "nosync": true,
- "eimnat": true,
- "protocol": "string",
- "poolopts": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "source-hash-key": "string",
- "staticnatport": true,
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}
}
], - "automatic_rules": [
- {
- "id": "string",
- "interface": "string",
- "dstport": "string",
- "target": "string",
- "destination": {
- "network": "string",
- "any": true
}, - "dstaddr": "string",
- "source": {
- "network": "string",
- "any": true
}, - "dstany": true,
- "srcany": true,
- "srcaddr": "string",
- "staticnatport": true,
- "descr": "string"
}
], - "srclist": [
- {
- "text": "string",
- "value": "string"
}
]
}object (FWUserTimestamp) | |
| descr | string |
| disabled | boolean |
object (NATAddrPort) | |
| id | string |
| interface | string |
| ipprotocol | string |
| nonat | boolean |
| nosync | boolean |
| eimnat | boolean |
| protocol | string |
| poolopts | string |
object (NATAddrPort) | |
| source-hash-key | string |
| staticnatport | boolean |
object (NATAddrPort) | |
object (FWUserTimestamp) |
{- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "id": "string",
- "interface": "string",
- "ipprotocol": "string",
- "nonat": true,
- "nosync": true,
- "eimnat": true,
- "protocol": "string",
- "poolopts": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "source-hash-key": "string",
- "staticnatport": true,
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}
}{- "destlist": [
- {
- "text": "string",
- "value": "string"
}
], - "interfacelist": [
- {
- "text": "string",
- "value": "string"
}
], - "locallist": [
- {
- "text": "string",
- "value": "string"
}
], - "mode": "string",
- "aliases": [
- {
- "name": "string",
- "address": "string",
- "targets": [
- {
- "name": "string",
- "descr": "string",
- "updatefreq": "string"
}
], - "descr": "string",
- "type": "host",
- "detail": "string",
- "updatefreq": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "sysaliases": [
- {
- "name": "string",
- "type": "string",
- "descr": "string",
- "address": "string",
- "url": "string",
- "table": "string",
- "if_ident": "string",
- "if_assigned_name": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "rules": [
- {
- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "id": "string",
- "interface": "string",
- "ipprotocol": "string",
- "nonat": true,
- "nosync": true,
- "eimnat": true,
- "protocol": "string",
- "poolopts": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "source-hash-key": "string",
- "staticnatport": true,
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}
}
], - "automatic_rules": [
- {
- "id": "string",
- "interface": "string",
- "dstport": "string",
- "target": "string",
- "destination": {
- "network": "string",
- "any": true
}, - "dstaddr": "string",
- "source": {
- "network": "string",
- "any": true
}, - "dstany": true,
- "srcany": true,
- "srcaddr": "string",
- "staticnatport": true,
- "descr": "string"
}
], - "srclist": [
- {
- "text": "string",
- "value": "string"
}
]
}| rule | Array of strings |
{- "rule": [
- "string"
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| id required | string |
object (FWUserTimestamp) | |
| descr | string |
| disabled | boolean |
object (NATAddrPort) | |
| id | string |
| interface | string |
| ipprotocol | string |
| nonat | boolean |
| nosync | boolean |
| eimnat | boolean |
| protocol | string |
| poolopts | string |
object (NATAddrPort) | |
| source-hash-key | string |
| staticnatport | boolean |
object (NATAddrPort) | |
object (FWUserTimestamp) |
{- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "id": "string",
- "interface": "string",
- "ipprotocol": "string",
- "nonat": true,
- "nosync": true,
- "eimnat": true,
- "protocol": "string",
- "poolopts": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "source-hash-key": "string",
- "staticnatport": true,
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}
}{- "rule": {
- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "id": "string",
- "interface": "string",
- "ipprotocol": "string",
- "nonat": true,
- "nosync": true,
- "eimnat": true,
- "protocol": "string",
- "poolopts": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "source-hash-key": "string",
- "staticnatport": true,
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}
}
}{- "destlist": [
- {
- "text": "string",
- "value": "string"
}
], - "interfacelist": [
- {
- "text": "string",
- "value": "string"
}
], - "locallist": [
- {
- "text": "string",
- "value": "string"
}
], - "aliases": [
- {
- "name": "string",
- "address": "string",
- "targets": [
- {
- "name": "string",
- "descr": "string",
- "updatefreq": "string"
}
], - "descr": "string",
- "type": "host",
- "detail": "string",
- "updatefreq": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "sysaliases": [
- {
- "name": "string",
- "type": "string",
- "descr": "string",
- "address": "string",
- "url": "string",
- "table": "string",
- "if_ident": "string",
- "if_assigned_name": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "rules": [
- {
- "rule": {
- "id": "string",
- "associated_rule_id": "string",
- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "filter_rule_association": "string",
- "interface": "string",
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "natreflection": "string",
- "nordr": true,
- "protocol": "string",
- "ipprotocol": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "nosync": true
}, - "separator": {
- "id": "string",
- "row": "string",
- "text": "string",
- "color": "string",
- "if": "string"
}
}
], - "srclist": [
- {
- "text": "string",
- "value": "string"
}
]
}| id | string |
| associated_rule_id | string |
object (FWUserTimestamp) | |
| descr | string |
| disabled | boolean |
object (NATAddrPort) | |
| filter_rule_association | string |
| interface | string |
object (NATAddrPort) | |
| natreflection | string |
| nordr | boolean |
| protocol | string |
| ipprotocol | string |
object (NATAddrPort) | |
object (FWUserTimestamp) | |
| nosync | boolean |
{- "id": "string",
- "associated_rule_id": "string",
- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "filter_rule_association": "string",
- "interface": "string",
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "natreflection": "string",
- "nordr": true,
- "protocol": "string",
- "ipprotocol": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "nosync": true
}{- "destlist": [
- {
- "text": "string",
- "value": "string"
}
], - "interfacelist": [
- {
- "text": "string",
- "value": "string"
}
], - "locallist": [
- {
- "text": "string",
- "value": "string"
}
], - "aliases": [
- {
- "name": "string",
- "address": "string",
- "targets": [
- {
- "name": "string",
- "descr": "string",
- "updatefreq": "string"
}
], - "descr": "string",
- "type": "host",
- "detail": "string",
- "updatefreq": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "sysaliases": [
- {
- "name": "string",
- "type": "string",
- "descr": "string",
- "address": "string",
- "url": "string",
- "table": "string",
- "if_ident": "string",
- "if_assigned_name": "string",
- "truncated": true,
- "display_values": [
- "string"
]
}
], - "rules": [
- {
- "rule": {
- "id": "string",
- "associated_rule_id": "string",
- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "filter_rule_association": "string",
- "interface": "string",
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "natreflection": "string",
- "nordr": true,
- "protocol": "string",
- "ipprotocol": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "nosync": true
}, - "separator": {
- "id": "string",
- "row": "string",
- "text": "string",
- "color": "string",
- "if": "string"
}
}
], - "srclist": [
- {
- "text": "string",
- "value": "string"
}
]
}Array of objects (FWRuleItemOrder) |
{- "entries": [
- {
- "id": "string",
- "rule": true
}
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| after | boolean |
| color | string |
| rule | string |
| text | string |
{- "after": true,
- "color": "string",
- "rule": "string",
- "text": "string"
}{- "id": "string",
- "row": "string",
- "text": "string",
- "color": "string",
- "if": "string"
}| id required | string |
| id | string |
| associated_rule_id | string |
object (FWUserTimestamp) | |
| descr | string |
| disabled | boolean |
object (NATAddrPort) | |
| filter_rule_association | string |
| interface | string |
object (NATAddrPort) | |
| natreflection | string |
| nordr | boolean |
| protocol | string |
| ipprotocol | string |
object (NATAddrPort) | |
object (FWUserTimestamp) | |
| nosync | boolean |
{- "id": "string",
- "associated_rule_id": "string",
- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "filter_rule_association": "string",
- "interface": "string",
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "natreflection": "string",
- "nordr": true,
- "protocol": "string",
- "ipprotocol": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "nosync": true
}{- "rule": {
- "id": "string",
- "associated_rule_id": "string",
- "created": {
- "time": "string",
- "username": "string"
}, - "descr": "string",
- "disabled": true,
- "destination": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "filter_rule_association": "string",
- "interface": "string",
- "target": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "natreflection": "string",
- "nordr": true,
- "protocol": "string",
- "ipprotocol": "string",
- "source": {
- "address": "string",
- "type": "string",
- "port": "string",
- "not": true
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "nosync": true
}
}{- "options": {
- "enable": true,
- "default": true
}, - "exporters": [
- {
- "id": "string",
- "descr": "string",
- "enable": true,
- "src": "string",
- "srcport": 0,
- "dst": "string",
- "dstport": 0,
- "proto": "string",
- "domain": 0
}
], - "src_ip_address": {
- "property1": "string",
- "property2": "string"
}
}| enable | boolean |
| default | boolean |
{- "enable": true,
- "default": true
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| id | string |
| descr | string |
| enable | boolean |
| src | string |
| srcport | integer |
| dst | string |
| dstport | integer |
| proto | string |
| domain | integer |
{- "id": "string",
- "descr": "string",
- "enable": true,
- "src": "string",
- "srcport": 0,
- "dst": "string",
- "dstport": 0,
- "proto": "string",
- "domain": 0
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| id required | string |
| id | string |
| descr | string |
| enable | boolean |
| src | string |
| srcport | integer |
| dst | string |
| dstport | integer |
| proto | string |
| domain | integer |
{- "id": "string",
- "descr": "string",
- "enable": true,
- "src": "string",
- "srcport": 0,
- "dst": "string",
- "dstport": 0,
- "proto": "string",
- "domain": 0
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "interfaces": [
- "string"
], - "wan": "string",
- "lan": "string",
- "ethernet": true,
- "interface_mappings": {
- "property1": {
- "ident": "string",
- "device": "string",
- "assigned": "string",
- "type": "string"
}, - "property2": {
- "ident": "string",
- "device": "string",
- "assigned": "string",
- "type": "string"
}
}
}{- "aliases": {
- "property1": {
- "alias_type": "string",
- "label": "string",
- "descr": "string",
- "table": "string",
- "values": [
- "string"
], - "truncated": true
}, - "property2": {
- "alias_type": "string",
- "label": "string",
- "descr": "string",
- "table": "string",
- "values": [
- "string"
], - "truncated": true
}
}, - "nat_interfaces": [
- "string"
], - "entries": [
- {
- "rule": {
- "id": "string",
- "fwids": "string",
- "disabled": true,
- "readonly": true,
- "floating": true,
- "ethernet": true,
- "gateway": "string",
- "tracker": "string",
- "type": "string",
- "interface": "string",
- "ipprotocol": "string",
- "tag": "string",
- "tagged": "string",
- "max": "string",
- "max_src_nodes": "string",
- "max_src_conn": "string",
- "max_src_states": "string",
- "statetimeout": "string",
- "statepolicy": "string",
- "statetype": "string",
- "state": {
- "id": "string",
- "tracker": "string",
- "label": "string",
- "evaluations": 0,
- "packets": 0,
- "bytes": 0,
- "states": 0,
- "pid": 0,
- "state_creations": 0
}, - "os": "string",
- "protocol": "string",
- "direction": "string",
- "quick": true,
- "log": true,
- "dscp": "string",
- "allowopts": true,
- "disablereplyto": true,
- "nottagged": true,
- "pflow": "string",
- "max_src_conn_rate": "string",
- "max_src_conn_rates": "string",
- "tcpflags1": "string",
- "tcpflags2": "string",
- "tcpflags1_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags2_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags_any": true,
- "icmptype": "string",
- "nopfsync": true,
- "nosync": true,
- "vlanprio": "string",
- "vlanprioset": "string",
- "dnpipe": "string",
- "pdnpipe": "string",
- "ackqueue": "string",
- "defaultqueue": "string",
- "bridgeto": "string",
- "source": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "sched": "string",
- "destination": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "descr": "string",
- "srcmac": "string",
- "dstmac": "string",
- "nat": {
- "enabled": true,
- "source": "string",
- "type": "string"
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "created": {
- "time": "string",
- "username": "string"
}, - "associated_rule_id": "string"
}, - "separator": {
- "id": "string",
- "row": "string",
- "text": "string",
- "color": "string",
- "if": "string"
}
}
], - "schedules": [
- {
- "name": "string",
- "descr": "string"
}
], - "gateways4": [
- {
- "name": "string",
- "descr": "string"
}
], - "gateways6": [
- {
- "name": "string",
- "descr": "string"
}
], - "queues": [
- "string"
], - "limiters": [
- "string"
]
}| interface required | string |
| id | string unique identifier for the rule |
| fwids | string system's identifier(s) for rule in its firewall |
| disabled | boolean |
| readonly | boolean |
| floating | boolean floating rule |
| ethernet | boolean ethernet rule |
| gateway | string |
| tracker | string |
| type | string pass, block, reject (non-ethernet), match (floating) |
| interface | string |
| ipprotocol | string |
| tag | string |
| tagged | string |
| max | string |
| max_src_nodes | string |
| max_src_conn | string |
| max_src_states | string |
| statetimeout | string |
| statepolicy | string "" (global default), if-bound, floating |
| statetype | string |
object (FWRuleState) | |
| os | string |
| protocol | string |
| direction | string |
| quick | boolean |
| log | boolean |
| dscp | string |
| allowopts | boolean |
| disablereplyto | boolean |
| nottagged | boolean |
| pflow | string "" (global default), "enabled", "disabled" |
| max_src_conn_rate | string |
| max_src_conn_rates | string |
| tcpflags1 | string |
| tcpflags2 | string |
object (TCPFlags) | |
object (TCPFlags) | |
| tcpflags_any | boolean |
| icmptype | string |
| nopfsync | boolean |
| nosync | boolean |
| vlanprio | string |
| vlanprioset | string |
| dnpipe | string inbound pipe limiter |
| pdnpipe | string outbound pipe limiter |
| ackqueue | string acknowledgement shaper queue |
| defaultqueue | string default shaper queue |
| bridgeto | string ethernet rule, bridge to interface |
object (FWAddrPort) | |
| sched | string |
object (FWAddrPort) | |
| descr | string |
| srcmac | string source MAC address for ethernet rule |
| dstmac | string destination MAC address for ethernet rule |
object (FWFilterRuleNAT) | |
object (FWUserTimestamp) | |
object (FWUserTimestamp) | |
| associated_rule_id | string |
{- "id": "string",
- "fwids": "string",
- "disabled": true,
- "readonly": true,
- "floating": true,
- "ethernet": true,
- "gateway": "string",
- "tracker": "string",
- "type": "string",
- "interface": "string",
- "ipprotocol": "string",
- "tag": "string",
- "tagged": "string",
- "max": "string",
- "max_src_nodes": "string",
- "max_src_conn": "string",
- "max_src_states": "string",
- "statetimeout": "string",
- "statepolicy": "string",
- "statetype": "string",
- "state": {
- "id": "string",
- "tracker": "string",
- "label": "string",
- "evaluations": 0,
- "packets": 0,
- "bytes": 0,
- "states": 0,
- "pid": 0,
- "state_creations": 0
}, - "os": "string",
- "protocol": "string",
- "direction": "string",
- "quick": true,
- "log": true,
- "dscp": "string",
- "allowopts": true,
- "disablereplyto": true,
- "nottagged": true,
- "pflow": "string",
- "max_src_conn_rate": "string",
- "max_src_conn_rates": "string",
- "tcpflags1": "string",
- "tcpflags2": "string",
- "tcpflags1_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags2_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags_any": true,
- "icmptype": "string",
- "nopfsync": true,
- "nosync": true,
- "vlanprio": "string",
- "vlanprioset": "string",
- "dnpipe": "string",
- "pdnpipe": "string",
- "ackqueue": "string",
- "defaultqueue": "string",
- "bridgeto": "string",
- "source": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "sched": "string",
- "destination": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "descr": "string",
- "srcmac": "string",
- "dstmac": "string",
- "nat": {
- "enabled": true,
- "source": "string",
- "type": "string"
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "created": {
- "time": "string",
- "username": "string"
}, - "associated_rule_id": "string"
}{- "id": "string",
- "fwids": "string",
- "disabled": true,
- "readonly": true,
- "floating": true,
- "ethernet": true,
- "gateway": "string",
- "tracker": "string",
- "type": "string",
- "interface": "string",
- "ipprotocol": "string",
- "tag": "string",
- "tagged": "string",
- "max": "string",
- "max_src_nodes": "string",
- "max_src_conn": "string",
- "max_src_states": "string",
- "statetimeout": "string",
- "statepolicy": "string",
- "statetype": "string",
- "state": {
- "id": "string",
- "tracker": "string",
- "label": "string",
- "evaluations": 0,
- "packets": 0,
- "bytes": 0,
- "states": 0,
- "pid": 0,
- "state_creations": 0
}, - "os": "string",
- "protocol": "string",
- "direction": "string",
- "quick": true,
- "log": true,
- "dscp": "string",
- "allowopts": true,
- "disablereplyto": true,
- "nottagged": true,
- "pflow": "string",
- "max_src_conn_rate": "string",
- "max_src_conn_rates": "string",
- "tcpflags1": "string",
- "tcpflags2": "string",
- "tcpflags1_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags2_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags_any": true,
- "icmptype": "string",
- "nopfsync": true,
- "nosync": true,
- "vlanprio": "string",
- "vlanprioset": "string",
- "dnpipe": "string",
- "pdnpipe": "string",
- "ackqueue": "string",
- "defaultqueue": "string",
- "bridgeto": "string",
- "source": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "sched": "string",
- "destination": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "descr": "string",
- "srcmac": "string",
- "dstmac": "string",
- "nat": {
- "enabled": true,
- "source": "string",
- "type": "string"
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "created": {
- "time": "string",
- "username": "string"
}, - "associated_rule_id": "string"
}| interface required | string |
| iface | string |
| rules | Array of strings |
{- "iface": "string",
- "rules": [
- "string"
]
}{- "result": "string"
}| interface required | string |
Array of objects (FWRuleItemOrder) |
{- "entries": [
- {
- "id": "string",
- "rule": true
}
]
}{- "result": "string"
}| interface required | string |
| after | boolean |
| color | string |
| rule | string |
| text | string |
{- "after": true,
- "color": "string",
- "rule": "string",
- "text": "string"
}{- "id": "string",
- "row": "string",
- "text": "string",
- "color": "string",
- "if": "string"
}| interface required | string |
| rules | Array of strings |
| value | boolean true to disable |
{- "rules": [
- "string"
], - "value": true
}{- "result": "string"
}| interface required | string |
| id required | string |
| id | string unique identifier for the rule |
| fwids | string system's identifier(s) for rule in its firewall |
| disabled | boolean |
| readonly | boolean |
| floating | boolean floating rule |
| ethernet | boolean ethernet rule |
| gateway | string |
| tracker | string |
| type | string pass, block, reject (non-ethernet), match (floating) |
| interface | string |
| ipprotocol | string |
| tag | string |
| tagged | string |
| max | string |
| max_src_nodes | string |
| max_src_conn | string |
| max_src_states | string |
| statetimeout | string |
| statepolicy | string "" (global default), if-bound, floating |
| statetype | string |
object (FWRuleState) | |
| os | string |
| protocol | string |
| direction | string |
| quick | boolean |
| log | boolean |
| dscp | string |
| allowopts | boolean |
| disablereplyto | boolean |
| nottagged | boolean |
| pflow | string "" (global default), "enabled", "disabled" |
| max_src_conn_rate | string |
| max_src_conn_rates | string |
| tcpflags1 | string |
| tcpflags2 | string |
object (TCPFlags) | |
object (TCPFlags) | |
| tcpflags_any | boolean |
| icmptype | string |
| nopfsync | boolean |
| nosync | boolean |
| vlanprio | string |
| vlanprioset | string |
| dnpipe | string inbound pipe limiter |
| pdnpipe | string outbound pipe limiter |
| ackqueue | string acknowledgement shaper queue |
| defaultqueue | string default shaper queue |
| bridgeto | string ethernet rule, bridge to interface |
object (FWAddrPort) | |
| sched | string |
object (FWAddrPort) | |
| descr | string |
| srcmac | string source MAC address for ethernet rule |
| dstmac | string destination MAC address for ethernet rule |
object (FWFilterRuleNAT) | |
object (FWUserTimestamp) | |
object (FWUserTimestamp) | |
| associated_rule_id | string |
{- "id": "string",
- "fwids": "string",
- "disabled": true,
- "readonly": true,
- "floating": true,
- "ethernet": true,
- "gateway": "string",
- "tracker": "string",
- "type": "string",
- "interface": "string",
- "ipprotocol": "string",
- "tag": "string",
- "tagged": "string",
- "max": "string",
- "max_src_nodes": "string",
- "max_src_conn": "string",
- "max_src_states": "string",
- "statetimeout": "string",
- "statepolicy": "string",
- "statetype": "string",
- "state": {
- "id": "string",
- "tracker": "string",
- "label": "string",
- "evaluations": 0,
- "packets": 0,
- "bytes": 0,
- "states": 0,
- "pid": 0,
- "state_creations": 0
}, - "os": "string",
- "protocol": "string",
- "direction": "string",
- "quick": true,
- "log": true,
- "dscp": "string",
- "allowopts": true,
- "disablereplyto": true,
- "nottagged": true,
- "pflow": "string",
- "max_src_conn_rate": "string",
- "max_src_conn_rates": "string",
- "tcpflags1": "string",
- "tcpflags2": "string",
- "tcpflags1_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags2_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags_any": true,
- "icmptype": "string",
- "nopfsync": true,
- "nosync": true,
- "vlanprio": "string",
- "vlanprioset": "string",
- "dnpipe": "string",
- "pdnpipe": "string",
- "ackqueue": "string",
- "defaultqueue": "string",
- "bridgeto": "string",
- "source": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "sched": "string",
- "destination": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "descr": "string",
- "srcmac": "string",
- "dstmac": "string",
- "nat": {
- "enabled": true,
- "source": "string",
- "type": "string"
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "created": {
- "time": "string",
- "username": "string"
}, - "associated_rule_id": "string"
}{- "id": "string",
- "fwids": "string",
- "disabled": true,
- "readonly": true,
- "floating": true,
- "ethernet": true,
- "gateway": "string",
- "tracker": "string",
- "type": "string",
- "interface": "string",
- "ipprotocol": "string",
- "tag": "string",
- "tagged": "string",
- "max": "string",
- "max_src_nodes": "string",
- "max_src_conn": "string",
- "max_src_states": "string",
- "statetimeout": "string",
- "statepolicy": "string",
- "statetype": "string",
- "state": {
- "id": "string",
- "tracker": "string",
- "label": "string",
- "evaluations": 0,
- "packets": 0,
- "bytes": 0,
- "states": 0,
- "pid": 0,
- "state_creations": 0
}, - "os": "string",
- "protocol": "string",
- "direction": "string",
- "quick": true,
- "log": true,
- "dscp": "string",
- "allowopts": true,
- "disablereplyto": true,
- "nottagged": true,
- "pflow": "string",
- "max_src_conn_rate": "string",
- "max_src_conn_rates": "string",
- "tcpflags1": "string",
- "tcpflags2": "string",
- "tcpflags1_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags2_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags_any": true,
- "icmptype": "string",
- "nopfsync": true,
- "nosync": true,
- "vlanprio": "string",
- "vlanprioset": "string",
- "dnpipe": "string",
- "pdnpipe": "string",
- "ackqueue": "string",
- "defaultqueue": "string",
- "bridgeto": "string",
- "source": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "sched": "string",
- "destination": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "descr": "string",
- "srcmac": "string",
- "dstmac": "string",
- "nat": {
- "enabled": true,
- "source": "string",
- "type": "string"
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "created": {
- "time": "string",
- "username": "string"
}, - "associated_rule_id": "string"
}| interface required | string |
| id required | string |
| after | boolean |
object (FWFilterRule) |
{- "after": true,
- "rule": {
- "id": "string",
- "fwids": "string",
- "disabled": true,
- "readonly": true,
- "floating": true,
- "ethernet": true,
- "gateway": "string",
- "tracker": "string",
- "type": "string",
- "interface": "string",
- "ipprotocol": "string",
- "tag": "string",
- "tagged": "string",
- "max": "string",
- "max_src_nodes": "string",
- "max_src_conn": "string",
- "max_src_states": "string",
- "statetimeout": "string",
- "statepolicy": "string",
- "statetype": "string",
- "state": {
- "id": "string",
- "tracker": "string",
- "label": "string",
- "evaluations": 0,
- "packets": 0,
- "bytes": 0,
- "states": 0,
- "pid": 0,
- "state_creations": 0
}, - "os": "string",
- "protocol": "string",
- "direction": "string",
- "quick": true,
- "log": true,
- "dscp": "string",
- "allowopts": true,
- "disablereplyto": true,
- "nottagged": true,
- "pflow": "string",
- "max_src_conn_rate": "string",
- "max_src_conn_rates": "string",
- "tcpflags1": "string",
- "tcpflags2": "string",
- "tcpflags1_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags2_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags_any": true,
- "icmptype": "string",
- "nopfsync": true,
- "nosync": true,
- "vlanprio": "string",
- "vlanprioset": "string",
- "dnpipe": "string",
- "pdnpipe": "string",
- "ackqueue": "string",
- "defaultqueue": "string",
- "bridgeto": "string",
- "source": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "sched": "string",
- "destination": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "descr": "string",
- "srcmac": "string",
- "dstmac": "string",
- "nat": {
- "enabled": true,
- "source": "string",
- "type": "string"
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "created": {
- "time": "string",
- "username": "string"
}, - "associated_rule_id": "string"
}
}{- "id": "string",
- "fwids": "string",
- "disabled": true,
- "readonly": true,
- "floating": true,
- "ethernet": true,
- "gateway": "string",
- "tracker": "string",
- "type": "string",
- "interface": "string",
- "ipprotocol": "string",
- "tag": "string",
- "tagged": "string",
- "max": "string",
- "max_src_nodes": "string",
- "max_src_conn": "string",
- "max_src_states": "string",
- "statetimeout": "string",
- "statepolicy": "string",
- "statetype": "string",
- "state": {
- "id": "string",
- "tracker": "string",
- "label": "string",
- "evaluations": 0,
- "packets": 0,
- "bytes": 0,
- "states": 0,
- "pid": 0,
- "state_creations": 0
}, - "os": "string",
- "protocol": "string",
- "direction": "string",
- "quick": true,
- "log": true,
- "dscp": "string",
- "allowopts": true,
- "disablereplyto": true,
- "nottagged": true,
- "pflow": "string",
- "max_src_conn_rate": "string",
- "max_src_conn_rates": "string",
- "tcpflags1": "string",
- "tcpflags2": "string",
- "tcpflags1_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags2_struct": {
- "fin": true,
- "syn": true,
- "rst": true,
- "psh": true,
- "ack": true,
- "urg": true,
- "ece": true,
- "cwr": true
}, - "tcpflags_any": true,
- "icmptype": "string",
- "nopfsync": true,
- "nosync": true,
- "vlanprio": "string",
- "vlanprioset": "string",
- "dnpipe": "string",
- "pdnpipe": "string",
- "ackqueue": "string",
- "defaultqueue": "string",
- "bridgeto": "string",
- "source": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "sched": "string",
- "destination": {
- "label": "string",
- "address": "string",
- "network": "string",
- "port": "string",
- "not": true,
- "any": true,
- "alias_id": "string"
}, - "descr": "string",
- "srcmac": "string",
- "dstmac": "string",
- "nat": {
- "enabled": true,
- "source": "string",
- "type": "string"
}, - "updated": {
- "time": "string",
- "username": "string"
}, - "created": {
- "time": "string",
- "username": "string"
}, - "associated_rule_id": "string"
}| id | string |
| name | string |
| descr | string |
Array of objects (FWScheduleRange) | |
| schedlabel | string |
{- "id": "string",
- "name": "string",
- "descr": "string",
- "timerange": [
- {
- "position": "string",
- "month": "string",
- "day": "string",
- "hour": "string",
- "rangedescr": "string"
}
], - "schedlabel": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| id required | string |
| id | string |
| name | string |
| descr | string |
Array of objects (FWScheduleRange) | |
| schedlabel | string |
{- "id": "string",
- "name": "string",
- "descr": "string",
- "timerange": [
- {
- "position": "string",
- "month": "string",
- "day": "string",
- "hour": "string",
- "rangedescr": "string"
}
], - "schedlabel": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "altq": [
- {
- "enabled": true,
- "if_ident": "string",
- "name": "string",
- "scheduler": "HFSC",
- "bandwidth": "string",
- "bandwidthtype": "Kb",
- "qlimit": 0,
- "tbrsize": 0,
- "queue": [
- {
- "enabled": true,
- "name": "string",
- "if_ident": "string",
- "priority": 0,
- "qlimit": 0,
- "description": "string",
- "default": true,
- "red": true,
- "rio": true,
- "ecn": true,
- "codel": true,
- "bandwidth": "string",
- "bandwidthtype": "Kb",
- "upperlimit": true,
- "upperlimit_m1": "string",
- "upperlimit_d": "string",
- "upperlimit_m2": "string",
- "realtime": true,
- "realtime_m1": "string",
- "realtime_d": "string",
- "realtime_m2": "string",
- "linkshare": true,
- "linkshare_m1": "string",
- "linkshare_d": "string",
- "linkshare_m2": "string",
- "borrow": true,
- "buckets": 0,
- "hogs": "string",
- "queue": [
- { }
]
}
]
}
], - "altq_capable_ifs": [
- {
- "if_ident": "string",
- "if_device": "string",
- "if_assigned_name": "string"
}
], - "limiter": [
- {
- "enabled": true,
- "name": "string",
- "number": 0,
- "bandwidth": [
- {
- "bw": 0,
- "bwscale": "string",
- "bwsched": "string"
}
], - "mask": "none",
- "maskbits": 1,
- "maskbitsv6": 1,
- "description": "string",
- "aqm": "droptail",
- "param_codel_target": "string",
- "param_codel_interval": "string",
- "param_pie_target": "string",
- "param_pie_tupdate": "string",
- "param_pie_alpha": "string",
- "param_pie_beta": "string",
- "param_pie_max_burst": "string",
- "param_pie_max_ecnth": "string",
- "param_red_w_q": "string",
- "param_red_min_th": "string",
- "param_red_max_th": "string",
- "param_red_max_p": "string",
- "param_gred_w_q": "string",
- "param_gred_min_th": "string",
- "param_gred_max_th": "string",
- "param_gred_max_p": "string",
- "sched": "wf2q+",
- "param_fq_codel_target": "string",
- "param_fq_codel_interval": "string",
- "param_fq_codel_quantum": "string",
- "param_fq_codel_limit": "string",
- "param_fq_codel_flows": "string",
- "param_fq_pie_target": "string",
- "param_fq_pie_tupdate": "string",
- "param_fq_pie_alpha": "string",
- "param_fq_pie_beta": "string",
- "param_fq_pie_max_burst": "string",
- "param_fq_pie_max_ecnth": "string",
- "param_fq_pie_quantum": "string",
- "param_fq_pie_limit": "string",
- "param_fq_pie_flows": "string",
- "ecn": true,
- "pie_onoff": true,
- "pie_capdrop": true,
- "pie_qdelay": true,
- "pie_pderand": true,
- "qlimit": 0,
- "delay": 0,
- "plr": 0.1,
- "buckets": 0,
- "queue": [
- {
- "enabled": true,
- "name": "string",
- "number": 0,
- "mask": "none",
- "maskbits": 1,
- "maskbitsv6": 1,
- "description": "string",
- "aqm": "droptail",
- "param_codel_target": "string",
- "param_codel_interval": "string",
- "param_pie_target": "string",
- "param_pie_tupdate": "string",
- "param_pie_alpha": "string",
- "param_pie_beta": "string",
- "param_pie_max_burst": "string",
- "param_pie_max_ecnth": "string",
- "param_red_w_q": "string",
- "param_red_min_th": "string",
- "param_red_max_th": "string",
- "param_red_max_p": "string",
- "param_gred_w_q": "string",
- "param_gred_min_th": "string",
- "param_gred_max_th": "string",
- "param_gred_max_p": "string",
- "ecn": true,
- "pie_onoff": true,
- "pie_capdrop": true,
- "pie_qdelay": true,
- "pie_pderand": true,
- "qlimit": 0,
- "weight": 0,
- "plr": 0.1,
- "buckets": 0
}
]
}
]
}{- "altq": [
- {
- "enabled": true,
- "if_ident": "string",
- "name": "string",
- "scheduler": "HFSC",
- "bandwidth": "string",
- "bandwidthtype": "Kb",
- "qlimit": 0,
- "tbrsize": 0,
- "queue": [
- {
- "enabled": true,
- "name": "string",
- "if_ident": "string",
- "priority": 0,
- "qlimit": 0,
- "description": "string",
- "default": true,
- "red": true,
- "rio": true,
- "ecn": true,
- "codel": true,
- "bandwidth": "string",
- "bandwidthtype": "Kb",
- "upperlimit": true,
- "upperlimit_m1": "string",
- "upperlimit_d": "string",
- "upperlimit_m2": "string",
- "realtime": true,
- "realtime_m1": "string",
- "realtime_d": "string",
- "realtime_m2": "string",
- "linkshare": true,
- "linkshare_m1": "string",
- "linkshare_d": "string",
- "linkshare_m2": "string",
- "borrow": true,
- "buckets": 0,
- "hogs": "string",
- "queue": [
- { }
]
}
]
}
]
}| enabled | boolean |
| if_ident required | string identity of the interface for this traffic shaper (root queue) |
| name | string generated by system when create altq root queue |
| scheduler required | string Enum: "HFSC" "CBQ" "FAIRQ" "CODELQ" "PRIQ" scheduler type valid values = HFSC, CBQ, FAIRQ, CODELQ, PRIQ |
| bandwidth required | string the amount of bandwidth available on this interface in the outbound direction |
| bandwidthtype required | string Enum: "Kb" "Mb" "Gb" "b" "%" units for the bandwidth valid value = Kb, Mb, Gb, b, % |
| qlimit | integer the number of packets that can be held in a queue waiting to be transmitted by the shaper, default size is 50 |
| tbrsize | integer adjusts the size, in bytes, of the token bucket regulator |
Array of objects (ALTQChildQueue) |
{- "enabled": true,
- "if_ident": "string",
- "name": "string",
- "scheduler": "HFSC",
- "bandwidth": "string",
- "bandwidthtype": "Kb",
- "qlimit": 0,
- "tbrsize": 0,
- "queue": [
- {
- "enabled": true,
- "name": "string",
- "if_ident": "string",
- "priority": 0,
- "qlimit": 0,
- "description": "string",
- "default": true,
- "red": true,
- "rio": true,
- "ecn": true,
- "codel": true,
- "bandwidth": "string",
- "bandwidthtype": "Kb",
- "upperlimit": true,
- "upperlimit_m1": "string",
- "upperlimit_d": "string",
- "upperlimit_m2": "string",
- "realtime": true,
- "realtime_m1": "string",
- "realtime_d": "string",
- "realtime_m2": "string",
- "linkshare": true,
- "linkshare_m1": "string",
- "linkshare_d": "string",
- "linkshare_m2": "string",
- "borrow": true,
- "buckets": 0,
- "hogs": "string",
- "queue": [
- { }
]
}
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| enabled | boolean |
| if_ident required | string identity of the interface for this traffic shaper (root queue) |
| name | string generated by system when create altq root queue |
| scheduler required | string Enum: "HFSC" "CBQ" "FAIRQ" "CODELQ" "PRIQ" scheduler type valid values = HFSC, CBQ, FAIRQ, CODELQ, PRIQ |
| bandwidth required | string the amount of bandwidth available on this interface in the outbound direction |
| bandwidthtype required | string Enum: "Kb" "Mb" "Gb" "b" "%" units for the bandwidth valid value = Kb, Mb, Gb, b, % |
| qlimit | integer the number of packets that can be held in a queue waiting to be transmitted by the shaper, default size is 50 |
| tbrsize | integer adjusts the size, in bytes, of the token bucket regulator |
Array of objects (ALTQChildQueue) |
{- "enabled": true,
- "if_ident": "string",
- "name": "string",
- "scheduler": "HFSC",
- "bandwidth": "string",
- "bandwidthtype": "Kb",
- "qlimit": 0,
- "tbrsize": 0,
- "queue": [
- {
- "enabled": true,
- "name": "string",
- "if_ident": "string",
- "priority": 0,
- "qlimit": 0,
- "description": "string",
- "default": true,
- "red": true,
- "rio": true,
- "ecn": true,
- "codel": true,
- "bandwidth": "string",
- "bandwidthtype": "Kb",
- "upperlimit": true,
- "upperlimit_m1": "string",
- "upperlimit_d": "string",
- "upperlimit_m2": "string",
- "realtime": true,
- "realtime_m1": "string",
- "realtime_d": "string",
- "realtime_m2": "string",
- "linkshare": true,
- "linkshare_m1": "string",
- "linkshare_d": "string",
- "linkshare_m2": "string",
- "borrow": true,
- "buckets": 0,
- "hogs": "string",
- "queue": [
- { }
]
}
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| parentname required | string |
| enabled | boolean |
| name required | string name of the queue, do not use spaces and limit the size to 15 characters |
| if_ident | string generated by system when create altq child queue |
| priority | integer (for CBQ, FAIRQ, and PRIQ scheduler only) CBQ and FAIRQ 0-7 (default is 1), PRIQ 0-15 queues with a higher priority are preferred in the case of overload |
| qlimit | integer queue limit in packets |
| description | string |
| default | boolean set this queue as the default |
| red | boolean random early detection, a method to avoid congestion on a link |
| rio | boolean random early detection in and out, enables red with in/out |
| ecn | boolean explicit congestion notification, it allows sending of control messages that will throttle connections if both ends support ecn |
| codel | boolean a flag to mark this queue as being the active queue for the codel shaper discipline |
| bandwidth | string (for HFSC, CBQ, and FAIRQ scheduler only) the amount of bandwidth for this queue |
| bandwidthtype | string Enum: "Kb" "Mb" "Gb" "b" "%" (for HFSC, CBQ, and FAIRQ scheduler only) units for the bandwidth valid value = Kb, Mb, Gb, b, % |
| upperlimit | boolean (for HFSC scheduler only) max bandwidth for queue |
| upperlimit_m1 | string (for HFSC scheduler only) burstable bandwidth limit |
| upperlimit_d | string (for HFSC scheduler only) time limit for bandwidth burst, in milliseconds |
| upperlimit_m2 | string (for HFSC scheduler only) normal bandwidth limit |
| realtime | boolean (for HFSC scheduler only) min bandwidth for queue |
| realtime_m1 | string (for HFSC scheduler only) burstable bandwidth limit |
| realtime_d | string (for HFSC scheduler only) time limit for bandwidth burst, in milliseconds |
| realtime_m2 | string (for HFSC scheduler only) normal bandwidth limit |
| linkshare | boolean (for HFSC scheduler only) bandwidth share of a backlogged queue |
| linkshare_m1 | string (for HFSC scheduler only) burstable bandwidth limit |
| linkshare_d | string (for HFSC scheduler only) time limit for bandwidth burst, in milliseconds |
| linkshare_m2 | string (for HFSC scheduler only) normal bandwidth limit |
| borrow | boolean (for CBQ scheduler CBQ only) borrow from other queues when available |
| buckets | integer (for FAIRQ scheduler only) number of buckets available |
| hogs | string (for FAIRQ scheduler only) bandwidth limit for hosts to not saturate link |
| queue | Array of objects (ALTQChildQueue) |
{- "enabled": true,
- "name": "string",
- "if_ident": "string",
- "priority": 0,
- "qlimit": 0,
- "description": "string",
- "default": true,
- "red": true,
- "rio": true,
- "ecn": true,
- "codel": true,
- "bandwidth": "string",
- "bandwidthtype": "Kb",
- "upperlimit": true,
- "upperlimit_m1": "string",
- "upperlimit_d": "string",
- "upperlimit_m2": "string",
- "realtime": true,
- "realtime_m1": "string",
- "realtime_d": "string",
- "realtime_m2": "string",
- "linkshare": true,
- "linkshare_m1": "string",
- "linkshare_d": "string",
- "linkshare_m2": "string",
- "borrow": true,
- "buckets": 0,
- "hogs": "string",
- "queue": [
- { }
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| parentname required | string |
| qname required | string |
| enabled | boolean |
| name required | string name of the queue, do not use spaces and limit the size to 15 characters |
| if_ident | string generated by system when create altq child queue |
| priority | integer (for CBQ, FAIRQ, and PRIQ scheduler only) CBQ and FAIRQ 0-7 (default is 1), PRIQ 0-15 queues with a higher priority are preferred in the case of overload |
| qlimit | integer queue limit in packets |
| description | string |
| default | boolean set this queue as the default |
| red | boolean random early detection, a method to avoid congestion on a link |
| rio | boolean random early detection in and out, enables red with in/out |
| ecn | boolean explicit congestion notification, it allows sending of control messages that will throttle connections if both ends support ecn |
| codel | boolean a flag to mark this queue as being the active queue for the codel shaper discipline |
| bandwidth | string (for HFSC, CBQ, and FAIRQ scheduler only) the amount of bandwidth for this queue |
| bandwidthtype | string Enum: "Kb" "Mb" "Gb" "b" "%" (for HFSC, CBQ, and FAIRQ scheduler only) units for the bandwidth valid value = Kb, Mb, Gb, b, % |
| upperlimit | boolean (for HFSC scheduler only) max bandwidth for queue |
| upperlimit_m1 | string (for HFSC scheduler only) burstable bandwidth limit |
| upperlimit_d | string (for HFSC scheduler only) time limit for bandwidth burst, in milliseconds |
| upperlimit_m2 | string (for HFSC scheduler only) normal bandwidth limit |
| realtime | boolean (for HFSC scheduler only) min bandwidth for queue |
| realtime_m1 | string (for HFSC scheduler only) burstable bandwidth limit |
| realtime_d | string (for HFSC scheduler only) time limit for bandwidth burst, in milliseconds |
| realtime_m2 | string (for HFSC scheduler only) normal bandwidth limit |
| linkshare | boolean (for HFSC scheduler only) bandwidth share of a backlogged queue |
| linkshare_m1 | string (for HFSC scheduler only) burstable bandwidth limit |
| linkshare_d | string (for HFSC scheduler only) time limit for bandwidth burst, in milliseconds |
| linkshare_m2 | string (for HFSC scheduler only) normal bandwidth limit |
| borrow | boolean (for CBQ scheduler CBQ only) borrow from other queues when available |
| buckets | integer (for FAIRQ scheduler only) number of buckets available |
| hogs | string (for FAIRQ scheduler only) bandwidth limit for hosts to not saturate link |
| queue | Array of objects (ALTQChildQueue) |
{- "enabled": true,
- "name": "string",
- "if_ident": "string",
- "priority": 0,
- "qlimit": 0,
- "description": "string",
- "default": true,
- "red": true,
- "rio": true,
- "ecn": true,
- "codel": true,
- "bandwidth": "string",
- "bandwidthtype": "Kb",
- "upperlimit": true,
- "upperlimit_m1": "string",
- "upperlimit_d": "string",
- "upperlimit_m2": "string",
- "realtime": true,
- "realtime_m1": "string",
- "realtime_d": "string",
- "realtime_m2": "string",
- "linkshare": true,
- "linkshare_m1": "string",
- "linkshare_d": "string",
- "linkshare_m2": "string",
- "borrow": true,
- "buckets": 0,
- "hogs": "string",
- "queue": [
- { }
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "limiter": [
- {
- "enabled": true,
- "name": "string",
- "number": 0,
- "bandwidth": [
- {
- "bw": 0,
- "bwscale": "string",
- "bwsched": "string"
}
], - "mask": "none",
- "maskbits": 1,
- "maskbitsv6": 1,
- "description": "string",
- "aqm": "droptail",
- "param_codel_target": "string",
- "param_codel_interval": "string",
- "param_pie_target": "string",
- "param_pie_tupdate": "string",
- "param_pie_alpha": "string",
- "param_pie_beta": "string",
- "param_pie_max_burst": "string",
- "param_pie_max_ecnth": "string",
- "param_red_w_q": "string",
- "param_red_min_th": "string",
- "param_red_max_th": "string",
- "param_red_max_p": "string",
- "param_gred_w_q": "string",
- "param_gred_min_th": "string",
- "param_gred_max_th": "string",
- "param_gred_max_p": "string",
- "sched": "wf2q+",
- "param_fq_codel_target": "string",
- "param_fq_codel_interval": "string",
- "param_fq_codel_quantum": "string",
- "param_fq_codel_limit": "string",
- "param_fq_codel_flows": "string",
- "param_fq_pie_target": "string",
- "param_fq_pie_tupdate": "string",
- "param_fq_pie_alpha": "string",
- "param_fq_pie_beta": "string",
- "param_fq_pie_max_burst": "string",
- "param_fq_pie_max_ecnth": "string",
- "param_fq_pie_quantum": "string",
- "param_fq_pie_limit": "string",
- "param_fq_pie_flows": "string",
- "ecn": true,
- "pie_onoff": true,
- "pie_capdrop": true,
- "pie_qdelay": true,
- "pie_pderand": true,
- "qlimit": 0,
- "delay": 0,
- "plr": 0.1,
- "buckets": 0,
- "queue": [
- {
- "enabled": true,
- "name": "string",
- "number": 0,
- "mask": "none",
- "maskbits": 1,
- "maskbitsv6": 1,
- "description": "string",
- "aqm": "droptail",
- "param_codel_target": "string",
- "param_codel_interval": "string",
- "param_pie_target": "string",
- "param_pie_tupdate": "string",
- "param_pie_alpha": "string",
- "param_pie_beta": "string",
- "param_pie_max_burst": "string",
- "param_pie_max_ecnth": "string",
- "param_red_w_q": "string",
- "param_red_min_th": "string",
- "param_red_max_th": "string",
- "param_red_max_p": "string",
- "param_gred_w_q": "string",
- "param_gred_min_th": "string",
- "param_gred_max_th": "string",
- "param_gred_max_p": "string",
- "ecn": true,
- "pie_onoff": true,
- "pie_capdrop": true,
- "pie_qdelay": true,
- "pie_pderand": true,
- "qlimit": 0,
- "weight": 0,
- "plr": 0.1,
- "buckets": 0
}
]
}
]
}| enabled | boolean |
| name required | string name of the limiter, it will appear for selection on firewall rules |
| number | integer generated by system when create limiter |
Array of objects (LimiterBandwidth) | |
| mask | string Enum: "none" "srcaddress" "dstaddress" controls how the limiter will mask addresses in the limiter valid values = none, srcaddress, dstaddress |
| maskbits | integer [ 1 .. 32 ] address masking for ipv4 |
| maskbitsv6 | integer [ 1 .. 128 ] address masking for ipv6 |
| description | string |
| aqm | string Enum: "droptail" "codel" "pie" "red" "gred" active queue management (AQM) algorithm valid values = droptail, codel, pie, red, gred |
| param_codel_target | string (for aqm=codel only) codel target delay in ms (set to "" to use default value) |
| param_codel_interval | string (for aqm=codel only) codel interval in ms (set to "" to use default value) |
| param_pie_target | string (for aqm=pie only) target delay in ms (set to "" to use default value) |
| param_pie_tupdate | string (for aqm=pie only) interval in ms (set to "" to use default value) |
| param_pie_alpha | string (for aqm=pie only) alpha (set to "" to use default value) |
| param_pie_beta | string (for aqm=pie only) beta (set to "" to use default value) |
| param_pie_max_burst | string (for aqm=pie only) max burst (set to "" to use default value) |
| param_pie_max_ecnth | string (for aqm=pie only) max ecnth (set to "" to use default value) |
| param_red_w_q | string (for aqm=red only) w_q (set to "" to use default value) |
| param_red_min_th | string (for aqm=red only) min_th (set to "" to use default value) |
| param_red_max_th | string (for aqm=red only) max_th (set to "" to use default value) |
| param_red_max_p | string (for aqm=red only) max_p (set to "" to use default value) |
| param_gred_w_q | string (for aqm=gred only) w_q (set to "" to use default value) |
| param_gred_min_th | string (for aqm=gred only) min_th (set to "" to use default value) |
| param_gred_max_th | string (for aqm=gred only) max_th (set to "" to use default value) |
| param_gred_max_p | string (for aqm=gred only) max_p (set to "" to use default value) |
| sched | string Enum: "wf2q+" "fifo" "qfq" "rr" "prio" "fq_codel" "fq_pie" scheduler manages the sequence of network packets in the limiter's queue valid values = wf2q+, fifo, qfq, rr, prio, fq_codel, fq_pie |
| param_fq_codel_target | string (for sched=fq_codel only) target delay in ms (set to "" to use default value) |
| param_fq_codel_interval | string (for sched=fq_codel only) interval in ms (set to "" to use default value) |
| param_fq_codel_quantum | string (for sched=fq_codel only) quantum (set to "" to use default value) |
| param_fq_codel_limit | string (for sched=fq_codel only) limit (set to "" to use default value) |
| param_fq_codel_flows | string (for sched=fq_codel only) flows (set to "" to use default value) |
| param_fq_pie_target | string (for sched=fq_pie only) target delay in ms (set to "" to use default value) |
| param_fq_pie_tupdate | string (for sched=fq_pie only) interval in ms (set to "" to use default value) |
| param_fq_pie_alpha | string (for sched=fq_pie only) alpha (set to "" to use default value) |
| param_fq_pie_beta | string (for sched=fq_pie only) beta (set to "" to use default value) |
| param_fq_pie_max_burst | string (for sched=fq_pie only) max burst (set to "" to use default value) |
| param_fq_pie_max_ecnth | string (for sched=fq_pie only) max ecnth (set to "" to use default value) |
| param_fq_pie_quantum | string (for sched=fq_pie only) quantum (set to "" to use default value) |
| param_fq_pie_limit | string (for sched=fq_pie only) limit (set to "" to use default value) |
| param_fq_pie_flows | string (for sched=fq_pie only) flows (set to "" to use default value) |
| ecn | boolean (for sched=fq_codel or fq_pie only) explicit congestion notification |
| pie_onoff | boolean (for sched=fq_pie only) turning pie on and off depending on queue load |
| pie_capdrop | boolean (for sched=fq_pie only) cap drop adjustment |
| pie_qdelay | boolean (for sched=fq_pie only) set queue delay type to timestamps (true) or departure rate estimation (false) |
| pie_pderand | boolean (for sched=fq_pie only) drop probability de-randomisation |
| qlimit | integer specifies the length of the limiter's queue, which the scheduler and AQM are responsible for |
| delay | integer introduces an artificial delay (latency), specified in milliseconds |
| plr | number <float> packet loss rate can be configured to drop a certain fraction of packets that enter the limiter valid value between 0 and 1 a value of 0.001 means one packet in 1000 gets dropped |
| buckets | integer bucket Size, specified in slots, sets the size of the hash table used for queue storage |
Array of objects (LimiterQueue) |
{- "enabled": true,
- "name": "string",
- "number": 0,
- "bandwidth": [
- {
- "bw": 0,
- "bwscale": "string",
- "bwsched": "string"
}
], - "mask": "none",
- "maskbits": 1,
- "maskbitsv6": 1,
- "description": "string",
- "aqm": "droptail",
- "param_codel_target": "string",
- "param_codel_interval": "string",
- "param_pie_target": "string",
- "param_pie_tupdate": "string",
- "param_pie_alpha": "string",
- "param_pie_beta": "string",
- "param_pie_max_burst": "string",
- "param_pie_max_ecnth": "string",
- "param_red_w_q": "string",
- "param_red_min_th": "string",
- "param_red_max_th": "string",
- "param_red_max_p": "string",
- "param_gred_w_q": "string",
- "param_gred_min_th": "string",
- "param_gred_max_th": "string",
- "param_gred_max_p": "string",
- "sched": "wf2q+",
- "param_fq_codel_target": "string",
- "param_fq_codel_interval": "string",
- "param_fq_codel_quantum": "string",
- "param_fq_codel_limit": "string",
- "param_fq_codel_flows": "string",
- "param_fq_pie_target": "string",
- "param_fq_pie_tupdate": "string",
- "param_fq_pie_alpha": "string",
- "param_fq_pie_beta": "string",
- "param_fq_pie_max_burst": "string",
- "param_fq_pie_max_ecnth": "string",
- "param_fq_pie_quantum": "string",
- "param_fq_pie_limit": "string",
- "param_fq_pie_flows": "string",
- "ecn": true,
- "pie_onoff": true,
- "pie_capdrop": true,
- "pie_qdelay": true,
- "pie_pderand": true,
- "qlimit": 0,
- "delay": 0,
- "plr": 0.1,
- "buckets": 0,
- "queue": [
- {
- "enabled": true,
- "name": "string",
- "number": 0,
- "mask": "none",
- "maskbits": 1,
- "maskbitsv6": 1,
- "description": "string",
- "aqm": "droptail",
- "param_codel_target": "string",
- "param_codel_interval": "string",
- "param_pie_target": "string",
- "param_pie_tupdate": "string",
- "param_pie_alpha": "string",
- "param_pie_beta": "string",
- "param_pie_max_burst": "string",
- "param_pie_max_ecnth": "string",
- "param_red_w_q": "string",
- "param_red_min_th": "string",
- "param_red_max_th": "string",
- "param_red_max_p": "string",
- "param_gred_w_q": "string",
- "param_gred_min_th": "string",
- "param_gred_max_th": "string",
- "param_gred_max_p": "string",
- "ecn": true,
- "pie_onoff": true,
- "pie_capdrop": true,
- "pie_qdelay": true,
- "pie_pderand": true,
- "qlimit": 0,
- "weight": 0,
- "plr": 0.1,
- "buckets": 0
}
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| enabled | boolean |
| name required | string name of the limiter, it will appear for selection on firewall rules |
| number | integer generated by system when create limiter |
Array of objects (LimiterBandwidth) | |
| mask | string Enum: "none" "srcaddress" "dstaddress" controls how the limiter will mask addresses in the limiter valid values = none, srcaddress, dstaddress |
| maskbits | integer [ 1 .. 32 ] address masking for ipv4 |
| maskbitsv6 | integer [ 1 .. 128 ] address masking for ipv6 |
| description | string |
| aqm | string Enum: "droptail" "codel" "pie" "red" "gred" active queue management (AQM) algorithm valid values = droptail, codel, pie, red, gred |
| param_codel_target | string (for aqm=codel only) codel target delay in ms (set to "" to use default value) |
| param_codel_interval | string (for aqm=codel only) codel interval in ms (set to "" to use default value) |
| param_pie_target | string (for aqm=pie only) target delay in ms (set to "" to use default value) |
| param_pie_tupdate | string (for aqm=pie only) interval in ms (set to "" to use default value) |
| param_pie_alpha | string (for aqm=pie only) alpha (set to "" to use default value) |
| param_pie_beta | string (for aqm=pie only) beta (set to "" to use default value) |
| param_pie_max_burst | string (for aqm=pie only) max burst (set to "" to use default value) |
| param_pie_max_ecnth | string (for aqm=pie only) max ecnth (set to "" to use default value) |
| param_red_w_q | string (for aqm=red only) w_q (set to "" to use default value) |
| param_red_min_th | string (for aqm=red only) min_th (set to "" to use default value) |
| param_red_max_th | string (for aqm=red only) max_th (set to "" to use default value) |
| param_red_max_p | string (for aqm=red only) max_p (set to "" to use default value) |
| param_gred_w_q | string (for aqm=gred only) w_q (set to "" to use default value) |
| param_gred_min_th | string (for aqm=gred only) min_th (set to "" to use default value) |
| param_gred_max_th | string (for aqm=gred only) max_th (set to "" to use default value) |
| param_gred_max_p | string (for aqm=gred only) max_p (set to "" to use default value) |
| sched | string Enum: "wf2q+" "fifo" "qfq" "rr" "prio" "fq_codel" "fq_pie" scheduler manages the sequence of network packets in the limiter's queue valid values = wf2q+, fifo, qfq, rr, prio, fq_codel, fq_pie |
| param_fq_codel_target | string (for sched=fq_codel only) target delay in ms (set to "" to use default value) |
| param_fq_codel_interval | string (for sched=fq_codel only) interval in ms (set to "" to use default value) |
| param_fq_codel_quantum | string (for sched=fq_codel only) quantum (set to "" to use default value) |
| param_fq_codel_limit | string (for sched=fq_codel only) limit (set to "" to use default value) |
| param_fq_codel_flows | string (for sched=fq_codel only) flows (set to "" to use default value) |
| param_fq_pie_target | string (for sched=fq_pie only) target delay in ms (set to "" to use default value) |
| param_fq_pie_tupdate | string (for sched=fq_pie only) interval in ms (set to "" to use default value) |
| param_fq_pie_alpha | string (for sched=fq_pie only) alpha (set to "" to use default value) |
| param_fq_pie_beta | string (for sched=fq_pie only) beta (set to "" to use default value) |
| param_fq_pie_max_burst | string (for sched=fq_pie only) max burst (set to "" to use default value) |
| param_fq_pie_max_ecnth | string (for sched=fq_pie only) max ecnth (set to "" to use default value) |
| param_fq_pie_quantum | string (for sched=fq_pie only) quantum (set to "" to use default value) |
| param_fq_pie_limit | string (for sched=fq_pie only) limit (set to "" to use default value) |
| param_fq_pie_flows | string (for sched=fq_pie only) flows (set to "" to use default value) |
| ecn | boolean (for sched=fq_codel or fq_pie only) explicit congestion notification |
| pie_onoff | boolean (for sched=fq_pie only) turning pie on and off depending on queue load |
| pie_capdrop | boolean (for sched=fq_pie only) cap drop adjustment |
| pie_qdelay | boolean (for sched=fq_pie only) set queue delay type to timestamps (true) or departure rate estimation (false) |
| pie_pderand | boolean (for sched=fq_pie only) drop probability de-randomisation |
| qlimit | integer specifies the length of the limiter's queue, which the scheduler and AQM are responsible for |
| delay | integer introduces an artificial delay (latency), specified in milliseconds |
| plr | number <float> packet loss rate can be configured to drop a certain fraction of packets that enter the limiter valid value between 0 and 1 a value of 0.001 means one packet in 1000 gets dropped |
| buckets | integer bucket Size, specified in slots, sets the size of the hash table used for queue storage |
Array of objects (LimiterQueue) |
{- "enabled": true,
- "name": "string",
- "number": 0,
- "bandwidth": [
- {
- "bw": 0,
- "bwscale": "string",
- "bwsched": "string"
}
], - "mask": "none",
- "maskbits": 1,
- "maskbitsv6": 1,
- "description": "string",
- "aqm": "droptail",
- "param_codel_target": "string",
- "param_codel_interval": "string",
- "param_pie_target": "string",
- "param_pie_tupdate": "string",
- "param_pie_alpha": "string",
- "param_pie_beta": "string",
- "param_pie_max_burst": "string",
- "param_pie_max_ecnth": "string",
- "param_red_w_q": "string",
- "param_red_min_th": "string",
- "param_red_max_th": "string",
- "param_red_max_p": "string",
- "param_gred_w_q": "string",
- "param_gred_min_th": "string",
- "param_gred_max_th": "string",
- "param_gred_max_p": "string",
- "sched": "wf2q+",
- "param_fq_codel_target": "string",
- "param_fq_codel_interval": "string",
- "param_fq_codel_quantum": "string",
- "param_fq_codel_limit": "string",
- "param_fq_codel_flows": "string",
- "param_fq_pie_target": "string",
- "param_fq_pie_tupdate": "string",
- "param_fq_pie_alpha": "string",
- "param_fq_pie_beta": "string",
- "param_fq_pie_max_burst": "string",
- "param_fq_pie_max_ecnth": "string",
- "param_fq_pie_quantum": "string",
- "param_fq_pie_limit": "string",
- "param_fq_pie_flows": "string",
- "ecn": true,
- "pie_onoff": true,
- "pie_capdrop": true,
- "pie_qdelay": true,
- "pie_pderand": true,
- "qlimit": 0,
- "delay": 0,
- "plr": 0.1,
- "buckets": 0,
- "queue": [
- {
- "enabled": true,
- "name": "string",
- "number": 0,
- "mask": "none",
- "maskbits": 1,
- "maskbitsv6": 1,
- "description": "string",
- "aqm": "droptail",
- "param_codel_target": "string",
- "param_codel_interval": "string",
- "param_pie_target": "string",
- "param_pie_tupdate": "string",
- "param_pie_alpha": "string",
- "param_pie_beta": "string",
- "param_pie_max_burst": "string",
- "param_pie_max_ecnth": "string",
- "param_red_w_q": "string",
- "param_red_min_th": "string",
- "param_red_max_th": "string",
- "param_red_max_p": "string",
- "param_gred_w_q": "string",
- "param_gred_min_th": "string",
- "param_gred_max_th": "string",
- "param_gred_max_p": "string",
- "ecn": true,
- "pie_onoff": true,
- "pie_capdrop": true,
- "pie_qdelay": true,
- "pie_pderand": true,
- "qlimit": 0,
- "weight": 0,
- "plr": 0.1,
- "buckets": 0
}
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| enabled | boolean |
| name required | string name of the limiter, it will appear for selection on firewall rules |
| number | integer generated by system when create limiter queue |
| mask | string Enum: "none" "srcaddress" "dstaddress" controls how the limiter will mask addresses in the queue valid values = none, srcaddress, dstaddress |
| maskbits | integer [ 1 .. 32 ] address masking for ipv4 |
| maskbitsv6 | integer [ 1 .. 128 ] address masking for ipv6 |
| description | string |
| aqm | string Enum: "droptail" "codel" "pie" "red" "gred" active queue management (AQM) algorithm valid values = droptail, codel, pie, red, gred |
| param_codel_target | string (for aqm=codel only) codel target delay in ms (set to "" to use default value) |
| param_codel_interval | string (for aqm=codel only) codel interval in ms (set to "" to use default value) |
| param_pie_target | string (for aqm=pie only) target delay in ms (set to "" to use default value) |
| param_pie_tupdate | string (for aqm=pie only) interval in ms (set to "" to use default value) |
| param_pie_alpha | string (for aqm=pie only) alpha (set to "" to use default value) |
| param_pie_beta | string (for aqm=pie only) beta (set to "" to use default value) |
| param_pie_max_burst | string (for aqm=pie only) max burst (set to "" to use default value) |
| param_pie_max_ecnth | string (for aqm=pie only) max ecnth (set to "" to use default value) |
| param_red_w_q | string (for aqm=red only) w_q (set to "" to use default value) |
| param_red_min_th | string (for aqm=red only) min_th (set to "" to use default value) |
| param_red_max_th | string (for aqm=red only) max_th (set to "" to use default value) |
| param_red_max_p | string (for aqm=red only) max_p (set to "" to use default value) |
| param_gred_w_q | string (for aqm=gred only) w_q (set to "" to use default value) |
| param_gred_min_th | string (for aqm=gred only) min_th (set to "" to use default value) |
| param_gred_max_th | string (for aqm=gred only) max_th (set to "" to use default value) |
| param_gred_max_p | string (for aqm=gred only) max_p (set to "" to use default value) |
| ecn | boolean (for aqm=codel, pie, red, or gred only) explicit congestion notification |
| pie_onoff | boolean (for aqm=pie only) turning pie on and off depending on queue load |
| pie_capdrop | boolean (for aqm=pie only) cap drop adjustment |
| pie_qdelay | boolean (for aqm=pie only) set queue delay type to timestamps (true) or departure rate estimation (false) |
| pie_pderand | boolean (for aqm=pie only) drop probability de-randomisation |
| qlimit | integer specifies the length of this queue, which the AQM is responsible for |
| weight | integer this value can range from 1 to 100, higher values give more precedence to packets in a given queue |
| plr | number <float> packet loss rate can be configured to drop a certain fraction of packets that enter the limiter valid value between 0 and 1 a value of 0.001 means one packet in 1000 gets dropped |
| buckets | integer bucket Size, specified in slots, sets the size of the hash table used for queue storage |
{- "enabled": true,
- "name": "string",
- "number": 0,
- "mask": "none",
- "maskbits": 1,
- "maskbitsv6": 1,
- "description": "string",
- "aqm": "droptail",
- "param_codel_target": "string",
- "param_codel_interval": "string",
- "param_pie_target": "string",
- "param_pie_tupdate": "string",
- "param_pie_alpha": "string",
- "param_pie_beta": "string",
- "param_pie_max_burst": "string",
- "param_pie_max_ecnth": "string",
- "param_red_w_q": "string",
- "param_red_min_th": "string",
- "param_red_max_th": "string",
- "param_red_max_p": "string",
- "param_gred_w_q": "string",
- "param_gred_min_th": "string",
- "param_gred_max_th": "string",
- "param_gred_max_p": "string",
- "ecn": true,
- "pie_onoff": true,
- "pie_capdrop": true,
- "pie_qdelay": true,
- "pie_pderand": true,
- "qlimit": 0,
- "weight": 0,
- "plr": 0.1,
- "buckets": 0
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| qname required | string |
| enabled | boolean |
| name required | string name of the limiter, it will appear for selection on firewall rules |
| number | integer generated by system when create limiter queue |
| mask | string Enum: "none" "srcaddress" "dstaddress" controls how the limiter will mask addresses in the queue valid values = none, srcaddress, dstaddress |
| maskbits | integer [ 1 .. 32 ] address masking for ipv4 |
| maskbitsv6 | integer [ 1 .. 128 ] address masking for ipv6 |
| description | string |
| aqm | string Enum: "droptail" "codel" "pie" "red" "gred" active queue management (AQM) algorithm valid values = droptail, codel, pie, red, gred |
| param_codel_target | string (for aqm=codel only) codel target delay in ms (set to "" to use default value) |
| param_codel_interval | string (for aqm=codel only) codel interval in ms (set to "" to use default value) |
| param_pie_target | string (for aqm=pie only) target delay in ms (set to "" to use default value) |
| param_pie_tupdate | string (for aqm=pie only) interval in ms (set to "" to use default value) |
| param_pie_alpha | string (for aqm=pie only) alpha (set to "" to use default value) |
| param_pie_beta | string (for aqm=pie only) beta (set to "" to use default value) |
| param_pie_max_burst | string (for aqm=pie only) max burst (set to "" to use default value) |
| param_pie_max_ecnth | string (for aqm=pie only) max ecnth (set to "" to use default value) |
| param_red_w_q | string (for aqm=red only) w_q (set to "" to use default value) |
| param_red_min_th | string (for aqm=red only) min_th (set to "" to use default value) |
| param_red_max_th | string (for aqm=red only) max_th (set to "" to use default value) |
| param_red_max_p | string (for aqm=red only) max_p (set to "" to use default value) |
| param_gred_w_q | string (for aqm=gred only) w_q (set to "" to use default value) |
| param_gred_min_th | string (for aqm=gred only) min_th (set to "" to use default value) |
| param_gred_max_th | string (for aqm=gred only) max_th (set to "" to use default value) |
| param_gred_max_p | string (for aqm=gred only) max_p (set to "" to use default value) |
| ecn | boolean (for aqm=codel, pie, red, or gred only) explicit congestion notification |
| pie_onoff | boolean (for aqm=pie only) turning pie on and off depending on queue load |
| pie_capdrop | boolean (for aqm=pie only) cap drop adjustment |
| pie_qdelay | boolean (for aqm=pie only) set queue delay type to timestamps (true) or departure rate estimation (false) |
| pie_pderand | boolean (for aqm=pie only) drop probability de-randomisation |
| qlimit | integer specifies the length of this queue, which the AQM is responsible for |
| weight | integer this value can range from 1 to 100, higher values give more precedence to packets in a given queue |
| plr | number <float> packet loss rate can be configured to drop a certain fraction of packets that enter the limiter valid value between 0 and 1 a value of 0.001 means one packet in 1000 gets dropped |
| buckets | integer bucket Size, specified in slots, sets the size of the hash table used for queue storage |
{- "enabled": true,
- "name": "string",
- "number": 0,
- "mask": "none",
- "maskbits": 1,
- "maskbitsv6": 1,
- "description": "string",
- "aqm": "droptail",
- "param_codel_target": "string",
- "param_codel_interval": "string",
- "param_pie_target": "string",
- "param_pie_tupdate": "string",
- "param_pie_alpha": "string",
- "param_pie_beta": "string",
- "param_pie_max_burst": "string",
- "param_pie_max_ecnth": "string",
- "param_red_w_q": "string",
- "param_red_min_th": "string",
- "param_red_max_th": "string",
- "param_red_max_p": "string",
- "param_gred_w_q": "string",
- "param_gred_min_th": "string",
- "param_gred_max_th": "string",
- "param_gred_max_p": "string",
- "ecn": true,
- "pie_onoff": true,
- "pie_capdrop": true,
- "pie_qdelay": true,
- "pie_pderand": true,
- "qlimit": 0,
- "weight": 0,
- "plr": 0.1,
- "buckets": 0
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "virtualips": [
- {
- "mode": "string",
- "interface": "string",
- "vhid": 0,
- "advskew": 0,
- "advbase": 0,
- "password": "string",
- "password_confirm": "string",
- "uniqid": "string",
- "descr": "string",
- "subnet": "string",
- "id": "string",
- "carp_mode": "string",
- "carp_peer": "string"
}
], - "interfaces": [
- {
- "text": "string",
- "value": "string"
}
]
}| mode | string |
| interface | string |
| vhid | integer |
| advskew | integer |
| advbase | integer |
| password | string |
| password_confirm | string |
| uniqid | string |
| descr | string |
| subnet | string |
| id | string |
| carp_mode | string |
| carp_peer | string |
{- "mode": "string",
- "interface": "string",
- "vhid": 0,
- "advskew": 0,
- "advbase": 0,
- "password": "string",
- "password_confirm": "string",
- "uniqid": "string",
- "descr": "string",
- "subnet": "string",
- "id": "string",
- "carp_mode": "string",
- "carp_peer": "string"
}{- "id": "string"
}| id required | string |
| mode | string |
| interface | string |
| vhid | integer |
| advskew | integer |
| advbase | integer |
| password | string |
| password_confirm | string |
| uniqid | string |
| descr | string |
| subnet | string |
| id | string |
| carp_mode | string |
| carp_peer | string |
{- "mode": "string",
- "interface": "string",
- "vhid": 0,
- "advskew": 0,
- "advbase": 0,
- "password": "string",
- "password_confirm": "string",
- "uniqid": "string",
- "descr": "string",
- "subnet": "string",
- "id": "string",
- "carp_mode": "string",
- "carp_peer": "string"
}{- "id": "string"
}The Controller Summary payload which is provided to a remote pfSense device to store in its configuration and is used for it establish a MIM VPN connection to the controller.
{- "mode_active": true,
- "name": "string",
- "key": "string",
- "vpn_pubkey": "string",
- "vpn_listenaddr": "string",
- "vpn_address": "string",
- "vpn_prefix": "string",
- "vpn_netkey": "string"
}| detailed | boolean |
{- "device_pubkey": "string",
- "controllers": [
- {
- "name": "string",
- "key": "string",
- "cert": "string",
- "vpn_listenaddr": "string",
- "vpn_address": "string",
- "vpn_pubkey": "string",
- "vpn_netkey": "string",
- "vpn_prefix": "string",
- "tag": "string",
- "noise_secret": "string",
- "device_pubkey": "string",
- "device_vpn": {
- "vpn_listenaddr": "string",
- "vpn_address": "string",
- "vpn_pubkey": "string",
- "vpn_netkey": "string",
- "vpn_prefix": "string",
- "vpn_state": "string",
- "vpn_conn_start": 0,
- "vpn_conn_stop": 0,
- "vpn_conn_attempt": 0
}
}
]
}Adding the controller will initiate a Netgard connection to it. The device will continue to issue a connection request every 10 seconds while the Controller has not added the device to its configuration.
| name | string |
| key | string |
| cert | string |
| vpn_listenaddr | string |
| vpn_address | string |
| vpn_pubkey | string |
| vpn_netkey | string |
| vpn_prefix | string |
| oldkey | string |
| regentokens | boolean |
{- "name": "string",
- "key": "string",
- "cert": "string",
- "vpn_listenaddr": "string",
- "vpn_address": "string",
- "vpn_pubkey": "string",
- "vpn_netkey": "string",
- "vpn_prefix": "string",
- "oldkey": "string",
- "regentokens": true
}{- "name": "string",
- "key": "string",
- "cert": "string",
- "vpn_listenaddr": "string",
- "vpn_address": "string",
- "vpn_pubkey": "string",
- "vpn_netkey": "string",
- "vpn_prefix": "string",
- "tag": "string",
- "noise_secret": "string",
- "device_pubkey": "string",
- "device_vpn": {
- "vpn_listenaddr": "string",
- "vpn_address": "string",
- "vpn_pubkey": "string",
- "vpn_netkey": "string",
- "vpn_prefix": "string",
- "vpn_state": "string",
- "vpn_conn_start": 0,
- "vpn_conn_stop": 0,
- "vpn_conn_attempt": 0
}
}{- "name": "string",
- "key": "string",
- "cert": "string",
- "vpn_listenaddr": "string",
- "vpn_address": "string",
- "vpn_pubkey": "string",
- "vpn_netkey": "string",
- "vpn_prefix": "string",
- "tag": "string",
- "noise_secret": "string",
- "device_pubkey": "string",
- "device_vpn": {
- "vpn_listenaddr": "string",
- "vpn_address": "string",
- "vpn_pubkey": "string",
- "vpn_netkey": "string",
- "vpn_prefix": "string",
- "vpn_state": "string",
- "vpn_conn_start": 0,
- "vpn_conn_stop": 0,
- "vpn_conn_attempt": 0
}
}Get the required information for the MiM controller to manage this device. It includes this device's public keys for API Noise handshaking and VPN connection.
{- "name": "string",
- "alias": "string",
- "device_type": "string",
- "type": "string",
- "pubkey": "string",
- "address": "string",
- "vpn_pubkey": "string",
- "vpn_address": "string",
- "vpn_prefix": "string",
- "vpn_netkey": "string",
- "vpn_listenaddr": "string",
- "tags": [
- "string"
], - "devinfo": {
- "hostname": "string",
- "uptime": 0,
- "network_ports": [
- {
- "name": "string",
- "identity": "string",
- "device": "string",
- "assigned": "string",
- "link_speed": 0,
- "phy_speed": 0,
- "state": "string",
- "vlan": 0,
- "device_info": "string",
- "is_physical": true,
- "is_switchport": true,
- "addresses": [
- "string"
], - "label": "string"
}
], - "services": [
- {
- "type": "string",
- "name": "string",
- "enabled": true
}
], - "product": "string",
- "product_version": "string",
- "product_build": "string",
- "os_name": "string",
- "os_version": "string",
- "cpu": "string",
- "cpu_usage": 0,
- "memory": 0,
- "memory_usage": 0,
- "disk_usage": 0,
- "model": "string",
- "vendor": "string",
- "serial": "string",
- "hw_uuid": "string",
- "gateways": [
- "string"
], - "license": {
- "id": "string",
- "expiration": "string",
- "expired": true,
- "features": [
- {
- "name": "string",
- "value": "string",
- "source": "string",
- "stop": 0
}
]
}
}, - "controller_add": "string"
}The ED25519 public key set to the device is used for secure Noise handshaking
between the controller and the device to ensure the establish trust. The public
key part is exported in the DeviceIdentity structure and is what should be
updated on the controller when this device's key is changed.
This function is intended to be used on the device to change its ED25519 public key.
| keytype | string |
| privkey | string |
| pubkey | string |
{- "keytype": "string",
- "privkey": "string",
- "pubkey": "string"
}{- "keytype": "string",
- "privkey": "string",
- "pubkey": "string"
}{- "devices": [
- {
- "name": "string",
- "alias": "string",
- "device_id": "string",
- "device_type": "string",
- "device_key": "string",
- "tags": [
- "string"
], - "address": "string",
- "address6": "string",
- "gateways": [
- "string"
], - "primary_auth": "string",
- "auth": {
- "vpn_pubkey": "string",
- "vpn_address": "string",
- "vpn_listenaddr": "string",
- "cert": "string"
}, - "controller": {
- "pubkey": "string",
- "vpn_ep_address": "string",
- "vpn_addr": "string"
}, - "mim_path": [
- "string"
], - "mim_depth": 0,
- "mim_devices": 0,
- "state": "string",
- "added_ts": 0,
- "added": "string",
- "device_cert": "string",
- "sys_info": {
- "hostname": "string",
- "uptime": 0,
- "network_ports": [
- {
- "name": "string",
- "identity": "string",
- "device": "string",
- "assigned": "string",
- "link_speed": 0,
- "phy_speed": 0,
- "state": "string",
- "vlan": 0,
- "device_info": "string",
- "is_physical": true,
- "is_switchport": true,
- "addresses": [
- "string"
], - "label": "string"
}
], - "services": [
- {
- "type": "string",
- "name": "string",
- "enabled": true
}
], - "product": "string",
- "product_version": "string",
- "product_build": "string",
- "os_name": "string",
- "os_version": "string",
- "cpu": "string",
- "cpu_usage": 0,
- "memory": 0,
- "memory_usage": 0,
- "disk_usage": 0,
- "model": "string",
- "vendor": "string",
- "serial": "string",
- "hw_uuid": "string",
- "gateways": [
- "string"
], - "license": {
- "id": "string",
- "expiration": "string",
- "expired": true,
- "features": [
- {
- "name": "string",
- "value": "string",
- "source": "string",
- "stop": 0
}
]
}
}
}
]
}| name | string name of device |
| alias | string another alias for the device |
| device_type | string device type, eg pfsense |
| type | string alias to device_type |
| pubkey | string public key identity of device |
| address | string device's API URL, e.g. https://0.0.0.0:8443 |
| vpn_pubkey | string VPN public key |
| vpn_address | string MIM VPN address |
| vpn_prefix | string MIM VPN address subnet |
| vpn_netkey | string MIM VPN netkey |
| vpn_listenaddr | string MIM listening address:port |
| tags | Array of strings |
object (ControlledDeviceInfo) Additional information about the device | |
| controller_add | string API command that can be used to add the device to the controller |
{- "name": "string",
- "alias": "string",
- "device_type": "string",
- "type": "string",
- "pubkey": "string",
- "address": "string",
- "vpn_pubkey": "string",
- "vpn_address": "string",
- "vpn_prefix": "string",
- "vpn_netkey": "string",
- "vpn_listenaddr": "string",
- "tags": [
- "string"
], - "devinfo": {
- "hostname": "string",
- "uptime": 0,
- "network_ports": [
- {
- "name": "string",
- "identity": "string",
- "device": "string",
- "assigned": "string",
- "link_speed": 0,
- "phy_speed": 0,
- "state": "string",
- "vlan": 0,
- "device_info": "string",
- "is_physical": true,
- "is_switchport": true,
- "addresses": [
- "string"
], - "label": "string"
}
], - "services": [
- {
- "type": "string",
- "name": "string",
- "enabled": true
}
], - "product": "string",
- "product_version": "string",
- "product_build": "string",
- "os_name": "string",
- "os_version": "string",
- "cpu": "string",
- "cpu_usage": 0,
- "memory": 0,
- "memory_usage": 0,
- "disk_usage": 0,
- "model": "string",
- "vendor": "string",
- "serial": "string",
- "hw_uuid": "string",
- "gateways": [
- "string"
], - "license": {
- "id": "string",
- "expiration": "string",
- "expired": true,
- "features": [
- {
- "name": "string",
- "value": "string",
- "source": "string",
- "stop": 0
}
]
}
}, - "controller_add": "string"
}{- "name": "string",
- "alias": "string",
- "device_id": "string",
- "device_type": "string",
- "tags": [
- "string"
], - "address": "string",
- "address6": "string",
- "primary_auth": "string",
- "auth": {
- "vpn_pubkey": "string",
- "vpn_address": "string",
- "vpn_listenaddr": "string",
- "cert": "string"
}, - "state": "string",
- "device_cert": "string",
- "device_key": "string",
- "device_info": {
- "hostname": "string",
- "uptime": 0,
- "network_ports": [
- {
- "name": "string",
- "identity": "string",
- "device": "string",
- "assigned": "string",
- "link_speed": 0,
- "phy_speed": 0,
- "state": "string",
- "vlan": 0,
- "device_info": "string",
- "is_physical": true,
- "is_switchport": true,
- "addresses": [
- "string"
], - "label": "string"
}
], - "services": [
- {
- "type": "string",
- "name": "string",
- "enabled": true
}
], - "product": "string",
- "product_version": "string",
- "product_build": "string",
- "os_name": "string",
- "os_version": "string",
- "cpu": "string",
- "cpu_usage": 0,
- "memory": 0,
- "memory_usage": 0,
- "disk_usage": 0,
- "model": "string",
- "vendor": "string",
- "serial": "string",
- "hw_uuid": "string",
- "gateways": [
- "string"
], - "license": {
- "id": "string",
- "expiration": "string",
- "expired": true,
- "features": [
- {
- "name": "string",
- "value": "string",
- "source": "string",
- "stop": 0
}
]
}
}
}| name | string |
| key | string |
| cert | string |
| ca_cert | string |
object (ControlledDeviceCertOptions) |
{- "name": "string",
- "key": "string",
- "cert": "string",
- "ca_cert": "string",
- "options": {
- "organization": "string",
- "country": "string",
- "province": "string",
- "locality": "string",
- "street_addr": "string",
- "postal_code": "string",
- "ip_addresses": [
- "string"
], - "expiry_days": 0
}
}{- "name": "string",
- "key": "string",
- "cert": "string",
- "ca_cert": "string"
}| device_id required | string |
| name | string |
| alias | string |
| device_id | string |
| device_type | string |
| tags | Array of strings |
| address | string |
| address6 | string |
| primary_auth | string |
object (ControlledDeviceAuth) | |
| state | string current device state: active, error, offline, rebooting, pending (pending auth) |
| device_cert | string recorded value of device certificate |
| device_key | string public key of device |
object (ControlledDeviceInfo) Additional information about the device |
{- "name": "string",
- "alias": "string",
- "device_id": "string",
- "device_type": "string",
- "tags": [
- "string"
], - "address": "string",
- "address6": "string",
- "primary_auth": "string",
- "auth": {
- "vpn_pubkey": "string",
- "vpn_address": "string",
- "vpn_listenaddr": "string",
- "cert": "string"
}, - "state": "string",
- "device_cert": "string",
- "device_key": "string",
- "device_info": {
- "hostname": "string",
- "uptime": 0,
- "network_ports": [
- {
- "name": "string",
- "identity": "string",
- "device": "string",
- "assigned": "string",
- "link_speed": 0,
- "phy_speed": 0,
- "state": "string",
- "vlan": 0,
- "device_info": "string",
- "is_physical": true,
- "is_switchport": true,
- "addresses": [
- "string"
], - "label": "string"
}
], - "services": [
- {
- "type": "string",
- "name": "string",
- "enabled": true
}
], - "product": "string",
- "product_version": "string",
- "product_build": "string",
- "os_name": "string",
- "os_version": "string",
- "cpu": "string",
- "cpu_usage": 0,
- "memory": 0,
- "memory_usage": 0,
- "disk_usage": 0,
- "model": "string",
- "vendor": "string",
- "serial": "string",
- "hw_uuid": "string",
- "gateways": [
- "string"
], - "license": {
- "id": "string",
- "expiration": "string",
- "expired": true,
- "features": [
- {
- "name": "string",
- "value": "string",
- "source": "string",
- "stop": 0
}
]
}
}
}{- "name": "string",
- "alias": "string",
- "device_id": "string",
- "device_type": "string",
- "tags": [
- "string"
], - "address": "string",
- "address6": "string",
- "primary_auth": "string",
- "auth": {
- "vpn_pubkey": "string",
- "vpn_address": "string",
- "vpn_listenaddr": "string",
- "cert": "string"
}, - "state": "string",
- "device_cert": "string",
- "device_key": "string",
- "device_info": {
- "hostname": "string",
- "uptime": 0,
- "network_ports": [
- {
- "name": "string",
- "identity": "string",
- "device": "string",
- "assigned": "string",
- "link_speed": 0,
- "phy_speed": 0,
- "state": "string",
- "vlan": 0,
- "device_info": "string",
- "is_physical": true,
- "is_switchport": true,
- "addresses": [
- "string"
], - "label": "string"
}
], - "services": [
- {
- "type": "string",
- "name": "string",
- "enabled": true
}
], - "product": "string",
- "product_version": "string",
- "product_build": "string",
- "os_name": "string",
- "os_version": "string",
- "cpu": "string",
- "cpu_usage": 0,
- "memory": 0,
- "memory_usage": 0,
- "disk_usage": 0,
- "model": "string",
- "vendor": "string",
- "serial": "string",
- "hw_uuid": "string",
- "gateways": [
- "string"
], - "license": {
- "id": "string",
- "expiration": "string",
- "expired": true,
- "features": [
- {
- "name": "string",
- "value": "string",
- "source": "string",
- "stop": 0
}
]
}
}
}| device_id | string ID of device |
| duration | integer optional number of seconds to run each upload/download test for, default 10 |
| upload_mb | integer optional number of MB to send to device, default 100. Duration has priority. |
| download_mb | integer optional number of MB to receive from device, default 10. Duration has priority. |
{- "device_id": "string",
- "duration": 0,
- "upload_mb": 0,
- "download_mb": 0
}{- "errors": "string",
- "device_id": "string",
- "duration": 0,
- "upload_mps": 0.1,
- "download_mps": 0.1
}{- "tags": {
- "property1": [
- {
- "device_id": "string",
- "alias": "string",
- "name": "string",
- "addresses": [
- "string"
]
}
], - "property2": [
- {
- "device_id": "string",
- "alias": "string",
- "name": "string",
- "addresses": [
- "string"
]
}
]
}
}| tags | Array of strings |
| devices | Array of strings |
| action | string |
{- "tags": [
- "string"
], - "devices": [
- "string"
], - "action": "string"
}{- "result": "string"
}| tag required | string |
| device_id required | string |
{- "name": "string",
- "alias": "string",
- "device_id": "string",
- "device_type": "string",
- "tags": [
- "string"
], - "address": "string",
- "address6": "string",
- "primary_auth": "string",
- "auth": {
- "vpn_pubkey": "string",
- "vpn_address": "string",
- "vpn_listenaddr": "string",
- "cert": "string"
}, - "state": "string",
- "device_cert": "string",
- "device_key": "string",
- "device_info": {
- "hostname": "string",
- "uptime": 0,
- "network_ports": [
- {
- "name": "string",
- "identity": "string",
- "device": "string",
- "assigned": "string",
- "link_speed": 0,
- "phy_speed": 0,
- "state": "string",
- "vlan": 0,
- "device_info": "string",
- "is_physical": true,
- "is_switchport": true,
- "addresses": [
- "string"
], - "label": "string"
}
], - "services": [
- {
- "type": "string",
- "name": "string",
- "enabled": true
}
], - "product": "string",
- "product_version": "string",
- "product_build": "string",
- "os_name": "string",
- "os_version": "string",
- "cpu": "string",
- "cpu_usage": 0,
- "memory": 0,
- "memory_usage": 0,
- "disk_usage": 0,
- "model": "string",
- "vendor": "string",
- "serial": "string",
- "hw_uuid": "string",
- "gateways": [
- "string"
], - "license": {
- "id": "string",
- "expiration": "string",
- "expired": true,
- "features": [
- {
- "name": "string",
- "value": "string",
- "source": "string",
- "stop": 0
}
]
}
}
}{- "config": {
- "encryption_password": "string",
- "enable": true,
- "hint": "string",
- "frequency": "string",
- "minute": "string",
- "hour": "string",
- "month": "string",
- "day": "string",
- "dow": "string",
- "numman": "string",
- "reverse": "string"
}, - "userkey": "string"
}When updating ACB, if ACBConfigInfo.userkey is provided, then the device's key will be updated and all future backups will use the new key. ACBConfigInfo.config is optional if ACBConfigInfo.userkey is provided.
object (ACBConfig) valid values: frequency = "cron", "every" reverse = "yes", "no" | |
| userkey | string hexidecimal encoded 32-byte random bytes |
{- "config": {
- "encryption_password": "string",
- "enable": true,
- "hint": "string",
- "frequency": "string",
- "minute": "string",
- "hour": "string",
- "month": "string",
- "day": "string",
- "dow": "string",
- "numman": "string",
- "reverse": "string"
}, - "userkey": "string"
}{- "result": "string"
}object (ServicesActionParams) valid values: action = "start", "stop", "restart" |
{- "params": {
- "service": "string",
- "action": "string",
- "vpnid": "string",
- "mode": "string",
- "zone": "string"
}
}{- "result": "string"
}{- "config": [
- {
- "zone": "string",
- "interface": "string",
- "descr": "string",
- "users": 0
}
], - "interfaces": [
- {
- "name": "string",
- "if": "string",
- "assigned_name": "string",
- "device_name": "string",
- "identity": "string",
- "enable": true,
- "blockbogons": true,
- "pseudo": true,
- "blockpriv": true,
- "slaacusev4iface": true,
- "descr": "string",
- "type": "string",
- "type6": "string",
- "mtu": 0,
- "mss": 0,
- "pcp": 0,
- "promisc": true,
- "ipaddr": "string",
- "member": "string",
- "media": "string",
- "mac": "string",
- "mediaopt": "string",
- "spoofmac": "string",
- "tag": 0,
- "gateway": "string",
- "ipaddrv6": "string",
- "ipv6usev4iface": true,
- "gatewayv6": "string",
- "alias_address": "string",
- "dhcphostname": "string",
- "dhcprejectfrom": "string",
- "dhcprejectfromarray": [
- "string"
], - "dhcpvlanenable": true,
- "dhcp6usev4iface": true,
- "dhcp6prefixonly": true,
- "dhcp6_ia_pd_send_hint": true,
- "dhcp6debug": true,
- "dhcp6withoutra": true,
- "dhcp6norelease": true,
- "dhcpcvpt": "string",
- "dhcp6cvpt": "string",
- "prefix_6rd": "string",
- "gateway_6rd": "string",
- "dhcp6_ia_pd_len": "string",
- "prefix_6rd_v4plen": "string",
- "track6_interface": "string",
- "track6_prefix_id": "string",
- "adv_dhcp_config_advanced": true,
- "adv_dhcp_config_file_override": true,
- "adv_dhcp_pt_timeout": "string",
- "adv_dhcp_pt_retry": "string",
- "adv_dhcp_pt_select_timeout": "string",
- "adv_dhcp_pt_reboot": "string",
- "adv_dhcp_pt_backoff_cutoff": "string",
- "adv_dhcp_pt_initial_interval": "string",
- "adv_dhcp_pt_values": "string",
- "adv_dhcp_config_file_override_path": "string",
- "adv_dhcp_send_options": "string",
- "adv_dhcp_request_options": "string",
- "adv_dhcp_required_options": "string",
- "adv_dhcp_option_modifiers": "string",
- "adv_dhcp6_config_advanced": true,
- "adv_dhcp6_config_file_override": true,
- "adv_dhcp6_prefix_selected_interface": "string",
- "adv_dhcp6_config_file_override_path": "string",
- "adv_dhcp6_interface_statement_information_only_enable": true,
- "adv_dhcp6_interface_statement_send_options": "string",
- "adv_dhcp6_interface_statement_request_options": "string",
- "adv_dhcp6_interface_statement_script": "string",
- "adv_dhcp6_id_assoc_statement_address_enable": true,
- "adv_dhcp6_id_assoc_statement_address_id": "string",
- "adv_dhcp6_id_assoc_statement_address": "string",
- "adv_dhcp6_id_assoc_statement_address_pltime": "string",
- "adv_dhcp6_id_assoc_statement_address_vltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_enable": true,
- "adv_dhcp6_id_assoc_statement_prefix_id": "string",
- "adv_dhcp6_id_assoc_statement_prefix": "string",
- "adv_dhcp6_id_assoc_statement_prefix_pltime": "string",
- "adv_dhcp6_id_assoc_statement_prefix_vltime": "string",
- "adv_dhcp6_prefix_interface_statement_sla_id": "string",
- "adv_dhcp6_prefix_interface_statement_sla_len": "string",
- "adv_dhcp6_authentication_statement_authname": "string",
- "adv_dhcp6_authentication_statement_protocol": "string",
- "adv_dhcp6_authentication_statement_algorithm": "string",
- "adv_dhcp6_authentication_statement_rdm": "string",
- "adv_dhcp6_key_info_statement_keyname": "string",
- "adv_dhcp6_key_info_statement_realm": "string",
- "adv_dhcp6_key_info_statement_keyid": "string",
- "adv_dhcp6_key_info_statement_secret": "string",
- "adv_dhcp6_key_info_statement_expire": "string"
}
]
}| zone required | string |
| zoneid | string optional, 0-57535 |
| descr | string |
| localauth_priv | boolean |
| interface | string |
| maxproc | string |
| maxprocperip | string |
| timeout | string |
| idletimeout | string |
| trafficquota | string |
| freelogins_count | string |
| freelogins_resettimeout | string |
| freelogins_updatetimeouts | boolean |
| logoutwin_enable | boolean |
| enable | boolean |
| auth_method | string |
| auth_server | string |
| auth_server2 | string |
| radmac_secret | string |
| radmac_fallback | boolean |
| radiussession_timeout | boolean |
| radiustraffic_quota | boolean |
| radiusperuserbw | boolean |
| radacct_enable | boolean |
| radacct_server | string |
| reverseacct | boolean |
| includeidletime | boolean |
| reauthenticate | boolean |
| preservedb | boolean |
| reauthenticateacct | string |
| httpslogin | boolean |
| httpsname | string |
| preauthurl | string |
| blockedmacsurl | string |
| certref | string |
| nohttpsforwards | boolean |
| nomacfilter | boolean |
| redirurl | string |
| passthrumacadd | boolean |
| radmac_format | string |
| radiusnasid | string |
| customlogo | boolean |
| custombg | boolean |
| customhtml | boolean |
| termsconditions | string |
| page | string |
| noconcurrentlogins | string |
| peruserbw | boolean |
| bwdefaultdn | string |
| bwdefaultup | string |
| enablebackwardsync | boolean |
| backwardsyncip | string |
| backwardsyncuser | string |
| backwardsyncpassword | string |
Array of objects (CaptivePassthruMac) | |
Array of objects (CaptiveAllowedIP) | |
Array of objects (CaptiveAllowedHost) | |
Array of objects (CaptiveElement) |
{- "zone": "string",
- "zoneid": "string",
- "descr": "string",
- "localauth_priv": true,
- "interface": "string",
- "maxproc": "string",
- "maxprocperip": "string",
- "timeout": "string",
- "idletimeout": "string",
- "trafficquota": "string",
- "freelogins_count": "string",
- "freelogins_resettimeout": "string",
- "freelogins_updatetimeouts": true,
- "logoutwin_enable": true,
- "enable": true,
- "auth_method": "string",
- "auth_server": "string",
- "auth_server2": "string",
- "radmac_secret": "string",
- "radmac_fallback": true,
- "radiussession_timeout": true,
- "radiustraffic_quota": true,
- "radiusperuserbw": true,
- "radacct_enable": true,
- "radacct_server": "string",
- "reverseacct": true,
- "includeidletime": true,
- "reauthenticate": true,
- "preservedb": true,
- "reauthenticateacct": "string",
- "httpslogin": true,
- "httpsname": "string",
- "preauthurl": "string",
- "blockedmacsurl": "string",
- "certref": "string",
- "nohttpsforwards": true,
- "nomacfilter": true,
- "redirurl": "string",
- "passthrumacadd": true,
- "radmac_format": "string",
- "radiusnasid": "string",
- "customlogo": true,
- "custombg": true,
- "customhtml": true,
- "termsconditions": "string",
- "page": "string",
- "noconcurrentlogins": "string",
- "peruserbw": true,
- "bwdefaultdn": "string",
- "bwdefaultup": "string",
- "enablebackwardsync": true,
- "backwardsyncip": "string",
- "backwardsyncuser": "string",
- "backwardsyncpassword": "string",
- "passthrumac": [
- {
- "action": "string",
- "mac": "string",
- "bw_up": "string",
- "bw_down": "string",
- "descr": "string"
}
], - "allowedip": [
- {
- "ip": "string",
- "sn": "string",
- "descr": "string",
- "dir": "string",
- "bw_up": "string",
- "bw_down": "string"
}
], - "allowedhostname": [
- {
- "hostname": "string",
- "sn": "string",
- "descr": "string",
- "dir": "string",
- "bw_up": "string",
- "bw_down": "string"
}
], - "element": [
- {
- "name": "string",
- "size": "string",
- "nocontent": "string"
}
]
}{- "result": "string"
}| id required | string |
| all | boolean |
| session_id | string |
{- "all": true,
- "session_id": "string"
}{- "result": "string"
}{- "users": [
- {
- "ip_address": "string",
- "mac_address": "string",
- "mac_manufacturer": "string",
- "username": "string",
- "session_id": "string",
- "session_start_unix": 0,
- "session_duration_seconds": 0,
- "session_remaining_seconds": 0,
- "idle_time_seconds": 0,
- "bytes_sent": 0,
- "bytes_received": 0,
- "packets_sent": 0,
- "packets_received": 0,
- "last_activity": 0,
- "zone": "string"
}
]
}{- "config": {
- "zone": "string",
- "zoneid": "string",
- "descr": "string",
- "localauth_priv": true,
- "interface": "string",
- "maxproc": "string",
- "maxprocperip": "string",
- "timeout": "string",
- "idletimeout": "string",
- "trafficquota": "string",
- "freelogins_count": "string",
- "freelogins_resettimeout": "string",
- "freelogins_updatetimeouts": true,
- "logoutwin_enable": true,
- "enable": true,
- "auth_method": "string",
- "auth_server": "string",
- "auth_server2": "string",
- "radmac_secret": "string",
- "radmac_fallback": true,
- "radiussession_timeout": true,
- "radiustraffic_quota": true,
- "radiusperuserbw": true,
- "radacct_enable": true,
- "radacct_server": "string",
- "reverseacct": true,
- "includeidletime": true,
- "reauthenticate": true,
- "preservedb": true,
- "reauthenticateacct": "string",
- "httpslogin": true,
- "httpsname": "string",
- "preauthurl": "string",
- "blockedmacsurl": "string",
- "certref": "string",
- "nohttpsforwards": true,
- "nomacfilter": true,
- "redirurl": "string",
- "passthrumacadd": true,
- "radmac_format": "string",
- "radiusnasid": "string",
- "customlogo": true,
- "custombg": true,
- "customhtml": true,
- "termsconditions": "string",
- "page": "string",
- "noconcurrentlogins": "string",
- "peruserbw": true,
- "bwdefaultdn": "string",
- "bwdefaultup": "string",
- "enablebackwardsync": true,
- "backwardsyncip": "string",
- "backwardsyncuser": "string",
- "backwardsyncpassword": "string",
- "passthrumac": [
- {
- "action": "string",
- "mac": "string",
- "bw_up": "string",
- "bw_down": "string",
- "descr": "string"
}
], - "allowedip": [
- {
- "ip": "string",
- "sn": "string",
- "descr": "string",
- "dir": "string",
- "bw_up": "string",
- "bw_down": "string"
}
], - "allowedhostname": [
- {
- "hostname": "string",
- "sn": "string",
- "descr": "string",
- "dir": "string",
- "bw_up": "string",
- "bw_down": "string"
}
], - "element": [
- {
- "name": "string",
- "size": "string",
- "nocontent": "string"
}
]
}, - "interfaces": [
- "string"
], - "certificates": [
- {
- "name": "string",
- "ident": "string"
}
], - "vouch": {
- "enable": true,
- "charset": "string",
- "rollbits": 0,
- "ticketbits": 0,
- "checksumbits": 0,
- "magic": 0,
- "exponent": 0,
- "publickey": "string",
- "privatekey": "string",
- "descrmsgnoaccess": "string",
- "descrmsgexpired": "string",
- "roll": [
- {
- "zone": "string",
- "number": 0,
- "minutes": 0,
- "descr": "string",
- "count": "string",
- "used": "string",
- "active": true,
- "lastsync": 0
}
]
}
}{- "enabled": true,
- "maintenancemode_enabled": true,
- "my_hostid": "string",
- "state_sync_hostids": [
- "string"
], - "vips": [
- {
- "interface": "string",
- "virtual_ip": "string",
- "virtual_aliases": [
- "string"
], - "mode": "string",
- "peer": "string",
- "description": "string",
- "status": "string"
}
]
}{- "enabled": true,
- "maintenancemode_enabled": true,
- "my_hostid": "string",
- "state_sync_hostids": [
- "string"
], - "vips": [
- {
- "interface": "string",
- "virtual_ip": "string",
- "virtual_aliases": [
- "string"
], - "mode": "string",
- "peer": "string",
- "description": "string",
- "status": "string"
}
]
}{- "enabled": true,
- "maintenancemode_enabled": true,
- "my_hostid": "string",
- "state_sync_hostids": [
- "string"
], - "vips": [
- {
- "interface": "string",
- "virtual_ip": "string",
- "virtual_aliases": [
- "string"
], - "mode": "string",
- "peer": "string",
- "description": "string",
- "status": "string"
}
]
}Fetch the list of available OUI prefixes as a gzip compressed CSV dataset, where:
If the OUI dataset is not available from the OS, then a short default list is returned
{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}{- "enable": true,
- "interfaces": [
- "string"
], - "carp_status_vip": "string",
- "append_circuit_agent_ids": true,
- "upstream_servers": [
- "string"
], - "carp_status_vip_entries": [
- {
- "value": "string",
- "text": "string"
}
], - "interfaces_entries": [
- {
- "value": "string",
- "text": "string"
}
]
}{- "enable": true,
- "interfaces": [
- "string"
], - "carp_status_vip": "string",
- "append_circuit_agent_ids": true,
- "upstream_servers": [
- "string"
], - "carp_status_vip_entries": [
- {
- "value": "string",
- "text": "string"
}
], - "interfaces_entries": [
- {
- "value": "string",
- "text": "string"
}
]
}{- "service": {
- "backend": "string",
- "radvd_debug": true,
- "dhcp6_debug": true,
- "address_release": true,
- "ignore_isc_warn": true,
- "ipv6_duid_type": "0",
- "ipv6_duid_raw": "string",
- "ipv6_duid_llt_time": "string",
- "ipv6_duid_llt_ll": "string",
- "ipv6_duid_en_en": "string",
- "ipv6_duid_en_id": "string",
- "ipv6_duid_ll": "string",
- "ipv6_duid_uuid": "string"
}, - "dhcpd": {
- "high_availability": {
- "enable": true,
- "role": "string",
- "local_name": "string",
- "local_address": "string",
- "remote_name": "string",
- "remote_address": "string",
- "advance_options": {
- "heartbeat_delay": 0,
- "max_response_delay": 0,
- "max_ack_delay": 0,
- "max_unacked_clients": 0,
- "max_rejected_updates": 0
}, - "enable_tls": true,
- "tls_server_cert_refid": "string",
- "enable_mutual_tls": true,
- "mutual_client_cert_refid": "string",
- "available_tls_server_certs": [
- "string"
], - "available_mutual_client_certs": [
- "string"
]
}, - "dns_reg": true,
- "early_dns_reg": true,
- "interfaces": {
- "property1": {
- "if_ident": "string",
- "if_assigned_name": "string",
- "enabled": true,
- "deny_unknown_clients": "string",
- "ignore_client_identifiers": true,
- "dns_reg": "string",
- "early_dns_reg": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "additional_pools": [
- {
- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "default_lease_time": 0,
- "maximum_lease_time": 0,
- "staticarp": true,
- "failover_peerip": "string",
- "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "static_mappings": [
- {
- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}
], - "static_mappings_v6": [
- {
- "id": "string",
- "backend": "string",
- "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "custom_kea_config": "string"
}
], - "pdprefix": "string",
- "pddellen": 0,
- "custom_kea_config": "string",
- "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string",
- "backend": "string"
}, - "property2": {
- "if_ident": "string",
- "if_assigned_name": "string",
- "enabled": true,
- "deny_unknown_clients": "string",
- "ignore_client_identifiers": true,
- "dns_reg": "string",
- "early_dns_reg": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "additional_pools": [
- {
- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "default_lease_time": 0,
- "maximum_lease_time": 0,
- "staticarp": true,
- "failover_peerip": "string",
- "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "static_mappings": [
- {
- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}
], - "static_mappings_v6": [
- {
- "id": "string",
- "backend": "string",
- "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "custom_kea_config": "string"
}
], - "pdprefix": "string",
- "pddellen": 0,
- "custom_kea_config": "string",
- "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string",
- "backend": "string"
}
}, - "custom_kea_config": "string"
}, - "dhcpdv6": {
- "high_availability": {
- "enable": true,
- "role": "string",
- "local_name": "string",
- "local_address": "string",
- "remote_name": "string",
- "remote_address": "string",
- "advance_options": {
- "heartbeat_delay": 0,
- "max_response_delay": 0,
- "max_ack_delay": 0,
- "max_unacked_clients": 0,
- "max_rejected_updates": 0
}, - "enable_tls": true,
- "tls_server_cert_refid": "string",
- "enable_mutual_tls": true,
- "mutual_client_cert_refid": "string",
- "available_tls_server_certs": [
- "string"
], - "available_mutual_client_certs": [
- "string"
]
}, - "dns_reg": true,
- "early_dns_reg": true,
- "interfaces": {
- "property1": {
- "if_ident": "string",
- "if_assigned_name": "string",
- "enabled": true,
- "deny_unknown_clients": "string",
- "ignore_client_identifiers": true,
- "dns_reg": "string",
- "early_dns_reg": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "additional_pools": [
- {
- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "default_lease_time": 0,
- "maximum_lease_time": 0,
- "staticarp": true,
- "failover_peerip": "string",
- "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "static_mappings": [
- {
- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}
], - "static_mappings_v6": [
- {
- "id": "string",
- "backend": "string",
- "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "custom_kea_config": "string"
}
], - "pdprefix": "string",
- "pddellen": 0,
- "custom_kea_config": "string",
- "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string",
- "backend": "string"
}, - "property2": {
- "if_ident": "string",
- "if_assigned_name": "string",
- "enabled": true,
- "deny_unknown_clients": "string",
- "ignore_client_identifiers": true,
- "dns_reg": "string",
- "early_dns_reg": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "additional_pools": [
- {
- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "default_lease_time": 0,
- "maximum_lease_time": 0,
- "staticarp": true,
- "failover_peerip": "string",
- "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "static_mappings": [
- {
- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}
], - "static_mappings_v6": [
- {
- "id": "string",
- "backend": "string",
- "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "custom_kea_config": "string"
}
], - "pdprefix": "string",
- "pddellen": 0,
- "custom_kea_config": "string",
- "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string",
- "backend": "string"
}
}, - "custom_kea_config": "string"
}
}object (DhcpGlobalSettings) | |
object (DhcpServiceConfig) Per IP version DHCP service setting | |
object (DhcpServiceConfig) Per IP version DHCP service setting |
{- "service": {
- "backend": "string",
- "radvd_debug": true,
- "dhcp6_debug": true,
- "address_release": true,
- "ignore_isc_warn": true,
- "ipv6_duid_type": "0",
- "ipv6_duid_raw": "string",
- "ipv6_duid_llt_time": "string",
- "ipv6_duid_llt_ll": "string",
- "ipv6_duid_en_en": "string",
- "ipv6_duid_en_id": "string",
- "ipv6_duid_ll": "string",
- "ipv6_duid_uuid": "string"
}, - "dhcpd": {
- "high_availability": {
- "enable": true,
- "role": "string",
- "local_name": "string",
- "local_address": "string",
- "remote_name": "string",
- "remote_address": "string",
- "advance_options": {
- "heartbeat_delay": 0,
- "max_response_delay": 0,
- "max_ack_delay": 0,
- "max_unacked_clients": 0,
- "max_rejected_updates": 0
}, - "enable_tls": true,
- "tls_server_cert_refid": "string",
- "enable_mutual_tls": true,
- "mutual_client_cert_refid": "string",
- "available_tls_server_certs": [
- "string"
], - "available_mutual_client_certs": [
- "string"
]
}, - "dns_reg": true,
- "early_dns_reg": true,
- "interfaces": {
- "property1": {
- "if_ident": "string",
- "if_assigned_name": "string",
- "enabled": true,
- "deny_unknown_clients": "string",
- "ignore_client_identifiers": true,
- "dns_reg": "string",
- "early_dns_reg": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "additional_pools": [
- {
- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "default_lease_time": 0,
- "maximum_lease_time": 0,
- "staticarp": true,
- "failover_peerip": "string",
- "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "static_mappings": [
- {
- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}
], - "static_mappings_v6": [
- {
- "id": "string",
- "backend": "string",
- "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "custom_kea_config": "string"
}
], - "pdprefix": "string",
- "pddellen": 0,
- "custom_kea_config": "string",
- "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string",
- "backend": "string"
}, - "property2": {
- "if_ident": "string",
- "if_assigned_name": "string",
- "enabled": true,
- "deny_unknown_clients": "string",
- "ignore_client_identifiers": true,
- "dns_reg": "string",
- "early_dns_reg": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "additional_pools": [
- {
- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "default_lease_time": 0,
- "maximum_lease_time": 0,
- "staticarp": true,
- "failover_peerip": "string",
- "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "static_mappings": [
- {
- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}
], - "static_mappings_v6": [
- {
- "id": "string",
- "backend": "string",
- "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "custom_kea_config": "string"
}
], - "pdprefix": "string",
- "pddellen": 0,
- "custom_kea_config": "string",
- "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string",
- "backend": "string"
}
}, - "custom_kea_config": "string"
}, - "dhcpdv6": {
- "high_availability": {
- "enable": true,
- "role": "string",
- "local_name": "string",
- "local_address": "string",
- "remote_name": "string",
- "remote_address": "string",
- "advance_options": {
- "heartbeat_delay": 0,
- "max_response_delay": 0,
- "max_ack_delay": 0,
- "max_unacked_clients": 0,
- "max_rejected_updates": 0
}, - "enable_tls": true,
- "tls_server_cert_refid": "string",
- "enable_mutual_tls": true,
- "mutual_client_cert_refid": "string",
- "available_tls_server_certs": [
- "string"
], - "available_mutual_client_certs": [
- "string"
]
}, - "dns_reg": true,
- "early_dns_reg": true,
- "interfaces": {
- "property1": {
- "if_ident": "string",
- "if_assigned_name": "string",
- "enabled": true,
- "deny_unknown_clients": "string",
- "ignore_client_identifiers": true,
- "dns_reg": "string",
- "early_dns_reg": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "additional_pools": [
- {
- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "default_lease_time": 0,
- "maximum_lease_time": 0,
- "staticarp": true,
- "failover_peerip": "string",
- "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "static_mappings": [
- {
- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}
], - "static_mappings_v6": [
- {
- "id": "string",
- "backend": "string",
- "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "custom_kea_config": "string"
}
], - "pdprefix": "string",
- "pddellen": 0,
- "custom_kea_config": "string",
- "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string",
- "backend": "string"
}, - "property2": {
- "if_ident": "string",
- "if_assigned_name": "string",
- "enabled": true,
- "deny_unknown_clients": "string",
- "ignore_client_identifiers": true,
- "dns_reg": "string",
- "early_dns_reg": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "additional_pools": [
- {
- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "default_lease_time": 0,
- "maximum_lease_time": 0,
- "staticarp": true,
- "failover_peerip": "string",
- "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "static_mappings": [
- {
- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}
], - "static_mappings_v6": [
- {
- "id": "string",
- "backend": "string",
- "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "custom_kea_config": "string"
}
], - "pdprefix": "string",
- "pddellen": 0,
- "custom_kea_config": "string",
- "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string",
- "backend": "string"
}
}, - "custom_kea_config": "string"
}
}{- "result": "string"
}| iface required | string |
| version required | string |
{- "entries": [
- {
- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}
]
}| iface required | string |
| version required | string |
| id | string readonly (index) |
| deny_unknown_clients | string disabled | enabled | class |
| description | string |
| address_pool_range_from | string |
| address_pool_range_to | string |
| wins_servers | Array of strings |
| dns_servers | Array of strings |
| gateway | string |
| domain_name | string |
| domain_search_list | Array of strings |
| mac_allow | Array of strings |
| mac_deny | Array of strings |
| ntp_servers | Array of strings |
| tftp_server | string |
| ldap_server_uri | string |
object (DhcpNetworkBooting) | |
| subnet | string |
| subnet_range_from | string |
| subnet_range_to | string |
{- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}{- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}| iface required | string |
| id required | string |
| version required | string |
| id | string readonly (index) |
| deny_unknown_clients | string disabled | enabled | class |
| description | string |
| address_pool_range_from | string |
| address_pool_range_to | string |
| wins_servers | Array of strings |
| dns_servers | Array of strings |
| gateway | string |
| domain_name | string |
| domain_search_list | Array of strings |
| mac_allow | Array of strings |
| mac_deny | Array of strings |
| ntp_servers | Array of strings |
| tftp_server | string |
| ldap_server_uri | string |
object (DhcpNetworkBooting) | |
| subnet | string |
| subnet_range_from | string |
| subnet_range_to | string |
{- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}{- "result": "string"
}| iface required | string |
| version required | string |
{- "if_ident": "string",
- "if_assigned_name": "string",
- "enabled": true,
- "deny_unknown_clients": "string",
- "ignore_client_identifiers": true,
- "dns_reg": "string",
- "early_dns_reg": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "additional_pools": [
- {
- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "default_lease_time": 0,
- "maximum_lease_time": 0,
- "staticarp": true,
- "failover_peerip": "string",
- "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "static_mappings": [
- {
- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}
], - "static_mappings_v6": [
- {
- "id": "string",
- "backend": "string",
- "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "custom_kea_config": "string"
}
], - "pdprefix": "string",
- "pddellen": 0,
- "custom_kea_config": "string",
- "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string",
- "backend": "string"
}| iface required | string |
| version required | string |
| if_ident | string |
| if_assigned_name | string |
| enabled | boolean |
| deny_unknown_clients | string |
| ignore_client_identifiers | boolean |
| dns_reg | string |
| early_dns_reg | string |
| address_pool_range_from | string |
| address_pool_range_to | string |
| wins_servers | Array of strings |
| dns_servers | Array of strings |
Array of objects (DhcpAddressPool) | |
| gateway | string |
| domain_name | string |
| domain_search_list | Array of strings |
| default_lease_time | integer set as 0 to use default value (7200 seconds) |
| maximum_lease_time | integer set as 0 to use default value (86400 seconds) |
| staticarp | boolean |
| failover_peerip | string |
| mac_allow | Array of strings |
| mac_deny | Array of strings |
| ntp_servers | Array of strings |
| tftp_server | string |
| ldap_server_uri | string |
object (DhcpNetworkBooting) | |
Array of objects (DhcpStaticMapping) | |
Array of objects (Dhcpv6StaticMapping) | |
| pdprefix | string IPv6 PD prefix (ipv6/mask CIDR) |
| pddellen | integer IPv6 PD delegated length |
| custom_kea_config | string JSON custom Kea config for interface |
| subnet | string |
| subnet_range_from | string |
| subnet_range_to | string |
| backend | string |
{- "if_ident": "string",
- "if_assigned_name": "string",
- "enabled": true,
- "deny_unknown_clients": "string",
- "ignore_client_identifiers": true,
- "dns_reg": "string",
- "early_dns_reg": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "additional_pools": [
- {
- "id": "string",
- "deny_unknown_clients": "string",
- "description": "string",
- "address_pool_range_from": "string",
- "address_pool_range_to": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string"
}
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "default_lease_time": 0,
- "maximum_lease_time": 0,
- "staticarp": true,
- "failover_peerip": "string",
- "mac_allow": [
- "string"
], - "mac_deny": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "static_mappings": [
- {
- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}
], - "static_mappings_v6": [
- {
- "id": "string",
- "backend": "string",
- "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "custom_kea_config": "string"
}
], - "pdprefix": "string",
- "pddellen": 0,
- "custom_kea_config": "string",
- "subnet": "string",
- "subnet_range_from": "string",
- "subnet_range_to": "string",
- "backend": "string"
}{- "result": "string"
}| iface required | string |
| version required | string |
{- "entries": [
- {
- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}
], - "entriesv6": [
- {
- "id": "string",
- "backend": "string",
- "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "custom_kea_config": "string"
}
]
}| iface required | string |
| version required | string |
| id | string |
| mac_address | string |
| client_identifier | string |
| ip_address | string |
| arp_table_static_entry | boolean |
| hostname | string |
| description | string |
| early_dns_reg | string |
| wins_servers | Array of strings |
| dns_servers | Array of strings |
| gateway | string |
| domain_name | string |
| domain_search_list | Array of strings |
| ntp_servers | Array of strings |
| tftp_server | string |
| ldap_server_uri | string |
object (DhcpNetworkBooting) | |
| duid | string |
| ipv6_address | string |
| delegated_prefix | string |
| filename | string |
| rootpath | string |
| custom_kea_config | string JSON custom Kea config for static mapping |
{- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}{- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}| iface required | string |
| id required | string |
| version required | string |
| id | string |
| mac_address | string |
| client_identifier | string |
| ip_address | string |
| arp_table_static_entry | boolean |
| hostname | string |
| description | string |
| early_dns_reg | string |
| wins_servers | Array of strings |
| dns_servers | Array of strings |
| gateway | string |
| domain_name | string |
| domain_search_list | Array of strings |
| ntp_servers | Array of strings |
| tftp_server | string |
| ldap_server_uri | string |
object (DhcpNetworkBooting) | |
| duid | string |
| ipv6_address | string |
| delegated_prefix | string |
| filename | string |
| rootpath | string |
| custom_kea_config | string JSON custom Kea config for static mapping |
{- "id": "string",
- "mac_address": "string",
- "client_identifier": "string",
- "ip_address": "string",
- "arp_table_static_entry": true,
- "hostname": "string",
- "description": "string",
- "early_dns_reg": "string",
- "wins_servers": [
- "string"
], - "dns_servers": [
- "string"
], - "gateway": "string",
- "domain_name": "string",
- "domain_search_list": [
- "string"
], - "ntp_servers": [
- "string"
], - "tftp_server": "string",
- "ldap_server_uri": "string",
- "network_booting": {
- "enable": true,
- "next_server": "string",
- "default_bios_name": "string",
- "uefi_32_filename": "string",
- "uefi_64_filename": "string",
- "arm_32_filename": "string",
- "arm_64_filename": "string",
- "uefi_http_boot_url": "string",
- "root_path": "string",
- "bootfile_url": "string"
}, - "duid": "string",
- "ipv6_address": "string",
- "delegated_prefix": "string",
- "filename": "string",
- "rootpath": "string",
- "custom_kea_config": "string"
}{- "result": "string"
}{- "v4leases": [
- {
- "type": "string",
- "host": "string",
- "lifetime": 0,
- "ip": "string",
- "mac": "string",
- "cltt": "string",
- "cid": "string",
- "state": "string",
- "start": "string",
- "end": "string",
- "iaid": "string",
- "duid": "string",
- "online_status": "string",
- "descr": "string",
- "assigned_intf": "string",
- "routed_to": "string",
- "dnsreg": true
}
], - "v6leases": [
- {
- "type": "string",
- "host": "string",
- "lifetime": 0,
- "ip": "string",
- "mac": "string",
- "cltt": "string",
- "cid": "string",
- "state": "string",
- "start": "string",
- "end": "string",
- "iaid": "string",
- "duid": "string",
- "online_status": "string",
- "descr": "string",
- "assigned_intf": "string",
- "routed_to": "string",
- "dnsreg": true
}
], - "prefixes": [
- {
- "type": "string",
- "host": "string",
- "lifetime": 0,
- "ip": "string",
- "mac": "string",
- "cltt": "string",
- "cid": "string",
- "state": "string",
- "start": "string",
- "end": "string",
- "iaid": "string",
- "duid": "string",
- "online_status": "string",
- "descr": "string",
- "assigned_intf": "string",
- "routed_to": "string",
- "dnsreg": true
}
], - "interfaces": [
- {
- "name": "string",
- "start": "string",
- "end": "string",
- "num": 0,
- "capacity": 0
}
], - "interfacesv6": [
- {
- "name": "string",
- "start": "string",
- "end": "string",
- "num": 0,
- "capacity": 0
}
], - "v4_ha_status": [
- {
- "server_name": "string",
- "where": "string",
- "role": "string",
- "last_heartbeat_sec": 0,
- "state": "string"
}
], - "v6_ha_status": [
- {
- "server_name": "string",
- "where": "string",
- "role": "string",
- "last_heartbeat_sec": 0,
- "state": "string"
}
]
}{- "config": {
- "enable": true,
- "regdhcp": true,
- "regdhcpstatic": true,
- "dhcpfirst": true,
- "strict_order": true,
- "domain_needed": true,
- "no_private_reverse": true,
- "no_system_dns": true,
- "port": "string",
- "interface": "string",
- "strictbind": true,
- "custom_options": "string",
- "hosts": [
- {
- "host": "string",
- "domain": "string",
- "ip": "string",
- "descr": "string",
- "aliases": [
- {
- "host": "string",
- "domain": "string",
- "description": "string"
}
]
}
], - "domainoverrides": [
- {
- "domain": "string",
- "ip": "string",
- "descr": "string",
- "source_ip": "string",
- "idx": 0
}
]
}, - "interfaces": {
- "property1": "string",
- "property2": "string"
}
}object (DNSForwarderConfig) |
{- "config": {
- "enable": true,
- "regdhcp": true,
- "regdhcpstatic": true,
- "dhcpfirst": true,
- "strict_order": true,
- "domain_needed": true,
- "no_private_reverse": true,
- "no_system_dns": true,
- "port": "string",
- "interface": "string",
- "strictbind": true,
- "custom_options": "string",
- "hosts": [
- {
- "host": "string",
- "domain": "string",
- "ip": "string",
- "descr": "string",
- "aliases": [
- {
- "host": "string",
- "domain": "string",
- "description": "string"
}
]
}
], - "domainoverrides": [
- {
- "domain": "string",
- "ip": "string",
- "descr": "string",
- "source_ip": "string",
- "idx": 0
}
]
}
}{- "result": "string"
}{- "config": {
- "enable": true,
- "dnssec": true,
- "active_interface": [
- "string"
], - "outgoing_interface": [
- "string"
], - "custom_options": "string",
- "hideidentity": true,
- "hideversion": true,
- "dnssecstripped": true,
- "drop_old_udp_pkts": 0,
- "keep_probing": true,
- "qname_minimisation": true,
- "qname_minimisation_strict": true,
- "prefetch": true,
- "prefetchkey": true,
- "dnsrecordcache": true,
- "aggressivensec": true,
- "msgcachesize": "string",
- "outgoing_num_tcp": "string",
- "incoming_num_tcp": "string",
- "edns_buffer_size": "string",
- "num_queries_per_thread": "string",
- "jostle_timeout": "string",
- "cache_max_ttl": "string",
- "cache_min_ttl": "string",
- "infra_host_ttl": "string",
- "infra_cache_numhosts": "string",
- "unwanted_reply_threshold": "string",
- "log_verbosity": "string",
- "disable_auto_added_access_control": true,
- "disable_auto_added_host_entries": true,
- "use_caps": true,
- "dns64": true,
- "dns64prefix": "string",
- "dns64netbits": "string",
- "allow_dns64_for_localhost": true,
- "port": 0,
- "sslport": 0,
- "sslcertref": "string",
- "system_domain_local_zone_type": "string",
- "regdhcp": true,
- "enablessl": true,
- "python": true,
- "python_order": "string",
- "python_script": "string",
- "forwarding": true,
- "forward_tls_upstream": true,
- "regdhcpstatic": true,
- "regovpnclients": true,
- "hosts": [
- {
- "host": "string",
- "domain": "string",
- "ip": "string",
- "descr": "string",
- "aliases": [
- {
- "host": "string",
- "domain": "string",
- "description": "string"
}
]
}
], - "domainoverrides": [
- {
- "domain": "string",
- "ip": "string",
- "descr": "string",
- "forward_tls_upstream": true,
- "tls_hostname": "string",
- "idx": 0
}
], - "acls": [
- {
- "aclid": "string",
- "aclname": "string",
- "aclaction": "string",
- "description": "string",
- "row": [
- {
- "acl_network": "string",
- "mask": "string",
- "description": "string"
}
]
}
], - "strictout": true
}, - "interfaces": {
- "property1": "string",
- "property2": "string"
}, - "certs": [
- {
- "name": "string",
- "ident": "string"
}
], - "scripts": [
- "string"
]
}object (DNSResolverConfig) |
{- "config": {
- "enable": true,
- "dnssec": true,
- "active_interface": [
- "string"
], - "outgoing_interface": [
- "string"
], - "custom_options": "string",
- "hideidentity": true,
- "hideversion": true,
- "dnssecstripped": true,
- "drop_old_udp_pkts": 0,
- "keep_probing": true,
- "qname_minimisation": true,
- "qname_minimisation_strict": true,
- "prefetch": true,
- "prefetchkey": true,
- "dnsrecordcache": true,
- "aggressivensec": true,
- "msgcachesize": "string",
- "outgoing_num_tcp": "string",
- "incoming_num_tcp": "string",
- "edns_buffer_size": "string",
- "num_queries_per_thread": "string",
- "jostle_timeout": "string",
- "cache_max_ttl": "string",
- "cache_min_ttl": "string",
- "infra_host_ttl": "string",
- "infra_cache_numhosts": "string",
- "unwanted_reply_threshold": "string",
- "log_verbosity": "string",
- "disable_auto_added_access_control": true,
- "disable_auto_added_host_entries": true,
- "use_caps": true,
- "dns64": true,
- "dns64prefix": "string",
- "dns64netbits": "string",
- "allow_dns64_for_localhost": true,
- "port": 0,
- "sslport": 0,
- "sslcertref": "string",
- "system_domain_local_zone_type": "string",
- "regdhcp": true,
- "enablessl": true,
- "python": true,
- "python_order": "string",
- "python_script": "string",
- "forwarding": true,
- "forward_tls_upstream": true,
- "regdhcpstatic": true,
- "regovpnclients": true,
- "hosts": [
- {
- "host": "string",
- "domain": "string",
- "ip": "string",
- "descr": "string",
- "aliases": [
- {
- "host": "string",
- "domain": "string",
- "description": "string"
}
]
}
], - "domainoverrides": [
- {
- "domain": "string",
- "ip": "string",
- "descr": "string",
- "forward_tls_upstream": true,
- "tls_hostname": "string",
- "idx": 0
}
], - "acls": [
- {
- "aclid": "string",
- "aclname": "string",
- "aclaction": "string",
- "description": "string",
- "row": [
- {
- "acl_network": "string",
- "mask": "string",
- "description": "string"
}
]
}
], - "strictout": true
}
}{- "result": "string"
}{- "speed": [
- {
- "server": "string",
- "zone": "string",
- "ttl": 0,
- "expired": true,
- "ping": 0,
- "var": 0,
- "rtt": 0,
- "rto": 0,
- "timeout_a": 0,
- "timeout_aaaa": 0,
- "timeout_other": 0
}
], - "stats": [
- {
- "server": "string",
- "zone": "string",
- "expired": true,
- "edns_lame_known": 0,
- "edns_version": 0,
- "probe_delay": 0,
- "lame_dnssec": 0,
- "lame_rec": 0,
- "lame_a": 0,
- "lame_other": 0
}
]
}{- "dyndnses": [
- {
- "enable": true,
- "type": "string",
- "username": "string",
- "password": "string",
- "host": "string",
- "domainname": "string",
- "mx": "string",
- "wildcard": true,
- "verboselog": true,
- "curl_ipresolve_v4": true,
- "curl_ssl_verifypeer": true,
- "curl_proxy": true,
- "maxcacheage": "string",
- "interface": "string",
- "zoneid": "string",
- "ttl": "string",
- "updateurl": "string",
- "resultmatch": "string",
- "requestif": "string",
- "proxied": true,
- "descr": "string",
- "id": "string",
- "check_ip_mode": "string",
- "status": "string",
- "ip": "string"
}
]
}| enable required | boolean |
| type required | string |
| username | string |
| password | string base64 encoded |
| host | string |
| domainname | string |
| mx | string |
| wildcard | boolean |
| verboselog | boolean |
| curl_ipresolve_v4 | boolean |
| curl_ssl_verifypeer | boolean |
| curl_proxy | boolean |
| maxcacheage | string |
| interface | string |
| zoneid | string |
| ttl | string |
| updateurl | string |
| resultmatch | string |
| requestif | string |
| proxied | boolean |
| descr | string |
| id | string |
| check_ip_mode | string auto (default), always, never |
| status | string failed or updated |
| ip | string cached IP/IPv6 |
{- "enable": true,
- "type": "string",
- "username": "string",
- "password": "string",
- "host": "string",
- "domainname": "string",
- "mx": "string",
- "wildcard": true,
- "verboselog": true,
- "curl_ipresolve_v4": true,
- "curl_ssl_verifypeer": true,
- "curl_proxy": true,
- "maxcacheage": "string",
- "interface": "string",
- "zoneid": "string",
- "ttl": "string",
- "updateurl": "string",
- "resultmatch": "string",
- "requestif": "string",
- "proxied": true,
- "descr": "string",
- "id": "string",
- "check_ip_mode": "string",
- "status": "string",
- "ip": "string"
}{- "result": "string"
}| enable required | boolean |
| name | string |
| url | string |
| username | string |
| password | string |
| verifysslpeer | boolean |
| curl_proxy | boolean |
| descr | string |
{- "enable": true,
- "name": "string",
- "url": "string",
- "username": "string",
- "password": "string",
- "verifysslpeer": true,
- "curl_proxy": true,
- "descr": "string"
}{- "result": "string"
}| id required | string |
| enable required | boolean |
| name | string |
| url | string |
| username | string |
| password | string |
| verifysslpeer | boolean |
| curl_proxy | boolean |
| descr | string |
{- "enable": true,
- "name": "string",
- "url": "string",
- "username": "string",
- "password": "string",
- "verifysslpeer": true,
- "curl_proxy": true,
- "descr": "string"
}{- "result": "string"
}{- "dnsupdate": [
- {
- "enable": true,
- "host": "string",
- "zone": "string",
- "ttl": "string",
- "keyname": "string",
- "keyalgorithm": "string",
- "keydata": "string",
- "server": "string",
- "usetcp": true,
- "usepublicip": true,
- "recordtype": "string",
- "interface": "string",
- "updatesource": "string",
- "updatesourcefamily": "string",
- "descr": "string",
- "status": "string",
- "ip": "string"
}
]
}| enable required | boolean |
| host | string |
| zone | string |
| ttl | string |
| keyname | string |
| keyalgorithm | string |
| keydata | string |
| server | string |
| usetcp | boolean |
| usepublicip | boolean |
| recordtype | string |
| interface | string |
| updatesource | string |
| updatesourcefamily | string |
| descr | string |
| status | string failed or updated |
| ip | string cached IP/IPv6 |
{- "enable": true,
- "host": "string",
- "zone": "string",
- "ttl": "string",
- "keyname": "string",
- "keyalgorithm": "string",
- "keydata": "string",
- "server": "string",
- "usetcp": true,
- "usepublicip": true,
- "recordtype": "string",
- "interface": "string",
- "updatesource": "string",
- "updatesourcefamily": "string",
- "descr": "string",
- "status": "string",
- "ip": "string"
}{- "result": "string"
}| id required | string |
| enable required | boolean |
| host | string |
| zone | string |
| ttl | string |
| keyname | string |
| keyalgorithm | string |
| keydata | string |
| server | string |
| usetcp | boolean |
| usepublicip | boolean |
| recordtype | string |
| interface | string |
| updatesource | string |
| updatesourcefamily | string |
| descr | string |
| status | string failed or updated |
| ip | string cached IP/IPv6 |
{- "enable": true,
- "host": "string",
- "zone": "string",
- "ttl": "string",
- "keyname": "string",
- "keyalgorithm": "string",
- "keydata": "string",
- "server": "string",
- "usetcp": true,
- "usepublicip": true,
- "recordtype": "string",
- "interface": "string",
- "updatesource": "string",
- "updatesourcefamily": "string",
- "descr": "string",
- "status": "string",
- "ip": "string"
}{- "result": "string"
}| ifname required | string |
| threshold | integer |
| descr | string |
| type | string |
| address required | Array of strings |
| id | string record ID, read-only |
{- "ifname": "string",
- "threshold": 0,
- "descr": "string",
- "type": "string",
- "address": [
- "string"
], - "id": "string"
}{- "result": "string"
}| id required | string |
| ifname required | string |
| threshold | integer |
| descr | string |
| type | string |
| address required | Array of strings |
| id | string record ID, read-only |
{- "ifname": "string",
- "threshold": 0,
- "descr": "string",
- "type": "string",
- "address": [
- "string"
], - "id": "string"
}{- "result": "string"
}{- "settings": {
- "enable": true,
- "interfaces": [
- "string"
], - "servers": [
- {
- "addr": "string",
- "type": "string",
- "prefer": true,
- "no_select": true
}
], - "ntpmaxpeers": "string",
- "orphan": "string",
- "ntpminpoll": "string",
- "ntpmaxpoll": "string",
- "statsgraph": true,
- "logpeer": true,
- "logsys": true,
- "log_stats": {
- "clock_statistics": true,
- "discipline_statistics": true,
- "peer_statistics": true
}, - "leapsec": "string",
- "dnsresolv": "string",
- "serverauth": true,
- "serverauthkey": "string",
- "serverauthkeyid": "string",
- "serverauthalgo": "string"
}, - "acls": {
- "default_restrictions": {
- "kod": true,
- "nomodify": true,
- "noquery": true,
- "noserve": true,
- "nopeer": true,
- "notrap": true
}, - "custom_restrictions": [
- {
- "network": "string",
- "mask": 0,
- "restrictions": {
- "kod": true,
- "nomodify": true,
- "noquery": true,
- "noserve": true,
- "nopeer": true,
- "notrap": true
}
}
]
}, - "serial_gps": {
- "type": "string",
- "port": "string",
- "speed": "string",
- "autobaudinit": true,
- "nmea": 0,
- "fudge1": 0.1,
- "fudge2": 0.1,
- "stratum": 0,
- "gpsminpoll": "string",
- "gpsmaxpoll": "string",
- "ntp_gps_flags": {
- "prefer_this_clock": true,
- "do_not_select_this_clock": true,
- "enable_pps_signal_processing": true,
- "enable_falling_edge_pps_signal_processing": true,
- "enable_kernel_pps_clock_disciple": true,
- "obscure_location_in_timestamp": true,
- "log_subsecond_received_timestamp": true,
- "display_extended_gps_status": true
}, - "refid": "string",
- "initcmd": "string",
- "autocorrect_initcmd": true,
- "processpgrmf": true,
- "default_initcmds": {
- "property1": "string",
- "property2": "string"
}
}, - "pps": {
- "port": "string",
- "fudge1": 0.1,
- "stratum": 0,
- "ppsminpoll": "string",
- "ppsmaxpoll": "string",
- "pps_flags": {
- "enable_falling_edge_pps_signal_processing": true,
- "enable_kernel_pps_clock_disciple": true,
- "record_a_timestamp_once_for_each_second": true
}, - "refid": "string"
}, - "avail_serial_ports": [
- "string"
]
}object (NtpSettings) | |
object (NtpAcls) | |
object (NtpSerialGps) | |
object (NtpPps) | |
| avail_serial_ports | Array of strings |
{- "settings": {
- "enable": true,
- "interfaces": [
- "string"
], - "servers": [
- {
- "addr": "string",
- "type": "string",
- "prefer": true,
- "no_select": true
}
], - "ntpmaxpeers": "string",
- "orphan": "string",
- "ntpminpoll": "string",
- "ntpmaxpoll": "string",
- "statsgraph": true,
- "logpeer": true,
- "logsys": true,
- "log_stats": {
- "clock_statistics": true,
- "discipline_statistics": true,
- "peer_statistics": true
}, - "leapsec": "string",
- "dnsresolv": "string",
- "serverauth": true,
- "serverauthkey": "string",
- "serverauthkeyid": "string",
- "serverauthalgo": "string"
}, - "acls": {
- "default_restrictions": {
- "kod": true,
- "nomodify": true,
- "noquery": true,
- "noserve": true,
- "nopeer": true,
- "notrap": true
}, - "custom_restrictions": [
- {
- "network": "string",
- "mask": 0,
- "restrictions": {
- "kod": true,
- "nomodify": true,
- "noquery": true,
- "noserve": true,
- "nopeer": true,
- "notrap": true
}
}
]
}, - "serial_gps": {
- "type": "string",
- "port": "string",
- "speed": "string",
- "autobaudinit": true,
- "nmea": 0,
- "fudge1": 0.1,
- "fudge2": 0.1,
- "stratum": 0,
- "gpsminpoll": "string",
- "gpsmaxpoll": "string",
- "ntp_gps_flags": {
- "prefer_this_clock": true,
- "do_not_select_this_clock": true,
- "enable_pps_signal_processing": true,
- "enable_falling_edge_pps_signal_processing": true,
- "enable_kernel_pps_clock_disciple": true,
- "obscure_location_in_timestamp": true,
- "log_subsecond_received_timestamp": true,
- "display_extended_gps_status": true
}, - "refid": "string",
- "initcmd": "string",
- "autocorrect_initcmd": true,
- "processpgrmf": true,
- "default_initcmds": {
- "property1": "string",
- "property2": "string"
}
}, - "pps": {
- "port": "string",
- "fudge1": 0.1,
- "stratum": 0,
- "ppsminpoll": "string",
- "ppsmaxpoll": "string",
- "pps_flags": {
- "enable_falling_edge_pps_signal_processing": true,
- "enable_kernel_pps_clock_disciple": true,
- "record_a_timestamp_once_for_each_second": true
}, - "refid": "string"
}, - "avail_serial_ports": [
- "string"
]
}{- "result": "string"
}{- "enabled": true,
- "query_enabled": true,
- "servers": [
- {
- "status": "string",
- "server": "string",
- "refid": "string",
- "stratum": "string",
- "type": "string",
- "when": "string",
- "poll": "string",
- "reach": "string",
- "delay": "string",
- "offset": "string",
- "jitter": "string"
}
]
}{- "pppoe": [
- {
- "remoteip": "string",
- "localip": "string",
- "mode": "string",
- "interface": "string",
- "n_pppoe_units": "string",
- "n_pppoe_maxlogin": "string",
- "pppoe_subnet": "string",
- "descr": "string",
- "radius": {
- "nasip": "string",
- "acct_update": "string",
- "server": {
- "ip": "string",
- "secret": "string",
- "port": "string",
- "acctport": "string",
- "enable": true
}, - "server2": {
- "ip": "string",
- "secret": "string",
- "port": "string",
- "acctport": "string",
- "enable": true
}, - "accounting": true,
- "radiusissueips": true
}, - "dns1": "string",
- "dns2": "string",
- "pppoeid": "string",
- "username": "string"
}
], - "interfaces": [
- "string"
]
}Array of objects (PPPoEServer) |
{- "pppoe": [
- {
- "remoteip": "string",
- "localip": "string",
- "mode": "string",
- "interface": "string",
- "n_pppoe_units": "string",
- "n_pppoe_maxlogin": "string",
- "pppoe_subnet": "string",
- "descr": "string",
- "radius": {
- "nasip": "string",
- "acct_update": "string",
- "server": {
- "ip": "string",
- "secret": "string",
- "port": "string",
- "acctport": "string",
- "enable": true
}, - "server2": {
- "ip": "string",
- "secret": "string",
- "port": "string",
- "acctport": "string",
- "enable": true
}, - "accounting": true,
- "radiusissueips": true
}, - "dns1": "string",
- "dns2": "string",
- "pppoeid": "string",
- "username": "string"
}
]
}{- "result": "string"
}{- "intf_radvs": [
- {
- "assigned_interface": "string",
- "mode": "disabled",
- "priority": "string",
- "lifetime_secs": 0,
- "pref_lifetime_secs": 0,
- "min_ra_interval": 0,
- "max_ra_interval": 0,
- "router_lifetime": 0,
- "nat64_enable": true,
- "nat64_prefix": "string",
- "nat64_prefix_life": 0,
- "ra_subnets": [
- "string"
], - "enable_dns": true,
- "mirror_dhcp6": true,
- "dns_servers": [
- "string"
], - "dns_searchlist": [
- "string"
]
}
]
}| intf required | string |
| assigned_interface required | string assigned name of network interface |
| mode required | string Enum: "disabled" "router" "unmanaged" "managed" "assist" "stateless_dhcp" disabled, router, unmanaged, managed, assist, stateless_dhcp |
| priority | string low, normal, high |
| lifetime_secs | integer length of time in seconds, default is 86400 |
| pref_lifetime_secs | integer length of time from SLAAC addresses remain preferred, default 14400 |
| min_ra_interval | integer minimum time allowed between sending unsolicited multicast RA in seconds, default 200 |
| max_ra_interval | integer maximum time allowed between sending unsolicited multicast RA in seconds, default 600 |
| router_lifetime | integer lifetime associated wi th default router in seconds, default 3x max RA |
| nat64_enable | boolean advertise a NAT64 prefix |
| nat64_prefix | string NAT 64 prefix to enable PREF64 support |
| nat64_prefix_life | integer length of time in seconds that the prefix is valid for NAT64, default is 3x RA |
| ra_subnets | Array of strings |
| enable_dns | boolean provide DNS configuration via RA service |
| mirror_dhcp6 | boolean copy DNS configuration from primary DHCPv6 options |
| dns_servers | Array of strings |
| dns_searchlist | Array of strings |
{- "assigned_interface": "string",
- "mode": "disabled",
- "priority": "string",
- "lifetime_secs": 0,
- "pref_lifetime_secs": 0,
- "min_ra_interval": 0,
- "max_ra_interval": 0,
- "router_lifetime": 0,
- "nat64_enable": true,
- "nat64_prefix": "string",
- "nat64_prefix_life": 0,
- "ra_subnets": [
- "string"
], - "enable_dns": true,
- "mirror_dhcp6": true,
- "dns_servers": [
- "string"
], - "dns_searchlist": [
- "string"
]
}{- "result": "string"
}{- "config": {
- "syslocation": "string",
- "syscontact": "string",
- "rocommunity": "string",
- "modules": {
- "mibii": true,
- "netgraph": true,
- "pf": true,
- "hostres": true,
- "ucd": true,
- "regex": true
}, - "enable": true,
- "pollport": "string",
- "trapenable": true,
- "trapserver": "string",
- "trapserverport": "string",
- "trapstring": "string",
- "bindip": "string",
- "ipprotocol": "string"
}, - "interfaces": [
- {
- "text": "string",
- "value": "string"
}
]
}{- "config": {
- "syslocation": "string",
- "syscontact": "string",
- "rocommunity": "string",
- "modules": {
- "mibii": true,
- "netgraph": true,
- "pf": true,
- "hostres": true,
- "ucd": true,
- "regex": true
}, - "enable": true,
- "pollport": "string",
- "trapenable": true,
- "trapserver": "string",
- "trapserverport": "string",
- "trapstring": "string",
- "bindip": "string",
- "ipprotocol": "string"
}
}{- "result": "string"
}{- "config": {
- "enable": true,
- "enable_upnp": true,
- "enable_natpmp": true,
- "ext_iface": "string",
- "iface_array": [
- "string"
], - "download": "string",
- "upload": "string",
- "overridewanip": "string",
- "upnpqueue": "string",
- "logpackets": true,
- "sysuptime": true,
- "permdefault": true,
- "row": [
- {
- "id": "string",
- "permuser": "string"
}
], - "presentationurl": "string",
- "modelnumber": "string",
- "enable_stun": true,
- "stun_host": "string",
- "stun_port": "string"
}, - "interfaces": [
- "string"
]
}{- "config": {
- "enable": true,
- "enable_upnp": true,
- "enable_natpmp": true,
- "ext_iface": "string",
- "iface_array": [
- "string"
], - "download": "string",
- "upload": "string",
- "overridewanip": "string",
- "upnpqueue": "string",
- "logpackets": true,
- "sysuptime": true,
- "permdefault": true,
- "row": [
- {
- "id": "string",
- "permuser": "string"
}
], - "presentationurl": "string",
- "modelnumber": "string",
- "enable_stun": true,
- "stun_host": "string",
- "stun_port": "string"
}
}{- "result": "string"
}{- "phase1": [
- {
- "ikeid": "string",
- "iketype": "string",
- "interface": "string",
- "remote_gateway": "string",
- "protocol": "string",
- "myid_type": "string",
- "myid_data": "string",
- "peerid_type": "string",
- "peerid_data": "string",
- "encryption": {
- "item": [
- {
- "encryption_algorithm": {
- "name": "string",
- "keylen": "string"
}, - "hash_algorithm": "string",
- "prf_algorithm": "string",
- "dhgroup": "string"
}
]
}, - "lifetime": 0,
- "rekey_time": 0,
- "reauth_time": 0,
- "rand_time": 0,
- "pre_shared_key": "string",
- "private_key": "string",
- "certref": "string",
- "pkcs11certref": "string",
- "pkcs11pin": "string",
- "caref": "string",
- "authentication_method": "string",
- "descr": "string",
- "nat_traversal": "string",
- "mobike": "string",
- "startaction": "string",
- "closeaction": "string",
- "dpd_delay": 0,
- "dpd_maxfail": 0,
- "prfselect_enable": true,
- "gw_duplicates": true,
- "mobile": true,
- "disabled": true
}
], - "phase2": [
- {
- "ikeid": "string",
- "uniqid": "string",
- "mode": "string",
- "reqid": "string",
- "localid": {
- "type": "string",
- "address": "string",
- "netbits": "string"
}, - "remoteid": {
- "type": "string",
- "address": "string",
- "netbits": "string"
}, - "protocol": "string",
- "encryption_algorithm_option": [
- {
- "name": "string",
- "keylen": "string"
}
], - "hash_algorithm_option": [
- "string"
], - "pfsgroup": "string",
- "lifetime": 0,
- "rekey_time": 0,
- "rand_time": 0,
- "pinghost": "string",
- "keepalive": true,
- "mobile": true,
- "disabled": true,
- "descr": "string"
}
], - "ipsec_capable_ifs": [
- {
- "if_identity": "string",
- "if_assigned_name": "string"
}
]
}{- "logging": {
- "dmn": "string",
- "mgr": "string",
- "ike": "string",
- "chd": "string",
- "job": "string",
- "cfg": "string",
- "knl": "string",
- "net": "string",
- "asn": "string",
- "enc": "string",
- "imc": "string",
- "imv": "string",
- "pts": "string",
- "tls": "string",
- "esp": "string",
- "lib": "string"
}, - "async_crypto": true,
- "uniqueids": "string",
- "filtermode": "string",
- "bypassrules": {
- "rules": [
- {
- "source": "string",
- "sourcemask": "string",
- "destination": "string",
- "dstmask": "string"
}
]
}, - "pkcs11support": true,
- "enableinterfacesuse": true,
- "unityplugin": true,
- "strictcrlpolicy": true,
- "makebeforebreak": true,
- "ipsecbypass": true,
- "acceptunencryptedmainmode": true,
- "maxexchange": 0,
- "port_nat_t": 0,
- "port": 0,
- "compression": true,
- "noshuntlaninterfaces": true,
- "maxmss": "string",
- "dns_interval": 0,
- "ikev2_retransmit_enable": true,
- "ikev2_retransmit_tries": 0,
- "ikev2_retransmit_timeout": 0,
- "ikev2_retransmit_base": 0,
- "ikev2_retransmit_jitter": 0,
- "ikev2_retransmit_limit": 0
}object (IPSecLogging) | |
| async_crypto | boolean |
| uniqueids | string |
| filtermode | string |
object (IPSecBypassRules) | |
| pkcs11support | boolean |
| enableinterfacesuse | boolean |
| unityplugin | boolean |
| strictcrlpolicy | boolean |
| makebeforebreak | boolean |
| ipsecbypass | boolean |
| acceptunencryptedmainmode | boolean |
| maxexchange | integer |
| port_nat_t | integer |
| port | integer |
| compression | boolean |
| noshuntlaninterfaces | boolean |
| maxmss | string |
| dns_interval | integer |
| ikev2_retransmit_enable | boolean |
| ikev2_retransmit_tries | integer |
| ikev2_retransmit_timeout | integer |
| ikev2_retransmit_base | integer |
| ikev2_retransmit_jitter | integer |
| ikev2_retransmit_limit | integer |
{- "logging": {
- "dmn": "string",
- "mgr": "string",
- "ike": "string",
- "chd": "string",
- "job": "string",
- "cfg": "string",
- "knl": "string",
- "net": "string",
- "asn": "string",
- "enc": "string",
- "imc": "string",
- "imv": "string",
- "pts": "string",
- "tls": "string",
- "esp": "string",
- "lib": "string"
}, - "async_crypto": true,
- "uniqueids": "string",
- "filtermode": "string",
- "bypassrules": {
- "rules": [
- {
- "source": "string",
- "sourcemask": "string",
- "destination": "string",
- "dstmask": "string"
}
]
}, - "pkcs11support": true,
- "enableinterfacesuse": true,
- "unityplugin": true,
- "strictcrlpolicy": true,
- "makebeforebreak": true,
- "ipsecbypass": true,
- "acceptunencryptedmainmode": true,
- "maxexchange": 0,
- "port_nat_t": 0,
- "port": 0,
- "compression": true,
- "noshuntlaninterfaces": true,
- "maxmss": "string",
- "dns_interval": 0,
- "ikev2_retransmit_enable": true,
- "ikev2_retransmit_tries": 0,
- "ikev2_retransmit_timeout": 0,
- "ikev2_retransmit_base": 0,
- "ikev2_retransmit_jitter": 0,
- "ikev2_retransmit_limit": 0
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "client": {
- "enable": true,
- "radiusaccounting": true,
- "user_source": "string",
- "user_source_array": [
- "string"
], - "group_source": true,
- "auth_groups": "string",
- "auth_groups_array": [
- "string"
], - "pool_address": "string",
- "pool_netbits": "string",
- "pool_address_v6": "string",
- "pool_netbits_v6": "string",
- "net_list": true,
- "save_passwd": true,
- "dns_domain": "string",
- "dns_split": "string",
- "dns_server1": "string",
- "dns_server2": "string",
- "dns_server3": "string",
- "dns_server4": "string",
- "wins_server1": "string",
- "wins_server2": "string",
- "pfs_group": "string",
- "login_banner": "string",
- "radius_ip_priority_enable": true,
- "radius_retransmit_base": "string",
- "radius_retransmit_timeout": "string",
- "radius_retransmit_tries": "string",
- "radius_sockets": "string"
}, - "user_groups": [
- {
- "name": "string",
- "description": "string",
- "scope": "string",
- "gid": 0,
- "members": [
- 0
], - "privs": [
- "string"
]
}
], - "auth_servers": {
- "active_type": "string",
- "active_name": "string",
- "ldap": [
- {
- "type": "string",
- "name": "string",
- "host": "string",
- "version": 0,
- "port": 0,
- "transport": "string",
- "timeout": 0,
- "search_scope": "string",
- "base_dn": "string",
- "auth_containers": "string",
- "extended_query": "string",
- "bind_user_dn": "string",
- "bind_password": "string",
- "user_naming_attrib": "string",
- "group_naming_attrib": "string",
- "group_member_attrib": "string",
- "rfc2307": true,
- "rfc2307_group_class": "string",
- "rfc2307_use_userdn": true,
- "shell_group_dn": "string",
- "username_alterations": true,
- "utf8_encode": true,
- "unauthenticated_bind": true,
- "no_strip_at": true,
- "caref": "string",
- "certref": "string",
- "refid": "string",
- "nexus_group_prefix": "string"
}
], - "radius": [
- {
- "type": "string",
- "name": "string",
- "host": "string",
- "protocol": "string",
- "nasip_attribute": "string",
- "secret": "string",
- "timeout": 0,
- "auth_port": 0,
- "acct_port": 0,
- "refid": "string"
}
], - "local": {
- "name": "string",
- "type": "string",
- "host": "string"
}, - "radius_nas_list": [
- {
- "value": "string",
- "text": "string"
}
]
}
}| enable required | boolean |
| radiusaccounting | boolean |
| user_source | string |
| user_source_array | Array of strings |
| group_source | boolean |
| auth_groups | string |
| auth_groups_array | Array of strings |
| pool_address | string |
| pool_netbits | string |
| pool_address_v6 | string |
| pool_netbits_v6 | string |
| net_list | boolean |
| save_passwd | boolean |
| dns_domain | string |
| dns_split | string |
| dns_server1 | string |
| dns_server2 | string |
| dns_server3 | string |
| dns_server4 | string |
| wins_server1 | string |
| wins_server2 | string |
| pfs_group | string |
| login_banner | string |
| radius_ip_priority_enable | boolean |
| radius_retransmit_base | string |
| radius_retransmit_timeout | string |
| radius_retransmit_tries | string |
| radius_sockets | string |
{- "enable": true,
- "radiusaccounting": true,
- "user_source": "string",
- "user_source_array": [
- "string"
], - "group_source": true,
- "auth_groups": "string",
- "auth_groups_array": [
- "string"
], - "pool_address": "string",
- "pool_netbits": "string",
- "pool_address_v6": "string",
- "pool_netbits_v6": "string",
- "net_list": true,
- "save_passwd": true,
- "dns_domain": "string",
- "dns_split": "string",
- "dns_server1": "string",
- "dns_server2": "string",
- "dns_server3": "string",
- "dns_server4": "string",
- "wins_server1": "string",
- "wins_server2": "string",
- "pfs_group": "string",
- "login_banner": "string",
- "radius_ip_priority_enable": true,
- "radius_retransmit_base": "string",
- "radius_retransmit_timeout": "string",
- "radius_retransmit_tries": "string",
- "radius_sockets": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| id | string generated by system when create group pool |
| ident required | Array of strings |
| pool_address required | string must be ipv4 address |
| pool_netbits required | integer [ 0 .. 32 ] subnet for the pool address |
| dns_address | string optional, if used, must be ipv4 address |
{- "id": "string",
- "ident": [
- "string"
], - "pool_address": "string",
- "pool_netbits": 32,
- "dns_address": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| id required | string |
| id | string generated by system when create group pool |
| ident required | Array of strings |
| pool_address required | string must be ipv4 address |
| pool_netbits required | integer [ 0 .. 32 ] subnet for the pool address |
| dns_address | string optional, if used, must be ipv4 address |
{- "id": "string",
- "ident": [
- "string"
], - "pool_address": "string",
- "pool_netbits": 32,
- "dns_address": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| connect_p1 | boolean |
| p1_ikeid | string |
| connect_p2 | boolean |
| p2_reqid | string |
{- "connect_p1": true,
- "p1_ikeid": "string",
- "connect_p2": true,
- "p2_reqid": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| phase | string Enum: "1" "2" |
| conid | string |
| uniqueid | string |
{- "phase": "1",
- "conid": "string",
- "uniqueid": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "mobile_p1_exist": true,
- "mobile_p2_exist": true,
- "mobile_p2_is_tunnel": true,
- "mobile_p1_descr": "string",
- "mobile_p1_authmethod": "string",
- "system_hostname": "string",
- "server_addresses": [
- "string"
], - "vpnclients": [
- {
- "value": "string",
- "text": "string"
}
]
}| target required | string |
| name | string the name of the VPN |
| server_address | string the server address to be used by the client |
| server_hostname | string address to which clients will connect when server_address value is "Custom Hostname" |
| vpnclient | string (for target apple) the client to export |
| external_username | string (for target apple) this is the username when vpnclient value is " |
| user_certref | string (for target windows) the TLS client certificate to include in the download archive |
| download | boolean indicate whether response http header Content-Disposition is set as attachment for front-end to download the exported profile |
{- "name": "string",
- "server_address": "string",
- "server_hostname": "string",
- "vpnclient": "string",
- "external_username": "string",
- "user_certref": "string",
- "download": true
}{- "errcode": 0,
- "errlevel": "string",
- "errmsg": "string",
- "alerts": {
- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}
}| ident | string |
| type | string |
| pre_shared_key | string |
| ident_type | string |
| pool_address | string |
| pool_netbits | string |
| dns_address | string |
{- "ident": "string",
- "type": "string",
- "pre_shared_key": "string",
- "ident_type": "string",
- "pool_address": "string",
- "pool_netbits": "string",
- "dns_address": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| ident | string |
| type | string |
| pre_shared_key | string |
| ident_type | string |
| pool_address | string |
| pool_netbits | string |
| dns_address | string |
{- "ident": "string",
- "type": "string",
- "pre_shared_key": "string",
- "ident_type": "string",
- "pool_address": "string",
- "pool_netbits": "string",
- "dns_address": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| ikeid | string |
| iketype required | string |
| interface | string |
| remote_gateway | string |
| protocol | string |
| myid_type | string |
| myid_data | string |
| peerid_type | string |
| peerid_data | string |
object (Phase1Encryption) | |
| lifetime | integer |
| rekey_time | integer |
| reauth_time | integer |
| rand_time | integer |
| pre_shared_key | string |
| private_key | string |
| certref | string |
| pkcs11certref | string |
| pkcs11pin | string |
| caref | string |
| authentication_method | string |
| descr | string |
| nat_traversal | string |
| mobike | string |
| startaction | string |
| closeaction | string |
| dpd_delay | integer |
| dpd_maxfail | integer |
| prfselect_enable | boolean |
| gw_duplicates | boolean |
| mobile | boolean |
| disabled | boolean |
{- "ikeid": "string",
- "iketype": "string",
- "interface": "string",
- "remote_gateway": "string",
- "protocol": "string",
- "myid_type": "string",
- "myid_data": "string",
- "peerid_type": "string",
- "peerid_data": "string",
- "encryption": {
- "item": [
- {
- "encryption_algorithm": {
- "name": "string",
- "keylen": "string"
}, - "hash_algorithm": "string",
- "prf_algorithm": "string",
- "dhgroup": "string"
}
]
}, - "lifetime": 0,
- "rekey_time": 0,
- "reauth_time": 0,
- "rand_time": 0,
- "pre_shared_key": "string",
- "private_key": "string",
- "certref": "string",
- "pkcs11certref": "string",
- "pkcs11pin": "string",
- "caref": "string",
- "authentication_method": "string",
- "descr": "string",
- "nat_traversal": "string",
- "mobike": "string",
- "startaction": "string",
- "closeaction": "string",
- "dpd_delay": 0,
- "dpd_maxfail": 0,
- "prfselect_enable": true,
- "gw_duplicates": true,
- "mobile": true,
- "disabled": true
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| ikeid required | string |
| ikeid | string |
| iketype required | string |
| interface | string |
| remote_gateway | string |
| protocol | string |
| myid_type | string |
| myid_data | string |
| peerid_type | string |
| peerid_data | string |
object (Phase1Encryption) | |
| lifetime | integer |
| rekey_time | integer |
| reauth_time | integer |
| rand_time | integer |
| pre_shared_key | string |
| private_key | string |
| certref | string |
| pkcs11certref | string |
| pkcs11pin | string |
| caref | string |
| authentication_method | string |
| descr | string |
| nat_traversal | string |
| mobike | string |
| startaction | string |
| closeaction | string |
| dpd_delay | integer |
| dpd_maxfail | integer |
| prfselect_enable | boolean |
| gw_duplicates | boolean |
| mobile | boolean |
| disabled | boolean |
{- "ikeid": "string",
- "iketype": "string",
- "interface": "string",
- "remote_gateway": "string",
- "protocol": "string",
- "myid_type": "string",
- "myid_data": "string",
- "peerid_type": "string",
- "peerid_data": "string",
- "encryption": {
- "item": [
- {
- "encryption_algorithm": {
- "name": "string",
- "keylen": "string"
}, - "hash_algorithm": "string",
- "prf_algorithm": "string",
- "dhgroup": "string"
}
]
}, - "lifetime": 0,
- "rekey_time": 0,
- "reauth_time": 0,
- "rand_time": 0,
- "pre_shared_key": "string",
- "private_key": "string",
- "certref": "string",
- "pkcs11certref": "string",
- "pkcs11pin": "string",
- "caref": "string",
- "authentication_method": "string",
- "descr": "string",
- "nat_traversal": "string",
- "mobike": "string",
- "startaction": "string",
- "closeaction": "string",
- "dpd_delay": 0,
- "dpd_maxfail": 0,
- "prfselect_enable": true,
- "gw_duplicates": true,
- "mobile": true,
- "disabled": true
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| ikeid | string |
| uniqid | string |
| mode | string |
| reqid | string |
object (Phase2LocalId) | |
object (Phase2RemoteId) | |
| protocol | string |
Array of objects (EncryptionAlgorithm) | |
| hash_algorithm_option | Array of strings |
| pfsgroup | string |
| lifetime | integer |
| rekey_time | integer |
| rand_time | integer |
| pinghost | string |
| keepalive | boolean |
| mobile | boolean |
| disabled | boolean |
| descr | string |
{- "ikeid": "string",
- "uniqid": "string",
- "mode": "string",
- "reqid": "string",
- "localid": {
- "type": "string",
- "address": "string",
- "netbits": "string"
}, - "remoteid": {
- "type": "string",
- "address": "string",
- "netbits": "string"
}, - "protocol": "string",
- "encryption_algorithm_option": [
- {
- "name": "string",
- "keylen": "string"
}
], - "hash_algorithm_option": [
- "string"
], - "pfsgroup": "string",
- "lifetime": 0,
- "rekey_time": 0,
- "rand_time": 0,
- "pinghost": "string",
- "keepalive": true,
- "mobile": true,
- "disabled": true,
- "descr": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| reqid required | string |
| ikeid | string |
| uniqid | string |
| mode | string |
| reqid | string |
object (Phase2LocalId) | |
object (Phase2RemoteId) | |
| protocol | string |
Array of objects (EncryptionAlgorithm) | |
| hash_algorithm_option | Array of strings |
| pfsgroup | string |
| lifetime | integer |
| rekey_time | integer |
| rand_time | integer |
| pinghost | string |
| keepalive | boolean |
| mobile | boolean |
| disabled | boolean |
| descr | string |
{- "ikeid": "string",
- "uniqid": "string",
- "mode": "string",
- "reqid": "string",
- "localid": {
- "type": "string",
- "address": "string",
- "netbits": "string"
}, - "remoteid": {
- "type": "string",
- "address": "string",
- "netbits": "string"
}, - "protocol": "string",
- "encryption_algorithm_option": [
- {
- "name": "string",
- "keylen": "string"
}
], - "hash_algorithm_option": [
- "string"
], - "pfsgroup": "string",
- "lifetime": 0,
- "rekey_time": 0,
- "rand_time": 0,
- "pinghost": "string",
- "keepalive": true,
- "mobile": true,
- "disabled": true,
- "descr": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "enabled": true,
- "daemon_running": true,
- "status": {
- "list_sa": [
- {
- "name": "string",
- "uniqueid": "string",
- "version": 0,
- "state": "string",
- "local_host": "string",
- "local_port": "string",
- "local_id": "string",
- "remote_host": "string",
- "remote_port": "string",
- "remote_id": "string",
- "initiator": "string",
- "initiator_spi": "string",
- "responder_spi": "string",
- "encr_alg": "string",
- "encr_keysize": 0,
- "integ_alg": "string",
- "integ_keysize": 0,
- "prf_alg": "string",
- "dh_group": "string",
- "established": 0,
- "rekey_time": 0,
- "reauth_time": 0,
- "childsas": [
- {
- "name": "string",
- "uniqueid": "string",
- "reqid": "string",
- "state": "string",
- "mode": "string",
- "protocol": "string",
- "encap": "string",
- "spi_in": "string",
- "spi_out": "string",
- "cpi_in": "string",
- "cpi_out": "string",
- "mark_in": "string",
- "mark_mask_in": "string",
- "mark_out": "string",
- "mark_mask_out": "string",
- "if_id_in": "string",
- "if_id_out": "string",
- "label": "string",
- "encr_alg": "string",
- "encr_keysize": "string",
- "integ_alg": "string",
- "integ_keysize": "string",
- "prf_alg": "string",
- "dh_group": "string",
- "esn": "string",
- "bytes_in": 0,
- "packets_in": 0,
- "use_in": 0,
- "bytes_out": 0,
- "packets_out": 0,
- "use_out": 0,
- "rekey_time": 0,
- "life_time": 0,
- "install_time": 0,
- "local_ts": [
- "string"
], - "remote_ts": [
- "string"
]
}
]
}
], - "phases": {
- "phase1": [
- {
- "ikeid": "string",
- "iketype": "string",
- "interface": "string",
- "remote_gateway": "string",
- "protocol": "string",
- "myid_type": "string",
- "myid_data": "string",
- "peerid_type": "string",
- "peerid_data": "string",
- "encryption": {
- "item": [
- {
- "encryption_algorithm": {
- "name": "string",
- "keylen": "string"
}, - "hash_algorithm": "string",
- "prf_algorithm": "string",
- "dhgroup": "string"
}
]
}, - "lifetime": 0,
- "rekey_time": 0,
- "reauth_time": 0,
- "rand_time": 0,
- "pre_shared_key": "string",
- "private_key": "string",
- "certref": "string",
- "pkcs11certref": "string",
- "pkcs11pin": "string",
- "caref": "string",
- "authentication_method": "string",
- "descr": "string",
- "nat_traversal": "string",
- "mobike": "string",
- "startaction": "string",
- "closeaction": "string",
- "dpd_delay": 0,
- "dpd_maxfail": 0,
- "prfselect_enable": true,
- "gw_duplicates": true,
- "mobile": true,
- "disabled": true
}
], - "phase2": [
- {
- "ikeid": "string",
- "uniqid": "string",
- "mode": "string",
- "reqid": "string",
- "localid": {
- "type": "string",
- "address": "string",
- "netbits": "string"
}, - "remoteid": {
- "type": "string",
- "address": "string",
- "netbits": "string"
}, - "protocol": "string",
- "encryption_algorithm_option": [
- {
- "name": "string",
- "keylen": "string"
}
], - "hash_algorithm_option": [
- "string"
], - "pfsgroup": "string",
- "lifetime": 0,
- "rekey_time": 0,
- "rand_time": 0,
- "pinghost": "string",
- "keepalive": true,
- "mobile": true,
- "disabled": true,
- "descr": "string"
}
], - "ipsec_capable_ifs": [
- {
- "if_identity": "string",
- "if_assigned_name": "string"
}
]
}
}, - "lease": [
- {
- "name": "string",
- "base": "string",
- "online": "string",
- "offline": "string",
- "size": "string",
- "lease": [
- {
- "host": "string",
- "status": "string",
- "id": "string"
}
]
}
], - "sads": [
- {
- "src": "string",
- "dst": "string",
- "proto": "string",
- "spi": "string",
- "reqid": "string",
- "ealgo": "string",
- "aalgo": "string",
- "data": "string"
}
], - "spds": [
- {
- "dir": "string",
- "scope": "string",
- "ifname": "string",
- "srcid": "string",
- "dstid": "string",
- "proto": "string",
- "src": "string",
- "dst": "string",
- "unique": "string"
}
]
}{- "l2tp": {
- "mode": "string",
- "radius": {
- "server": "string",
- "secret": "string",
- "enable": true,
- "accounting": true,
- "radiusissueips": true
}, - "remoteip": "string",
- "localip": "string",
- "l2tp_subnet": "string",
- "interface": "string",
- "n_l2tp_units": "string",
- "secret": "string",
- "paporchap": "string",
- "dns1": "string",
- "dns2": "string",
- "user": [
- {
- "name": "string",
- "ip": "string",
- "password": "string"
}
]
}, - "interfaces": [
- "string"
]
}| mode required | string |
object (L2TPRadius) | |
| remoteip | string |
| localip | string |
| l2tp_subnet | string |
| interface | string |
| n_l2tp_units | string |
| secret | string |
| paporchap | string |
| dns1 | string |
| dns2 | string |
Array of objects (L2TPUser) |
{- "mode": "string",
- "radius": {
- "server": "string",
- "secret": "string",
- "enable": true,
- "accounting": true,
- "radiusissueips": true
}, - "remoteip": "string",
- "localip": "string",
- "l2tp_subnet": "string",
- "interface": "string",
- "n_l2tp_units": "string",
- "secret": "string",
- "paporchap": "string",
- "dns1": "string",
- "dns2": "string",
- "user": [
- {
- "name": "string",
- "ip": "string",
- "password": "string"
}
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "clients": [
- {
- "vpnid": "string",
- "disable": true,
- "dco": true,
- "protocol": "string",
- "dev_mode": "string",
- "interface": "string",
- "ipaddr": "string",
- "local_port": 0,
- "server_addr": "string",
- "server_port": "string",
- "proxy_addr": "string",
- "proxy_port": "string",
- "proxy_authtype": "string",
- "description": "string",
- "mode": "string",
- "topology": "string",
- "custom_options": "string",
- "caref": "string",
- "certref": "string",
- "crlref": "string",
- "tlsauth_enable": true,
- "autokey_enable": true,
- "autotls_enable": true,
- "tls": "string",
- "tls_type": "string",
- "tlsauth_keydir": "string",
- "remote_cert_tls": true,
- "shared_key": "string",
- "digest": "string",
- "tunnel_network": "string",
- "tunnel_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "use_shaper": "string",
- "allow_compression": "string",
- "compression": "string",
- "auth_retry_none": true,
- "passtos": true,
- "udp_fast_io": true,
- "exit_notify": "string",
- "sndrcvbuf": "string",
- "route_no_pull": true,
- "route_no_exec": true,
- "dns_add": true,
- "verbosity_level": "string",
- "create_gw": "string",
- "dh_length": "string",
- "data_ciphers": [
- "string"
], - "data_ciphers_fallback": "string",
- "ping_method": "string",
- "keepalive_interval": "string",
- "keepalive_timeout": "string",
- "ping_seconds": "string",
- "ping_action": "string",
- "ping_action_seconds": "string",
- "inactive_seconds": "string"
}
], - "openvpn_capable_ifs": [
- {
- "if_identity": "string",
- "if_assigned_name": "string"
}
]
}| vpnid | string generated by system when create openvpn server |
| disable | boolean |
| dco | boolean |
| protocol | string |
| dev_mode | string |
| interface | string |
| ipaddr | string |
| local_port | integer |
| server_addr | string |
| server_port | string |
| proxy_addr | string |
| proxy_port | string |
| proxy_authtype | string |
| description | string |
| mode | string |
| topology | string |
| custom_options | string |
| caref | string |
| certref | string |
| crlref | string |
| tlsauth_enable | boolean |
| autokey_enable | boolean |
| autotls_enable | boolean |
| tls | string OpenVPN TLS key |
| tls_type | string "auth" or "crypt" |
| tlsauth_keydir | string |
| remote_cert_tls | boolean |
| shared_key | string |
| digest | string |
| tunnel_network | string |
| tunnel_networkv6 | string |
| remote_network | string |
| remote_networkv6 | string |
| use_shaper | string |
| allow_compression | string "asym", "yes", "no" |
| compression | string |
| auth_retry_none | boolean |
| passtos | boolean |
| udp_fast_io | boolean |
| exit_notify | string |
| sndrcvbuf | string |
| route_no_pull | boolean |
| route_no_exec | boolean |
| dns_add | boolean |
| verbosity_level | string |
| create_gw | string |
| dh_length | string |
| data_ciphers | Array of strings |
| data_ciphers_fallback | string |
| ping_method | string |
| keepalive_interval | string |
| keepalive_timeout | string |
| ping_seconds | string |
| ping_action | string |
| ping_action_seconds | string |
| inactive_seconds | string |
{- "vpnid": "string",
- "disable": true,
- "dco": true,
- "protocol": "string",
- "dev_mode": "string",
- "interface": "string",
- "ipaddr": "string",
- "local_port": 0,
- "server_addr": "string",
- "server_port": "string",
- "proxy_addr": "string",
- "proxy_port": "string",
- "proxy_authtype": "string",
- "description": "string",
- "mode": "string",
- "topology": "string",
- "custom_options": "string",
- "caref": "string",
- "certref": "string",
- "crlref": "string",
- "tlsauth_enable": true,
- "autokey_enable": true,
- "autotls_enable": true,
- "tls": "string",
- "tls_type": "string",
- "tlsauth_keydir": "string",
- "remote_cert_tls": true,
- "shared_key": "string",
- "digest": "string",
- "tunnel_network": "string",
- "tunnel_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "use_shaper": "string",
- "allow_compression": "string",
- "compression": "string",
- "auth_retry_none": true,
- "passtos": true,
- "udp_fast_io": true,
- "exit_notify": "string",
- "sndrcvbuf": "string",
- "route_no_pull": true,
- "route_no_exec": true,
- "dns_add": true,
- "verbosity_level": "string",
- "create_gw": "string",
- "dh_length": "string",
- "data_ciphers": [
- "string"
], - "data_ciphers_fallback": "string",
- "ping_method": "string",
- "keepalive_interval": "string",
- "keepalive_timeout": "string",
- "ping_seconds": "string",
- "ping_action": "string",
- "ping_action_seconds": "string",
- "inactive_seconds": "string"
}{- "vpnid": "string"
}{- "client": {
- "vpnid": "string",
- "disable": true,
- "dco": true,
- "protocol": "string",
- "dev_mode": "string",
- "interface": "string",
- "ipaddr": "string",
- "local_port": 0,
- "server_addr": "string",
- "server_port": "string",
- "proxy_addr": "string",
- "proxy_port": "string",
- "proxy_authtype": "string",
- "description": "string",
- "mode": "string",
- "topology": "string",
- "custom_options": "string",
- "caref": "string",
- "certref": "string",
- "crlref": "string",
- "tlsauth_enable": true,
- "autokey_enable": true,
- "autotls_enable": true,
- "tls": "string",
- "tls_type": "string",
- "tlsauth_keydir": "string",
- "remote_cert_tls": true,
- "shared_key": "string",
- "digest": "string",
- "tunnel_network": "string",
- "tunnel_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "use_shaper": "string",
- "allow_compression": "string",
- "compression": "string",
- "auth_retry_none": true,
- "passtos": true,
- "udp_fast_io": true,
- "exit_notify": "string",
- "sndrcvbuf": "string",
- "route_no_pull": true,
- "route_no_exec": true,
- "dns_add": true,
- "verbosity_level": "string",
- "create_gw": "string",
- "dh_length": "string",
- "data_ciphers": [
- "string"
], - "data_ciphers_fallback": "string",
- "ping_method": "string",
- "keepalive_interval": "string",
- "keepalive_timeout": "string",
- "ping_seconds": "string",
- "ping_action": "string",
- "ping_action_seconds": "string",
- "inactive_seconds": "string"
}
}| vpnid required | string |
| vpnid | string generated by system when create openvpn server |
| disable | boolean |
| dco | boolean |
| protocol | string |
| dev_mode | string |
| interface | string |
| ipaddr | string |
| local_port | integer |
| server_addr | string |
| server_port | string |
| proxy_addr | string |
| proxy_port | string |
| proxy_authtype | string |
| description | string |
| mode | string |
| topology | string |
| custom_options | string |
| caref | string |
| certref | string |
| crlref | string |
| tlsauth_enable | boolean |
| autokey_enable | boolean |
| autotls_enable | boolean |
| tls | string OpenVPN TLS key |
| tls_type | string "auth" or "crypt" |
| tlsauth_keydir | string |
| remote_cert_tls | boolean |
| shared_key | string |
| digest | string |
| tunnel_network | string |
| tunnel_networkv6 | string |
| remote_network | string |
| remote_networkv6 | string |
| use_shaper | string |
| allow_compression | string "asym", "yes", "no" |
| compression | string |
| auth_retry_none | boolean |
| passtos | boolean |
| udp_fast_io | boolean |
| exit_notify | string |
| sndrcvbuf | string |
| route_no_pull | boolean |
| route_no_exec | boolean |
| dns_add | boolean |
| verbosity_level | string |
| create_gw | string |
| dh_length | string |
| data_ciphers | Array of strings |
| data_ciphers_fallback | string |
| ping_method | string |
| keepalive_interval | string |
| keepalive_timeout | string |
| ping_seconds | string |
| ping_action | string |
| ping_action_seconds | string |
| inactive_seconds | string |
{- "vpnid": "string",
- "disable": true,
- "dco": true,
- "protocol": "string",
- "dev_mode": "string",
- "interface": "string",
- "ipaddr": "string",
- "local_port": 0,
- "server_addr": "string",
- "server_port": "string",
- "proxy_addr": "string",
- "proxy_port": "string",
- "proxy_authtype": "string",
- "description": "string",
- "mode": "string",
- "topology": "string",
- "custom_options": "string",
- "caref": "string",
- "certref": "string",
- "crlref": "string",
- "tlsauth_enable": true,
- "autokey_enable": true,
- "autotls_enable": true,
- "tls": "string",
- "tls_type": "string",
- "tlsauth_keydir": "string",
- "remote_cert_tls": true,
- "shared_key": "string",
- "digest": "string",
- "tunnel_network": "string",
- "tunnel_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "use_shaper": "string",
- "allow_compression": "string",
- "compression": "string",
- "auth_retry_none": true,
- "passtos": true,
- "udp_fast_io": true,
- "exit_notify": "string",
- "sndrcvbuf": "string",
- "route_no_pull": true,
- "route_no_exec": true,
- "dns_add": true,
- "verbosity_level": "string",
- "create_gw": "string",
- "dh_length": "string",
- "data_ciphers": [
- "string"
], - "data_ciphers_fallback": "string",
- "ping_method": "string",
- "keepalive_interval": "string",
- "keepalive_timeout": "string",
- "ping_seconds": "string",
- "ping_action": "string",
- "ping_action_seconds": "string",
- "inactive_seconds": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "cscs": [
- {
- "id": "string",
- "disable": true,
- "server_list": [
- "string"
], - "override_options": "string",
- "remove_options": [
- "string"
], - "common_name": "string",
- "block": true,
- "description": "string",
- "tunnel_network": "string",
- "tunnel_networkv6": "string",
- "local_network": "string",
- "local_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "gwredir": true,
- "push_reset": true,
- "push_blockoutsidedns": true,
- "push_register_dns": true,
- "keep_minimum": true,
- "remove_route": true,
- "dns_domain_enable": true,
- "dns_domain": "string",
- "dns_server_enable": true,
- "dns_server1": "string",
- "dns_server2": "string",
- "dns_server3": "string",
- "dns_server4": "string",
- "ntp_server_enable": true,
- "ntp_server1": "string",
- "ntp_server2": "string",
- "ntp_server3": "string",
- "ntp_server4": "string",
- "netbios_enable": true,
- "netbios_ntype": "string",
- "netbios_scope": "string",
- "wins_server_enable": true,
- "wins_server1": "string",
- "wins_server2": "string",
- "nbdd_server_enable": true,
- "nbdd_server1": "string",
- "nbdd_server2": "string",
- "ping_action": "string",
- "ping_seconds": "string",
- "ping_action_seconds": "string",
- "inactive_seconds": 0,
- "custom_options": "string"
}
], - "removable_options": [
- {
- "value": "string",
- "text": "string"
}
]
}| id | string generated by system when create openvpn client specific override |
| disable | boolean |
| server_list | Array of strings |
| override_options | string default, push_reset, or remove_specified |
| remove_options | Array of strings |
| common_name required | string |
| block | boolean |
| description | string |
| tunnel_network | string |
| tunnel_networkv6 | string |
| local_network | string |
| local_networkv6 | string |
| remote_network | string |
| remote_networkv6 | string |
| gwredir | boolean |
| push_reset | boolean |
| push_blockoutsidedns | boolean |
| push_register_dns | boolean |
| keep_minimum | boolean |
| remove_route | boolean |
| dns_domain_enable | boolean |
| dns_domain | string |
| dns_server_enable | boolean |
| dns_server1 | string |
| dns_server2 | string |
| dns_server3 | string |
| dns_server4 | string |
| ntp_server_enable | boolean |
| ntp_server1 | string |
| ntp_server2 | string |
| ntp_server3 | string |
| ntp_server4 | string |
| netbios_enable | boolean |
| netbios_ntype | string |
| netbios_scope | string |
| wins_server_enable | boolean |
| wins_server1 | string |
| wins_server2 | string |
| nbdd_server_enable | boolean |
| nbdd_server1 | string |
| nbdd_server2 | string |
| ping_action | string |
| ping_seconds | string |
| ping_action_seconds | string |
| inactive_seconds | integer |
| custom_options | string |
{- "id": "string",
- "disable": true,
- "server_list": [
- "string"
], - "override_options": "string",
- "remove_options": [
- "string"
], - "common_name": "string",
- "block": true,
- "description": "string",
- "tunnel_network": "string",
- "tunnel_networkv6": "string",
- "local_network": "string",
- "local_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "gwredir": true,
- "push_reset": true,
- "push_blockoutsidedns": true,
- "push_register_dns": true,
- "keep_minimum": true,
- "remove_route": true,
- "dns_domain_enable": true,
- "dns_domain": "string",
- "dns_server_enable": true,
- "dns_server1": "string",
- "dns_server2": "string",
- "dns_server3": "string",
- "dns_server4": "string",
- "ntp_server_enable": true,
- "ntp_server1": "string",
- "ntp_server2": "string",
- "ntp_server3": "string",
- "ntp_server4": "string",
- "netbios_enable": true,
- "netbios_ntype": "string",
- "netbios_scope": "string",
- "wins_server_enable": true,
- "wins_server1": "string",
- "wins_server2": "string",
- "nbdd_server_enable": true,
- "nbdd_server1": "string",
- "nbdd_server2": "string",
- "ping_action": "string",
- "ping_seconds": "string",
- "ping_action_seconds": "string",
- "inactive_seconds": 0,
- "custom_options": "string"
}{- "id": "string"
}{- "csc": {
- "id": "string",
- "disable": true,
- "server_list": [
- "string"
], - "override_options": "string",
- "remove_options": [
- "string"
], - "common_name": "string",
- "block": true,
- "description": "string",
- "tunnel_network": "string",
- "tunnel_networkv6": "string",
- "local_network": "string",
- "local_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "gwredir": true,
- "push_reset": true,
- "push_blockoutsidedns": true,
- "push_register_dns": true,
- "keep_minimum": true,
- "remove_route": true,
- "dns_domain_enable": true,
- "dns_domain": "string",
- "dns_server_enable": true,
- "dns_server1": "string",
- "dns_server2": "string",
- "dns_server3": "string",
- "dns_server4": "string",
- "ntp_server_enable": true,
- "ntp_server1": "string",
- "ntp_server2": "string",
- "ntp_server3": "string",
- "ntp_server4": "string",
- "netbios_enable": true,
- "netbios_ntype": "string",
- "netbios_scope": "string",
- "wins_server_enable": true,
- "wins_server1": "string",
- "wins_server2": "string",
- "nbdd_server_enable": true,
- "nbdd_server1": "string",
- "nbdd_server2": "string",
- "ping_action": "string",
- "ping_seconds": "string",
- "ping_action_seconds": "string",
- "inactive_seconds": 0,
- "custom_options": "string"
}
}| id required | string |
| id | string generated by system when create openvpn client specific override |
| disable | boolean |
| server_list | Array of strings |
| override_options | string default, push_reset, or remove_specified |
| remove_options | Array of strings |
| common_name required | string |
| block | boolean |
| description | string |
| tunnel_network | string |
| tunnel_networkv6 | string |
| local_network | string |
| local_networkv6 | string |
| remote_network | string |
| remote_networkv6 | string |
| gwredir | boolean |
| push_reset | boolean |
| push_blockoutsidedns | boolean |
| push_register_dns | boolean |
| keep_minimum | boolean |
| remove_route | boolean |
| dns_domain_enable | boolean |
| dns_domain | string |
| dns_server_enable | boolean |
| dns_server1 | string |
| dns_server2 | string |
| dns_server3 | string |
| dns_server4 | string |
| ntp_server_enable | boolean |
| ntp_server1 | string |
| ntp_server2 | string |
| ntp_server3 | string |
| ntp_server4 | string |
| netbios_enable | boolean |
| netbios_ntype | string |
| netbios_scope | string |
| wins_server_enable | boolean |
| wins_server1 | string |
| wins_server2 | string |
| nbdd_server_enable | boolean |
| nbdd_server1 | string |
| nbdd_server2 | string |
| ping_action | string |
| ping_seconds | string |
| ping_action_seconds | string |
| inactive_seconds | integer |
| custom_options | string |
{- "id": "string",
- "disable": true,
- "server_list": [
- "string"
], - "override_options": "string",
- "remove_options": [
- "string"
], - "common_name": "string",
- "block": true,
- "description": "string",
- "tunnel_network": "string",
- "tunnel_networkv6": "string",
- "local_network": "string",
- "local_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "gwredir": true,
- "push_reset": true,
- "push_blockoutsidedns": true,
- "push_register_dns": true,
- "keep_minimum": true,
- "remove_route": true,
- "dns_domain_enable": true,
- "dns_domain": "string",
- "dns_server_enable": true,
- "dns_server1": "string",
- "dns_server2": "string",
- "dns_server3": "string",
- "dns_server4": "string",
- "ntp_server_enable": true,
- "ntp_server1": "string",
- "ntp_server2": "string",
- "ntp_server3": "string",
- "ntp_server4": "string",
- "netbios_enable": true,
- "netbios_ntype": "string",
- "netbios_scope": "string",
- "wins_server_enable": true,
- "wins_server1": "string",
- "wins_server2": "string",
- "nbdd_server_enable": true,
- "nbdd_server1": "string",
- "nbdd_server2": "string",
- "ping_action": "string",
- "ping_seconds": "string",
- "ping_action_seconds": "string",
- "inactive_seconds": 0,
- "custom_options": "string"
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "authservers": [
- "string"
], - "servers": [
- {
- "vpnid": "string",
- "dco": true,
- "mode": "string",
- "authmode": [
- "string"
], - "protocol": "string",
- "dev_mode": "string",
- "interface": "string",
- "local_port": 0,
- "description": "string",
- "tls": "string",
- "tls_type": "string",
- "certref": "string",
- "caref": "string",
- "dh_length": "string",
- "data_ciphers": [
- "string"
], - "data_ciphers_fallback": "string",
- "digest": "string",
- "engine": "string",
- "tunnel_network": "string",
- "local_network": "string",
- "maxclients": "string",
- "allow_compression": "string",
- "dynamic_ip": true,
- "topology": "string",
- "dns_domain": "string",
- "exit_notify": "string",
- "inactive_seconds": "string",
- "disable": true,
- "tlsauth_enable": true,
- "autotls_enable": true,
- "tlsauth_keydir": "string",
- "ocspcheck": true,
- "ocspurl": "string",
- "ecdh_curve": "string",
- "autokey_enable": true,
- "shared_key": "string",
- "cert_depth": "string",
- "remote_cert_tls": true,
- "tunnel_networkv6": "string",
- "serverbridge_dhcp": true,
- "serverbridge_interface": "string",
- "serverbridge_routegateway": true,
- "serverbridge_dhcp_start": "string",
- "serverbridge_dhcp_end": "string",
- "gwredir": true,
- "gwredir6": true,
- "local_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "compression": "string",
- "compression_push": true,
- "passtos": true,
- "client2client": true,
- "duplicate_cn": true,
- "ping_method": "string",
- "keepalive_interval": "string",
- "keepalive_timeout": "string",
- "ping_seconds": "string",
- "ping_push": true,
- "ping_action": "string",
- "ping_action_seconds": "string",
- "ping_action_push": true,
- "dns_domain_enable": true,
- "dns_server_enable": true,
- "dns_server1": "string",
- "dns_server2": "string",
- "dns_server3": "string",
- "dns_server4": "string",
- "push_blockoutsidedns": true,
- "push_register_dns": true,
- "ntp_server_enable": true,
- "ntp_server1": "string",
- "ntp_server2": "string",
- "netbios_enable": true,
- "netbios_ntype": "string",
- "netbios_scope": "string",
- "wins_server_enable": true,
- "wins_server1": "string",
- "wins_server2": "string",
- "custom_options": "string",
- "username_as_common_name": true,
- "udp_fast_io": true,
- "sndrcvbuf": "string",
- "create_gw": "string",
- "verbosity_level": "string",
- "strictusercn": true
}
], - "openvpn_capable_ifs": [
- {
- "if_identity": "string",
- "if_assigned_name": "string"
}
]
}| vpnid | string generated by system when create openvpn server |
| dco | boolean |
| mode | string |
| authmode | Array of strings |
| protocol | string |
| dev_mode | string |
| interface | string |
| local_port | integer |
| description | string |
| tls | string OpenVPN PEM TLS key |
| tls_type | string "auth" or "crypt" |
| certref | string |
| caref | string |
| dh_length | string |
| data_ciphers | Array of strings |
| data_ciphers_fallback | string |
| digest | string |
| engine | string |
| tunnel_network | string |
| local_network | string |
| maxclients | string |
| allow_compression | string "asym", "yes", "no" |
| dynamic_ip | boolean |
| topology | string |
| dns_domain | string |
| exit_notify | string |
| inactive_seconds | string |
| disable | boolean |
| tlsauth_enable | boolean |
| autotls_enable | boolean |
| tlsauth_keydir | string |
| ocspcheck | boolean |
| ocspurl | string |
| ecdh_curve | string |
| autokey_enable | boolean |
| shared_key | string |
| cert_depth | string |
| remote_cert_tls | boolean |
| tunnel_networkv6 | string |
| serverbridge_dhcp | boolean |
| serverbridge_interface | string |
| serverbridge_routegateway | boolean |
| serverbridge_dhcp_start | string |
| serverbridge_dhcp_end | string |
| gwredir | boolean |
| gwredir6 | boolean |
| local_networkv6 | string |
| remote_network | string |
| remote_networkv6 | string |
| compression | string |
| compression_push | boolean |
| passtos | boolean |
| client2client | boolean |
| duplicate_cn | boolean |
| ping_method | string |
| keepalive_interval | string |
| keepalive_timeout | string |
| ping_seconds | string |
| ping_push | boolean |
| ping_action | string |
| ping_action_seconds | string |
| ping_action_push | boolean |
| dns_domain_enable | boolean |
| dns_server_enable | boolean |
| dns_server1 | string |
| dns_server2 | string |
| dns_server3 | string |
| dns_server4 | string |
| push_blockoutsidedns | boolean |
| push_register_dns | boolean |
| ntp_server_enable | boolean |
| ntp_server1 | string |
| ntp_server2 | string |
| netbios_enable | boolean |
| netbios_ntype | string |
| netbios_scope | string |
| wins_server_enable | boolean |
| wins_server1 | string |
| wins_server2 | string |
| custom_options | string |
| username_as_common_name | boolean |
| udp_fast_io | boolean |
| sndrcvbuf | string |
| create_gw | string |
| verbosity_level | string |
| strictusercn | boolean |
{- "vpnid": "string",
- "dco": true,
- "mode": "string",
- "authmode": [
- "string"
], - "protocol": "string",
- "dev_mode": "string",
- "interface": "string",
- "local_port": 0,
- "description": "string",
- "tls": "string",
- "tls_type": "string",
- "certref": "string",
- "caref": "string",
- "dh_length": "string",
- "data_ciphers": [
- "string"
], - "data_ciphers_fallback": "string",
- "digest": "string",
- "engine": "string",
- "tunnel_network": "string",
- "local_network": "string",
- "maxclients": "string",
- "allow_compression": "string",
- "dynamic_ip": true,
- "topology": "string",
- "dns_domain": "string",
- "exit_notify": "string",
- "inactive_seconds": "string",
- "disable": true,
- "tlsauth_enable": true,
- "autotls_enable": true,
- "tlsauth_keydir": "string",
- "ocspcheck": true,
- "ocspurl": "string",
- "ecdh_curve": "string",
- "autokey_enable": true,
- "shared_key": "string",
- "cert_depth": "string",
- "remote_cert_tls": true,
- "tunnel_networkv6": "string",
- "serverbridge_dhcp": true,
- "serverbridge_interface": "string",
- "serverbridge_routegateway": true,
- "serverbridge_dhcp_start": "string",
- "serverbridge_dhcp_end": "string",
- "gwredir": true,
- "gwredir6": true,
- "local_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "compression": "string",
- "compression_push": true,
- "passtos": true,
- "client2client": true,
- "duplicate_cn": true,
- "ping_method": "string",
- "keepalive_interval": "string",
- "keepalive_timeout": "string",
- "ping_seconds": "string",
- "ping_push": true,
- "ping_action": "string",
- "ping_action_seconds": "string",
- "ping_action_push": true,
- "dns_domain_enable": true,
- "dns_server_enable": true,
- "dns_server1": "string",
- "dns_server2": "string",
- "dns_server3": "string",
- "dns_server4": "string",
- "push_blockoutsidedns": true,
- "push_register_dns": true,
- "ntp_server_enable": true,
- "ntp_server1": "string",
- "ntp_server2": "string",
- "netbios_enable": true,
- "netbios_ntype": "string",
- "netbios_scope": "string",
- "wins_server_enable": true,
- "wins_server1": "string",
- "wins_server2": "string",
- "custom_options": "string",
- "username_as_common_name": true,
- "udp_fast_io": true,
- "sndrcvbuf": "string",
- "create_gw": "string",
- "verbosity_level": "string",
- "strictusercn": true
}{- "vpnid": "string"
}{- "authservers": [
- "string"
], - "server": {
- "vpnid": "string",
- "dco": true,
- "mode": "string",
- "authmode": [
- "string"
], - "protocol": "string",
- "dev_mode": "string",
- "interface": "string",
- "local_port": 0,
- "description": "string",
- "tls": "string",
- "tls_type": "string",
- "certref": "string",
- "caref": "string",
- "dh_length": "string",
- "data_ciphers": [
- "string"
], - "data_ciphers_fallback": "string",
- "digest": "string",
- "engine": "string",
- "tunnel_network": "string",
- "local_network": "string",
- "maxclients": "string",
- "allow_compression": "string",
- "dynamic_ip": true,
- "topology": "string",
- "dns_domain": "string",
- "exit_notify": "string",
- "inactive_seconds": "string",
- "disable": true,
- "tlsauth_enable": true,
- "autotls_enable": true,
- "tlsauth_keydir": "string",
- "ocspcheck": true,
- "ocspurl": "string",
- "ecdh_curve": "string",
- "autokey_enable": true,
- "shared_key": "string",
- "cert_depth": "string",
- "remote_cert_tls": true,
- "tunnel_networkv6": "string",
- "serverbridge_dhcp": true,
- "serverbridge_interface": "string",
- "serverbridge_routegateway": true,
- "serverbridge_dhcp_start": "string",
- "serverbridge_dhcp_end": "string",
- "gwredir": true,
- "gwredir6": true,
- "local_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "compression": "string",
- "compression_push": true,
- "passtos": true,
- "client2client": true,
- "duplicate_cn": true,
- "ping_method": "string",
- "keepalive_interval": "string",
- "keepalive_timeout": "string",
- "ping_seconds": "string",
- "ping_push": true,
- "ping_action": "string",
- "ping_action_seconds": "string",
- "ping_action_push": true,
- "dns_domain_enable": true,
- "dns_server_enable": true,
- "dns_server1": "string",
- "dns_server2": "string",
- "dns_server3": "string",
- "dns_server4": "string",
- "push_blockoutsidedns": true,
- "push_register_dns": true,
- "ntp_server_enable": true,
- "ntp_server1": "string",
- "ntp_server2": "string",
- "netbios_enable": true,
- "netbios_ntype": "string",
- "netbios_scope": "string",
- "wins_server_enable": true,
- "wins_server1": "string",
- "wins_server2": "string",
- "custom_options": "string",
- "username_as_common_name": true,
- "udp_fast_io": true,
- "sndrcvbuf": "string",
- "create_gw": "string",
- "verbosity_level": "string",
- "strictusercn": true
}
}| vpnid required | string |
| vpnid | string generated by system when create openvpn server |
| dco | boolean |
| mode | string |
| authmode | Array of strings |
| protocol | string |
| dev_mode | string |
| interface | string |
| local_port | integer |
| description | string |
| tls | string OpenVPN PEM TLS key |
| tls_type | string "auth" or "crypt" |
| certref | string |
| caref | string |
| dh_length | string |
| data_ciphers | Array of strings |
| data_ciphers_fallback | string |
| digest | string |
| engine | string |
| tunnel_network | string |
| local_network | string |
| maxclients | string |
| allow_compression | string "asym", "yes", "no" |
| dynamic_ip | boolean |
| topology | string |
| dns_domain | string |
| exit_notify | string |
| inactive_seconds | string |
| disable | boolean |
| tlsauth_enable | boolean |
| autotls_enable | boolean |
| tlsauth_keydir | string |
| ocspcheck | boolean |
| ocspurl | string |
| ecdh_curve | string |
| autokey_enable | boolean |
| shared_key | string |
| cert_depth | string |
| remote_cert_tls | boolean |
| tunnel_networkv6 | string |
| serverbridge_dhcp | boolean |
| serverbridge_interface | string |
| serverbridge_routegateway | boolean |
| serverbridge_dhcp_start | string |
| serverbridge_dhcp_end | string |
| gwredir | boolean |
| gwredir6 | boolean |
| local_networkv6 | string |
| remote_network | string |
| remote_networkv6 | string |
| compression | string |
| compression_push | boolean |
| passtos | boolean |
| client2client | boolean |
| duplicate_cn | boolean |
| ping_method | string |
| keepalive_interval | string |
| keepalive_timeout | string |
| ping_seconds | string |
| ping_push | boolean |
| ping_action | string |
| ping_action_seconds | string |
| ping_action_push | boolean |
| dns_domain_enable | boolean |
| dns_server_enable | boolean |
| dns_server1 | string |
| dns_server2 | string |
| dns_server3 | string |
| dns_server4 | string |
| push_blockoutsidedns | boolean |
| push_register_dns | boolean |
| ntp_server_enable | boolean |
| ntp_server1 | string |
| ntp_server2 | string |
| netbios_enable | boolean |
| netbios_ntype | string |
| netbios_scope | string |
| wins_server_enable | boolean |
| wins_server1 | string |
| wins_server2 | string |
| custom_options | string |
| username_as_common_name | boolean |
| udp_fast_io | boolean |
| sndrcvbuf | string |
| create_gw | string |
| verbosity_level | string |
| strictusercn | boolean |
{- "vpnid": "string",
- "dco": true,
- "mode": "string",
- "authmode": [
- "string"
], - "protocol": "string",
- "dev_mode": "string",
- "interface": "string",
- "local_port": 0,
- "description": "string",
- "tls": "string",
- "tls_type": "string",
- "certref": "string",
- "caref": "string",
- "dh_length": "string",
- "data_ciphers": [
- "string"
], - "data_ciphers_fallback": "string",
- "digest": "string",
- "engine": "string",
- "tunnel_network": "string",
- "local_network": "string",
- "maxclients": "string",
- "allow_compression": "string",
- "dynamic_ip": true,
- "topology": "string",
- "dns_domain": "string",
- "exit_notify": "string",
- "inactive_seconds": "string",
- "disable": true,
- "tlsauth_enable": true,
- "autotls_enable": true,
- "tlsauth_keydir": "string",
- "ocspcheck": true,
- "ocspurl": "string",
- "ecdh_curve": "string",
- "autokey_enable": true,
- "shared_key": "string",
- "cert_depth": "string",
- "remote_cert_tls": true,
- "tunnel_networkv6": "string",
- "serverbridge_dhcp": true,
- "serverbridge_interface": "string",
- "serverbridge_routegateway": true,
- "serverbridge_dhcp_start": "string",
- "serverbridge_dhcp_end": "string",
- "gwredir": true,
- "gwredir6": true,
- "local_networkv6": "string",
- "remote_network": "string",
- "remote_networkv6": "string",
- "compression": "string",
- "compression_push": true,
- "passtos": true,
- "client2client": true,
- "duplicate_cn": true,
- "ping_method": "string",
- "keepalive_interval": "string",
- "keepalive_timeout": "string",
- "ping_seconds": "string",
- "ping_push": true,
- "ping_action": "string",
- "ping_action_seconds": "string",
- "ping_action_push": true,
- "dns_domain_enable": true,
- "dns_server_enable": true,
- "dns_server1": "string",
- "dns_server2": "string",
- "dns_server3": "string",
- "dns_server4": "string",
- "push_blockoutsidedns": true,
- "push_register_dns": true,
- "ntp_server_enable": true,
- "ntp_server1": "string",
- "ntp_server2": "string",
- "netbios_enable": true,
- "netbios_ntype": "string",
- "netbios_scope": "string",
- "wins_server_enable": true,
- "wins_server1": "string",
- "wins_server2": "string",
- "custom_options": "string",
- "username_as_common_name": true,
- "udp_fast_io": true,
- "sndrcvbuf": "string",
- "create_gw": "string",
- "verbosity_level": "string",
- "strictusercn": true
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "servers": [
- {
- "vpnid": "string",
- "port": "string",
- "mode": "string",
- "name": "string",
- "mgmt": "string",
- "conns": [
- {
- "common_name": "string",
- "remote_host": "string",
- "virtual_addr": "string",
- "virtual_addr6": "string",
- "bytes_recv": "string",
- "bytes_sent": "string",
- "connect_time": "string",
- "connect_time_unix": "string",
- "user_name": "string",
- "client_id": "string",
- "peer_id": "string",
- "cipher": "string"
}
], - "routes": [
- {
- "virtual_addr": "string",
- "common_name": "string",
- "remote_host": "string",
- "last_time": "string"
}
], - "connect_time": "string",
- "state": "string",
- "state_detail": "string",
- "virtual_addr": "string",
- "remote_host": "string",
- "remote_port": "string",
- "local_host": "string",
- "local_port": "string",
- "virtual_addr6": "string",
- "status": "string",
- "bytes_recv": "string",
- "bytes_sent": "string"
}
], - "sk_servers": [
- {
- "vpnid": "string",
- "port": "string",
- "mode": "string",
- "name": "string",
- "mgmt": "string",
- "conns": [
- {
- "common_name": "string",
- "remote_host": "string",
- "virtual_addr": "string",
- "virtual_addr6": "string",
- "bytes_recv": "string",
- "bytes_sent": "string",
- "connect_time": "string",
- "connect_time_unix": "string",
- "user_name": "string",
- "client_id": "string",
- "peer_id": "string",
- "cipher": "string"
}
], - "routes": [
- {
- "virtual_addr": "string",
- "common_name": "string",
- "remote_host": "string",
- "last_time": "string"
}
], - "connect_time": "string",
- "state": "string",
- "state_detail": "string",
- "virtual_addr": "string",
- "remote_host": "string",
- "remote_port": "string",
- "local_host": "string",
- "local_port": "string",
- "virtual_addr6": "string",
- "status": "string",
- "bytes_recv": "string",
- "bytes_sent": "string"
}
], - "clients": [
- {
- "vpnid": "string",
- "port": "string",
- "mode": "string",
- "name": "string",
- "mgmt": "string",
- "conns": [
- {
- "common_name": "string",
- "remote_host": "string",
- "virtual_addr": "string",
- "virtual_addr6": "string",
- "bytes_recv": "string",
- "bytes_sent": "string",
- "connect_time": "string",
- "connect_time_unix": "string",
- "user_name": "string",
- "client_id": "string",
- "peer_id": "string",
- "cipher": "string"
}
], - "routes": [
- {
- "virtual_addr": "string",
- "common_name": "string",
- "remote_host": "string",
- "last_time": "string"
}
], - "connect_time": "string",
- "state": "string",
- "state_detail": "string",
- "virtual_addr": "string",
- "remote_host": "string",
- "remote_port": "string",
- "local_host": "string",
- "local_port": "string",
- "virtual_addr6": "string",
- "status": "string",
- "bytes_recv": "string",
- "bytes_sent": "string"
}
]
}{- "config": [
- {
- "enable": true,
- "keep_conf": true,
- "resolve_interval": "string",
- "resolve_interval_track": true,
- "interface_group": "string",
- "hide_secrets": true,
- "hide_peers": true
}
], - "tunnels": {
- "item": [
- {
- "name": "string",
- "descr": "string",
- "enabled": true,
- "listenport": 0,
- "privatekey": "string",
- "publickey": "string",
- "mtu": "string",
- "addresses": [
- {
- "address": "string",
- "descr": "string"
}
]
}
]
}, - "peers": {
- "item": [
- {
- "enabled": true,
- "tun": "string",
- "descr": "string",
- "endpoint": "string",
- "port": "string",
- "persistentkeepalive": "string",
- "publickey": "string",
- "presharedkey": "string",
- "allowedips": [
- {
- "address": "string",
- "descr": "string"
}
]
}
]
}
}| enabled | boolean |
| tun | string |
| descr | string |
| endpoint | string |
| port | string |
| persistentkeepalive | string |
| publickey required | string |
| presharedkey | string |
Array of objects (WGIPAddress) |
{- "enabled": true,
- "tun": "string",
- "descr": "string",
- "endpoint": "string",
- "port": "string",
- "persistentkeepalive": "string",
- "publickey": "string",
- "presharedkey": "string",
- "allowedips": [
- {
- "address": "string",
- "descr": "string"
}
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| pubkey required | string |
| enabled | boolean |
| tun | string |
| descr | string |
| endpoint | string |
| port | string |
| persistentkeepalive | string |
| publickey required | string |
| presharedkey | string |
Array of objects (WGIPAddress) |
{- "enabled": true,
- "tun": "string",
- "descr": "string",
- "endpoint": "string",
- "port": "string",
- "persistentkeepalive": "string",
- "publickey": "string",
- "presharedkey": "string",
- "allowedips": [
- {
- "address": "string",
- "descr": "string"
}
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| enable | boolean |
| keep_conf | boolean |
| resolve_interval | string |
| resolve_interval_track | boolean |
| interface_group | string |
| hide_secrets | boolean |
| hide_peers | boolean |
{- "enable": true,
- "keep_conf": true,
- "resolve_interval": "string",
- "resolve_interval_track": true,
- "interface_group": "string",
- "hide_secrets": true,
- "hide_peers": true
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}{- "config": [
- {
- "enable": true,
- "keep_conf": true,
- "resolve_interval": "string",
- "resolve_interval_track": true,
- "interface_group": "string",
- "hide_secrets": true,
- "hide_peers": true
}
], - "status": [
- {
- "private_key": "string",
- "public_key": "string",
- "listen_port": "string",
- "fwmark": "string",
- "status": "string",
- "transfer_rx": 0,
- "transfer_tx": 0,
- "inpkts": 0,
- "outpkts": 0,
- "mtu": 0,
- "config": {
- "name": "string",
- "descr": "string",
- "enabled": true,
- "listenport": 0,
- "privatekey": "string",
- "publickey": "string",
- "mtu": "string",
- "addresses": [
- {
- "address": "string",
- "descr": "string"
}
]
}, - "peers": [
- {
- "public_key": "string",
- "preshared_key": "string",
- "endpoint": "string",
- "allowed_ips": "string",
- "latest_handshake": "string",
- "transfer_rx": "string",
- "transfer_tx": "string",
- "persistent_keepalive": "string",
- "config": {
- "enabled": true,
- "tun": "string",
- "descr": "string",
- "endpoint": "string",
- "port": "string",
- "persistentkeepalive": "string",
- "publickey": "string",
- "presharedkey": "string",
- "allowedips": [
- {
- "address": "string",
- "descr": "string"
}
]
}
}
]
}
]
}| name required | string |
| descr | string |
| enabled | boolean |
| listenport | integer |
| privatekey required | string |
| publickey required | string |
| mtu | string |
Array of objects (WGIPAddress) |
{- "name": "string",
- "descr": "string",
- "enabled": true,
- "listenport": 0,
- "privatekey": "string",
- "publickey": "string",
- "mtu": "string",
- "addresses": [
- {
- "address": "string",
- "descr": "string"
}
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}| name required | string |
| name required | string |
| descr | string |
| enabled | boolean |
| listenport | integer |
| privatekey required | string |
| publickey required | string |
| mtu | string |
Array of objects (WGIPAddress) |
{- "name": "string",
- "descr": "string",
- "enabled": true,
- "listenport": 0,
- "privatekey": "string",
- "publickey": "string",
- "mtu": "string",
- "addresses": [
- {
- "address": "string",
- "descr": "string"
}
]
}{- "msg": "string",
- "alrt": true,
- "sb": true,
- "alrtoln": true,
- "alrtclr": "string",
- "auth": true,
- "status": "string",
- "message": "string"
}