Integrate RF survey reportwith cloud backend, OSGW: Support RADIUS and WPA Enterprise pre-work

This commit is contained in:
Mike Hansen
2020-06-09 13:04:29 -04:00
parent ff845d6f06
commit 59ec71d324
27 changed files with 3363 additions and 3210 deletions

View File

@@ -1,27 +0,0 @@
{
"model_type" : "OpensyncAPConfig",
"radioConfig" : {
"model_type" : "OpensyncAPRadioConfig",
"country" : "CA",
"radioChannel24G" : 1,
"radioChannel5LG" : 44,
"radioChannel5HG" : 108
},
"ssidConfigs" : [ {
"model_type" : "OpensyncAPSsidConfig",
"radioType" : "is2dot4GHz",
"ssid" : "Connectus-cloud",
"encryption" : "WPA-PSK",
"key" : "12345678",
"mode" : "2",
"broadcast" : true
}, {
"model_type" : "OpensyncAPSsidConfig",
"radioType" : "is5GHzL",
"ssid" : "Connectus-cloud",
"encryption" : "WPA-PSK",
"key" : "12345678",
"mode" : "2",
"broadcast" : true
} ]
}

View File

@@ -24,177 +24,186 @@ import com.telecominfraproject.wlan.routing.models.EquipmentRoutingRecord;
public class OpensyncAPConfig extends BaseJsonModel {
private static final long serialVersionUID = 3917975477206236668L;
private static final long serialVersionUID = 3917975477206236668L;
private Equipment customerEquipment;
private Profile apProfile;
private List<Profile> ssidProfile;
private Location equipmentLocation;
private EquipmentRoutingRecord equipmentRouting;
private EquipmentGatewayRecord equipmentGateway;
private Equipment customerEquipment;
private Profile apProfile;
private List<Profile> ssidProfile;
private List<Profile> radiusProfiles;
private Location equipmentLocation;
private EquipmentRoutingRecord equipmentRouting;
private EquipmentGatewayRecord equipmentGateway;
// Handle Legacy Config Support
public void setRadioConfig(OpensyncAPRadioConfig radioConfig) {
// Handle Legacy Config Support
public void setRadioConfig(OpensyncAPRadioConfig radioConfig) {
if (customerEquipment == null) {
customerEquipment = new Equipment();
customerEquipment.setId(0);
customerEquipment.setEquipmentType(EquipmentType.AP);
customerEquipment.setDetails(ApElementConfiguration.createWithDefaults());
ApElementConfiguration apConfig = (ApElementConfiguration) customerEquipment.getDetails();
apConfig.getRadioMap().get(RadioType.is2dot4GHz).setChannelNumber(radioConfig.getRadioChannel24G());
apConfig.getRadioMap().get(RadioType.is5GHzL).setChannelNumber(radioConfig.getRadioChannel5LG());
apConfig.getRadioMap().get(RadioType.is5GHzU).setChannelNumber(radioConfig.getRadioChannel5HG());
customerEquipment.setDetails(apConfig);
}
if (customerEquipment == null) {
customerEquipment = new Equipment();
customerEquipment.setId(0);
customerEquipment.setEquipmentType(EquipmentType.AP);
customerEquipment.setDetails(ApElementConfiguration.createWithDefaults());
ApElementConfiguration apConfig = (ApElementConfiguration) customerEquipment.getDetails();
apConfig.getRadioMap().get(RadioType.is2dot4GHz).setChannelNumber(radioConfig.getRadioChannel24G());
apConfig.getRadioMap().get(RadioType.is5GHzL).setChannelNumber(radioConfig.getRadioChannel5LG());
apConfig.getRadioMap().get(RadioType.is5GHzU).setChannelNumber(radioConfig.getRadioChannel5HG());
customerEquipment.setDetails(apConfig);
}
if (equipmentLocation == null) {
equipmentLocation = new Location();
equipmentLocation.setId(1);
equipmentLocation.setDetails(LocationDetails.createWithDefaults());
((LocationDetails) equipmentLocation.getDetails())
.setCountryCode(CountryCode.getByName(radioConfig.getCountry().toLowerCase()));
customerEquipment.setLocationId(equipmentLocation.getId());
}
if (equipmentLocation == null) {
equipmentLocation = new Location();
equipmentLocation.setId(1);
equipmentLocation.setDetails(LocationDetails.createWithDefaults());
((LocationDetails) equipmentLocation.getDetails())
.setCountryCode(CountryCode.getByName(radioConfig.getCountry().toLowerCase()));
customerEquipment.setLocationId(equipmentLocation.getId());
}
}
}
// Handle Legacy Config Support
public void setSsidConfigs(List<OpensyncAPSsidConfig> ssidConfigs) {
// Handle Legacy Config Support
public void setSsidConfigs(List<OpensyncAPSsidConfig> ssidConfigs) {
if (apProfile == null) {
apProfile = new Profile();
apProfile.setName("GeneratedApProfile");
apProfile.setId(2);
apProfile.setDetails(ApNetworkConfiguration.createWithDefaults());
}
if (apProfile == null) {
apProfile = new Profile();
apProfile.setName("GeneratedApProfile");
apProfile.setId(2);
apProfile.setDetails(ApNetworkConfiguration.createWithDefaults());
}
long ssidProfileId = 3;
for (OpensyncAPSsidConfig ssidConfig : ssidConfigs) {
long ssidProfileId = 3;
for (OpensyncAPSsidConfig ssidConfig : ssidConfigs) {
Profile profile = new Profile();
profile.setProfileType(ProfileType.ssid);
profile.setName(ssidConfig.getSsid());
SsidConfiguration cfg = SsidConfiguration.createWithDefaults();
Set<RadioType> appliedRadios = new HashSet<RadioType>();
appliedRadios.add(ssidConfig.getRadioType());
cfg.setAppliedRadios(appliedRadios);
cfg.setSsid(ssidConfig.getSsid());
if (ssidConfig.getEncryption().equals("WPA-PSK") && ssidConfig.getMode().equals("1"))
cfg.setSecureMode(SecureMode.wpaPSK);
else
cfg.setSecureMode(SecureMode.wpa2PSK);
cfg.setBroadcastSsid(ssidConfig.isBroadcast() ? StateSetting.enabled : StateSetting.disabled);
Profile profile = new Profile();
profile.setProfileType(ProfileType.ssid);
profile.setName(ssidConfig.getSsid());
SsidConfiguration cfg = SsidConfiguration.createWithDefaults();
Set<RadioType> appliedRadios = new HashSet<RadioType>();
appliedRadios.add(ssidConfig.getRadioType());
cfg.setAppliedRadios(appliedRadios);
cfg.setSsid(ssidConfig.getSsid());
if (ssidConfig.getEncryption().equals("WPA-PSK") && ssidConfig.getMode().equals("1"))
cfg.setSecureMode(SecureMode.wpaPSK);
else
cfg.setSecureMode(SecureMode.wpa2PSK);
cfg.setBroadcastSsid(ssidConfig.isBroadcast() ? StateSetting.enabled : StateSetting.disabled);
profile.setDetails(cfg);
profile.setId(ssidProfileId);
if (this.ssidProfile == null)
this.ssidProfile = new ArrayList<Profile>();
this.ssidProfile.add(profile);
apProfile.getChildProfileIds().add(ssidProfileId);
ssidProfileId++;
profile.setDetails(cfg);
profile.setId(ssidProfileId);
if (this.ssidProfile == null)
this.ssidProfile = new ArrayList<Profile>();
this.ssidProfile.add(profile);
apProfile.getChildProfileIds().add(ssidProfileId);
ssidProfileId++;
}
}
if (customerEquipment != null) {
customerEquipment.setProfileId(apProfile.getId());
}
if (customerEquipment != null) {
customerEquipment.setProfileId(apProfile.getId());
}
}
}
public EquipmentGatewayRecord getEquipmentGateway() {
return equipmentGateway;
}
public EquipmentGatewayRecord getEquipmentGateway() {
return equipmentGateway;
}
public void setEquipmentGateway(EquipmentGatewayRecord equipmentGateway) {
this.equipmentGateway = equipmentGateway;
}
public void setEquipmentGateway(EquipmentGatewayRecord equipmentGateway) {
this.equipmentGateway = equipmentGateway;
}
public EquipmentRoutingRecord getEquipmentRouting() {
return equipmentRouting;
}
public EquipmentRoutingRecord getEquipmentRouting() {
return equipmentRouting;
}
public void setEquipmentRouting(EquipmentRoutingRecord equipmentRouting) {
this.equipmentRouting = equipmentRouting;
}
public void setEquipmentRouting(EquipmentRoutingRecord equipmentRouting) {
this.equipmentRouting = equipmentRouting;
}
public Equipment getCustomerEquipment() {
return customerEquipment;
}
public Equipment getCustomerEquipment() {
return customerEquipment;
}
public void setCustomerEquipment(Equipment customerEquipment) {
this.customerEquipment = customerEquipment;
}
public void setCustomerEquipment(Equipment customerEquipment) {
this.customerEquipment = customerEquipment;
}
public Profile getApProfile() {
return apProfile;
}
public Profile getApProfile() {
return apProfile;
}
public void setApProfile(Profile apProfile) {
this.apProfile = apProfile;
}
public void setApProfile(Profile apProfile) {
this.apProfile = apProfile;
}
public List<Profile> getSsidProfile() {
return ssidProfile;
}
public List<Profile> getSsidProfile() {
return ssidProfile;
}
public void setSsidProfile(List<Profile> ssidProfile) {
this.ssidProfile = ssidProfile;
}
public void setSsidProfile(List<Profile> ssidProfile) {
this.ssidProfile = ssidProfile;
}
public Location getEquipmentLocation() {
return equipmentLocation;
}
public Location getEquipmentLocation() {
return equipmentLocation;
}
public void setEquipmentLocation(Location equipmentLocation) {
this.equipmentLocation = equipmentLocation;
}
public void setEquipmentLocation(Location equipmentLocation) {
this.equipmentLocation = equipmentLocation;
}
public String getCountryCode() {
return Location.getCountryCode(this.equipmentLocation).toString();
}
public String getCountryCode() {
return Location.getCountryCode(this.equipmentLocation).toString();
}
public static long getSerialversionuid() {
return serialVersionUID;
}
public static long getSerialversionuid() {
return serialVersionUID;
}
@Override
public OpensyncAPConfig clone() {
OpensyncAPConfig ret = (OpensyncAPConfig) super.clone();
@Override
public OpensyncAPConfig clone() {
OpensyncAPConfig ret = (OpensyncAPConfig) super.clone();
if (customerEquipment != null)
ret.customerEquipment = customerEquipment.clone();
if (equipmentLocation != null)
ret.equipmentLocation = equipmentLocation.clone();
if (ssidProfile != null) {
List<Profile> ssidList = new ArrayList<Profile>();
for (Profile profile : ssidProfile) {
ssidList.add(profile.clone());
}
ret.ssidProfile = ssidList;
}
if (apProfile != null)
ret.apProfile = apProfile.clone();
if (equipmentRouting != null)
ret.equipmentRouting = equipmentRouting.clone();
if (equipmentGateway != null)
ret.equipmentGateway = equipmentGateway.clone();
if (customerEquipment != null)
ret.customerEquipment = customerEquipment.clone();
if (equipmentLocation != null)
ret.equipmentLocation = equipmentLocation.clone();
if (ssidProfile != null) {
List<Profile> ssidList = new ArrayList<Profile>();
for (Profile profile : ssidProfile) {
ssidList.add(profile.clone());
}
ret.ssidProfile = ssidList;
}
if (apProfile != null)
ret.apProfile = apProfile.clone();
if (equipmentRouting != null)
ret.equipmentRouting = equipmentRouting.clone();
if (equipmentGateway != null)
ret.equipmentGateway = equipmentGateway.clone();
return ret;
}
return ret;
}
@Override
public String toString() {
StringBuffer sb = new StringBuffer();
sb.append(customerEquipment.toString());
sb.append(apProfile.toString());
for (Profile ssid : ssidProfile) {
sb.append(ssid.toString());
}
sb.append(equipmentLocation.toString());
@Override
public String toString() {
StringBuffer sb = new StringBuffer();
sb.append(customerEquipment.toString());
sb.append(apProfile.toString());
for (Profile ssid : ssidProfile) {
sb.append(ssid.toString());
}
sb.append(equipmentLocation.toString());
return sb.toString();
return sb.toString();
}
}
public List<Profile> getRadiusProfiles() {
return radiusProfiles;
}
public void setRadiusProfiles(List<Profile> radiusProfiles) {
this.radiusProfiles = radiusProfiles;
}
}

