updateSiteGroups

PUT https://{{host}}/api/v1/sites/:site_id

Body Parameter

ParameterTypeDescription
analytic.enabledbooleanenable Advanced Analytic feature, default is false (using SUB-ANA license)
app_wakingbooleandefault is false
auto_upgradeobjectauto upgrade
bandwidthintchannel width for the band, 20 / 40 / 80 / 160, 80 is only applicable for band5, 160 is only for band6
ble_configobjectBLE config (see Site:BLE Config)
bleobjectBLE asset settings
brightnessint0-255, default is 255
channelint(primary) channel for the band, 0 means auto
channelslistlist of channels, null or empty array means auto
deviceupdownthresholdintenable threshold-based device down delivery via 1) device-updowns webhooks topic, 2) Mist Alert Framework; e.g. send AP/SW/GW down event only if AP/SW/GW Up is not seen within the threshold in minutes; 0 - 30, default is 0 (trigger immediate)
flagslistname/val pair objects for location engine to use
hello_intervalfloatin seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by hello_retries. between 1 and 300, default is 60 seconds
hello_retriesintbetween 2 and 30, default is 7
led.enabledbooleanwhether to enable LED, default is true
ledobjectLED control
model_specificobjectoverwrites for a specific model. If a band is specified, it will shadow the default.
configautorevertbooleanwhether to enable ap auto config revert, default is false
mxtunnel.mtuint552-1500, default is 0
mxtunnel.auto_preemptionobjectschedule to preempt ap’s which are not connected to preferred peer
ntp_serverslistlist of NTP servers
persistconfigon_devicebooleanwhether to store the config on AP, default is false
power_maxintwhen power=0, min tx power to use, HW-specific values will be used if not set
power_minintwhen power=0, min tx power to use, HW-specific values will be used if not set
powerinttx power of the radio, 0 mean auto
preamblestringshort / long / auto, default is short
proxyobjectProxy Configuration for APs to talk to Mist
radio_configobjectsite RF settings
remote_syslogobjectsyslog parameters
report_gattbooleandefault is false; whether AP should periodically connect to BLE devices and report GATT device info (device name, manufacturer name, serial number, battery %, temperature, humidity)
rogueobjectrogue detection parameters
rtsaobjectmanaged mobility
ssh_keyslistwhen limitsshaccess = true in Org Setting, list of SSH public keys provided by Mist Support to install onto APs (see Org:Setting)
trackanonymousdevicesbooleandefault is false; whether to track anonymous BLE assets (requires ‘track_asset’ enabled)
track_assetbooleanenable Asset Tracking, default is false (using SUB-AST license)
varsobjecta dictionary of name->value, the vars can then be used in Wlans
wifiobjectmanaged connectivity

Occupancy Parameter

ParameterTypeDescription
assets_enabledbooleanindicate whether named BLE assets should be included in the zone occupancy calculation, default is false
sdkclients_enabledbooleanindicate whether SDK clients should be included in the zone occupancy calculation, default is false
clients_enabledbooleanindicate whether connected WiFi clients should be included in the zone occupancy calculation, default is true
unconnectedclientsenabledbooleanindicate whether unconnected WiFi clients should be included in the zone occupancy calculation, default is false
min_durationintminimum duration, default is 3000

Zone Occupancy Alert Parameters

ParameterTypeDescription
enabledbooleanindicate whether zone occupancy alert is enabled for the site, default is false
thresholdintsending zone-occupancy-alert webhook message only if a zone stays non-compliant (i.e. actual occupancy > occupancy_limit) for a minimum duration specified in the threshold, in minutes, 0 - 30, default is 5 minutes
email_notifiersarray of stringslist of email addresses to send email notifications when the alert threshold is reached

Wi-Fi Parameter

