createSiteWxlan

POST https://{{host}}/api/v1/sites/:site_id/wxtags

Body Parameter

NameTypeDescription
namestringthe name
typestringmatch / client / resource / subnet / spec / vlan
matchstringtype of match, wlanid / apid / clientmac / iprangesubnet / radiusgroup / radiususername / radiusattr / hostname / app / port
opstringin / not_in, default is in
valueslistlist of values to match
vlan_idintvlan id for assignment
  • type:
    • client: created manually (e.g. on wireless client table, when they spot a device of interest, they can create an wxlan tag for it
    • resource: created automatically when we discover a network resource
    • subnet: create automatically when a subnet is discovered
  • match:
    • wlanid, apid: values are a list of Wlan / Device ids
    • client_mac: values are a list of MAC addresses
  • radius_group: this is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1)
  • radius_username: this matches the ATTR-User-Name(1)
  • radius_class: thie matches the ATTR-Class(25)
  • radius_attr: the values are [ “6=1”, “26=10.2.3.4” ], this support other RADIUS attributes where we know the type
  • radius_vendor: the values are [ “14179.10=1”, “14178.16=1.2.3.4” ], this matches vendor attributes and will be dynamically evaluated

Request Body

{"type"=>"match", "name"=>"VIP", "match"=>"radius_group", "values"=>["vip"]}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
X-CSRFTokenstring
Content-Typestring