View File

@@ -41,6 +41,9 @@ public class OpensyncExternalIntegrationSimple implements OpensyncExternalIntegr
@Value("${connectus.ovsdb.ssidProfileFileName:/Users/mikehansen/git/wlan-cloud-workspace/wlan-cloud-opensync-controller/opensync-ext-static/src/main/resources/ProfileSsid.json}")
private String ssidProfileFileName;
@Value("${connectus.ovsdb.radiusProfileFileName:/Users/mikehansen/git/wlan-cloud-workspace/wlan-cloud-opensync-controller/opensync-ext-static/src/main/resources/ProfileRadius.json}")
private String radiusProfileFileName;
@Value("${connectus.ovsdb.locationFileName:/Users/mikehansen/git/wlan-cloud-workspace/wlan-cloud-opensync-controller/opensync-ext-static/src/main/resources/LocationBuildingExample.json}")
private String locationFileName;
@@ -76,11 +79,15 @@ public class OpensyncExternalIntegrationSimple implements OpensyncExternalIntegr
com.telecominfraproject.wlan.profile.models.Profile apProfile = com.telecominfraproject.wlan.profile.models.Profile
.fromFile(apProfileFileName, com.telecominfraproject.wlan.profile.models.Profile.class);
List<com.telecominfraproject.wlan.profile.models.Profile> ssidProfiles = com.telecominfraproject.wlan.profile.models.Profile
.listFromFile(ssidProfileFileName, com.telecominfraproject.wlan.profile.models.Profile.class);
ssidProfiles.stream().forEach(p -> apProfile.getChildProfileIds().add(p.getId()));
List<com.telecominfraproject.wlan.profile.models.Profile> radiusProfiles = com.telecominfraproject.wlan.profile.models.Profile
.listFromFile(radiusProfileFileName, com.telecominfraproject.wlan.profile.models.Profile.class);
equipment.setProfileId(apProfile.getId());
Location location = Location.fromFile(locationFileName, Location.class);
@@ -91,6 +98,7 @@ public class OpensyncExternalIntegrationSimple implements OpensyncExternalIntegr
ret.setCustomerEquipment(equipment);
ret.setApProfile(apProfile);
ret.setSsidProfile(ssidProfiles);
ret.setRadiusProfiles(radiusProfiles);
ret.setEquipmentLocation(location);
} catch (IOException e) {

View File

@@ -1,290 +1,293 @@
{
"model_type" : "Equipment",
"id" : 51,
"customerId" : 2,
"profileId" : 3,
"locationId" : 8,
"equipmentType" : "AP",
"inventoryId" : "Test_Client_21P10C68818122",
"name" : "Test_Client_21P10C68818122",
"details" : {
"model_type" : "ApElementConfiguration",
"sampleDetailsStr" : null,
"elementConfigVersion" : "AP-V1",
"equipmentType" : "AP",
"deviceMode" : "standaloneAP",
"gettingIP" : "dhcp",
"staticIP" : null,
"staticIpMaskCidr" : null,
"staticIpGw" : null,
"gettingDNS" : "dhcp",
"staticDnsIp1" : null,
"staticDnsIp2" : null,
"peerInfoList" : [ ],
"deviceName" : "Test_Client_21P10C68818122",
"locationData" : null,
"locallyConfiguredMgmtVlan" : 0,
"locallyConfigured" : false,
"deploymentType" : "CEILING",
"syntheticClientEnabled" : null,
"frameReportThrottleEnabled" : true,
"antennaType" : "OMNI",
"costSavingEventsEnabled" : true,
"forwardMode" : "BRIDGE",
"radioMap" : {
"is2dot4GHz" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is2dot4GHz",
"channelNumber" : 6,
"manualChannelNumber" : 6,
"backupChannelNumber" : 11,
"autoChannelSelection" : true,
"channelBandwidth" : "is20MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"model_type": "Equipment",
"id": 51,
"customerId": 2,
"profileId": 5,
"locationId": 8,
"equipmentType": "AP",
"inventoryId": "Test_Client_21P10C68818122",
"name": "Test_Client_21P10C68818122",
"details": {
"model_type": "ApElementConfiguration",
"equipmentModel": "EA8300-CA",
"elementConfigVersion": "AP-V1",
"equipmentType": "AP",
"deviceMode": "standaloneAP",
"gettingIP": "dhcp",
"staticIP": null,
"staticIpMaskCidr": null,
"staticIpGw": null,
"gettingDNS": "dhcp",
"staticDnsIp1": null,
"staticDnsIp2": null,
"peerInfoList": [],
"deviceName": "Default Device Name",
"locationData": null,
"locallyConfiguredMgmtVlan": 0,
"locallyConfigured": false,
"deploymentType": "CEILING",
"syntheticClientEnabled": null,
"frameReportThrottleEnabled": true,
"antennaType": "OMNI",
"costSavingEventsEnabled": true,
"forwardMode": "BRIDGE",
"radioMap": {
"is2dot4GHz": {
"model_type": "ElementRadioConfiguration",
"radioType": "is2dot4GHz",
"channelNumber": 6,
"manualChannelNumber": 6,
"backupChannelNumber": 11,
"autoChannelSelection": false,
"channelBandwidth": "is20MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 6
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 6
},
"is5GHzL" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is5GHzL",
"channelNumber" : 36,
"manualChannelNumber" : 36,
"backupChannelNumber" : 44,
"autoChannelSelection" : true,
"channelBandwidth" : "is80MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"is5GHzU": {
"model_type": "ElementRadioConfiguration",
"radioType": "is5GHzU",
"channelNumber": 149,
"manualChannelNumber": 149,
"backupChannelNumber": 154,
"autoChannelSelection": false,
"channelBandwidth": "is80MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 36
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 149
},
"is5GHzU" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is5GHzU",
"channelNumber" : 149,
"manualChannelNumber" : 149,
"backupChannelNumber" : 154,
"autoChannelSelection" : true,
"channelBandwidth" : "is80MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"is5GHzL": {
"model_type": "ElementRadioConfiguration",
"radioType": "is5GHzL",
"channelNumber": 36,
"manualChannelNumber": 36,
"backupChannelNumber": 44,
"autoChannelSelection": false,
"channelBandwidth": "is80MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 149
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 36
}
},
"advancedRadioMap" : {
"is2dot4GHz" : {
"model_type" : "RadioConfiguration",
"radioType" : "is2dot4GHz",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeN",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"advancedRadioMap": {
"is2dot4GHz": {
"model_type": "RadioConfiguration",
"radioType": "is2dot4GHz",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeN",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 20,
"minLoadFactor" : 50
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 20,
"minLoadFactor": 50
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
},
"is5GHzU" : {
"model_type" : "RadioConfiguration",
"radioType" : "is5GHzU",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeAC",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"is5GHzU": {
"model_type": "RadioConfiguration",
"radioType": "is5GHzU",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeAC",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 30,
"minLoadFactor" : 40
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 30,
"minLoadFactor": 40
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
},
"is5GHzL" : {
"model_type" : "RadioConfiguration",
"radioType" : "is5GHzL",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeAC",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"is5GHzL": {
"model_type": "RadioConfiguration",
"radioType": "is5GHzL",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeAC",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 30,
"minLoadFactor" : 40
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 30,
"minLoadFactor": 40
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
}
}
},
"latitude" : null,
"longitude" : null,
"serial" : "21P10C68818122",
"createdTimestamp" : 1590607072871,
"lastModifiedTimestamp" : 1590607073116
"latitude": null,
"longitude": null,
"serial": "21P10C68818122",
"createdTimestamp": 1591653239821,
"lastModifiedTimestamp": 1591653241398
}

View File

@@ -1,50 +1,54 @@
{
"model_type" : "Profile",
"id" : 3,
"customerId" : 2,
"profileType" : "equipment_ap",
"name" : "autoprovisionedApProfile",
"details" : {
"model_type" : "ApNetworkConfiguration",
"networkConfigVersion" : "AP-1",
"equipmentType" : "AP",
"vlanNative" : true,
"vlan" : 0,
"ntpServer" : {
"model_type" : "AutoOrManualString",
"auto" : true,
"value" : "pool.ntp.org"
"model_type": "Profile",
"id": 5,
"customerId": 2,
"profileType": "equipment_ap",
"name": "DefaultApProfile",
"details": {
"model_type": "ApNetworkConfiguration",
"networkConfigVersion": "AP-1",
"equipmentType": "AP",
"vlanNative": true,
"vlan": 0,
"ntpServer": {
"model_type": "AutoOrManualString",
"auto": true,
"value": "pool.ntp.org"
},
"syslogRelay" : null,
"rtlsSettings" : null,
"syntheticClientEnabled" : true,
"ledControlEnabled" : true,
"equipmentDiscovery" : false,
"radioMap" : {
"is5GHz" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"syslogRelay": null,
"rtlsSettings": null,
"syntheticClientEnabled": true,
"ledControlEnabled": true,
"equipmentDiscovery": false,
"radioMap": {
"is5GHz": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is2dot4GHz" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is2dot4GHz": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is5GHzU" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is5GHzU": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is5GHzL" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is5GHzL": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
}
},
"profileType" : "equipment_ap"
"profileType": "equipment_ap"
},
"createdTimestamp" : 1590607072994,
"lastModifiedTimestamp" : 1590607073083,
"childProfileIds" : [ 4, 5, 6 ]
"createdTimestamp": 1591653239947,
"lastModifiedTimestamp": 1591654336724,
"childProfileIds": [
6,
7,
8
]
}

View File

@@ -0,0 +1,34 @@
[
{
"model_type": "Profile",
"id": 1,
"customerId": 2,
"profileType": "radius",
"name": "RadiusProfileOttawa",
"details": {
"model_type": "RadiusProfile",
"subnetConfiguration": null,
"serviceRegionMap": {
"Ottawa": {
"model_type": "RadiusServiceRegion",
"serverMap": {
"RadiusProfileOttawa": [
{
"model_type": "RadiusServer",
"ipAddress": "Mikes-MacBook-Pro.local",
"secret": "testing123",
"authPort": 1812,
"timeout": null
}
]
},
"regionName": "Ottawa"
}
},
"profileType": "radius"
},
"createdTimestamp": 1591653174195,
"lastModifiedTimestamp": 1591653174195,
"childProfileIds": []
}
]

View File

@@ -1,176 +1,184 @@
[
{
"model_type" : "Profile",
"id" : 4,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid",
"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
"model_type": "Profile",
"id": 6,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-2g",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-2g",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073026,
"lastModifiedTimestamp" : 1590607073026,
"childProfileIds" : [ ]
"createdTimestamp": 1591653239983,
"lastModifiedTimestamp": 1591653239983,
"childProfileIds": []
},
{
"model_type" : "Profile",
"id" : 5,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5l",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5l",
"appliedRadios" : [ "is5GHzL" ],
"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
"model_type": "Profile",
"id": 7,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-5gl",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-5gl",
"appliedRadios": [
"is5GHzL"
],
"ssidAdminState": "enabled",
"secureMode": "wpaEAP",
"vlanId": 1,
"keyStr": "12345678",
"broadcastSsid": "enabled",
"keyRefresh": 0,
"noLocalSubnets": false,
"radiusServiceName": "RadiusProfileOttawa",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073044,
"lastModifiedTimestamp" : 1590607073044,
"childProfileIds" : [ ]
"createdTimestamp": 1591653240017,
"lastModifiedTimestamp": 1591654215374,
"childProfileIds": [
1
]
},
{
"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
"model_type": "Profile",
"id": 8,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-5gu",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-5gu",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073065,
"lastModifiedTimestamp" : 1590607073065,
"childProfileIds" : [ ]
"createdTimestamp": 1591654301763,
"lastModifiedTimestamp": 1591654301763,
"childProfileIds": []
}
]

View File

@@ -18,7 +18,8 @@
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.telecominfraproject.wlan.opensync.experiment.OpenSyncGatewayCloudProcess"/>
<listAttribute key="org.eclipse.jdt.launching.MODULEPATH"/>
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="opensync-gateway-cloud-process"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="opensync-gateway-cloud-process"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="--add-opens java.base/java.lang=ALL-UNNAMED&#10;&#10;-Dssl.props=file://${project_loc:opensync-gateway-cloud-process}/src/main/resources/app/certs/ssl.properties&#10;-Dtip.wlan.httpClientConfig=file://${project_loc:opensync-gateway-cloud-process}/src/main/resources/app/certs/httpClientConfig.json&#10;&#10;-Djavax.net.ssl.keyStore=${connectus_certs}/client_keystore.jks&#10;-Djavax.net.ssl.keyStorePassword=mypassword&#10;-Djavax.net.ssl.trustStore=${connectus_certs}/truststore.jks&#10;-Djavax.net.ssl.trustStorePassword=mypassword&#10;&#10;-Dconnectus.ovsdb.managerAddr=${local_server_address}&#10;-Dconnectus.ovsdb.listenPort=6640&#10;-Dconnectus.ovsdb.redirector.listenPort=6643&#10;-Dconnectus.ovsdb.timeoutSec=30&#10;-Dconnectus.ovsdb.trustStore=${connectus_certs}/truststore.jks&#10;-Dconnectus.ovsdb.keyStore=${connectus_certs}/server.pkcs12&#10;&#10;-Dconnectus.mqttBroker.address=${local_server_address}&#10;-Dconnectus.mqttBroker.listenPort=1883&#10;-Dtip.wlan.introspectTokenApi.host=${local_server_address}:9096&#10;-Dtip.wlan.introspectTokenApi.clientToken=token_placeholder&#10;-Dtip.wlan.serviceUser=user&#10;-Dtip.wlan.servicePassword=password&#10;-Dconnectus.ovsdb.autoProvisionedCustomerId=2&#10;-Dconnectus.ovsdb.autoProvisionedSsid=Connectus-cloud&#10;-Dspring.main.show-banner=false&#10;-Dserver.port=9096&#10;-Dtip.wlan.secondaryPort=7071&#10;-Dtip.wlan.csrf-enabled=false&#10;-Dspring.profiles.include=opensync_cloud_config,mqtt_receiver,ovsdb_redirector,ovsdb_manager"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="--add-opens java.base/java.lang=ALL-UNNAMED&#10;&#10;-Dssl.props=file://${project_loc:opensync-gateway-cloud-process}/src/main/resources/app/certs/ssl.properties&#10;-Dtip.wlan.httpClientConfig=file://${project_loc:opensync-gateway-cloud-process}/src/main/resources/app/certs/httpClientConfig.json&#10;&#10;-Djavax.net.ssl.keyStore=${connectus_certs}/client_keystore.jks&#10;-Djavax.net.ssl.keyStorePassword=mypassword&#10;-Djavax.net.ssl.trustStore=${connectus_certs}/truststore.jks&#10;-Djavax.net.ssl.trustStorePassword=mypassword&#10;&#10;-Dconnectus.ovsdb.managerAddr=${local_server_address}&#10;-Dconnectus.ovsdb.listenPort=6640&#10;-Dconnectus.ovsdb.redirector.listenPort=6643&#10;-Dconnectus.ovsdb.timeoutSec=30&#10;-Dconnectus.ovsdb.trustStore=${connectus_certs}/truststore.jks&#10;-Dconnectus.ovsdb.keyStore=${connectus_certs}/server.pkcs12&#10;&#10;-Dconnectus.mqttBroker.address=${local_server_address}&#10;-Dconnectus.mqttBroker.listenPort=1883&#10;-Dconnectus.ovsdb.wifi-iface.default_bridge=br-lan&#10;-Dtip.wlan.introspectTokenApi.host=${local_server_address}:9096&#10;-Dtip.wlan.introspectTokenApi.clientToken=token_placeholder&#10;-Dtip.wlan.serviceUser=user&#10;-Dtip.wlan.servicePassword=password&#10;-Dconnectus.ovsdb.autoProvisionedCustomerId=2&#10;-Dconnectus.ovsdb.autoProvisionedSsid=Connectus-cloud&#10;-Dspring.main.show-banner=false&#10;-Dserver.port=9096&#10;-Dtip.wlan.secondaryPort=7071&#10;-Dtip.wlan.csrf-enabled=false&#10;-Dspring.profiles.include=opensync_cloud_config,mqtt_receiver,ovsdb_redirector,ovsdb_manager"/>
</launchConfiguration>

View File

@@ -1,290 +1,293 @@
{
"model_type" : "Equipment",
"id" : 51,
"customerId" : 2,
"profileId" : 3,
"locationId" : 8,
"equipmentType" : "AP",
"inventoryId" : "Test_Client_21P10C68818122",
"name" : "Test_Client_21P10C68818122",
"details" : {
"model_type" : "ApElementConfiguration",
"sampleDetailsStr" : null,
"elementConfigVersion" : "AP-V1",
"equipmentType" : "AP",
"deviceMode" : "standaloneAP",
"gettingIP" : "dhcp",
"staticIP" : null,
"staticIpMaskCidr" : null,
"staticIpGw" : null,
"gettingDNS" : "dhcp",
"staticDnsIp1" : null,
"staticDnsIp2" : null,
"peerInfoList" : [ ],
"deviceName" : "Test_Client_21P10C68818122",
"locationData" : null,
"locallyConfiguredMgmtVlan" : 0,
"locallyConfigured" : false,
"deploymentType" : "CEILING",
"syntheticClientEnabled" : null,
"frameReportThrottleEnabled" : true,
"antennaType" : "OMNI",
"costSavingEventsEnabled" : true,
"forwardMode" : "BRIDGE",
"radioMap" : {
"is2dot4GHz" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is2dot4GHz",
"channelNumber" : 6,
"manualChannelNumber" : 6,
"backupChannelNumber" : 11,
"autoChannelSelection" : true,
"channelBandwidth" : "is20MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"model_type": "Equipment",
"id": 51,
"customerId": 2,
"profileId": 5,
"locationId": 8,
"equipmentType": "AP",
"inventoryId": "Test_Client_21P10C68818122",
"name": "Test_Client_21P10C68818122",
"details": {
"model_type": "ApElementConfiguration",
"equipmentModel": "EA8300-CA",
"elementConfigVersion": "AP-V1",
"equipmentType": "AP",
"deviceMode": "standaloneAP",
"gettingIP": "dhcp",
"staticIP": null,
"staticIpMaskCidr": null,
"staticIpGw": null,
"gettingDNS": "dhcp",
"staticDnsIp1": null,
"staticDnsIp2": null,
"peerInfoList": [],
"deviceName": "Default Device Name",
"locationData": null,
"locallyConfiguredMgmtVlan": 0,
"locallyConfigured": false,
"deploymentType": "CEILING",
"syntheticClientEnabled": null,
"frameReportThrottleEnabled": true,
"antennaType": "OMNI",
"costSavingEventsEnabled": true,
"forwardMode": "BRIDGE",
"radioMap": {
"is2dot4GHz": {
"model_type": "ElementRadioConfiguration",
"radioType": "is2dot4GHz",
"channelNumber": 6,
"manualChannelNumber": 6,
"backupChannelNumber": 11,
"autoChannelSelection": false,
"channelBandwidth": "is20MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 6
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 6
},
"is5GHzL" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is5GHzL",
"channelNumber" : 36,
"manualChannelNumber" : 36,
"backupChannelNumber" : 44,
"autoChannelSelection" : true,
"channelBandwidth" : "is80MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"is5GHzU": {
"model_type": "ElementRadioConfiguration",
"radioType": "is5GHzU",
"channelNumber": 149,
"manualChannelNumber": 149,
"backupChannelNumber": 154,
"autoChannelSelection": false,
"channelBandwidth": "is80MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 36
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 149
},
"is5GHzU" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is5GHzU",
"channelNumber" : 149,
"manualChannelNumber" : 149,
"backupChannelNumber" : 154,
"autoChannelSelection" : true,
"channelBandwidth" : "is80MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"is5GHzL": {
"model_type": "ElementRadioConfiguration",
"radioType": "is5GHzL",
"channelNumber": 36,
"manualChannelNumber": 36,
"backupChannelNumber": 44,
"autoChannelSelection": false,
"channelBandwidth": "is80MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 149
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 36
}
},
"advancedRadioMap" : {
"is2dot4GHz" : {
"model_type" : "RadioConfiguration",
"radioType" : "is2dot4GHz",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeN",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"advancedRadioMap": {
"is2dot4GHz": {
"model_type": "RadioConfiguration",
"radioType": "is2dot4GHz",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeN",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 20,
"minLoadFactor" : 50
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 20,
"minLoadFactor": 50
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
},
"is5GHzU" : {
"model_type" : "RadioConfiguration",
"radioType" : "is5GHzU",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeAC",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"is5GHzU": {
"model_type": "RadioConfiguration",
"radioType": "is5GHzU",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeAC",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 30,
"minLoadFactor" : 40
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 30,
"minLoadFactor": 40
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
},
"is5GHzL" : {
"model_type" : "RadioConfiguration",
"radioType" : "is5GHzL",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeAC",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"is5GHzL": {
"model_type": "RadioConfiguration",
"radioType": "is5GHzL",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeAC",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 30,
"minLoadFactor" : 40
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 30,
"minLoadFactor": 40
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
}
}
},
"latitude" : null,
"longitude" : null,
"serial" : "21P10C68818122",
"createdTimestamp" : 1590607072871,
"lastModifiedTimestamp" : 1590607073116
"latitude": null,
"longitude": null,
"serial": "21P10C68818122",
"createdTimestamp": 1591653239821,
"lastModifiedTimestamp": 1591653241398
}

View File

@@ -1,50 +1,54 @@
{
"model_type" : "Profile",
"id" : 3,
"customerId" : 2,
"profileType" : "equipment_ap",
"name" : "autoprovisionedApProfile",
"details" : {
"model_type" : "ApNetworkConfiguration",
"networkConfigVersion" : "AP-1",
"equipmentType" : "AP",
"vlanNative" : true,
"vlan" : 0,
"ntpServer" : {
"model_type" : "AutoOrManualString",
"auto" : true,
"value" : "pool.ntp.org"
"model_type": "Profile",
"id": 5,
"customerId": 2,
"profileType": "equipment_ap",
"name": "DefaultApProfile",
"details": {
"model_type": "ApNetworkConfiguration",
"networkConfigVersion": "AP-1",
"equipmentType": "AP",
"vlanNative": true,
"vlan": 0,
"ntpServer": {
"model_type": "AutoOrManualString",
"auto": true,
"value": "pool.ntp.org"
},
"syslogRelay" : null,
"rtlsSettings" : null,
"syntheticClientEnabled" : true,
"ledControlEnabled" : true,
"equipmentDiscovery" : false,
"radioMap" : {
"is5GHz" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"syslogRelay": null,
"rtlsSettings": null,
"syntheticClientEnabled": true,
"ledControlEnabled": true,
"equipmentDiscovery": false,
"radioMap": {
"is5GHz": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is2dot4GHz" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is2dot4GHz": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is5GHzU" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is5GHzU": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is5GHzL" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is5GHzL": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
}
},
"profileType" : "equipment_ap"
"profileType": "equipment_ap"
},
"createdTimestamp" : 1590607072994,
"lastModifiedTimestamp" : 1590607073083,
"childProfileIds" : [ 4, 5, 6 ]
"createdTimestamp": 1591653239947,
"lastModifiedTimestamp": 1591654336724,
"childProfileIds": [
6,
7,
8
]
}

View File

@@ -0,0 +1,34 @@
[
{
"model_type": "Profile",
"id": 1,
"customerId": 2,
"profileType": "radius",
"name": "RadiusProfileOttawa",
"details": {
"model_type": "RadiusProfile",
"subnetConfiguration": null,
"serviceRegionMap": {
"Ottawa": {
"model_type": "RadiusServiceRegion",
"serverMap": {
"RadiusProfileOttawa": [
{
"model_type": "RadiusServer",
"ipAddress": "Mikes-MacBook-Pro.local",
"secret": "testing123",
"authPort": 1812,
"timeout": null
}
]
},
"regionName": "Ottawa"
}
},
"profileType": "radius"
},
"createdTimestamp": 1591653174195,
"lastModifiedTimestamp": 1591653174195,
"childProfileIds": []
}
]

View File

@@ -1,176 +1,184 @@
[
{
"model_type" : "Profile",
"id" : 4,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid",
"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
"model_type": "Profile",
"id": 6,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-2g",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-2g",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073026,
"lastModifiedTimestamp" : 1590607073026,
"childProfileIds" : [ ]
"createdTimestamp": 1591653239983,
"lastModifiedTimestamp": 1591653239983,
"childProfileIds": []
},
{
"model_type" : "Profile",
"id" : 5,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5l",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5l",
"appliedRadios" : [ "is5GHzL" ],
"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
"model_type": "Profile",
"id": 7,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-5gl",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-5gl",
"appliedRadios": [
"is5GHzL"
],
"ssidAdminState": "enabled",
"secureMode": "wpaEAP",
"vlanId": 1,
"keyStr": "12345678",
"broadcastSsid": "enabled",
"keyRefresh": 0,
"noLocalSubnets": false,
"radiusServiceName": "RadiusProfileOttawa",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073044,
"lastModifiedTimestamp" : 1590607073044,
"childProfileIds" : [ ]
"createdTimestamp": 1591653240017,
"lastModifiedTimestamp": 1591654215374,
"childProfileIds": [
1
]
},
{
"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
"model_type": "Profile",
"id": 8,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-5gu",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-5gu",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073065,
"lastModifiedTimestamp" : 1590607073065,
"childProfileIds" : [ ]
"createdTimestamp": 1591654301763,
"lastModifiedTimestamp": 1591654301763,
"childProfileIds": []
}
]

View File

@@ -1,27 +0,0 @@
{
"model_type" : "OpensyncAPConfig",
"radioConfig" : {
"model_type" : "OpensyncAPRadioConfig",
"country" : "CA",
"radioChannel24G" : 1,
"radioChannel5LG" : 44,
"radioChannel5HG" : 108
},
"ssidConfigs" : [ {
"model_type" : "OpensyncAPSsidConfig",
"radioType" : "is2dot4GHz",
"ssid" : "Connectus-local",
"encryption" : "WPA-PSK",
"key" : "12345678",
"mode" : "2",
"broadcast" : true
}, {
"model_type" : "OpensyncAPSsidConfig",
"radioType" : "is5GHzL",
"ssid" : "Connectus-local-5l",
"encryption" : "WPA-PSK",
"key" : "12345678",
"mode" : "2",
"broadcast" : true
} ]
}

View File

@@ -1,290 +1,293 @@
{
"model_type" : "Equipment",
"id" : 51,
"customerId" : 2,
"profileId" : 3,
"locationId" : 8,
"equipmentType" : "AP",
"inventoryId" : "Test_Client_21P10C68818122",
"name" : "Test_Client_21P10C68818122",
"details" : {
"model_type" : "ApElementConfiguration",
"sampleDetailsStr" : null,
"elementConfigVersion" : "AP-V1",
"equipmentType" : "AP",
"deviceMode" : "standaloneAP",
"gettingIP" : "dhcp",
"staticIP" : null,
"staticIpMaskCidr" : null,
"staticIpGw" : null,
"gettingDNS" : "dhcp",
"staticDnsIp1" : null,
"staticDnsIp2" : null,
"peerInfoList" : [ ],
"deviceName" : "Test_Client_21P10C68818122",
"locationData" : null,
"locallyConfiguredMgmtVlan" : 0,
"locallyConfigured" : false,
"deploymentType" : "CEILING",
"syntheticClientEnabled" : null,
"frameReportThrottleEnabled" : true,
"antennaType" : "OMNI",
"costSavingEventsEnabled" : true,
"forwardMode" : "BRIDGE",
"radioMap" : {
"is2dot4GHz" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is2dot4GHz",
"channelNumber" : 6,
"manualChannelNumber" : 6,
"backupChannelNumber" : 11,
"autoChannelSelection" : true,
"channelBandwidth" : "is20MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"model_type": "Equipment",
"id": 51,
"customerId": 2,
"profileId": 5,
"locationId": 8,
"equipmentType": "AP",
"inventoryId": "Test_Client_21P10C68818122",
"name": "Test_Client_21P10C68818122",
"details": {
"model_type": "ApElementConfiguration",
"equipmentModel": "EA8300-CA",
"elementConfigVersion": "AP-V1",
"equipmentType": "AP",
"deviceMode": "standaloneAP",
"gettingIP": "dhcp",
"staticIP": null,
"staticIpMaskCidr": null,
"staticIpGw": null,
"gettingDNS": "dhcp",
"staticDnsIp1": null,
"staticDnsIp2": null,
"peerInfoList": [],
"deviceName": "Default Device Name",
"locationData": null,
"locallyConfiguredMgmtVlan": 0,
"locallyConfigured": false,
"deploymentType": "CEILING",
"syntheticClientEnabled": null,
"frameReportThrottleEnabled": true,
"antennaType": "OMNI",
"costSavingEventsEnabled": true,
"forwardMode": "BRIDGE",
"radioMap": {
"is2dot4GHz": {
"model_type": "ElementRadioConfiguration",
"radioType": "is2dot4GHz",
"channelNumber": 6,
"manualChannelNumber": 6,
"backupChannelNumber": 11,
"autoChannelSelection": false,
"channelBandwidth": "is20MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 6
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 6
},
"is5GHzL" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is5GHzL",
"channelNumber" : 36,
"manualChannelNumber" : 36,
"backupChannelNumber" : 44,
"autoChannelSelection" : true,
"channelBandwidth" : "is80MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"is5GHzU": {
"model_type": "ElementRadioConfiguration",
"radioType": "is5GHzU",
"channelNumber": 149,
"manualChannelNumber": 149,
"backupChannelNumber": 154,
"autoChannelSelection": false,
"channelBandwidth": "is80MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 36
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 149
},
"is5GHzU" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is5GHzU",
"channelNumber" : 149,
"manualChannelNumber" : 149,
"backupChannelNumber" : 154,
"autoChannelSelection" : true,
"channelBandwidth" : "is80MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"is5GHzL": {
"model_type": "ElementRadioConfiguration",
"radioType": "is5GHzL",
"channelNumber": 36,
"manualChannelNumber": 36,
"backupChannelNumber": 44,
"autoChannelSelection": false,
"channelBandwidth": "is80MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 149
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 36
}
},
"advancedRadioMap" : {
"is2dot4GHz" : {
"model_type" : "RadioConfiguration",
"radioType" : "is2dot4GHz",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeN",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"advancedRadioMap": {
"is2dot4GHz": {
"model_type": "RadioConfiguration",
"radioType": "is2dot4GHz",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeN",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 20,
"minLoadFactor" : 50
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 20,
"minLoadFactor": 50
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
},
"is5GHzU" : {
"model_type" : "RadioConfiguration",
"radioType" : "is5GHzU",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeAC",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"is5GHzU": {
"model_type": "RadioConfiguration",
"radioType": "is5GHzU",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeAC",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 30,
"minLoadFactor" : 40
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 30,
"minLoadFactor": 40
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
},
"is5GHzL" : {
"model_type" : "RadioConfiguration",
"radioType" : "is5GHzL",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeAC",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"is5GHzL": {
"model_type": "RadioConfiguration",
"radioType": "is5GHzL",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeAC",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 30,
"minLoadFactor" : 40
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 30,
"minLoadFactor": 40
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
}
}
},
"latitude" : null,
"longitude" : null,
"serial" : "21P10C68818122",
"createdTimestamp" : 1590607072871,
"lastModifiedTimestamp" : 1590607073116
"latitude": null,
"longitude": null,
"serial": "21P10C68818122",
"createdTimestamp": 1591653239821,
"lastModifiedTimestamp": 1591653241398
}

View File

@@ -1,50 +1,54 @@
{
"model_type" : "Profile",
"id" : 3,
"customerId" : 2,
"profileType" : "equipment_ap",
"name" : "autoprovisionedApProfile",
"details" : {
"model_type" : "ApNetworkConfiguration",
"networkConfigVersion" : "AP-1",
"equipmentType" : "AP",
"vlanNative" : true,
"vlan" : 0,
"ntpServer" : {
"model_type" : "AutoOrManualString",
"auto" : true,
"value" : "pool.ntp.org"
"model_type": "Profile",
"id": 5,
"customerId": 2,
"profileType": "equipment_ap",
"name": "DefaultApProfile",
"details": {
"model_type": "ApNetworkConfiguration",
"networkConfigVersion": "AP-1",
"equipmentType": "AP",
"vlanNative": true,
"vlan": 0,
"ntpServer": {
"model_type": "AutoOrManualString",
"auto": true,
"value": "pool.ntp.org"
},
"syslogRelay" : null,
"rtlsSettings" : null,
"syntheticClientEnabled" : true,
"ledControlEnabled" : true,
"equipmentDiscovery" : false,
"radioMap" : {
"is5GHz" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"syslogRelay": null,
"rtlsSettings": null,
"syntheticClientEnabled": true,
"ledControlEnabled": true,
"equipmentDiscovery": false,
"radioMap": {
"is5GHz": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is2dot4GHz" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is2dot4GHz": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is5GHzU" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is5GHzU": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is5GHzL" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is5GHzL": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
}
},
"profileType" : "equipment_ap"
"profileType": "equipment_ap"
},
"createdTimestamp" : 1590607072994,
"lastModifiedTimestamp" : 1590607073083,
"childProfileIds" : [ 4, 5, 6 ]
"createdTimestamp": 1591653239947,
"lastModifiedTimestamp": 1591654336724,
"childProfileIds": [
6,
7,
8
]
}

View File

@@ -0,0 +1,34 @@
[
{
"model_type": "Profile",
"id": 1,
"customerId": 2,
"profileType": "radius",
"name": "RadiusProfileOttawa",
"details": {
"model_type": "RadiusProfile",
"subnetConfiguration": null,
"serviceRegionMap": {
"Ottawa": {
"model_type": "RadiusServiceRegion",
"serverMap": {
"RadiusProfileOttawa": [
{
"model_type": "RadiusServer",
"ipAddress": "Mikes-MacBook-Pro.local",
"secret": "testing123",
"authPort": 1812,
"timeout": null
}
]
},
"regionName": "Ottawa"
}
},
"profileType": "radius"
},
"createdTimestamp": 1591653174195,
"lastModifiedTimestamp": 1591653174195,
"childProfileIds": []
}
]

View File

@@ -1,176 +1,184 @@
[
{
"model_type" : "Profile",
"id" : 4,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid",
"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
"model_type": "Profile",
"id": 6,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-2g",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-2g",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073026,
"lastModifiedTimestamp" : 1590607073026,
"childProfileIds" : [ ]
"createdTimestamp": 1591653239983,
"lastModifiedTimestamp": 1591653239983,
"childProfileIds": []
},
{
"model_type" : "Profile",
"id" : 5,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5l",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5l",
"appliedRadios" : [ "is5GHzL" ],
"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
"model_type": "Profile",
"id": 7,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-5gl",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-5gl",
"appliedRadios": [
"is5GHzL"
],
"ssidAdminState": "enabled",
"secureMode": "wpaEAP",
"vlanId": 1,
"keyStr": "12345678",
"broadcastSsid": "enabled",
"keyRefresh": 0,
"noLocalSubnets": false,
"radiusServiceName": "RadiusProfileOttawa",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073044,
"lastModifiedTimestamp" : 1590607073044,
"childProfileIds" : [ ]
"createdTimestamp": 1591653240017,
"lastModifiedTimestamp": 1591654215374,
"childProfileIds": [
1
]
},
{
"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
"model_type": "Profile",
"id": 8,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-5gu",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-5gu",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073065,
"lastModifiedTimestamp" : 1590607073065,
"childProfileIds" : [ ]
"createdTimestamp": 1591654301763,
"lastModifiedTimestamp": 1591654301763,
"childProfileIds": []
}
]

View File

@@ -1,27 +0,0 @@
{
"model_type" : "OpensyncAPConfig",
"radioConfig" : {
"model_type" : "OpensyncAPRadioConfig",
"country" : "CA",
"radioChannel24G" : 1,
"radioChannel5LG" : 44,
"radioChannel5HG" : 108
},
"ssidConfigs" : [ {
"model_type" : "OpensyncAPSsidConfig",
"radioType" : "is2dot4GHz",
"ssid" : "Connectus-local",
"encryption" : "WPA-PSK",
"key" : "12345678",
"mode" : "2",
"broadcast" : true
}, {
"model_type" : "OpensyncAPSsidConfig",
"radioType" : "is5GHzL",
"ssid" : "Connectus-local-5l",
"encryption" : "WPA-PSK",
"key" : "12345678",
"mode" : "2",
"broadcast" : true
} ]
}

View File

@@ -1,290 +1,293 @@
{
"model_type" : "Equipment",
"id" : 51,
"customerId" : 2,
"profileId" : 3,
"locationId" : 8,
"equipmentType" : "AP",
"inventoryId" : "Test_Client_21P10C68818122",
"name" : "Test_Client_21P10C68818122",
"details" : {
"model_type" : "ApElementConfiguration",
"sampleDetailsStr" : null,
"elementConfigVersion" : "AP-V1",
"equipmentType" : "AP",
"deviceMode" : "standaloneAP",
"gettingIP" : "dhcp",
"staticIP" : null,
"staticIpMaskCidr" : null,
"staticIpGw" : null,
"gettingDNS" : "dhcp",
"staticDnsIp1" : null,
"staticDnsIp2" : null,
"peerInfoList" : [ ],
"deviceName" : "Test_Client_21P10C68818122",
"locationData" : null,
"locallyConfiguredMgmtVlan" : 0,
"locallyConfigured" : false,
"deploymentType" : "CEILING",
"syntheticClientEnabled" : null,
"frameReportThrottleEnabled" : true,
"antennaType" : "OMNI",
"costSavingEventsEnabled" : true,
"forwardMode" : "BRIDGE",
"radioMap" : {
"is2dot4GHz" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is2dot4GHz",
"channelNumber" : 6,
"manualChannelNumber" : 6,
"backupChannelNumber" : 11,
"autoChannelSelection" : true,
"channelBandwidth" : "is20MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"model_type": "Equipment",
"id": 51,
"customerId": 2,
"profileId": 5,
"locationId": 8,
"equipmentType": "AP",
"inventoryId": "Test_Client_21P10C68818122",
"name": "Test_Client_21P10C68818122",
"details": {
"model_type": "ApElementConfiguration",
"equipmentModel": "EA8300-CA",
"elementConfigVersion": "AP-V1",
"equipmentType": "AP",
"deviceMode": "standaloneAP",
"gettingIP": "dhcp",
"staticIP": null,
"staticIpMaskCidr": null,
"staticIpGw": null,
"gettingDNS": "dhcp",
"staticDnsIp1": null,
"staticDnsIp2": null,
"peerInfoList": [],
"deviceName": "Default Device Name",
"locationData": null,
"locallyConfiguredMgmtVlan": 0,
"locallyConfigured": false,
"deploymentType": "CEILING",
"syntheticClientEnabled": null,
"frameReportThrottleEnabled": true,
"antennaType": "OMNI",
"costSavingEventsEnabled": true,
"forwardMode": "BRIDGE",
"radioMap": {
"is2dot4GHz": {
"model_type": "ElementRadioConfiguration",
"radioType": "is2dot4GHz",
"channelNumber": 6,
"manualChannelNumber": 6,
"backupChannelNumber": 11,
"autoChannelSelection": false,
"channelBandwidth": "is20MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 6
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 6
},
"is5GHzL" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is5GHzL",
"channelNumber" : 36,
"manualChannelNumber" : 36,
"backupChannelNumber" : 44,
"autoChannelSelection" : true,
"channelBandwidth" : "is80MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"is5GHzU": {
"model_type": "ElementRadioConfiguration",
"radioType": "is5GHzU",
"channelNumber": 149,
"manualChannelNumber": 149,
"backupChannelNumber": 154,
"autoChannelSelection": false,
"channelBandwidth": "is80MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 36
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 149
},
"is5GHzU" : {
"model_type" : "ElementRadioConfiguration",
"radioType" : "is5GHzU",
"channelNumber" : 149,
"manualChannelNumber" : 149,
"backupChannelNumber" : 154,
"autoChannelSelection" : true,
"channelBandwidth" : "is80MHz",
"bannedChannels" : [ ],
"rxCellSizeDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"is5GHzL": {
"model_type": "ElementRadioConfiguration",
"radioType": "is5GHzL",
"channelNumber": 36,
"manualChannelNumber": 36,
"backupChannelNumber": 44,
"autoChannelSelection": false,
"channelBandwidth": "is80MHz",
"bannedChannels": [],
"allowedChannels": [],
"rxCellSizeDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"probeResponseThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"probeResponseThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"clientDisconnectThresholdDb" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : -90
"clientDisconnectThresholdDb": {
"model_type": "AutoOrManualValue",
"auto": true,
"value": -90
},
"eirpTxPower" : {
"model_type" : "AutoOrManualValue",
"auto" : true,
"value" : 18
"eirpTxPower": {
"model_type": "AutoOrManualValue",
"auto": false,
"value": 32
},
"bestApEnabled" : null,
"neighbouringListApConfig" : {
"model_type" : "NeighbouringAPListConfiguration",
"minSignal" : -85,
"maxAps" : 25
"bestApEnabled": null,
"neighbouringListApConfig": {
"model_type": "NeighbouringAPListConfiguration",
"minSignal": -85,
"maxAps": 25
},
"minAutoCellSize" : -80,
"perimeterDetectionEnabled" : true,
"bestAPSteerType" : "both",
"deauthAttackDetection" : null,
"allowedChannelsPowerLevels" : [ ],
"activeChannel" : 149
"minAutoCellSize": -80,
"perimeterDetectionEnabled": true,
"bestAPSteerType": "both",
"deauthAttackDetection": null,
"allowedChannelsPowerLevels": [],
"activeChannel": 36
}
},
"advancedRadioMap" : {
"is2dot4GHz" : {
"model_type" : "RadioConfiguration",
"radioType" : "is2dot4GHz",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeN",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"advancedRadioMap": {
"is2dot4GHz": {
"model_type": "RadioConfiguration",
"radioType": "is2dot4GHz",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeN",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 20,
"minLoadFactor" : 50
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 20,
"minLoadFactor": 50
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
},
"is5GHzU" : {
"model_type" : "RadioConfiguration",
"radioType" : "is5GHzU",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeAC",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"is5GHzU": {
"model_type": "RadioConfiguration",
"radioType": "is5GHzU",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeAC",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 30,
"minLoadFactor" : 40
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 30,
"minLoadFactor": 40
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
},
"is5GHzL" : {
"model_type" : "RadioConfiguration",
"radioType" : "is5GHzL",
"radioAdminState" : "enabled",
"fragmentationThresholdBytes" : 2346,
"rtsCtsThreshold" : 65535,
"autoChannelSelection" : "disabled",
"radioMode" : "modeAC",
"mimoMode" : "twoByTwo",
"wmmState" : "enabled",
"uapsdState" : "enabled",
"maxNumClients" : 100,
"stationIsolation" : "disabled",
"multicastRate" : "auto",
"managementRate" : "auto",
"activeScanSettings" : {
"model_type" : "ActiveScanSettings",
"enabled" : true,
"scanFrequencySeconds" : 10,
"scanDurationMillis" : 65
"is5GHzL": {
"model_type": "RadioConfiguration",
"radioType": "is5GHzL",
"radioAdminState": "enabled",
"fragmentationThresholdBytes": 2346,
"rtsCtsThreshold": 65535,
"autoChannelSelection": "disabled",
"radioMode": "modeAC",
"mimoMode": "twoByTwo",
"wmmState": "enabled",
"uapsdState": "enabled",
"maxNumClients": 100,
"stationIsolation": "disabled",
"multicastRate": "auto",
"managementRate": "auto",
"activeScanSettings": {
"model_type": "ActiveScanSettings",
"enabled": true,
"scanFrequencySeconds": 10,
"scanDurationMillis": 65
},
"channelHopSettings" : {
"model_type" : "ChannelHopSettings",
"noiseFloorThresholdInDB" : -75,
"noiseFloorThresholdTimeInSeconds" : 180,
"nonWifiThresholdInPercentage" : 50,
"nonWifiThresholdTimeInSeconds" : 180,
"obssHopMode" : "NON_WIFI"
"channelHopSettings": {
"model_type": "ChannelHopSettings",
"noiseFloorThresholdInDB": -75,
"noiseFloorThresholdTimeInSeconds": 180,
"nonWifiThresholdInPercentage": 50,
"nonWifiThresholdTimeInSeconds": 180,
"obssHopMode": "NON_WIFI"
},
"bestApSettings" : {
"model_type" : "RadioBestApSettings",
"mlComputed" : true,
"dropInSnrPercentage" : 30,
"minLoadFactor" : 40
"bestApSettings": {
"model_type": "RadioBestApSettings",
"mlComputed": true,
"dropInSnrPercentage": 30,
"minLoadFactor": 40
},
"forceScanDuringVoice" : "disabled",
"legacyBSSRate" : "enabled",
"beaconInterval" : 100,
"deauthAttackDetection" : null
"forceScanDuringVoice": "disabled",
"legacyBSSRate": "enabled",
"beaconInterval": 100,
"deauthAttackDetection": null
}
}
},
"latitude" : null,
"longitude" : null,
"serial" : "21P10C68818122",
"createdTimestamp" : 1590607072871,
"lastModifiedTimestamp" : 1590607073116
"latitude": null,
"longitude": null,
"serial": "21P10C68818122",
"createdTimestamp": 1591653239821,
"lastModifiedTimestamp": 1591653241398
}

View File

@@ -1,50 +1,54 @@
{
"model_type" : "Profile",
"id" : 3,
"customerId" : 2,
"profileType" : "equipment_ap",
"name" : "autoprovisionedApProfile",
"details" : {
"model_type" : "ApNetworkConfiguration",
"networkConfigVersion" : "AP-1",
"equipmentType" : "AP",
"vlanNative" : true,
"vlan" : 0,
"ntpServer" : {
"model_type" : "AutoOrManualString",
"auto" : true,
"value" : "pool.ntp.org"
"model_type": "Profile",
"id": 5,
"customerId": 2,
"profileType": "equipment_ap",
"name": "DefaultApProfile",
"details": {
"model_type": "ApNetworkConfiguration",
"networkConfigVersion": "AP-1",
"equipmentType": "AP",
"vlanNative": true,
"vlan": 0,
"ntpServer": {
"model_type": "AutoOrManualString",
"auto": true,
"value": "pool.ntp.org"
},
"syslogRelay" : null,
"rtlsSettings" : null,
"syntheticClientEnabled" : true,
"ledControlEnabled" : true,
"equipmentDiscovery" : false,
"radioMap" : {
"is5GHz" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"syslogRelay": null,
"rtlsSettings": null,
"syntheticClientEnabled": true,
"ledControlEnabled": true,
"equipmentDiscovery": false,
"radioMap": {
"is5GHz": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is2dot4GHz" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is2dot4GHz": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is5GHzU" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is5GHzU": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
},
"is5GHzL" : {
"model_type" : "RadioProfileConfiguration",
"bestApEnabled" : true,
"bestAPSteerType" : "both"
"is5GHzL": {
"model_type": "RadioProfileConfiguration",
"bestApEnabled": true,
"bestAPSteerType": "both"
}
},
"profileType" : "equipment_ap"
"profileType": "equipment_ap"
},
"createdTimestamp" : 1590607072994,
"lastModifiedTimestamp" : 1590607073083,
"childProfileIds" : [ 4, 5, 6 ]
"createdTimestamp": 1591653239947,
"lastModifiedTimestamp": 1591654336724,
"childProfileIds": [
6,
7,
8
]
}

View File

@@ -0,0 +1,34 @@
[
{
"model_type": "Profile",
"id": 1,
"customerId": 2,
"profileType": "radius",
"name": "RadiusProfileOttawa",
"details": {
"model_type": "RadiusProfile",
"subnetConfiguration": null,
"serviceRegionMap": {
"Ottawa": {
"model_type": "RadiusServiceRegion",
"serverMap": {
"RadiusProfileOttawa": [
{
"model_type": "RadiusServer",
"ipAddress": "Mikes-MacBook-Pro.local",
"secret": "testing123",
"authPort": 1812,
"timeout": null
}
]
},
"regionName": "Ottawa"
}
},
"profileType": "radius"
},
"createdTimestamp": 1591653174195,
"lastModifiedTimestamp": 1591653174195,
"childProfileIds": []
}
]

View File

@@ -1,176 +1,184 @@
[
{
"model_type" : "Profile",
"id" : 4,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid",
"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
"model_type": "Profile",
"id": 6,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-2g",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-2g",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073026,
"lastModifiedTimestamp" : 1590607073026,
"childProfileIds" : [ ]
"createdTimestamp": 1591653239983,
"lastModifiedTimestamp": 1591653239983,
"childProfileIds": []
},
{
"model_type" : "Profile",
"id" : 5,
"customerId" : 2,
"profileType" : "ssid",
"name" : "autoProvisionedSsid-5l",
"details" : {
"model_type" : "SsidConfiguration",
"ssid" : "autoProvisionedSsid-5l",
"appliedRadios" : [ "is5GHzL" ],
"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
"model_type": "Profile",
"id": 7,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-5gl",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-5gl",
"appliedRadios": [
"is5GHzL"
],
"ssidAdminState": "enabled",
"secureMode": "wpaEAP",
"vlanId": 1,
"keyStr": "12345678",
"broadcastSsid": "enabled",
"keyRefresh": 0,
"noLocalSubnets": false,
"radiusServiceName": "RadiusProfileOttawa",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073044,
"lastModifiedTimestamp" : 1590607073044,
"childProfileIds" : [ ]
"createdTimestamp": 1591653240017,
"lastModifiedTimestamp": 1591654215374,
"childProfileIds": [
1
]
},
{
"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
"model_type": "Profile",
"id": 8,
"customerId": 2,
"profileType": "ssid",
"name": "DefaultSsid-5gu",
"details": {
"model_type": "SsidConfiguration",
"ssid": "Default-SSID-5gu",
"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
"is2dot4GHz": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
},
"is5GHzU" : {
"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
"is5GHzL": {
"model_type": "RadioBasedSsidConfiguration",
"enable80211r": null,
"enable80211k": null,
"enable80211v": null
}
},
"bonjourGatewayProfileId" : null,
"enable80211w" : null,
"wepConfig" : null,
"forwardMode" : null,
"profileType" : "ssid"
"bonjourGatewayProfileId": null,
"enable80211w": null,
"wepConfig": null,
"forwardMode": null,
"profileType": "ssid"
},
"createdTimestamp" : 1590607073065,
"lastModifiedTimestamp" : 1590607073065,
"childProfileIds" : [ ]
"createdTimestamp": 1591654301763,
"lastModifiedTimestamp": 1591654301763,
"childProfileIds": []
}
]

View File

@@ -3,7 +3,7 @@
"radioConfig" : {
"model_type" : "OpensyncAPRadioConfig",
"country" : "CA",
"radioChannel24G" : 1,
"radioChannel24G" : 6,
"radioChannel5LG" : 44,
"radioChannel5HG" : 108
},

View File

@@ -11,7 +11,8 @@
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.telecominfraproject.wlan.opensync.experiment.OpenSyncProcess"/>
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="opensync-gateway-static-process"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="opensync-gateway-static-process"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="--add-opens java.base/java.lang=ALL-UNNAMED&#10;&#10;-Dssl.props=file://${project_loc:opensync-gateway-static-process}/src/main/resources/app/certs/ssl.properties&#10;-Dtip.wlan.httpClientConfig=file://${project_loc:opensync-gateway-static-process}/src/main/resources/app/certs/httpClientConfig.json&#10;&#10;-Djavax.net.ssl.keyStore=${connectus_certs}/client_keystore.jks&#10;-Djavax.net.ssl.keyStorePassword=mypassword&#10;-Djavax.net.ssl.trustStore=${connectus_certs}/truststore.jks&#10;-Djavax.net.ssl.trustStorePassword=mypassword&#10;&#10;-Dconnectus.ovsdb.managerAddr=${local_server_address}&#10;-Dconnectus.ovsdb.listenPort=6640&#10;-Dconnectus.ovsdb.redirector.listenPort=6643&#10;-Dconnectus.ovsdb.timeoutSec=30&#10;-Dconnectus.ovsdb.trustStore=${connectus_certs}/truststore.jks&#10;-Dconnectus.ovsdb.keyStore=${connectus_certs}/server.pkcs12&#10;&#10;-Dconnectus.ovsdb.customerEquipmentFileName=${project_loc:opensync-ext-static}/src/main/resources/EquipmentExample.json&#10;-Dconnectus.ovsdb.apProfileFileName=${project_loc:opensync-ext-static}/src/main/resources/ProfileAPExample.json&#10;-Dconnectus.ovsdb.ssidProfileFileName=${project_loc:opensync-ext-static}/src/main/resources/ProfileSsid.json&#10;-Dconnectus.ovsdb.locationFileName=${project_loc:opensync-ext-static}/src/main/resources/LocationBuildingExample.json&#10;&#10;-Dconnectus.mqttBroker.address=${local_server_address}&#10;-Dconnectus.mqttBroker.listenPort=1883&#10;-Dspring.profiles.include=use_ssl,use_webtoken_auth,use_single_ds,RestTemplateConfiguration_X509_client_cert_auth,opensync_static_config,mqtt_receiver,ovsdb_redirector,ovsdb_manager"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="--add-opens java.base/java.lang=ALL-UNNAMED&#10;&#10;-Dssl.props=file://${project_loc:opensync-gateway-static-process}/src/main/resources/app/certs/ssl.properties&#10;-Dtip.wlan.httpClientConfig=file://${project_loc:opensync-gateway-static-process}/src/main/resources/app/certs/httpClientConfig.json&#10;&#10;-Djavax.net.ssl.keyStore=${connectus_certs}/client_keystore.jks&#10;-Djavax.net.ssl.keyStorePassword=mypassword&#10;-Djavax.net.ssl.trustStore=${connectus_certs}/truststore.jks&#10;-Djavax.net.ssl.trustStorePassword=mypassword&#10;&#10;-Dconnectus.ovsdb.managerAddr=${local_server_address}&#10;-Dconnectus.ovsdb.listenPort=6640&#10;-Dconnectus.ovsdb.redirector.listenPort=6643&#10;-Dconnectus.ovsdb.timeoutSec=30&#10;-Dconnectus.ovsdb.trustStore=${connectus_certs}/truststore.jks&#10;-Dconnectus.ovsdb.keyStore=${connectus_certs}/server.pkcs12&#10;&#10;-Dconnectus.ovsdb.customerEquipmentFileName=${project_loc:opensync-ext-static}/src/main/resources/EquipmentExample.json&#10;-Dconnectus.ovsdb.apProfileFileName=${project_loc:opensync-ext-static}/src/main/resources/ProfileAPExample.json&#10;-Dconnectus.ovsdb.ssidProfileFileName=${project_loc:opensync-ext-static}/src/main/resources/ProfileSsid.json&#10;-Dconnectus.ovsdb.locationFileName=${project_loc:opensync-ext-static}/src/main/resources/LocationBuildingExample.json&#10;-Dconnectus.ovsdb.radiusProfileFileName=${project_loc:opensync-ext-static}/src/main/resources/ProfileRadius.json&#10;-Dconnectus.mqttBroker.address=${local_server_address}&#10;-Dconnectus.mqttBroker.listenPort=1883&#10;-Dspring.profiles.include=use_ssl,use_webtoken_auth,use_single_ds,RestTemplateConfiguration_X509_client_cert_auth,opensync_static_config,mqtt_receiver,ovsdb_redirector,ovsdb_manager"/>
</launchConfiguration>

View File

@@ -186,15 +186,6 @@ public class ConnectusOvsdbClient implements ConnectusOvsdbClientInterface {
String apId = clientCn + "_" + connectNodeInfo.serialNumber;
OpensyncAPConfig opensyncAPConfig = extIntegrationInterface.getApConfig(apId);
ovsdbDao.configureStats(ovsdbClient);
// Check if device stats is configured in Wifi_Stats_Config table,
// provision it
// if needed
if (ovsdbDao.getDeviceStatsReportingInterval(ovsdbClient) != collectionIntervalSecDeviceStats) {
ovsdbDao.updateDeviceStatsReportingInterval(ovsdbClient, collectionIntervalSecDeviceStats);
}
try {
ovsdbDao.provisionBridgePortInterface(ovsdbClient);
}
@@ -210,6 +201,15 @@ public class ConnectusOvsdbClient implements ConnectusOvsdbClientInterface {
ovsdbDao.configureSsids(ovsdbClient, opensyncAPConfig);
}
ovsdbDao.configureStats(ovsdbClient);
// Check if device stats is configured in Wifi_Stats_Config table,
// provision it
// if needed
if (ovsdbDao.getDeviceStatsReportingInterval(ovsdbClient) != collectionIntervalSecDeviceStats) {
ovsdbDao.updateDeviceStatsReportingInterval(ovsdbClient, collectionIntervalSecDeviceStats);
}
// ovsdbDao.configureWifiInet(ovsdbClient);
LOG.debug("Client connect Done");

View File

@@ -12,6 +12,7 @@ import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.stream.Collectors;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -42,6 +43,9 @@ import com.telecominfraproject.wlan.opensync.ovsdb.dao.models.WifiRadioConfigInf
import com.telecominfraproject.wlan.opensync.ovsdb.dao.models.WifiStatsConfigInfo;
import com.telecominfraproject.wlan.opensync.ovsdb.dao.models.WifiVifConfigInfo;
import com.telecominfraproject.wlan.profile.models.Profile;
import com.telecominfraproject.wlan.profile.radius.models.RadiusProfile;
import com.telecominfraproject.wlan.profile.radius.models.RadiusServer;
import com.telecominfraproject.wlan.profile.radius.models.RadiusServiceRegion;
import com.telecominfraproject.wlan.profile.ssid.models.SsidConfiguration;
import com.vmware.ovsdb.exception.OvsdbClientException;
import com.vmware.ovsdb.protocol.methods.RowUpdate;
@@ -70,6 +74,9 @@ public class OvsdbDao {
@org.springframework.beans.factory.annotation.Value("${connectus.ovsdb.managerAddr:3.88.149.10}")
private String managerIpAddr;
@org.springframework.beans.factory.annotation.Value("${connectus.ovsdb.region:Ottawa}")
public String region;
@org.springframework.beans.factory.annotation.Value("${connectus.ovsdb.listenPort:6640}")
private int ovsdbListenPort;
@@ -1973,18 +1980,46 @@ public class OvsdbDao {
opensyncSecurityMode = "WPA-PSK";
} else if (ssidSecurityMode.equals("wep")) {
opensyncSecurityMode = "WEP";
} else if (ssidSecurityMode.equals("wepEAP")) {
opensyncSecurityMode = "WEP-EAP";
} else if (ssidSecurityMode.equals("wpaEAP")) {
opensyncSecurityMode = "WPA-EAP";
}
security.put("encryption", opensyncSecurityMode);
// key and mode is N/A for OPEN security
if (!opensyncSecurityMode.equals("OPEN")) {
security.put("key", ssidConfig.getKeyStr());
if (ssidSecurityMode.equals("wpa2PSK") || ssidSecurityMode.equals("wepEAP")
|| ssidSecurityMode.equals("wpa2OnlyPSK")) {
if (ssidSecurityMode.equals("wpa2PSK") || ssidSecurityMode.equals("wpa2OnlyPSK")) {
security.put("key", ssidConfig.getKeyStr());
security.put("mode", "2");
} else if (opensyncSecurityMode.equals("WPA-EAP")) {
security.put("mode", "2");
// Has Radius ?
List<Profile> radiusServiceList = new ArrayList<Profile>();
radiusServiceList = opensyncApConfig.getRadiusProfiles().stream()
.filter(p -> p.getName().equals((ssidConfig.getRadiusServiceName())))
.collect(Collectors.toList());
if (!radiusServiceList.isEmpty()) {
Profile profileRadius = radiusServiceList.get(0);
String region = opensyncApConfig.getEquipmentLocation().getName();
List<RadiusServer> radiusServerList = new ArrayList<RadiusServer>();
RadiusProfile radiusProfileDetails = ((RadiusProfile) profileRadius.getDetails());
LOG.debug("Radius Profile Details {}", radiusProfileDetails.toPrettyString());
RadiusServiceRegion radiusServiceRegion = radiusProfileDetails.findServiceRegion(region);
LOG.debug("Radius Service Region {}", radiusServiceRegion.toPrettyString());
radiusServerList = radiusServiceRegion
.findServerConfiguration(ssidConfig.getRadiusServiceName());
if (!radiusServerList.isEmpty()) {
RadiusServer rServer = radiusServerList.get(0);
security.put("radius_server_ip", rServer.getIpAddress().getHostAddress());
security.put("radius_server_port", String.valueOf(rServer.getAuthPort()));
security.put("radius_server_secret", rServer.getSecret());
}
}
} else {
security.put("key", ssidConfig.getKeyStr());
security.put("mode", "1");
}
}
@@ -2247,7 +2282,6 @@ public class OvsdbDao {
try {
List<Operation> operations = new ArrayList<>();
Map<String, Value> updateColumns = new HashMap<>();
Map<String, Integer> thresholdMap = new HashMap<>();
thresholdMap.put("max_delay", 600);
thresholdMap.put("util", 10);
@@ -2256,15 +2290,15 @@ public class OvsdbDao {
com.vmware.ovsdb.protocol.operation.notation.Map<String, Integer> thresholds = com.vmware.ovsdb.protocol.operation.notation.Map
.of(thresholdMap);
// provisionWifiStatsConfigDevice(getProvisionedWifiStatsConfigs(ovsdbClient), operations, updateColumns);
Map<String, WifiRadioConfigInfo> radioConfigs = getProvisionedWifiRadioConfigs(ovsdbClient);
provisionWifiStatsConfigSurvey(radioConfigs, getProvisionedWifiStatsConfigs(ovsdbClient), operations,
thresholds);
provisionWifiStatsConfigSurvey(getProvisionedWifiStatsConfigs(ovsdbClient), operations, thresholds);
provisionWifiStatsConfigNeighbor(radioConfigs, getProvisionedWifiStatsConfigs(ovsdbClient), operations);
provisionWifiStatsConfigNeighbor(getProvisionedWifiStatsConfigs(ovsdbClient), operations);
provisionWifiStatsConfigClient(radioConfigs, getProvisionedWifiStatsConfigs(ovsdbClient), operations);
provisionWifiStatsConfigClient(getProvisionedWifiStatsConfigs(ovsdbClient), operations);
provisionWifiStatsRssi(getProvisionedWifiStatsConfigs(ovsdbClient), operations);
provisionWifiStatsRssi(radioConfigs, getProvisionedWifiStatsConfigs(ovsdbClient), operations);
if (!operations.isEmpty()) {
CompletableFuture<OperationResult[]> fResult = ovsdbClient.transact(ovsdbName, operations);
@@ -2284,66 +2318,130 @@ public class OvsdbDao {
}
}
private void provisionWifiStatsRssi(Map<String, WifiStatsConfigInfo> provisionedWifiStatsConfigs,
List<Operation> operations) {
Map<String, Value> updateColumns;
Row row;
for (String band : new String[] { "2.4G", "5GL", "5GU" }) {
if (!provisionedWifiStatsConfigs.containsKey(band + "_rssi_on-chan")) {
updateColumns = new HashMap<>();
updateColumns.put("radio_type", new Atom<>(band));
updateColumns.put("reporting_count", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(60));
updateColumns.put("sampling_interval", new Atom<>(10));
updateColumns.put("stats_type", new Atom<>("rssi"));
updateColumns.put("survey_interval_ms", new Atom<>(0));
updateColumns.put("survey_type", new Atom<>("on-chan"));
row = new Row(updateColumns);
private void provisionWifiStatsRssi(Map<String, WifiRadioConfigInfo> radioConfigs,
Map<String, WifiStatsConfigInfo> provisionedWifiStatsConfigs, List<Operation> operations) {
radioConfigs.values().stream().forEach(rc -> {
if (!provisionedWifiStatsConfigs.containsKey(rc.freqBand + "_rssi")) {
//
Map<String, Value> rowColumns = new HashMap<>();
Set<Long> channelSet = new HashSet<Long>();
channelSet.add(Long.valueOf(rc.channel));
rowColumns.put("channel_list", com.vmware.ovsdb.protocol.operation.notation.Set.of(channelSet));
rowColumns.put("radio_type", new Atom<>(rc.freqBand));
rowColumns.put("reporting_interval", new Atom<>(30));
rowColumns.put("sampling_interval", new Atom<>(3));
rowColumns.put("stats_type", new Atom<>("rssi"));
rowColumns.put("survey_interval_ms", new Atom<>(30));
rowColumns.put("report_type", new Atom<>("raw"));
// rowColumns.put("survey_type", new Atom<>("on-chan"));
Row updateRow = new Row(rowColumns);
operations.add(new Insert(wifiStatsConfigDbTable, updateRow));
operations.add(new Insert(wifiStatsConfigDbTable, row));
}
}
});
}
private void provisionWifiStatsConfigNeighbor(Map<String, WifiStatsConfigInfo> provisionedWifiStatsConfigs,
List<Operation> operations) {
private void provisionWifiStatsConfigNeighbor(Map<String, WifiRadioConfigInfo> radioConfigs,
Map<String, WifiStatsConfigInfo> provisionedWifiStatsConfigs, List<Operation> operations) {
Map<String, Value> updateColumns;
Row row;
// For off channel, all allowed channels
// * 2412 MHz [1] (30.0 dBm)
// * 2417 MHz [2] (30.0 dBm)
// * 2422 MHz [3] (30.0 dBm)
// * 2427 MHz [4] (30.0 dBm)
// * 2432 MHz [5] (30.0 dBm)
// * 2437 MHz [6] (30.0 dBm)
// * 2442 MHz [7] (30.0 dBm)
// * 2447 MHz [8] (30.0 dBm)
// * 2452 MHz [9] (30.0 dBm)
// * 2457 MHz [10] (30.0 dBm)
// * 2462 MHz [11] (30.0 dBm)
Set<Integer> channelSet2g = new HashSet<>();
channelSet2g.add(1);
// channelSet2g.add(2);
// channelSet2g.add(3);
// channelSet2g.add(4);
// channelSet2g.add(5);
channelSet2g.add(6);
// channelSet2g.add(7);
// channelSet2g.add(8);
// channelSet2g.add(9);
// channelSet2g.add(10);
channelSet2g.add(11);
com.vmware.ovsdb.protocol.operation.notation.Set channels2g = com.vmware.ovsdb.protocol.operation.notation.Set
.of(channelSet2g);
Set<Integer> channelSet5gl = new HashSet<>();
// * 5180 MHz [36] (23.0 dBm)
// * 5200 MHz [40] (23.0 dBm)
// * 5220 MHz [44] (23.0 dBm)
// * 5240 MHz [48] (23.0 dBm)
// * 5260 MHz [52] (24.0 dBm) (radar detection)
// * 5280 MHz [56] (24.0 dBm) (radar detection)
// * 5300 MHz [60] (24.0 dBm) (radar detection)
// * 5320 MHz [64] (24.0 dBm) (radar detection)
channelSet5gl.add(36);
channelSet5gl.add(40);
channelSet5gl.add(44);
channelSet5gl.add(52);
channelSet5gl.add(48);
// channelSet5gl.add(52);
// channelSet5gl.add(56);
// channelSet5gl.add(60);
// channelSet5gl.add(64);
com.vmware.ovsdb.protocol.operation.notation.Set channels5gl = com.vmware.ovsdb.protocol.operation.notation.Set
.of(channelSet5gl);
Set<Integer> channelSet5gu = new HashSet<>();
channelSet5gu.add(100);
channelSet5gu.add(108);
channelSet5gu.add(116);
// * 5500 MHz [100] (24.0 dBm) (radar detection)
// * 5520 MHz [104] (24.0 dBm) (radar detection)
// * 5540 MHz [108] (24.0 dBm) (radar detection)
// * 5560 MHz [112] (24.0 dBm) (radar detection)
// * 5580 MHz [116] (24.0 dBm) (radar detection)
// * 5600 MHz [120] (disabled)
// * 5620 MHz [124] (disabled)
// * 5640 MHz [128] (disabled)
// * 5660 MHz [132] (24.0 dBm) (radar detection)
// * 5680 MHz [136] (24.0 dBm) (radar detection)
// * 5700 MHz [140] (24.0 dBm) (radar detection)
// * 5720 MHz [144] (24.0 dBm) (radar detection)
// * 5745 MHz [149] (30.0 dBm)
// * 5765 MHz [153] (30.0 dBm)
// * 5785 MHz [157] (30.0 dBm)
// * 5805 MHz [161] (30.0 dBm)
// * 5825 MHz [165] (30.0 dBm)
// channelSet5gu.add(100);
// channelSet5gu.add(104);
// channelSet5gu.add(108);
// channelSet5gu.add(112);
// channelSet5gu.add(116);
// channelSet5gu.add(132);
// channelSet5gu.add(136);
// channelSet5gu.add(140);
// channelSet5gu.add(144);
channelSet5gu.add(149);
channelSet5gu.add(153);
channelSet5gu.add(157);
channelSet5gu.add(161);
channelSet5gu.add(165);
com.vmware.ovsdb.protocol.operation.notation.Set channels5gu = com.vmware.ovsdb.protocol.operation.notation.Set
.of(channelSet5gu);
if (!provisionedWifiStatsConfigs.containsKey("2.4G_neighbor_off-chan")) {
updateColumns = new HashMap<>();
updateColumns.put("channel_list", channels2g);
updateColumns.put("radio_type", new Atom<>("2.4G"));
updateColumns.put("reporting_interval", new Atom<>(120));
updateColumns.put("sampling_interval", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(1800));
updateColumns.put("report_type", new Atom<>("raw"));
updateColumns.put("sampling_interval", new Atom<>(60));
updateColumns.put("stats_type", new Atom<>("neighbor"));
updateColumns.put("survey_interval_ms", new Atom<>(0));
updateColumns.put("survey_interval_ms", new Atom<>(30));
updateColumns.put("survey_type", new Atom<>("off-chan"));
// updateColumns.put("threshold", thresholds );
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
@@ -2354,13 +2452,12 @@ public class OvsdbDao {
updateColumns = new HashMap<>();
updateColumns.put("channel_list", channels5gl);
updateColumns.put("radio_type", new Atom<>("5GL"));
updateColumns.put("reporting_interval", new Atom<>(120));
updateColumns.put("sampling_interval", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(1800));
updateColumns.put("report_type", new Atom<>("raw"));
updateColumns.put("sampling_interval", new Atom<>(45));
updateColumns.put("stats_type", new Atom<>("neighbor"));
updateColumns.put("survey_interval_ms", new Atom<>(0));
updateColumns.put("survey_interval_ms", new Atom<>(30));
updateColumns.put("survey_type", new Atom<>("off-chan"));
// updateColumns.put("threshold", thresholds );
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
@@ -2371,72 +2468,43 @@ public class OvsdbDao {
updateColumns = new HashMap<>();
updateColumns.put("channel_list", channels5gu);
updateColumns.put("radio_type", new Atom<>("5GU"));
updateColumns.put("reporting_interval", new Atom<>(120));
updateColumns.put("sampling_interval", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(1800));
updateColumns.put("report_type", new Atom<>("raw"));
updateColumns.put("sampling_interval", new Atom<>(36));
updateColumns.put("stats_type", new Atom<>("neighbor"));
updateColumns.put("survey_interval_ms", new Atom<>(0));
updateColumns.put("survey_interval_ms", new Atom<>(30));
updateColumns.put("survey_type", new Atom<>("off-chan"));
// updateColumns.put("threshold", thresholds );
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
}
if (!provisionedWifiStatsConfigs.containsKey("5GU_neighbor_on-chan")) {
//
updateColumns = new HashMap<>();
// updateColumns.put("channel_list", channels );
updateColumns.put("radio_type", new Atom<>("5GU"));
updateColumns.put("reporting_interval", new Atom<>(60));
updateColumns.put("sampling_interval", new Atom<>(0));
updateColumns.put("stats_type", new Atom<>("neighbor"));
updateColumns.put("survey_interval_ms", new Atom<>(0));
updateColumns.put("survey_type", new Atom<>("on-chan"));
// updateColumns.put("threshold", thresholds );
radioConfigs.values().stream().forEach(rc -> {
if (!provisionedWifiStatsConfigs.containsKey(rc.freqBand + "_neighbor_on-chan")) {
//
Map<String, Value> rowColumns = new HashMap<>();
Set<Long> channelSet = new HashSet<Long>();
channelSet.add(Long.valueOf(rc.channel));
rowColumns.put("channel_list", com.vmware.ovsdb.protocol.operation.notation.Set.of(channelSet));
rowColumns.put("radio_type", new Atom<>(rc.freqBand));
rowColumns.put("reporting_interval", new Atom<>(60));
rowColumns.put("report_type", new Atom<>("raw"));
rowColumns.put("sampling_interval", new Atom<>(6));
rowColumns.put("stats_type", new Atom<>("neighbor"));
rowColumns.put("survey_interval_ms", new Atom<>(30));
rowColumns.put("survey_type", new Atom<>("on-chan"));
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
//
}
Row updateRow = new Row(rowColumns);
operations.add(new Insert(wifiStatsConfigDbTable, updateRow));
if (!provisionedWifiStatsConfigs.containsKey("5GL_neighbor_on-chan")) {
//
updateColumns = new HashMap<>();
// updateColumns.put("channel_list", channels );
updateColumns.put("radio_type", new Atom<>("5GL"));
updateColumns.put("reporting_interval", new Atom<>(60));
updateColumns.put("sampling_interval", new Atom<>(0));
updateColumns.put("stats_type", new Atom<>("neighbor"));
updateColumns.put("survey_interval_ms", new Atom<>(0));
updateColumns.put("survey_type", new Atom<>("on-chan"));
// updateColumns.put("threshold", thresholds );
}
});
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
//
}
if (!provisionedWifiStatsConfigs.containsKey("2.4G_neighbor_on-chan")) {
//
updateColumns = new HashMap<>();
// updateColumns.put("channel_list", channels );
updateColumns.put("radio_type", new Atom<>("2.4G"));
updateColumns.put("reporting_interval", new Atom<>(60));
updateColumns.put("sampling_interval", new Atom<>(0));
updateColumns.put("stats_type", new Atom<>("neighbor"));
updateColumns.put("survey_interval_ms", new Atom<>(0));
updateColumns.put("survey_type", new Atom<>("on-chan"));
// updateColumns.put("threshold", thresholds );
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
//
}
}
private void provisionWifiStatsConfigSurvey(Map<String, WifiStatsConfigInfo> provisionedWifiStatsConfigs,
List<Operation> operations, com.vmware.ovsdb.protocol.operation.notation.Map<String, Integer> thresholds) {
private void provisionWifiStatsConfigSurvey(Map<String, WifiRadioConfigInfo> radioConfigs,
Map<String, WifiStatsConfigInfo> provisionedWifiStatsConfigs, List<Operation> operations,
com.vmware.ovsdb.protocol.operation.notation.Map<String, Integer> thresholds) {
Set<Integer> channelSet2g = new HashSet<>();
channelSet2g.add(1);
@@ -2447,167 +2515,122 @@ public class OvsdbDao {
Set<Integer> channelSet5gl = new HashSet<>();
channelSet5gl.add(36);
channelSet5gl.add(40);
channelSet5gl.add(44);
channelSet5gl.add(52);
channelSet5gl.add(48);
com.vmware.ovsdb.protocol.operation.notation.Set channels5gl = com.vmware.ovsdb.protocol.operation.notation.Set
.of(channelSet5gl);
Set<Integer> channelSet5gu = new HashSet<>();
channelSet5gu.add(100);
channelSet5gu.add(108);
channelSet5gu.add(116);
channelSet5gu.add(149);
channelSet5gu.add(153);
channelSet5gu.add(157);
channelSet5gu.add(161);
channelSet5gu.add(165);
com.vmware.ovsdb.protocol.operation.notation.Set channels5gu = com.vmware.ovsdb.protocol.operation.notation.Set
.of(channelSet5gu);
Map<String, Value> updateColumns;
Row row;
if (!provisionedWifiStatsConfigs.containsKey("2.4G_survey_on-chan")) {
//
updateColumns = new HashMap<>();
updateColumns.put("radio_type", new Atom<>("2.4G"));
updateColumns.put("reporting_count", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(60));
updateColumns.put("sampling_interval", new Atom<>(10));
updateColumns.put("stats_type", new Atom<>("survey"));
updateColumns.put("survey_interval_ms", new Atom<>(0));
updateColumns.put("survey_type", new Atom<>("on-chan"));
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
//
}
radioConfigs.values().stream().forEach(rc -> {
if (!provisionedWifiStatsConfigs.containsKey(rc.freqBand + "_survey_on-chan")) {
if (!provisionedWifiStatsConfigs.containsKey("5GL_survey_on-chan")) {
//
updateColumns = new HashMap<>();
updateColumns.put("radio_type", new Atom<>("5GL"));
updateColumns.put("reporting_count", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(60));
updateColumns.put("sampling_interval", new Atom<>(10));
updateColumns.put("stats_type", new Atom<>("survey"));
updateColumns.put("survey_interval_ms", new Atom<>(0));
updateColumns.put("survey_type", new Atom<>("on-chan"));
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
//
}
Map<String, Value> rowColumns = new HashMap<>();
Set<Long> channelSet = new HashSet<Long>();
channelSet.add(Long.valueOf(rc.channel));
rowColumns.put("channel_list", com.vmware.ovsdb.protocol.operation.notation.Set.of(channelSet));
rowColumns.put("radio_type", new Atom<>(rc.freqBand));
rowColumns.put("reporting_interval", new Atom<>(60));
rowColumns.put("report_type", new Atom<>("raw"));
rowColumns.put("sampling_interval", new Atom<>(6));
rowColumns.put("stats_type", new Atom<>("survey"));
rowColumns.put("survey_interval_ms", new Atom<>(30));
rowColumns.put("survey_type", new Atom<>("on-chan"));
if (!provisionedWifiStatsConfigs.containsKey("5GU_survey_on-chan")) {
updateColumns = new HashMap<>();
updateColumns.put("radio_type", new Atom<>("5GU"));
updateColumns.put("reporting_count", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(60));
updateColumns.put("sampling_interval", new Atom<>(10));
updateColumns.put("stats_type", new Atom<>("survey"));
updateColumns.put("survey_interval_ms", new Atom<>(0));
updateColumns.put("survey_type", new Atom<>("on-chan"));
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
}
Row updateRow = new Row(rowColumns);
operations.add(new Insert(wifiStatsConfigDbTable, updateRow));
}
});
if (!provisionedWifiStatsConfigs.containsKey("2.4G_survey_off-chan")) {
//
updateColumns = new HashMap<>();
updateColumns.put("channel_list", channels2g);
updateColumns.put("radio_type", new Atom<>("2.4G"));
updateColumns.put("reporting_interval", new Atom<>(0));
updateColumns.put("sampling_interval", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(1800));
updateColumns.put("report_type", new Atom<>("raw"));
updateColumns.put("sampling_interval", new Atom<>(60));
updateColumns.put("stats_type", new Atom<>("survey"));
updateColumns.put("survey_interval_ms", new Atom<>(10));
updateColumns.put("survey_interval_ms", new Atom<>(30));
updateColumns.put("survey_type", new Atom<>("off-chan"));
updateColumns.put("threshold", thresholds);
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
//
}
if (!provisionedWifiStatsConfigs.containsKey("5GL_survey_off-chan")) {
//
updateColumns = new HashMap<>();
updateColumns.put("channel_list", channels5gl);
updateColumns.put("radio_type", new Atom<>("5GL"));
updateColumns.put("reporting_interval", new Atom<>(0));
updateColumns.put("sampling_interval", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(1800));
updateColumns.put("report_type", new Atom<>("raw"));
updateColumns.put("sampling_interval", new Atom<>(45));
updateColumns.put("stats_type", new Atom<>("survey"));
updateColumns.put("survey_interval_ms", new Atom<>(10));
updateColumns.put("survey_interval_ms", new Atom<>(30));
updateColumns.put("survey_type", new Atom<>("off-chan"));
updateColumns.put("threshold", thresholds);
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
//
}
if (!provisionedWifiStatsConfigs.containsKey("5GU_survey_off-chan")) {
//
updateColumns = new HashMap<>();
updateColumns.put("channel_list", channels5gu);
updateColumns.put("radio_type", new Atom<>("5GU"));
updateColumns.put("reporting_interval", new Atom<>(0));
updateColumns.put("sampling_interval", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(1800));
updateColumns.put("report_type", new Atom<>("raw"));
updateColumns.put("sampling_interval", new Atom<>(30));
updateColumns.put("stats_type", new Atom<>("survey"));
updateColumns.put("survey_interval_ms", new Atom<>(10));
updateColumns.put("survey_interval_ms", new Atom<>(30));
updateColumns.put("survey_type", new Atom<>("off-chan"));
updateColumns.put("threshold", thresholds);
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
//
}
}
// private void provisionWifiStatsConfigDevice(Map<String, WifiStatsConfigInfo> provisionedWifiStatsConfigs,
// List<Operation> operations, Map<String, Value> updateColumns) {
// Row row;
// if (!provisionedWifiStatsConfigs.containsKey("2.4G_device")) {
// updateColumns.put("radio_type", new Atom<>("2.4G"));
// updateColumns.put("reporting_interval", new Atom<>(900));
// updateColumns.put("sampling_interval", new Atom<>(0));
// updateColumns.put("stats_type", new Atom<>("device"));
// row = new Row(updateColumns);
// operations.add(new Insert(wifiStatsConfigDbTable, row));
// }
//
// }
private void provisionWifiStatsConfigClient(Map<String, WifiRadioConfigInfo> radioConfigs,
Map<String, WifiStatsConfigInfo> provisionedWifiStatsConfigs, List<Operation> operations) {
private void provisionWifiStatsConfigClient(Map<String, WifiStatsConfigInfo> provisionedWifiStatsConfigs,
List<Operation> operations) {
Map<String, Value> updateColumns;
Row row;
if (!provisionedWifiStatsConfigs.containsKey("2.4G_client")) {
updateColumns = new HashMap<>();
updateColumns.put("radio_type", new Atom<>("2.4G"));
updateColumns.put("reporting_count", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(60));
updateColumns.put("sampling_interval", new Atom<>(10));
updateColumns.put("stats_type", new Atom<>("client"));
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
}
radioConfigs.values().stream().forEach(rc -> {
if (!provisionedWifiStatsConfigs.containsKey(rc.freqBand + "_client")) {
//
Map<String, Value> rowColumns = new HashMap<>();
Set<Long> channelSet = new HashSet<Long>();
channelSet.add(Long.valueOf(rc.channel));
rowColumns.put("channel_list", com.vmware.ovsdb.protocol.operation.notation.Set.of(channelSet));
rowColumns.put("radio_type", new Atom<>(rc.freqBand));
rowColumns.put("reporting_interval", new Atom<>(60));
rowColumns.put("report_type", new Atom<>("raw"));
rowColumns.put("sampling_interval", new Atom<>(6));
rowColumns.put("stats_type", new Atom<>("client"));
rowColumns.put("survey_interval_ms", new Atom<>(30));
// rowColumns.put("survey_type", new Atom<>("on-chan"));
if (!provisionedWifiStatsConfigs.containsKey("5GL_client")) {
Row updateRow = new Row(rowColumns);
operations.add(new Insert(wifiStatsConfigDbTable, updateRow));
updateColumns = new HashMap<>();
updateColumns.put("radio_type", new Atom<>("5GL"));
updateColumns.put("reporting_count", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(60));
updateColumns.put("sampling_interval", new Atom<>(10));
updateColumns.put("stats_type", new Atom<>("client"));
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
}
});
}
if (!provisionedWifiStatsConfigs.containsKey("5GU_client")) {
updateColumns = new HashMap<>();
updateColumns.put("radio_type", new Atom<>("5GU"));
updateColumns.put("reporting_count", new Atom<>(0));
updateColumns.put("reporting_interval", new Atom<>(60));
updateColumns.put("sampling_interval", new Atom<>(10));
updateColumns.put("stats_type", new Atom<>("client"));
row = new Row(updateColumns);
operations.add(new Insert(wifiStatsConfigDbTable, row));
}
}
public String changeRedirectorAddress(OvsdbClient ovsdbClient, String apId, String newRedirectorAddress) {