Template Management: Client Connection Test Profile
There are 2 bandwidths on which Arista APIs work- One is Sensor mode and the other one is Client Mode. So there are 3 radio frequencies -2.5 GHZ, 5 GHZ and one which acts on both. So out of these frequencies, one can act as a client, this depends on whichever frequency it gets connected to. So, Client Connectivity Profile helps us to know which frequency bandwidth will act as the client and the related settings to it. It will generate user settings accordingly.
API Calls
/V5/templates/CL_CONN_TEST_PROFILE
/V5/templates/CL_CONN_TEST_PROFILE/{startindex}/{pagesize}
/V5/templates/{templateId}/CL_CONN_TEST_PROFILE
/V5/templates
/V5/templates/copy/{templateId}/CL_CONN_TEST_PROFILE
/V5/templates
/V5/templates/{templateId}/CL_CONN_TEST_PROFILE
JSON Table
Attribute | Data Type | Description |
---|---|---|
type | String | Template type. Expected value is roletemplate. |
templateId | int | System generated value to identify the template. |
templateName | String | Name of the template. |
createdAtLocationId | application/json | ID of location at which the template is created. The value is of the type Location ID JSON. |
description | String | Description of the template. |
templateType | String | Template type. The applicable value is ROLE_PROFILE |
mncTemplateId | int | System-generated ID of the template provided via the parent server to the child server. |
ssid | String | The SSID profile |
frequencyBand | String | Frequency band. The possile values are
|
securityMode | ||
securityType | ||
username | ||
password | ||
passphrase | ||
pingDestinationServers | ||
wanTestUrl | ||
pingTestEnabled | ||
mnctemplate |
Sample JSON
{ "templateList":[{ "type": "clientconntestprofile", "templateId": 2, "templateName": "Test_1", "createdAtLocationId":{ "type": "locallocationid", "id": 0 }, "description": "", "templateType": "CL_CONN_TEST_PROFILE", "mncTemplateId": 0, "ssid": "WebAppsDev", "frequencyBand": "BAND_5_GHZ", "securityMode": 4, "securityType": 1, "username": null, "password": null, "passphrase": "welcome123", "pingDestinationServers":[ "www.google.com" ], "wanTestUrl": "www.google.com", "pingTestEnabled": true, "mnctemplate": false }, { "type": "clientconntestprofile", "templateId": 3, "templateName": "test+2", "createdAtLocationId":{ "type": "locallocationid", "id": 0 }, "description": "", "templateType": "CL_CONN_TEST_PROFILE", "mncTemplateId": 0, "ssid": "WebAppsDev", "frequencyBand": "BAND_5_GHZ", "securityMode": 4, "securityType": 1, "username": null, "password": null, "passphrase": "welcome123", "pingDestinationServers":[ "www.google.com", "www.yshoo.vv" ], "wanTestUrl": "www.google.com", "pingTestEnabled": true, "mnctemplate": false } ], "previousLink": "/CL_CONN_TEST_PROFILE/0/25", "nextLink": "/CL_CONN_TEST_PROFILE/2/25", "totalCount": 2 }