mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-03 03:57:54 +00:00
WIFI-444: APNOS : UCC Heuristics phase 2
Changes to report type in Wifi_Stats_Config to video_voice
This commit is contained in:
@@ -2934,9 +2934,10 @@ public class OvsdbDao {
|
||||
|
||||
captiveMap.put("acceptance_policy", captiveProfileDetails.getUserAcceptancePolicy());
|
||||
captiveMap.put("login_success_text", captiveProfileDetails.getSuccessPageMarkdownText());
|
||||
captiveMap.put("authentication", getCaptiveAuthentication(captiveProfileDetails.getAuthenticationType()));
|
||||
captiveMap.put("username_password_file",
|
||||
getCaptiveManagedFileUrl("usernamePasswordFileURL", captiveProfileDetails.getUsernamePasswordFile()));
|
||||
captiveMap.put("authentication",
|
||||
getCaptiveAuthentication(captiveProfileDetails.getAuthenticationType()));
|
||||
captiveMap.put("username_password_file", getCaptiveManagedFileUrl("usernamePasswordFileURL",
|
||||
captiveProfileDetails.getUsernamePasswordFile()));
|
||||
// captiveMap.put("externalCaptivePortalURL",
|
||||
// captiveProfileDetails.getExternalCaptivePortalURL());
|
||||
// captiveMap.put("backgroundPosition",
|
||||
@@ -3174,7 +3175,7 @@ public class OvsdbDao {
|
||||
|
||||
// TODO: when schema support is added, these should be part of the
|
||||
// bulk provisioning operation above.
|
||||
provisionUccStatsConfig(ovsdbClient);
|
||||
provisionVideoVoiceStats(ovsdbClient);
|
||||
provisionEventReporting(ovsdbClient);
|
||||
|
||||
} catch (OvsdbClientException | TimeoutException | ExecutionException | InterruptedException e) {
|
||||
@@ -3389,18 +3390,17 @@ public class OvsdbDao {
|
||||
* @param ovsdbClient
|
||||
*
|
||||
*/
|
||||
public void provisionUccStatsConfig(OvsdbClient ovsdbClient) {
|
||||
LOG.debug("Enable ucc_report");
|
||||
public void provisionVideoVoiceStats(OvsdbClient ovsdbClient) {
|
||||
LOG.debug("Enable video_voice_report");
|
||||
|
||||
try {
|
||||
List<Operation> operations = new ArrayList<>();
|
||||
LOG.debug("Enable uci_report metrics");
|
||||
Map<String, Value> rowColumns = new HashMap<>();
|
||||
rowColumns.put("radio_type", new Atom<>("2.4G"));
|
||||
rowColumns.put("reporting_interval", new Atom<>(60));
|
||||
rowColumns.put("report_type", new Atom<>("raw"));
|
||||
rowColumns.put("sampling_interval", new Atom<>(10));
|
||||
rowColumns.put("stats_type", new Atom<>("ucc"));
|
||||
rowColumns.put("stats_type", new Atom<>("video_voice"));
|
||||
rowColumns.put("survey_interval_ms", new Atom<>(65));
|
||||
Row row = new Row(rowColumns);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user