Fix exception in OvsdbDao when processing radio types for VIF, update static files for simpler analysis

This commit is contained in:
Mike Hansen
2020-05-27 15:28:02 -04:00
parent 702388b6b7
commit 65a9ab0100
19 changed files with 608 additions and 910 deletions

View File

@@ -540,7 +540,12 @@ public class OpensyncExternalIntegrationCloud implements OpensyncExternalIntegra
LOG.error("Cannot read config for AP {}", apId, e); LOG.error("Cannot read config for AP {}", apId, e);
} }
LOG.debug("Config content : {}", ret); LOG.debug("Config content : Equipment {}", ret.getCustomerEquipment().toPrettyString());
LOG.debug("Config content : APProfile {}", ret.getApProfile().toPrettyString());
ret.getSsidProfile().stream().forEach(ssid -> LOG.debug("Config content : SSIDProfile {}", ssid.toPrettyString()));
LOG.debug("Config content : Location {}", ret.getEquipmentLocation().toPrettyString());
return ret; return ret;
} }

View File

@@ -1,12 +1,12 @@
{ {
"model_type" : "Equipment", "model_type" : "Equipment",
"id" : 50, "id" : 51,
"customerId" : 2, "customerId" : 2,
"profileId" : null, "profileId" : 3,
"locationId" : 8, "locationId" : 8,
"equipmentType" : "AP", "equipmentType" : "AP",
"inventoryId" : "ap-50", "inventoryId" : "Test_Client_21P10C68818122",
"name" : "AP 50", "name" : "Test_Client_21P10C68818122",
"details" : { "details" : {
"model_type" : "ApElementConfiguration", "model_type" : "ApElementConfiguration",
"sampleDetailsStr" : null, "sampleDetailsStr" : null,
@@ -21,7 +21,7 @@
"staticDnsIp1" : null, "staticDnsIp1" : null,
"staticDnsIp2" : null, "staticDnsIp2" : null,
"peerInfoList" : [ ], "peerInfoList" : [ ],
"deviceName" : "Default Device Name", "deviceName" : "Test_Client_21P10C68818122",
"locationData" : null, "locationData" : null,
"locallyConfiguredMgmtVlan" : 0, "locallyConfiguredMgmtVlan" : 0,
"locallyConfigured" : false, "locallyConfigured" : false,
@@ -100,8 +100,8 @@
}, },
"eirpTxPower" : { "eirpTxPower" : {
"model_type" : "AutoOrManualValue", "model_type" : "AutoOrManualValue",
"auto" : false, "auto" : true,
"value" : 10 "value" : 18
}, },
"bestApEnabled" : null, "bestApEnabled" : null,
"neighbouringListApConfig" : { "neighbouringListApConfig" : {
@@ -121,7 +121,7 @@
"radioType" : "is5GHzU", "radioType" : "is5GHzU",
"channelNumber" : 149, "channelNumber" : 149,
"manualChannelNumber" : 149, "manualChannelNumber" : 149,
"backupChannelNumber" : 116, "backupChannelNumber" : 154,
"autoChannelSelection" : true, "autoChannelSelection" : true,
"channelBandwidth" : "is80MHz", "channelBandwidth" : "is80MHz",
"bannedChannels" : [ ], "bannedChannels" : [ ],
@@ -203,7 +203,7 @@
"is5GHzU" : { "is5GHzU" : {
"model_type" : "RadioConfiguration", "model_type" : "RadioConfiguration",
"radioType" : "is5GHzU", "radioType" : "is5GHzU",
"radioAdminState" : "disabled", "radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346, "fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535, "rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled", "autoChannelSelection" : "disabled",
@@ -284,7 +284,7 @@
}, },
"latitude" : null, "latitude" : null,
"longitude" : null, "longitude" : null,
"serial" : "serial-ap-50", "serial" : "21P10C68818122",
"createdTimestamp" : 1589915837067, "createdTimestamp" : 1590607072871,
"lastModifiedTimestamp" : 1589915837067 "lastModifiedTimestamp" : 1590607073116
} }

View File

@@ -1,13 +1,13 @@
{ {
"model_type" : "Location", "model_type" : "Location",
"id" : 7, "id" : 8,
"parentId" : 2, "parentId" : 0,
"locationType" : "BUILDING", "locationType" : "SITE",
"customerId" : 2, "customerId" : 2,
"name" : "Building 2", "name" : "Ottawa",
"details" : { "details" : {
"model_type" : "LocationDetails", "model_type" : "LocationDetails",
"countryCode" : "usa", "countryCode" : "ca",
"maintenanceWindow" : null, "maintenanceWindow" : null,
"rrmEnabled" : true, "rrmEnabled" : true,
"dailyRebalancingDetails" : { "dailyRebalancingDetails" : {
@@ -62,6 +62,6 @@
} }
} }
}, },
"createdTimestamp" : 1589567347442, "createdTimestamp" : 1590607043540,
"lastModifiedTimestamp" : 1589567347442 "lastModifiedTimestamp" : 1590607043540
} }