NameTypeDescription
enabledbooleanenable WIFI feature, default is true (using SUB-MAN license)
enable_arp_spoof_checkbooleanwhen proxy_arp is enabled, check for arp spoofing. default is false
enable_channel_144booleanwhether to enable channel 144 (some older clients may not support it), default is false
vna.enabledbooleanenable Virtual Network Assistant, default is false (using SUB-VNA license)
proxy_arpstringdefault / enabled / disabled
locate_unconnectedbooleanwhether to locate unconnected clients, default is false
mesh_enabledbooleanwhether to enable Mesh feature for the site, default is false
mesh_allow_dfsbooleanwhether to allow Mesh to use DFS channels, default is false. For DFS channels, Remote Mesh AP would have to do CAC when scanning for new Base AP, which is slow and will distrupt the connection. If roaming is desired, keep it disabled.
mesh_enable_crmbooleanused to enable/disable CRM
mesh_ssidstringoptional ssid of mesh networking, default is based on site_id
mesh_pskstringoptional passphrase of mesh networking, default is generated randomly
disable_11kbooleanwhether to disable 11k, default is false

Remote Syslog Parameter

ParameterTypeDescription
enabledbooleanwhether or not remote syslog is enabled
serverslistlist of syslog servers
hoststringhost to which syslog is sent
protocolstringudp / tcp, protocol to use for remote syslog, default is udp
portintport on which to connect to host for syslog, default is 514 if protocol=udp, 6514 if protocol=tcp
facilitystringkern / user / mail / daemon / auth / syslog / lpr / news / uucp / cron / authpriv / ftp / ntp / security / console / solaris-cron / local0 - local7, default is config
severitystringemerg / alert / crit / err / warning / notice / info / debug, default is info
tagstringoptional, tag to attach to log record

Rogue Detection Parameter

ParameterTypeDescription
enabledbooleanwhether or not rogue detection is enabled
honeypot_enabledbooleanwhether or not honeypot detection is enabled
min_rssiintminimum RSSI for an AP to be considered rogue (ignoring APs that’s far away), default is -80. Minimum allowed value is -85.
min_durationintminimum duration for a bssid to be considered rogue, maximum is 59, default is 10
whitelisted_ssidslistlist of SSIDs to whitelist
whitelisted_bssidslistlist of BSSIDs to whitelist

Auto Upgrade Parameter

ParameterTypeDescription
enabledbooleanwhether auto upgrade should happen, default is false (Note that Mist may auto-upgrade if the version is not supported)
versionstringdesired version, beta / stable / custom, default is stable
timeofdaystringany / HH:MM (24-hour format), upgrade will happen within up to 1-hour from this time
dayofweekstringany / mon / tue / wed / thu / fri / sat / sun
custom_versionsobjectcustome versions for different models

Engagement Parameter

ParameterTypeDescription
dwell_tagsobjectadd tags to visits within the duration (in seconds), available tags (passerby, bounce, engaged, stationed)
max_dwellintmax time, default is 43200(12h), max is 68400 (18h)
min_dwellintmin time, default is 0.
hoursobjecthours of operation filter, the available days (mon, tue, wed, thu, fri, sat, sun). Note: If the dow is not defined then it’s treated as 00:00-23:59.

NOTE: if hours does not exist, it’s treated as everyday of the week, 00:00-23:59. Currently we don’t allow multiple ranges for the same day

NOTE: default values for dwell_tags: passerby (1,300) bounce (301, 14400) engaged (14401, 28800) stationed (28801, 42000)

NOTE: default values for dwelltagnames: passerby = “Passerby”, bounce = “Visitor”, engaged = “Associates”, stationed = “Assets”

WIDS Parameter

ParameterTypeDescription
thresholdintcount of events to trigger
durationintwindow where a trigger will be detected and action to be taken (in seconds)

Tunnel Parameter

ParameterTypeDescription
hostslisthostnames or IPs where a Mist Tunnel will use as the Peer (i.e. they are reachable from AP)
ap_subnetslistlist of subnets where we allow AP to establish Mist Tunnels from
protocollistudp / ip, default is udp
vlan_idslistlist of vlan ids/ranges that will be used
hello_intervalfloatin seconds, used as heartbeat to detect if a tunnel is alive. AP will try another peer after missing N hellos specified by hello_retries. between 1 and 300, default is 60 seconds
hello_retriesintbetween 2 and 30, default is 7

Some important / cmmmon properties describing the network topology are captured in the following sections.

  • networks defines local network segments (think VLAN) that will be used for the site
  • port_usages defines how physical ports can be used (access/trunk, networks, whether to do dot1x)
  • radius_config defines the RADIUS server configurations if dot1x is being used
  • switch_matching allows definitions of some rules to provision similar swithces with same settings (see Switch Config)

