Take allowed_channels list from Wifi_Radio_State, Retrieval additional attributes from base AP configs, add customer service support and default customer id

This commit is contained in:
Mike Hansen
2020-06-01 17:40:50 -04:00
parent 9b0dcd73f5
commit e01b880e59
9 changed files with 112 additions and 38 deletions

View File

@@ -22,6 +22,11 @@
<artifactId>tip-wlan-opensync-protobuf</artifactId>
<version>${tip-wlan-cloud.release.version}</version>
</dependency>
<dependency>
<artifactId>customer-models</artifactId>
<groupId>com.telecominfraproject.wlan</groupId>
<version>${tip-wlan-cloud.release.version}</version>
</dependency>
<dependency>
<artifactId>equipment-models</artifactId>
<groupId>com.telecominfraproject.wlan</groupId>

View File

@@ -3,9 +3,8 @@
*/
package com.telecominfraproject.wlan.opensync.external.integration.models;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.Set;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
import com.vmware.ovsdb.protocol.operation.notation.Uuid;
@@ -25,7 +24,7 @@ public class OpensyncAPRadioState extends BaseJsonModel {
public String mac;
public int bcnInt;
public int thermalTxChainmask;
public int[] allowedChannels;
public Set<Integer> allowedChannels;
public int thermalShutdown;
public int channelSync;
public int hwType;
@@ -104,11 +103,11 @@ public class OpensyncAPRadioState extends BaseJsonModel {
this.thermalTxChainmask = thermalTxChainmask;
}
public int[] getAllowedChannels() {
public Set<Integer> getAllowedChannels() {
return allowedChannels;
}
public void setAllowedChannels(int[] allowedChannels) {
public void setAllowedChannels(Set<Integer> allowedChannels) {
this.allowedChannels = allowedChannels;
}