View File

@@ -1,67 +0,0 @@
{
"model_type" : "Location",
"id" : 2,
"parentId" : 0,
"locationType" : "SITE",
"customerId" : 2,
"name" : "Menlo Park",
"details" : {
"model_type" : "LocationDetails",
"countryCode" : "usa",
"maintenanceWindow" : null,
"rrmEnabled" : true,
"dailyRebalancingDetails" : {
"SUNDAY" : {
"model_type" : "LocationActivityDetails",
"busyTime" : "13:30",
"quietTime" : "3:30",
"timezone" : "US/Eastern",
"lastBusySnapshot" : 0
},
"MONDAY" : {
"model_type" : "LocationActivityDetails",
"busyTime" : "13:30",
"quietTime" : "3:30",
"timezone" : "US/Eastern",
"lastBusySnapshot" : 0
},
"TUESDAY" : {
"model_type" : "LocationActivityDetails",
"busyTime" : "13:30",
"quietTime" : "3:30",
"timezone" : "US/Eastern",
"lastBusySnapshot" : 0
},
"WEDNESDAY" : {
"model_type" : "LocationActivityDetails",
"busyTime" : "13:30",
"quietTime" : "3:30",
"timezone" : "US/Eastern",
"lastBusySnapshot" : 0
},
"THURSDAY" : {
"model_type" : "LocationActivityDetails",
"busyTime" : "13:30",
"quietTime" : "3:30",
"timezone" : "US/Eastern",
"lastBusySnapshot" : 0
},
"FRIDAY" : {
"model_type" : "LocationActivityDetails",
"busyTime" : "13:30",
"quietTime" : "3:30",
"timezone" : "US/Eastern",
"lastBusySnapshot" : 0
},
"SATURDAY" : {
"model_type" : "LocationActivityDetails",
"busyTime" : "13:30",
"quietTime" : "3:30",
"timezone" : "US/Eastern",
"lastBusySnapshot" : 0
}
}
},
"createdTimestamp" : 1589567474314,
"lastModifiedTimestamp" : 1589567474314
}

View File

@@ -1,12 +1,11 @@
{ {
"model_type" : "Profile", "model_type" : "Profile",
"id" : 2, "id" : 3,
"customerId" : 2, "customerId" : 2,
"profileType" : "equipment_ap", "profileType" : "equipment_ap",
"name" : "ApProfile", "name" : "autoprovisionedApProfile",
"details" : { "details" : {
"model_type" : "ApNetworkConfiguration", "model_type" : "ApNetworkConfiguration",
"sampleDetailsStr" : null,
"networkConfigVersion" : "AP-1", "networkConfigVersion" : "AP-1",
"equipmentType" : "AP", "equipmentType" : "AP",
"vlanNative" : true, "vlanNative" : true,
@@ -42,9 +41,10 @@
"bestApEnabled" : true, "bestApEnabled" : true,
"bestAPSteerType" : "both" "bestAPSteerType" : "both"
} }
} },
"profileType" : "equipment_ap"
}, },
"createdTimestamp" : 1589567037365, "createdTimestamp" : 1590607072994,
"lastModifiedTimestamp" : 1589567037365, "lastModifiedTimestamp" : 1590607073083,
"childProfileIds" : [ ] "childProfileIds" : [ 4, 5, 6 ]
} }

View File