NOTE: names of networks or port_usages can only use a-z, 1-9, _, -, . and up to 32 characters

Port Usage
ParameterTypeDescription
descriptionstringdescription
modestringaccess (default) / trunk
disabledboolwhether the port is disabled, default is false
all_networksboolif mode=trunk, whether to trunk all network/vlans, default is false
networkslistif mode=trunk, the list of network/vlans
port_networkstringnative network/vlan for untagged traffic
stp_edgestringwhen enabled, the port is not expected to receive BPDU frames
voip_networkstringnetwork/vlan for voip traffic
port_authstringif dot1x is desired, set to dot1x
enablemacauthboolif port_auth=dot1x, whether to enable MAC Auth
guest_networkstringif port_auth=dot1x, which network to put the device into if the device cannot do dot1x. default is null (i.e. not allowed)
bypassauthwhenserverdownboolif port_auth=dot1x, whether to allow the device to connect if RADIUS server is down
speedstringspeed, default is auto to automatically negotiate speed
duplexstringlink connection mode, choices are auto (default), full, and half
mac_limitintmax number of mac addresses, default is 0 for unlimited, otherwise range is 1 or higher, with upper bound constrained by platform
persist_macboolif mode=access and port_auth!=dot1x, whether the port should retain dynamically learned MAC addresses, default is false
poe_disabledboolwhether PoE capabilities are disabled for a port, default is false
storm_controlobjectstorm-control-profile settings
mtuintmedia maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation. The default value is 1514.
enable_qosboolwhether QoS is enabled, default is false. When QoS is enabled, the default QoS setting is applied.
allow_dhcpdboolwhether DHCP server is allowed on the interfaces with. All the interfaces from. port configs using this port usage are effected. Please notice that allow_dhcpd is a tri-state. When it is not defined, it means using the system’s default setting which depends on whether the port is a access or trunk port
Storm Control
ParameterTypeDescription
percentageintbandwidth-percentage, configures the storm control level as a percentage of the available bandwidth, default is 80
no_broadcastboolwhether to disable storm control on broadcast traffic, default is false
nounknownunicastboolwhether to disable storm control on unknown unicast traffic, default is false
no_multicastboolwhether to disable storm control on multicast traffic, default is false
noregisteredmulticastboolwhether to disable storm control on registered multicast traffic, default is false
Switch Matching (Draft)

In many scenarios, people have conventions like having port ge-0/0/0 as uplink, ge-0/0/5-42 for user devices, … for many switches in the same site. While it’s achievable by doing Switch Config on each of them, switch_matching allows them to use same setting by matching name/model/role.

ParameterTypeDescription
lldpchassisidstringMAC address of LLDP neighbor
lldpsystemnamestringsystem name of LLDP neighbor
lldpserialnumberstringSerial number of LLDP neighbor
lldphardwarerevisionstringHardware revision of LLDP neighbor
lldpmanufacturernamestringThe manufacturer of LLDP neighbor
lldp_ouistringThe OUI of LLDP neighbor
radius_usernamestringThe username of the connected supplicant.
radius_usermacstringThe MAC address of the connected supplicant.
radius_dynamicfilterstringUser policy filter sent by the RADIUS server.
link_peermacstringMAC address of the device directly connected to a port.

OSPF Areas Parameters

ParameterTypeDescription
osp_areasobjectOSPF areas, key is the area id
typestringOSPF type, default (default) / stub / nssa
networksobjectnetworks to participate in an OSPF area, key is the network name
passive'boolwhether to send OSPF-Hello, default is false
auth_typestringauth type, none (default) / md5 / password
auth_keysobjectif auth_type==’md5’, the md5 keys
auth_passwordstringif auth_type==’password’, the password, max length is 8
interface_typestringinterface type, broadcast / nbma (non-broadcast multi-access) / p2p / p2mp, default is broadcast

Auto Preemption Parameters

ParameterTypeDescription
enabledbooleanwhether auto preemption should happen, default is false
timeofdaystringany / HH:MM (24-hour format)
dayofweekstringany / mon / tue / wed / thu / fri / sat / sun

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring
X-CSRFTokenstring