mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-01 11:07:49 +00:00
Support for Metrics Profile
Added to OpensyncAPConfig Added Profiles for Static. Added handler in OvsdbClient to process. Currently not applying the values, uses the defaults still, but remaining functionality will come in subsequent updates.
This commit is contained in:
@@ -31,6 +31,7 @@ public class OpensyncAPConfig extends BaseJsonModel {
|
||||
private Profile apProfile;
|
||||
private Profile rfProfile;
|
||||
private List<Profile> ssidProfile;
|
||||
private List<Profile> metricsProfile;
|
||||
private List<Profile> radiusProfiles;
|
||||
private Location equipmentLocation;
|
||||
private EquipmentRoutingRecord equipmentRouting;
|
||||
@@ -195,6 +196,13 @@ public class OpensyncAPConfig extends BaseJsonModel {
|
||||
}
|
||||
ret.ssidProfile = ssidList;
|
||||
}
|
||||
if (metricsProfile != null) {
|
||||
List<Profile> metricsList = new ArrayList<Profile>();
|
||||
for (Profile profile : metricsProfile) {
|
||||
metricsList.add(profile.clone());
|
||||
}
|
||||
ret.metricsProfile = metricsList;
|
||||
}
|
||||
if (bonjourGatewayProfiles != null) {
|
||||
List<Profile> bonjourGatewayProfilesList = new ArrayList<Profile>();
|
||||
for (Profile profile : bonjourGatewayProfiles) {
|
||||
@@ -255,4 +263,12 @@ public class OpensyncAPConfig extends BaseJsonModel {
|
||||
public void setBlockedClients(List<MacAddress> blockedClients) {
|
||||
this.blockedClients = blockedClients;
|
||||
}
|
||||
|
||||
public void setMetricsProfiles(List<Profile> metricsProfileList) {
|
||||
metricsProfile = metricsProfileList;
|
||||
}
|
||||
|
||||
public List<Profile> getMetricsProfiles() {
|
||||
return metricsProfile;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user