@@ -1,190 +1,71 @@
[ [
{
"model_type" : "Profile",
"id" : 1,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local",
"appliedRadios" : [ "is5GHzL", "is5GHzU", "is2dot4GHz" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 2,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local-2",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local-2",
"appliedRadios" : [ "is5GHzL", "is5GHzU"],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
}
,
{
"model_type" : "Profile",
"id" : 3,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local-3u",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local-3u",
"appliedRadios" : [ "is5GHzU" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
}
,
{ {
"model_type" : "Profile", "model_type" : "Profile",
"id" : 4, "id" : 4,
"customerId" : 2, "customerId" : 2,
"profileType" : "ssid", "profileType" : "ssid",
"name" : "Connectus-local-4l", "name" : "autoProvisionedSsid",
"details" : { "details" : {
"model_type" : "SsidConfiguration", "model_type" : "SsidConfiguration",
"sampleDetailsStr" : null, "ssid" : "autoProvisionedSsid",
"ssid" : "Connectus-local-4l", "appliedRadios" : [ "is2dot4GHz" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
},
"createdTimestamp" : 1590607073026,
"lastModifiedTimestamp" : 1590607073026,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 5,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5l",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5l",
"appliedRadios" : [ "is5GHzL" ], "appliedRadios" : [ "is5GHzL" ],
"ssidAdminState" : "enabled", "ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK", "secureMode" : "wpa2PSK",
@@ -227,10 +108,69 @@
"bonjourGatewayProfileId" : null, "bonjourGatewayProfileId" : null,
"enable80211w" : null, "enable80211w" : null,
"wepConfig" : null, "wepConfig" : null,
"forwardMode" : null "forwardMode" : null,
"profileType" : "ssid"
}, },
"createdTimestamp" : 1589567130432, "createdTimestamp" : 1590607073044,
"lastModifiedTimestamp" : 1589567130432, "lastModifiedTimestamp" : 1590607073044,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 6,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5u",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5u",
"appliedRadios" : [ "is5GHzU" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
},
"createdTimestamp" : 1590607073065,
"lastModifiedTimestamp" : 1590607073065,
"childProfileIds" : [ ] "childProfileIds" : [ ]
} }
] ]

View File

@@ -1,12 +1,12 @@
{ {
"model_type" : "Equipment", "model_type" : "Equipment",
"id" : 50, "id" : 51,
"customerId" : 2, "customerId" : 2,
"profileId" : null, "profileId" : 3,
"locationId" : 8, "locationId" : 8,
"equipmentType" : "AP", "equipmentType" : "AP",
"inventoryId" : "ap-50", "inventoryId" : "Test_Client_21P10C68818122",
"name" : "AP 50", "name" : "Test_Client_21P10C68818122",
"details" : { "details" : {
"model_type" : "ApElementConfiguration", "model_type" : "ApElementConfiguration",
"sampleDetailsStr" : null, "sampleDetailsStr" : null,
@@ -21,7 +21,7 @@
"staticDnsIp1" : null, "staticDnsIp1" : null,
"staticDnsIp2" : null, "staticDnsIp2" : null,
"peerInfoList" : [ ], "peerInfoList" : [ ],
"deviceName" : "Default Device Name", "deviceName" : "Test_Client_21P10C68818122",
"locationData" : null, "locationData" : null,
"locallyConfiguredMgmtVlan" : 0, "locallyConfiguredMgmtVlan" : 0,
"locallyConfigured" : false, "locallyConfigured" : false,
@@ -100,8 +100,8 @@
}, },
"eirpTxPower" : { "eirpTxPower" : {
"model_type" : "AutoOrManualValue", "model_type" : "AutoOrManualValue",
"auto" : false, "auto" : true,
"value" : 10 "value" : 18
}, },
"bestApEnabled" : null, "bestApEnabled" : null,
"neighbouringListApConfig" : { "neighbouringListApConfig" : {
@@ -121,7 +121,7 @@
"radioType" : "is5GHzU", "radioType" : "is5GHzU",
"channelNumber" : 149, "channelNumber" : 149,
"manualChannelNumber" : 149, "manualChannelNumber" : 149,
"backupChannelNumber" : 116, "backupChannelNumber" : 154,
"autoChannelSelection" : true, "autoChannelSelection" : true,
"channelBandwidth" : "is80MHz", "channelBandwidth" : "is80MHz",
"bannedChannels" : [ ], "bannedChannels" : [ ],
@@ -203,7 +203,7 @@
"is5GHzU" : { "is5GHzU" : {
"model_type" : "RadioConfiguration", "model_type" : "RadioConfiguration",
"radioType" : "is5GHzU", "radioType" : "is5GHzU",
"radioAdminState" : "disabled", "radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346, "fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535, "rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled", "autoChannelSelection" : "disabled",
@@ -284,7 +284,7 @@
}, },
"latitude" : null, "latitude" : null,
"longitude" : null, "longitude" : null,
"serial" : "serial-ap-50", "serial" : "21P10C68818122",
"createdTimestamp" : 1589915837067, "createdTimestamp" : 1590607072871,
"lastModifiedTimestamp" : 1589915837067 "lastModifiedTimestamp" : 1590607073116
} }

View File

@@ -1,13 +1,13 @@
{ {
"model_type" : "Location", "model_type" : "Location",
"id" : 7, "id" : 8,
"parentId" : 2, "parentId" : 0,
"locationType" : "BUILDING", "locationType" : "SITE",
"customerId" : 2, "customerId" : 2,
"name" : "Building 2", "name" : "Ottawa",
"details" : { "details" : {
"model_type" : "LocationDetails", "model_type" : "LocationDetails",
"countryCode" : "usa", "countryCode" : "ca",
"maintenanceWindow" : null, "maintenanceWindow" : null,
"rrmEnabled" : true, "rrmEnabled" : true,
"dailyRebalancingDetails" : { "dailyRebalancingDetails" : {
@@ -62,6 +62,6 @@
} }
} }
}, },
"createdTimestamp" : 1589567347442, "createdTimestamp" : 1590607043540,
"lastModifiedTimestamp" : 1589567347442 "lastModifiedTimestamp" : 1590607043540
} }

View File

@@ -1,12 +1,11 @@
{ {
"model_type" : "Profile", "model_type" : "Profile",
"id" : 2, "id" : 3,
"customerId" : 2, "customerId" : 2,
"profileType" : "equipment_ap", "profileType" : "equipment_ap",
"name" : "ApProfile", "name" : "autoprovisionedApProfile",
"details" : { "details" : {
"model_type" : "ApNetworkConfiguration", "model_type" : "ApNetworkConfiguration",
"sampleDetailsStr" : null,
"networkConfigVersion" : "AP-1", "networkConfigVersion" : "AP-1",
"equipmentType" : "AP", "equipmentType" : "AP",
"vlanNative" : true, "vlanNative" : true,
@@ -42,9 +41,10 @@
"bestApEnabled" : true, "bestApEnabled" : true,
"bestAPSteerType" : "both" "bestAPSteerType" : "both"
} }
} },
"profileType" : "equipment_ap"
}, },
"createdTimestamp" : 1589567037365, "createdTimestamp" : 1590607072994,
"lastModifiedTimestamp" : 1589567037365, "lastModifiedTimestamp" : 1590607073083,
"childProfileIds" : [ ] "childProfileIds" : [ 4, 5, 6 ]
} }

