Postman RadSec collection changes re WIFI-2607: CloudBackend: add dynamicDiscovery attribute to RadiusProxyConfiguration and WIFI-2608: CloudGateway: provision dynamicDiscovery attribute on AP

Dev only, for design and pre UI testing.

Signed-off-by: Mike Hansen <mike.hansen@connectus.ai>
This commit is contained in:
Mike Hansen
2021-06-09 15:35:37 -04:00
parent 199bc8ca29
commit 6d17bb86c7

View File

@@ -670,7 +670,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"model_type\": \"Profile\",\n \"customerId\": 2,\n \"profileType\": \"equipment_ap\",\n \"name\": \"{{profile-ap-name}}\",\n \"details\": {\n \"model_type\": \"ApNetworkConfiguration\",\n \"networkConfigVersion\": \"AP-1\",\n \"equipmentType\": \"AP\",\n \"vlanNative\": true,\n \"vlan\": 0,\n \"ntpServer\": {\n \"model_type\": \"AutoOrManualString\",\n \"auto\": true,\n \"value\": \"pool.ntp.org\"\n },\n \"syslogRelay\": null,\n \"rtlsSettings\": null,\n \"syntheticClientEnabled\": true,\n \"ledControlEnabled\": true,\n \"equipmentDiscovery\": false,\n \"radioMap\": {\n \"is2dot4GHz\": {\n \"model_type\": \"RadioProfileConfiguration\",\n \"bestApEnabled\": true,\n \"bestAPSteerType\": \"both\"\n },\n \"is5GHzU\": {\n \"model_type\": \"RadioProfileConfiguration\",\n \"bestApEnabled\": true,\n \"bestAPSteerType\": \"both\"\n },\n \"is5GHzL\": {\n \"model_type\": \"RadioProfileConfiguration\",\n \"bestApEnabled\": true,\n \"bestAPSteerType\": \"both\"\n },\n \"is5GHz\": {\n \"model_type\": \"RadioProfileConfiguration\",\n \"bestApEnabled\": true,\n \"bestAPSteerType\": \"both\"\n }\n },\n \"greTunnelConfigurations\": [\n {\n \"model_type\": \"GreTunnelConfiguration\",\n \"greTunnelName\": \"gre1\",\n \"greRemoteInetAddr\": \"192.168.1.101\",\n \"vlanIdsInGreTunnel\": [\n 100\n ]\n }\n ],\n \"radiusProxyConfigurations\": [\n {\n \"model_type\": \"RadiusProxyConfiguration\",\n \"caCert\": {\n \"model_type\": \"ManagedFileInfo\",\n \"md5checksum\": \"YjNmZmE3NjJmZTU4ZjY3ZGZhNjA1ODAwOWI5YjU5ZTA=\",\n \"lastModifiedTimestamp\": 1620404566697,\n \"apExportUrl\": \"{{$randomDirectoryPath}}/cacert.pem\",\n \"fileCategory\": \"RadSecAuthentication\",\n \"fileType\": \"PEM\",\n \"altSlot\": false\n },\n \"clientCert\": {\n \"model_type\": \"ManagedFileInfo\",\n \"md5checksum\": \"NDA5MmZiN2Q5MDFiMWJmNDczMDhmOTI0ZGI2YWE2NjI=\",\n \"lastModifiedTimestamp\": 1620404566697,\n \"apExportUrl\": \"{{$randomDirectoryPath}}/clientcert.pem\",\n \"fileCategory\": \"RadSecAuthentication\",\n \"fileType\": \"PEM\",\n \"altSlot\": false\n },\n \"clientKey\": {\n \"model_type\": \"ManagedFileInfo\",\n \"md5checksum\": \"ODg5OTU4Mzk0N2Q2NzJhZGEzY2JiNzIzMjMxZTJiYTI=\",\n \"lastModifiedTimestamp\": 1620404566697,\n \"apExportUrl\": \"{{$randomDirectoryPath}}/client_dec.key\",\n \"fileCategory\": \"RadSecAuthentication\",\n \"fileType\": \"KEY\",\n \"altSlot\": false\n },\n \"server\": \"{{$randomIP}}\",\n \"port\": 1812,\n \"acctServer\": \"{{$randomIP}}\",\n \"acctPort\": 1813,\n \"realm\": [\n \"{{$randomDomainName}}\",\n \"{{$randomDomainName}}\",\n \"{{$randomDomainName}}\"\n ],\n \"name\": \"{{$randomCommonFileName}}\",\n \"passphrase\": \"secret\",\n \"useRadSec\": true,\n \"sharedSecret\": \"{{$randomPassword}}\",\n \"acctSharedSecret\": \"{{$randomPassword}}\"\n }\n ],\n \"profileType\": \"equipment_ap\"\n },\n \"childProfileIds\": [\n {{rf-profile-id}},\n {{ssid-profile-with-proxy-id}},\n {{ssid-profile-no-proxy-id}}\n ]\n}"
"raw": "{\n \"model_type\": \"Profile\",\n \"customerId\": 2,\n \"profileType\": \"equipment_ap\",\n \"name\": \"{{profile-ap-name}}\",\n \"details\": {\n \"model_type\": \"ApNetworkConfiguration\",\n \"networkConfigVersion\": \"AP-1\",\n \"equipmentType\": \"AP\",\n \"vlanNative\": true,\n \"vlan\": 0,\n \"ntpServer\": {\n \"model_type\": \"AutoOrManualString\",\n \"auto\": true,\n \"value\": \"pool.ntp.org\"\n },\n \"syslogRelay\": null,\n \"rtlsSettings\": null,\n \"syntheticClientEnabled\": true,\n \"ledControlEnabled\": true,\n \"equipmentDiscovery\": false,\n \"radioMap\": {\n \"is2dot4GHz\": {\n \"model_type\": \"RadioProfileConfiguration\",\n \"bestApEnabled\": true,\n \"bestAPSteerType\": \"both\"\n },\n \"is5GHzU\": {\n \"model_type\": \"RadioProfileConfiguration\",\n \"bestApEnabled\": true,\n \"bestAPSteerType\": \"both\"\n },\n \"is5GHzL\": {\n \"model_type\": \"RadioProfileConfiguration\",\n \"bestApEnabled\": true,\n \"bestAPSteerType\": \"both\"\n },\n \"is5GHz\": {\n \"model_type\": \"RadioProfileConfiguration\",\n \"bestApEnabled\": true,\n \"bestAPSteerType\": \"both\"\n }\n },\n \"greTunnelConfigurations\": [\n {\n \"model_type\": \"GreTunnelConfiguration\",\n \"greTunnelName\": \"gre1\",\n \"greRemoteInetAddr\": \"192.168.1.101\",\n \"vlanIdsInGreTunnel\": [\n 100\n ]\n }\n ],\n \"radiusProxyConfigurations\": [\n {\n \"model_type\": \"RadiusProxyConfiguration\",\n \"caCert\": {\n \"model_type\": \"ManagedFileInfo\",\n \"md5checksum\": \"YjNmZmE3NjJmZTU4ZjY3ZGZhNjA1ODAwOWI5YjU5ZTA=\",\n \"lastModifiedTimestamp\": 1620404566697,\n \"apExportUrl\": \"{{$randomDirectoryPath}}/cacert.pem\",\n \"fileCategory\": \"RadSecAuthentication\",\n \"fileType\": \"PEM\",\n \"altSlot\": false\n },\n \"clientCert\": {\n \"model_type\": \"ManagedFileInfo\",\n \"md5checksum\": \"NDA5MmZiN2Q5MDFiMWJmNDczMDhmOTI0ZGI2YWE2NjI=\",\n \"lastModifiedTimestamp\": 1620404566697,\n \"apExportUrl\": \"{{$randomDirectoryPath}}/clientcert.pem\",\n \"fileCategory\": \"RadSecAuthentication\",\n \"fileType\": \"PEM\",\n \"altSlot\": false\n },\n \"clientKey\": {\n \"model_type\": \"ManagedFileInfo\",\n \"md5checksum\": \"ODg5OTU4Mzk0N2Q2NzJhZGEzY2JiNzIzMjMxZTJiYTI=\",\n \"lastModifiedTimestamp\": 1620404566697,\n \"apExportUrl\": \"{{$randomDirectoryPath}}/client_dec.key\",\n \"fileCategory\": \"RadSecAuthentication\",\n \"fileType\": \"KEY\",\n \"altSlot\": false\n },\n \"server\": \"{{$randomIP}}\",\n \"port\": 1812,\n \"acctServer\": \"{{$randomIP}}\",\n \"acctPort\": 1813,\n \"realm\": [\n \"{{$randomDomainName}}\",\n \"{{$randomDomainName}}\",\n \"{{$randomDomainName}}\"\n ],\n \"name\": \"{{$randomCommonFileName}}\",\n \"passphrase\": \"secret\",\n \"useRadSec\": true,\n \"sharedSecret\": \"{{$randomPassword}}\",\n \"acctSharedSecret\": \"{{$randomPassword}}\",\n \"dynamicDiscovery\": true\n }\n ],\n \"profileType\": \"equipment_ap\"\n },\n \"childProfileIds\": [\n {{rf-profile-id}},\n {{ssid-profile-with-proxy-id}},\n {{ssid-profile-no-proxy-id}}\n ]\n}"
},
"url": {
"raw": "{{baseUrl}}/portal/profile",