aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/performanceHistoryApp/src/models
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/performanceHistoryApp/src/models')
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts53
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts14
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts6
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts20
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts4
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts20
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts20
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts20
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts20
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts12
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts20
11 files changed, 209 insertions, 0 deletions
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts
new file mode 100644
index 000000000..686e3bc96
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts
@@ -0,0 +1,53 @@
+export { HitEntry, Result } from '../../../../framework/src/models';
+
+/**
+ * Represents Adaptive Modulation data fields of the performance history table.
+ */
+export type AdaptiveModulationDataType = {
+ "_id": string;
+ "radio-signal-id": string;
+ "scanner-id": string;
+ "time-stamp": string;
+ "suspect-interval-flag": boolean;
+ "time2-states-s": string;
+ "time2-states": string;
+ "time2-states-l": string;
+ "time4-states-s": string;
+ "time4-states": string;
+ "time4-states-l": string;
+ "time16-states-s": string;
+ "time16-states": string;
+ "time16-states-l": string;
+ "time32-states-s": string;
+ "time32-states": string;
+ "time32-states-l": string;
+ "time64-states-s": string;
+ "time64-states": string;
+ "time64-states-l": string;
+ "time128-states-s": string;
+ "time128-states": string;
+ "time128-states-l": string;
+ "time256-states-s": string;
+ "time256-states": string;
+ "time256-states-l": string;
+ "time512-states-s": string;
+ "time512-states": string;
+ "time512-states-l": string;
+ "time1024-states-s": string;
+ "time1024-states": string;
+ "time1024-states-l": string;
+ "time2048-states-s": string;
+ "time2048-states": string;
+ "time2048-states-l": string;
+ "time4096-states-s": string;
+ "time4096-states": string;
+ "time4096-states-l": string;
+ "time8192-states-s": string;
+ "time8192-states": string;
+ "time8192-states-l": string;
+};
+
+
+export type AdaptiveModulationResult = { "performance-data": AdaptiveModulationDataType };
+
+export type AdaptiveModulation = AdaptiveModulationDataType & { _id: string }; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts
new file mode 100644
index 000000000..15a27f147
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts
@@ -0,0 +1,14 @@
+ export type Ltp = {
+ key: string
+ }
+
+ export type Bucket={
+ buckets: Ltp[]
+ }
+
+/**
+ * Represents distinct available ltps using elasticsearch aggregations structure.
+ */
+ export type DistinctLtp = {
+ "uuid-interface": Bucket
+ }
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts
new file mode 100644
index 000000000..f4afa645d
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts
@@ -0,0 +1,6 @@
+/**
+ * Represents connected network elements.
+ */
+export type ConnectedNetworkElements = {
+ mountId: string,
+ }
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts
new file mode 100644
index 000000000..2dc183eda
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts
@@ -0,0 +1,20 @@
+export { HitEntry, Result } from '../../../../framework/src/models';
+
+/**
+ * Represents CPD data fields of the performance history table.
+ */
+export type CrossPolarDiscriminationDataType = {
+ "_id": string;
+ "radio-signal-id": string;
+ "scanner-id": string;
+ "time-stamp": string;
+ "suspect-interval-flag": boolean;
+ "xpd-min": string;
+ "xpd-avg": string;
+ "xpd-max": string;
+};
+
+
+export type CrossPolarDiscriminationResult = { "performance-data": CrossPolarDiscriminationDataType };
+
+export type CrossPolarDiscrimination = CrossPolarDiscriminationDataType & { _id: string }; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts
new file mode 100644
index 000000000..1f05b47cc
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts
@@ -0,0 +1,4 @@
+/**
+ * Represents PanelIds for the available Expansional panels.
+ */
+export type PanelId = null | "PerformanceData" | "ReceiveLevel" | "TransmissionPower" | "AdaptiveModulation" | "Temperature" | "SINR" | "CPD"; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
new file mode 100644
index 000000000..6972998b6
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
@@ -0,0 +1,20 @@
+export { HitEntry, Result } from '../../../../framework/src/models';
+
+/**
+ * Represents performance data fields of the performance history table.
+ */
+export type PerformanceDataType = {
+ "_id": string;
+ "radio-signal-id": string;
+ "scanner-id": string;
+ "time-stamp": string;
+ "suspect-interval-flag": boolean;
+ "es": string;
+ "ses": string;
+ "unavailability": string;
+};
+
+
+export type PerformanceResult = { "performance-data": PerformanceDataType };
+
+export type Performance = PerformanceDataType & { _id: string }; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts
new file mode 100644
index 000000000..9f51c8fee
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts
@@ -0,0 +1,20 @@
+export { HitEntry, Result } from '../../../../framework/src/models';
+
+/**
+ * Represents Receive level data fields of the performance history table.
+ */
+export type ReceiveLevelDataType = {
+ "_id": string;
+ "radio-signal-id": string;
+ "scanner-id": string;
+ "time-stamp": string;
+ "suspect-interval-flag": boolean;
+ "rx-level-min": string;
+ "rx-level-avg": string;
+ "rx-level-max": string;
+};
+
+
+export type ReceiveLevelResult = { "performance-data": ReceiveLevelDataType };
+
+export type ReceiveLevel = ReceiveLevelDataType & { _id: string }; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts
new file mode 100644
index 000000000..73934bd85
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts
@@ -0,0 +1,20 @@
+export { HitEntry, Result } from '../../../../framework/src/models';
+
+/**
+ * Represents Signal to interference data fields of the performance history table.
+ */
+export type SignalToInterferenceDataType = {
+ "_id": string;
+ "radio-signal-id": string;
+ "scanner-id": string;
+ "time-stamp": string;
+ "suspect-interval-flag": boolean;
+ "snir-min": string;
+ "snir-avg": string;
+ "snir-max": string;
+};
+
+
+export type SignalToInterferenceResult = { "performance-data": SignalToInterferenceDataType };
+
+export type SignalToInterference = SignalToInterferenceDataType & { _id: string }; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts
new file mode 100644
index 000000000..e5be6e36c
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts
@@ -0,0 +1,20 @@
+export { HitEntry, Result } from '../../../../framework/src/models';
+
+/**
+ * Represents Temperature data fields of the performance history table.
+ */
+export type TemperatureDataType = {
+ "_id": string;
+ "radio-signal-id": string;
+ "scanner-id": string;
+ "time-stamp": string;
+ "suspect-interval-flag": boolean;
+ "rf-temp-min": string;
+ "rf-temp-avg": string;
+ "rf-temp-max": string;
+};
+
+
+export type TemperatureResult = { "performance-data": TemperatureDataType };
+
+export type Temperature = TemperatureDataType & { _id: string }; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts
new file mode 100644
index 000000000..84548ce45
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts
@@ -0,0 +1,12 @@
+export interface TopologyNode {
+ "node-id": string;
+ "netconf-node-topology:connection-status": string;
+}
+
+/**
+ * Represents restConf network element topology.
+ */
+export interface Topology {
+ "topology-id": string;
+ "node": TopologyNode[];
+}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts
new file mode 100644
index 000000000..948baff12
--- /dev/null
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts
@@ -0,0 +1,20 @@
+export { HitEntry, Result } from '../../../../framework/src/models';
+
+/**
+ * Represents the TransmissionPower data fields of the performance history table.
+ */
+export type TransmissionPowerDataType = {
+ "_id": string;
+ "radio-signal-id": string;
+ "scanner-id": string;
+ "time-stamp": string;
+ "suspect-interval-flag": boolean;
+ "tx-level-min": string;
+ "tx-level-avg": string;
+ "tx-level-max": string;
+};
+
+
+export type TransmissionPowerResult = { "performance-data": TransmissionPowerDataType };
+
+export type TransmissionPower = TransmissionPowerDataType & { _id: string }; \ No newline at end of file