View File

@@ -1,190 +1,71 @@
[ [
{
"model_type" : "Profile",
"id" : 1,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local",
"appliedRadios" : [ "is5GHzL", "is5GHzU", "is2dot4GHz" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 2,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local-2",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local-2",
"appliedRadios" : [ "is5GHzL", "is5GHzU"],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
}
,
{
"model_type" : "Profile",
"id" : 3,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local-3u",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local-3u",
"appliedRadios" : [ "is5GHzU" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
}
,
{ {
"model_type" : "Profile", "model_type" : "Profile",
"id" : 4, "id" : 4,
"customerId" : 2, "customerId" : 2,
"profileType" : "ssid", "profileType" : "ssid",
"name" : "Connectus-local-4l", "name" : "autoProvisionedSsid",
"details" : { "details" : {
"model_type" : "SsidConfiguration", "model_type" : "SsidConfiguration",
"sampleDetailsStr" : null, "ssid" : "autoProvisionedSsid",
"ssid" : "Connectus-local-4l", "appliedRadios" : [ "is2dot4GHz" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
},
"createdTimestamp" : 1590607073026,
"lastModifiedTimestamp" : 1590607073026,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 5,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5l",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5l",
"appliedRadios" : [ "is5GHzL" ], "appliedRadios" : [ "is5GHzL" ],
"ssidAdminState" : "enabled", "ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK", "secureMode" : "wpa2PSK",
@@ -227,10 +108,69 @@
"bonjourGatewayProfileId" : null, "bonjourGatewayProfileId" : null,
"enable80211w" : null, "enable80211w" : null,
"wepConfig" : null, "wepConfig" : null,
"forwardMode" : null "forwardMode" : null,
"profileType" : "ssid"
}, },
"createdTimestamp" : 1589567130432, "createdTimestamp" : 1590607073044,
"lastModifiedTimestamp" : 1589567130432, "lastModifiedTimestamp" : 1590607073044,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 6,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5u",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5u",
"appliedRadios" : [ "is5GHzU" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
},
"createdTimestamp" : 1590607073065,
"lastModifiedTimestamp" : 1590607073065,
"childProfileIds" : [ ] "childProfileIds" : [ ]
} }
] ]

View File

@@ -1,12 +1,12 @@
{ {
"model_type" : "Equipment", "model_type" : "Equipment",
"id" : 50, "id" : 51,
"customerId" : 2, "customerId" : 2,
"profileId" : null, "profileId" : 3,
"locationId" : 8, "locationId" : 8,
"equipmentType" : "AP", "equipmentType" : "AP",
"inventoryId" : "ap-50", "inventoryId" : "Test_Client_21P10C68818122",
"name" : "AP 50", "name" : "Test_Client_21P10C68818122",
"details" : { "details" : {
"model_type" : "ApElementConfiguration", "model_type" : "ApElementConfiguration",
"sampleDetailsStr" : null, "sampleDetailsStr" : null,
@@ -21,7 +21,7 @@
"staticDnsIp1" : null, "staticDnsIp1" : null,
"staticDnsIp2" : null, "staticDnsIp2" : null,
"peerInfoList" : [ ], "peerInfoList" : [ ],
"deviceName" : "Default Device Name", "deviceName" : "Test_Client_21P10C68818122",
"locationData" : null, "locationData" : null,
"locallyConfiguredMgmtVlan" : 0, "locallyConfiguredMgmtVlan" : 0,
"locallyConfigured" : false, "locallyConfigured" : false,
@@ -100,8 +100,8 @@
}, },
"eirpTxPower" : { "eirpTxPower" : {
"model_type" : "AutoOrManualValue", "model_type" : "AutoOrManualValue",
"auto" : false, "auto" : true,
"value" : 10 "value" : 18
}, },
"bestApEnabled" : null, "bestApEnabled" : null,
"neighbouringListApConfig" : { "neighbouringListApConfig" : {
@@ -121,7 +121,7 @@
"radioType" : "is5GHzU", "radioType" : "is5GHzU",
"channelNumber" : 149, "channelNumber" : 149,
"manualChannelNumber" : 149, "manualChannelNumber" : 149,
"backupChannelNumber" : 116, "backupChannelNumber" : 154,
"autoChannelSelection" : true, "autoChannelSelection" : true,
"channelBandwidth" : "is80MHz", "channelBandwidth" : "is80MHz",
"bannedChannels" : [ ], "bannedChannels" : [ ],
@@ -203,7 +203,7 @@
"is5GHzU" : { "is5GHzU" : {
"model_type" : "RadioConfiguration", "model_type" : "RadioConfiguration",
"radioType" : "is5GHzU", "radioType" : "is5GHzU",
"radioAdminState" : "disabled", "radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346, "fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535, "rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled", "autoChannelSelection" : "disabled",
@@ -284,7 +284,7 @@
}, },
"latitude" : null, "latitude" : null,
"longitude" : null, "longitude" : null,
"serial" : "serial-ap-50", "serial" : "21P10C68818122",
"createdTimestamp" : 1589915837067, "createdTimestamp" : 1590607072871,
"lastModifiedTimestamp" : 1589915837067 "lastModifiedTimestamp" : 1590607073116
} }

View File

@@ -1,13 +1,13 @@
{ {
"model_type" : "Location", "model_type" : "Location",
"id" : 7, "id" : 8,
"parentId" : 2, "parentId" : 0,
"locationType" : "BUILDING", "locationType" : "SITE",
"customerId" : 2, "customerId" : 2,
"name" : "Building 2", "name" : "Ottawa",
"details" : { "details" : {
"model_type" : "LocationDetails", "model_type" : "LocationDetails",
"countryCode" : "usa", "countryCode" : "ca",
"maintenanceWindow" : null, "maintenanceWindow" : null,
"rrmEnabled" : true, "rrmEnabled" : true,
"dailyRebalancingDetails" : { "dailyRebalancingDetails" : {
@@ -62,6 +62,6 @@
} }
} }
}, },
"createdTimestamp" : 1589567347442, "createdTimestamp" : 1590607043540,
"lastModifiedTimestamp" : 1589567347442 "lastModifiedTimestamp" : 1590607043540
} }

View File

@@ -1,12 +1,11 @@
{ {
"model_type" : "Profile", "model_type" : "Profile",
"id" : 2, "id" : 3,
"customerId" : 2, "customerId" : 2,
"profileType" : "equipment_ap", "profileType" : "equipment_ap",
"name" : "ApProfile", "name" : "autoprovisionedApProfile",
"details" : { "details" : {
"model_type" : "ApNetworkConfiguration", "model_type" : "ApNetworkConfiguration",
"sampleDetailsStr" : null,
"networkConfigVersion" : "AP-1", "networkConfigVersion" : "AP-1",
"equipmentType" : "AP", "equipmentType" : "AP",
"vlanNative" : true, "vlanNative" : true,
@@ -42,9 +41,10 @@
"bestApEnabled" : true, "bestApEnabled" : true,
"bestAPSteerType" : "both" "bestAPSteerType" : "both"
} }
} },
"profileType" : "equipment_ap"
}, },
"createdTimestamp" : 1589567037365, "createdTimestamp" : 1590607072994,
"lastModifiedTimestamp" : 1589567037365, "lastModifiedTimestamp" : 1590607073083,
"childProfileIds" : [ ] "childProfileIds" : [ 4, 5, 6 ]
} }

View File

@@ -1,190 +1,71 @@
[ [
{
"model_type" : "Profile",
"id" : 1,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local",
"appliedRadios" : [ "is5GHzL", "is5GHzU", "is2dot4GHz" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 2,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local-2",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local-2",
"appliedRadios" : [ "is5GHzL", "is5GHzU"],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
}
,
{
"model_type" : "Profile",
"id" : 3,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local-3u",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local-3u",
"appliedRadios" : [ "is5GHzU" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
}
,
{ {
"model_type" : "Profile", "model_type" : "Profile",
"id" : 4, "id" : 4,
"customerId" : 2, "customerId" : 2,
"profileType" : "ssid", "profileType" : "ssid",
"name" : "Connectus-local-4l", "name" : "autoProvisionedSsid",
"details" : { "details" : {
"model_type" : "SsidConfiguration", "model_type" : "SsidConfiguration",
"sampleDetailsStr" : null, "ssid" : "autoProvisionedSsid",
"ssid" : "Connectus-local-4l", "appliedRadios" : [ "is2dot4GHz" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
},
"createdTimestamp" : 1590607073026,
"lastModifiedTimestamp" : 1590607073026,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 5,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5l",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5l",
"appliedRadios" : [ "is5GHzL" ], "appliedRadios" : [ "is5GHzL" ],
"ssidAdminState" : "enabled", "ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK", "secureMode" : "wpa2PSK",
@@ -227,10 +108,69 @@
"bonjourGatewayProfileId" : null, "bonjourGatewayProfileId" : null,
"enable80211w" : null, "enable80211w" : null,
"wepConfig" : null, "wepConfig" : null,
"forwardMode" : null "forwardMode" : null,
"profileType" : "ssid"
}, },
"createdTimestamp" : 1589567130432, "createdTimestamp" : 1590607073044,
"lastModifiedTimestamp" : 1589567130432, "lastModifiedTimestamp" : 1590607073044,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 6,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5u",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5u",
"appliedRadios" : [ "is5GHzU" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
},
"createdTimestamp" : 1590607073065,
"lastModifiedTimestamp" : 1590607073065,
"childProfileIds" : [ ] "childProfileIds" : [ ]
} }
] ]

View File

@@ -1,12 +1,12 @@
{ {
"model_type" : "Equipment", "model_type" : "Equipment",
"id" : 50, "id" : 51,
"customerId" : 2, "customerId" : 2,
"profileId" : null, "profileId" : 3,
"locationId" : 8, "locationId" : 8,
"equipmentType" : "AP", "equipmentType" : "AP",
"inventoryId" : "ap-50", "inventoryId" : "Test_Client_21P10C68818122",
"name" : "AP 50", "name" : "Test_Client_21P10C68818122",
"details" : { "details" : {
"model_type" : "ApElementConfiguration", "model_type" : "ApElementConfiguration",
"sampleDetailsStr" : null, "sampleDetailsStr" : null,
@@ -21,7 +21,7 @@
"staticDnsIp1" : null, "staticDnsIp1" : null,
"staticDnsIp2" : null, "staticDnsIp2" : null,
"peerInfoList" : [ ], "peerInfoList" : [ ],
"deviceName" : "Default Device Name", "deviceName" : "Test_Client_21P10C68818122",
"locationData" : null, "locationData" : null,
"locallyConfiguredMgmtVlan" : 0, "locallyConfiguredMgmtVlan" : 0,
"locallyConfigured" : false, "locallyConfigured" : false,
@@ -100,8 +100,8 @@
}, },
"eirpTxPower" : { "eirpTxPower" : {
"model_type" : "AutoOrManualValue", "model_type" : "AutoOrManualValue",
"auto" : false, "auto" : true,
"value" : 10 "value" : 18
}, },
"bestApEnabled" : null, "bestApEnabled" : null,
"neighbouringListApConfig" : { "neighbouringListApConfig" : {
@@ -121,7 +121,7 @@
"radioType" : "is5GHzU", "radioType" : "is5GHzU",
"channelNumber" : 149, "channelNumber" : 149,
"manualChannelNumber" : 149, "manualChannelNumber" : 149,
"backupChannelNumber" : 116, "backupChannelNumber" : 154,
"autoChannelSelection" : true, "autoChannelSelection" : true,
"channelBandwidth" : "is80MHz", "channelBandwidth" : "is80MHz",
"bannedChannels" : [ ], "bannedChannels" : [ ],
@@ -203,7 +203,7 @@
"is5GHzU" : { "is5GHzU" : {
"model_type" : "RadioConfiguration", "model_type" : "RadioConfiguration",
"radioType" : "is5GHzU", "radioType" : "is5GHzU",
"radioAdminState" : "disabled", "radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346, "fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535, "rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled", "autoChannelSelection" : "disabled",
@@ -284,7 +284,7 @@
}, },
"latitude" : null, "latitude" : null,
"longitude" : null, "longitude" : null,
"serial" : "serial-ap-50", "serial" : "21P10C68818122",
"createdTimestamp" : 1589915837067, "createdTimestamp" : 1590607072871,
"lastModifiedTimestamp" : 1589915837067 "lastModifiedTimestamp" : 1590607073116
} }

View File

@@ -1,13 +1,13 @@
{ {
"model_type" : "Location", "model_type" : "Location",
"id" : 7, "id" : 8,
"parentId" : 2, "parentId" : 0,
"locationType" : "BUILDING", "locationType" : "SITE",
"customerId" : 2, "customerId" : 2,
"name" : "Building 2", "name" : "Ottawa",
"details" : { "details" : {
"model_type" : "LocationDetails", "model_type" : "LocationDetails",
"countryCode" : "usa", "countryCode" : "ca",
"maintenanceWindow" : null, "maintenanceWindow" : null,
"rrmEnabled" : true, "rrmEnabled" : true,
"dailyRebalancingDetails" : { "dailyRebalancingDetails" : {
@@ -62,6 +62,6 @@
} }
} }
}, },
"createdTimestamp" : 1589567347442, "createdTimestamp" : 1590607043540,
"lastModifiedTimestamp" : 1589567347442 "lastModifiedTimestamp" : 1590607043540
} }

View File

@@ -1,12 +1,11 @@
{ {
"model_type" : "Profile", "model_type" : "Profile",
"id" : 2, "id" : 3,
"customerId" : 2, "customerId" : 2,
"profileType" : "equipment_ap", "profileType" : "equipment_ap",
"name" : "ApProfile", "name" : "autoprovisionedApProfile",
"details" : { "details" : {
"model_type" : "ApNetworkConfiguration", "model_type" : "ApNetworkConfiguration",
"sampleDetailsStr" : null,
"networkConfigVersion" : "AP-1", "networkConfigVersion" : "AP-1",
"equipmentType" : "AP", "equipmentType" : "AP",
"vlanNative" : true, "vlanNative" : true,
@@ -42,9 +41,10 @@
"bestApEnabled" : true, "bestApEnabled" : true,
"bestAPSteerType" : "both" "bestAPSteerType" : "both"
} }
} },
"profileType" : "equipment_ap"
}, },
"createdTimestamp" : 1589567037365, "createdTimestamp" : 1590607072994,
"lastModifiedTimestamp" : 1589567037365, "lastModifiedTimestamp" : 1590607073083,
"childProfileIds" : [ ] "childProfileIds" : [ 4, 5, 6 ]
} }

View File

@@ -1,190 +1,71 @@
[ [
{
"model_type" : "Profile",
"id" : 1,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local",
"appliedRadios" : [ "is5GHzL", "is5GHzU", "is2dot4GHz" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 2,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local-2",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local-2",
"appliedRadios" : [ "is5GHzL", "is5GHzU"],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
}
,
{
"model_type" : "Profile",
"id" : 3,
"customerId" : 2,
"profileType" : "ssid",
"name" : "Connectus-local-3u",
"details" : {
"model_type" : "SsidConfiguration",
"sampleDetailsStr" : null,
"ssid" : "Connectus-local-3u",
"appliedRadios" : [ "is5GHzU" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null
},
"createdTimestamp" : 1589567130432,
"lastModifiedTimestamp" : 1589567130432,
"childProfileIds" : [ ]
}
,
{ {
"model_type" : "Profile", "model_type" : "Profile",
"id" : 4, "id" : 4,
"customerId" : 2, "customerId" : 2,
"profileType" : "ssid", "profileType" : "ssid",
"name" : "Connectus-local-4l", "name" : "autoProvisionedSsid",
"details" : { "details" : {
"model_type" : "SsidConfiguration", "model_type" : "SsidConfiguration",
"sampleDetailsStr" : null, "ssid" : "autoProvisionedSsid",
"ssid" : "Connectus-local-4l", "appliedRadios" : [ "is2dot4GHz" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
},
"createdTimestamp" : 1590607073026,
"lastModifiedTimestamp" : 1590607073026,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 5,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5l",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5l",
"appliedRadios" : [ "is5GHzL" ], "appliedRadios" : [ "is5GHzL" ],
"ssidAdminState" : "enabled", "ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK", "secureMode" : "wpa2PSK",
@@ -227,10 +108,69 @@
"bonjourGatewayProfileId" : null, "bonjourGatewayProfileId" : null,
"enable80211w" : null, "enable80211w" : null,
"wepConfig" : null, "wepConfig" : null,
"forwardMode" : null "forwardMode" : null,
"profileType" : "ssid"
}, },
"createdTimestamp" : 1589567130432, "createdTimestamp" : 1590607073044,
"lastModifiedTimestamp" : 1589567130432, "lastModifiedTimestamp" : 1590607073044,
"childProfileIds" : [ ]
},
{
"model_type" : "Profile",
"id" : 6,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5u",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5u",
"appliedRadios" : [ "is5GHzU" ],
"ssidAdminState" : "enabled",
"secureMode" : "wpa2PSK",
"vlanId" : 1,
"keyStr" : "12345678",
"broadcastSsid" : "enabled",
"keyRefresh" : 0,
"noLocalSubnets" : false,
"radiusServiceName" : null,
"captivePortalId" : null,
"bandwidthLimitDown" : 0,
"bandwidthLimitUp" : 0,
"videoTrafficOnly" : false,
"radioBasedConfigs" : {
"is5GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is2dot4GHz" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzU" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
},
"is5GHzL" : {
"model_type" : "RadioBasedSsidConfiguration",
"enable80211r" : null,
"enable80211k" : null,
"enable80211v" : null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
},
"createdTimestamp" : 1590607073065,
"lastModifiedTimestamp" : 1590607073065,
"childProfileIds" : [ ] "childProfileIds" : [ ]
} }
] ]

View File

@@ -1810,14 +1810,14 @@ public class OvsdbDao {
String ssidSecurityMode = ssidConfig.getSecureMode().name(); String ssidSecurityMode = ssidConfig.getSecureMode().name();
String opensyncSecurityMode = "OPEN"; String opensyncSecurityMode = "OPEN";
RadioMode radioMode = ((ApElementConfiguration) opensyncApConfig.getCustomerEquipment().getDetails()) RadioConfiguration radioConfiguration = ((ApElementConfiguration) opensyncApConfig.getCustomerEquipment().getDetails())
.getAdvancedRadioMap().get(radioType).getRadioMode(); .getAdvancedRadioMap().get(radioType);
if (radioConfiguration == null) continue; // don't have a radio of this kind in the map
RadioMode radioMode = radioConfiguration.getRadioMode();
boolean uapsdEnabled = (((ApElementConfiguration) opensyncApConfig.getCustomerEquipment().getDetails()) boolean uapsdEnabled = (radioConfiguration.getUapsdState() == StateSetting.enabled);
.getAdvancedRadioMap().get(radioType).getUapsdState() == StateSetting.enabled);
boolean apBridge = (((ApElementConfiguration) opensyncApConfig.getCustomerEquipment().getDetails()) boolean apBridge = (radioConfiguration.getStationIsolation() == StateSetting.enabled); //stationIsolation
.getAdvancedRadioMap().get(radioType).getStationIsolation() == StateSetting.enabled); //stationIsolation
String minHwMode = "11n"; // min_hw_mode is 11ac, wifi 5, we can also take ++ (11ax) but 2.4GHz only String minHwMode = "11n"; // min_hw_mode is 11ac, wifi 5, we can also take ++ (11ax) but 2.4GHz only
// Wifi4 -- // Wifi4 --