aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps')
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/.babelrc17
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/package.json40
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/pom.xml169
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src/actions/modulesSuccess.ts25
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src/handlers/apiDemoRootHandler.ts40
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src/handlers/modulesHandler.ts33
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src/index.html24
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src/models/module.ts28
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src/plugin.tsx53
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java68
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src2/main/resources/OSGI-INF/blueprint/blueprint.xml9
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java46
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src2/test/resources/test.js5
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/tsconfig.json37
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/webpack.config.js139
-rw-r--r--sdnr/wt/odlux/apps/app-feature/pom.xml79
-rwxr-xr-xsdnr/wt/odlux/apps/app-installer/pom.xml150
-rw-r--r--sdnr/wt/odlux/apps/app-installer/src/assembly/assemble_mvnrepo_zip.xml49
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/.babelrc17
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/package.json40
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/pom.xml161
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/actions/configurationActions.ts154
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/assets/microwave-model@2017-03-24.json6678
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/assets/microwave-model@2017-03-24.json.old19680
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/handlers/configurationAppRootHandler.ts95
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/index.html27
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/models/coreModel.ts73
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/models/uiModels.ts90
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/plugin.tsx107
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/services/configurationService.ts53
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/views/configurationApplication.tsx320
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java68
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml9
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java45
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src2/test/resources/test.js5
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/tsconfig.json38
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/webpack.config.js158
-rw-r--r--sdnr/wt/odlux/apps/connectApp/.babelrc17
-rw-r--r--sdnr/wt/odlux/apps/connectApp/package.json40
-rw-r--r--sdnr/wt/odlux/apps/connectApp/pom.xml161
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/actions/mountedNetworkElementsActions.ts122
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/actions/requiredNetworkElementsActions.ts55
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/components/connectionStatusLog.tsx53
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/components/editNetworkElementDialog.tsx246
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/components/requiredNetworkElements.tsx210
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/components/unknownNetworkElements.tsx211
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/handlers/connectAppRootHandler.tsx42
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/handlers/connectionStatusLogHandler.tsx51
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/handlers/mountedNetworkElementsHandler.tsx111
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/handlers/requiredNetworkElementsHandler.tsx35
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/index.html26
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/models/connectionStatusLog.ts27
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/models/mountedNetworkElements.ts28
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/models/networkElementBase.ts22
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/models/requiredNetworkElements.ts27
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts53
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/plugin.tsx69
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/services/connectService.ts214
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/views/connectView.tsx116
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java68
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml9
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java45
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src2/test/resources/test.js5
-rw-r--r--sdnr/wt/odlux/apps/connectApp/tsconfig.json37
-rw-r--r--sdnr/wt/odlux/apps/connectApp/webpack.config.js139
-rw-r--r--sdnr/wt/odlux/apps/demoApp/.babelrc17
-rw-r--r--sdnr/wt/odlux/apps/demoApp/package.json40
-rw-r--r--sdnr/wt/odlux/apps/demoApp/pom.xml161
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src/actions/authorActions.ts51
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src/components/counter.tsx34
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src/handlers/demoAppRootHandler.ts43
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src/handlers/editAuthorHandler.ts33
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src/handlers/listAuthorsHandler.ts57
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src/index.html25
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src/models/author.ts19
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src/plugin.tsx54
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src/services/authorService.ts72
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src/views/authorsList.tsx87
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src/views/editAuthor.tsx34
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java68
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml9
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java45
-rw-r--r--sdnr/wt/odlux/apps/demoApp/src2/test/resources/test.js5
-rw-r--r--sdnr/wt/odlux/apps/demoApp/tsconfig.json37
-rw-r--r--sdnr/wt/odlux/apps/demoApp/webpack.config.js134
-rw-r--r--sdnr/wt/odlux/apps/faultApp/.babelrc17
-rw-r--r--sdnr/wt/odlux/apps/faultApp/package.json40
-rw-r--r--sdnr/wt/odlux/apps/faultApp/pom.xml161
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/actions/notificationActions.ts33
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/actions/panelChangeActions.ts26
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/actions/statusActions.ts43
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/components/faultStatus.tsx71
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/handlers/alarmLogEntriesHandler.ts41
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/handlers/currentProblemsHandler.ts41
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/handlers/faultAppRootHandler.ts62
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/handlers/faultStatusHandler.ts46
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/handlers/notificationsHandler.ts47
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/index.html29
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/models/fault.ts31
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/models/panelId.ts18
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/plugin.tsx112
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/services/faultStatusService.ts39
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src/views/faultApplication.tsx135
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java68
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml9
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java45
-rw-r--r--sdnr/wt/odlux/apps/faultApp/src2/test/resources/test.js5
-rw-r--r--sdnr/wt/odlux/apps/faultApp/tsconfig.json37
-rw-r--r--sdnr/wt/odlux/apps/faultApp/webpack.config.js152
-rw-r--r--sdnr/wt/odlux/apps/helpApp/.babelrc17
-rw-r--r--sdnr/wt/odlux/apps/helpApp/package.json45
-rw-r--r--sdnr/wt/odlux/apps/helpApp/pom.xml161
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/actions/helpActions.ts78
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/components/helpStatus.tsx80
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/components/markdown.tsx77
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/components/subMenuEntry.tsx54
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/handlers/helpAppRootHandler.ts75
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/index.html29
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/models/tocNode.ts42
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/plugin.tsx88
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts65
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/utilities/path.ts79
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/views/helpApplication.tsx70
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java68
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml9
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java46
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src2/test/resources/test.js5
-rw-r--r--sdnr/wt/odlux/apps/helpApp/tsconfig.json37
-rw-r--r--sdnr/wt/odlux/apps/helpApp/webpack.config.js170
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/.babelrc17
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/package.json40
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/pom.xml161
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/src/handlers/inventoryAppRootHandler.ts44
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/src/handlers/inventoryElementsHandler.tsx36
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/src/index.html25
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/src/models/inventory.ts34
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/src/plugin.tsx36
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/src/views/dashboard.tsx64
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/src/views/detail.tsx41
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java68
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml9
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java46
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/src2/test/resources/test.js5
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/tsconfig.json37
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/webpack.config.js156
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/.babelrc17
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/package.json41
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/pom.xml161
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/actions/maintenenceActions.ts112
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/components/editMaintenenceEntryDialog.tsx194
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenanceAppRootHandler.ts44
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenenceEntriesHandler.ts57
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/index.html26
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/models/maintenenceEntryType.ts45
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/plugin.tsx44
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/services/maintenenceService.ts99
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/utils/timeUtils.ts39
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/views/maintenenceView.tsx226
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java68
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml9
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java46
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src2/test/resources/test.js5
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/tsconfig.json37
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js140
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/.babelrc17
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/package.json41
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/pom.xml161
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/actions/avaliableMediatorServersActions.ts58
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/actions/mediatorConfigActions.ts154
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/actions/mediatorServerActions.ts101
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/components/editMediatorConfigDialog.tsx330
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/components/editMediatorServerDialog.tsx173
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/handlers/avaliableMediatorServersHandler.ts36
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/handlers/mediatorAppRootHandler.ts43
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/handlers/mediatorServerHandler.ts116
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/index.html29
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/models/mediatorServer.ts77
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/plugin.tsx83
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/services/mediatorService.ts182
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorApplication.tsx238
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorServerSelection.tsx153
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java68
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml9
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java46
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/src2/test/resources/test.js5
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/tsconfig.json38
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/tslint.json4
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/webpack.config.js148
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/.babelrc17
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/.fbExcludeFilterFile25
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/package.json40
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/pom.xml161
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/src/handlers/minimumAppRootHandler.ts37
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/src/index.html24
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/src/plugin.tsx48
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java68
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml9
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java46
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/src2/test/resources/test.js5
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/tsconfig.json37
-rw-r--r--sdnr/wt/odlux/apps/minimumApp/webpack.config.js136
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/.babelrc17
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/package.json43
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/pom.xml161
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/connectedNetworkElementsActions.ts85
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/ltpAction.ts78
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/panelChangeActions.ts32
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/timeChangeAction.ts29
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/components/adaptiveModulation.tsx433
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/components/crossPolarDiscrimination.tsx130
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/components/performanceData.tsx129
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/components/receiveLevel.tsx131
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/components/signalToInterference.tsx133
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/components/temperature.tsx131
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/components/transmissionPower.tsx133
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/adaptiveModulationHandler.ts96
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/availableLtpsActionHandler.ts60
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/connectedNetworkElementsActionHandler.ts56
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/crossPolarDiscriminationHandler.ts63
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/performanceDataHandler.ts65
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/performanceHistoryRootHandler.ts105
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/receiveLevelHandler.ts63
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/signalToInterferenceHandler.ts63
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/temperatureHandler.ts63
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/transmissionPowerHandler.ts63
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/index.html26
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts118
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts31
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts49
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts7
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts53
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts4
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts63
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts52
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts54
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts54
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts29
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts53
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/plugin.tsx111
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/services/performanceHistoryService.ts63
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/chartUtils.tsx75
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/tableUtils.ts36
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/views/performanceHistoryApplication.tsx373
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java68
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml9
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java45
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src2/test/resources/test.js5
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/tsconfig.json37
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/webpack.config.js139
249 files changed, 0 insertions, 43804 deletions
diff --git a/sdnr/wt/odlux/apps/apiDemo/.babelrc b/sdnr/wt/odlux/apps/apiDemo/.babelrc
deleted file mode 100644
index 3d8cd1260..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/.babelrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "presets": [
- ["@babel/preset-react"],
- ["@babel/preset-env", {
- "targets": {
- "chrome": "66"
- },
- "spec": true,
- "loose": false,
- "modules": false,
- "debug": false,
- "useBuiltIns": "usage",
- "forceAllTransforms": true
- }]
- ],
- "plugins": []
-}
diff --git a/sdnr/wt/odlux/apps/apiDemo/package.json b/sdnr/wt/odlux/apps/apiDemo/package.json
deleted file mode 100644
index 730412e05..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/package.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "name": "@odlux/api-demo",
- "version": "0.1.0",
- "description": "A react based modular UI framework",
- "main": "index.js",
- "scripts": {
- "start": "webpack-dev-server --env debug",
- "build": "webpack --env release --config webpack.config.js",
- "build:dev": "webpack --env debug --config webpack.config.js"
- },
- "repository": {
- "type": "git",
- "url": "https://git.mfico.de/highstreet-technologies/odlux.git"
- },
- "keywords": [
- "reactjs",
- "redux",
- "ui",
- "framework"
- ],
- "author": "Matthias Fischer",
- "license": "Apache-2.0",
- "dependencies": {
- "@odlux/framework": "*"
- },
- "peerDependencies": {
- "@types/react": "16.4.14",
- "@types/react-dom": "16.0.8",
- "@types/react-router-dom": "4.3.1",
- "@material-ui/core": "3.8.3",
- "@material-ui/icons": "3.0.2",
- "@types/classnames": "2.2.6",
- "@types/flux": "3.1.8",
- "@types/jquery": "3.3.10",
- "jquery": "3.3.1",
- "react": "16.5.2",
- "react-dom": "16.5.2",
- "react-router-dom": "4.3.1"
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/apiDemo/pom.xml b/sdnr/wt/odlux/apps/apiDemo/pom.xml
deleted file mode 100644
index ea8f963c3..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/pom.xml
+++ /dev/null
@@ -1,169 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-app-apiDemo</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnr-wt-odlux-app-apiDemo</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-provider</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
- </dependency>
- </dependencies>
-
- <pluginRepositories>
- <pluginRepository>
- <id>highstreet repo</id>
- <url>https://cloud-highstreet-technologies.com/mvn/</url>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <sourceDirectory>src2/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>dist</directory>
- <targetPath>odlux</targetPath>
- </resource>
- <resource>
- <directory>src2/main/resources</directory>
- </resource>
- <resource>
- <directory>src2/test/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>../node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <!-- eclipse bug build bin folder in basedir -->
- <fileset>
- <directory>bin</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src2/test/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>de.jacksitlab</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <!-- optional: default phase is "generate-resources" -->
- <phase>initialize</phase>
- <configuration>
- <nodeVersion>v8.10.0</nodeVersion>
- <yarnVersion>v1.12.3</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>run build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
- <Private-Package/>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/apiDemo/src/actions/modulesSuccess.ts b/sdnr/wt/odlux/apps/apiDemo/src/actions/modulesSuccess.ts
deleted file mode 100644
index 12fd3fcaf..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/src/actions/modulesSuccess.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { ModuleResult } from '../models/module';
-export class ModulesRequestSuccess extends Action {
- constructor(public result: ModuleResult) {
- super();
- }
-}
-// error will be handled by the framework \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/apiDemo/src/handlers/apiDemoRootHandler.ts b/sdnr/wt/odlux/apps/apiDemo/src/handlers/apiDemoRootHandler.ts
deleted file mode 100644
index 36688b3a5..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/src/handlers/apiDemoRootHandler.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-
-import { combineActionHandler } from '../../../../framework/src/flux/middleware';
-
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-import { moduleHandler, IModules } from './modulesHandler';
-
-export interface IApiDemoStoreState {
- modules: IModules
-}
-
-declare module '../../../../framework/src/store/applicationStore' {
- interface IApplicationStoreState {
- apiDemo: IApiDemoStoreState
- }
-}
-
-const actionHandlers = {
- modules: moduleHandler
-};
-
-export const apiDemoRootHandler = combineActionHandler<IApiDemoStoreState>(actionHandlers);
-export default apiDemoRootHandler;
diff --git a/sdnr/wt/odlux/apps/apiDemo/src/handlers/modulesHandler.ts b/sdnr/wt/odlux/apps/apiDemo/src/handlers/modulesHandler.ts
deleted file mode 100644
index 8777355db..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/src/handlers/modulesHandler.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { IActionHandler } from '../../../../framework/src/flux/action';
-
-import { ModulesRequestSuccess } from '../actions/modulesSuccess';
-import { Module } from '../models/module';
-
-export type IModules = Module[]
-
-const modulesInit: IModules = [];
-
-export const moduleHandler: IActionHandler<IModules> = (state = modulesInit, action) => {
- if (action instanceof ModulesRequestSuccess) {
- return action.result.modules.module;
- }
-
- return state;
-};
diff --git a/sdnr/wt/odlux/apps/apiDemo/src/index.html b/sdnr/wt/odlux/apps/apiDemo/src/index.html
deleted file mode 100644
index c01df6b13..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/src/index.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <!-- <link rel="stylesheet" href="./vendor.css" > -->
- <title>API Demo App</title>
-</head>
-
-<body>
- <div id="app"></div>
- <script type="text/javascript" src="./require.js"></script>
- <script type="text/javascript" src="./config.js"></script>
- <script>
- // run the application
- require(["app","apiDemo"], function (app) {
- app("./app.tsx")
- });
- </script>
-</body>
-
-</html> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/apiDemo/src/models/module.ts b/sdnr/wt/odlux/apps/apiDemo/src/models/module.ts
deleted file mode 100644
index abf86b76e..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/src/models/module.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export type Module = {
- name: string;
- revision: string;
- namespace: string;
-}
-
-export type ModuleResult = {
- modules: {
- module: Module[]
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/apiDemo/src/plugin.tsx b/sdnr/wt/odlux/apps/apiDemo/src/plugin.tsx
deleted file mode 100644
index 6790ee929..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/src/plugin.tsx
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from "react";
-import { withRouter, RouteComponentProps, Route, Switch, Redirect } from 'react-router-dom';
-
-import { faNewspaper } from '@fortawesome/free-solid-svg-icons';
-
-import applicationManager from '../../../framework/src/services/applicationManager';
-import connect, { Connect } from '../../../framework/src/flux/connect';
-import { ApiAction } from '../../../framework/src/middleware/api'; // for RestConf
-
-import { apiDemoRootHandler } from './handlers/apiDemoRootHandler';
-import { ModulesRequestSuccess } from './actions/modulesSuccess';
-import { Module } from './models/module';
-
-type AppProps = RouteComponentProps & Connect & { modules: Module[], requestModules: () => void };
-
-const App = (props: AppProps ) => (
- <>
- <button onClick={ props.requestModules }>Load Modules</button>
- <ul>{ props.modules.map((mod, ind) => (<li key={ ind }>{ mod.name }</li>)) }</ul>
- </>
-);
-
-const FinalApp = withRouter(connect((state) => ({
- modules: state.apiDemo.modules
-}), (dispatcher => ({
- requestModules: () => { dispatcher.dispatch(new ApiAction('restconf/modules', ModulesRequestSuccess, true)) }
-})))(App));
-
-applicationManager.registerApplication({
- name: "apiDemo",
- icon: faNewspaper,
- rootComponent: FinalApp,
- rootActionHandler: apiDemoRootHandler,
- menuEntry: "API Demo"
-});
-
diff --git a/sdnr/wt/odlux/apps/apiDemo/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java b/sdnr/wt/odlux/apps/apiDemo/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
deleted file mode 100644
index 1e882fc69..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles;
-
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class MyOdluxBundle extends OdluxBundle {
-
- @Override
- public void initialize() {
- super.initialize();
- }
-
- @Override
- public void clean() {
- super.clean();
- }
-
- @Override
- public String getResourceFileContent(String filename) {
- return super.getResourceFileContent(filename);
- }
-
- @Override
- public boolean hasResource(String filename) {
- return super.hasResource(filename);
- }
-
- @Override
- public void setBundleName(String bundleName) {
- super.setBundleName(bundleName);
- }
-
- @Override
- public void setLoader(OdluxBundleLoader loader) {
- super.setLoader(loader);
- }
-
- @Override
- public String getBundleName() {
- return super.getBundleName();
- }
-
- @Override
- public OdluxBundleLoader getLoader() {
- return super.getLoader();
- }
-
- public MyOdluxBundle() {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/apiDemo/src2/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wt/odlux/apps/apiDemo/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100644
index 0877578e2..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <reference id="loadersvc" availability="mandatory" activation="eager" interface="org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader"/>
-
- <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle">
- <property name="loader" ref="loadersvc"/>
- <property name="bundleName" value="apiDemo"/>
- <property name="index" value="999"/>
- </bean>
-</blueprint> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/apiDemo/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java b/sdnr/wt/odlux/apps/apiDemo/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
deleted file mode 100644
index e2ffb596b..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles.test;
-
-import static org.junit.Assert.*;
-
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.odlux.OdluxBundleLoaderImpl;
-import org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class TestBundleRes {
-
- @Test
- public void test() {
- OdluxBundleLoader loader = OdluxBundleLoaderImpl.getInstance();
- MyOdluxBundle b = new MyOdluxBundle();
- b.setLoader(loader);
- b.setIndex(0);
- b.setBundleName("abc");
- b.initialize();
- assertTrue(loader.getNumberOfBundles() == 1);
- assertNotNull(b.getLoader());
- assertEquals("abc",b.getBundleName());
- assertTrue(b.hasResource("test.js"));
- assertNotNull(b.getResourceFileContent("test.js"));
- b.clean();
- assertTrue(loader.getNumberOfBundles() == 0);
- }
-
-}
diff --git a/sdnr/wt/odlux/apps/apiDemo/src2/test/resources/test.js b/sdnr/wt/odlux/apps/apiDemo/src2/test/resources/test.js
deleted file mode 100644
index b47fdc39f..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/src2/test/resources/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-asdac sad
-as
-d
-sad
- sadfa \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/apiDemo/tsconfig.json b/sdnr/wt/odlux/apps/apiDemo/tsconfig.json
deleted file mode 100644
index a66b5d828..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/tsconfig.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./src",
- "outDir": "./dist",
- "sourceMap": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": false,
- "allowUnreachableCode": false,
- "allowUnusedLabels": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "pretty": true,
- "newLine": "LF",
- "module": "es2015",
- "target": "es2016",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "jsx": "preserve",
- "lib": [
- "dom",
- "es2015",
- "es2016"
- ],
- "types": [
- "prop-types",
- "react",
- "react-dom"
- ]
- },
- "exclude": [
- "dist",
- "node_modules"
- ]
-}
diff --git a/sdnr/wt/odlux/apps/apiDemo/webpack.config.js b/sdnr/wt/odlux/apps/apiDemo/webpack.config.js
deleted file mode 100644
index 1c699e15b..000000000
--- a/sdnr/wt/odlux/apps/apiDemo/webpack.config.js
+++ /dev/null
@@ -1,139 +0,0 @@
-/**
- * Webpack 4 configuration file
- * see https://webpack.js.org/configuration/
- * see https://webpack.js.org/configuration/dev-server/
- */
-
-"use strict";
-
-const path = require("path");
-const webpack = require("webpack");
-const CopyWebpackPlugin = require("copy-webpack-plugin");
-const TerserPlugin = require('terser-webpack-plugin');
-
-// const __dirname = (path => path.replace(/^([a-z]\:)/, c => c.toUpperCase()))(process.__dirname());
-
-module.exports = (env) => {
- const distPath = path.resolve(__dirname, env === "release" ? "." : "../..", "dist");
- const frameworkPath = path.resolve(__dirname, env === "release" ? "../../framework" : "../..", "dist");
- return [{
- name: "App",
-
- mode: "none", //disable default behavior
-
- target: "web",
-
- context: path.resolve(__dirname, "src"),
-
- entry: {
- apiDemo: ["./plugin.tsx"]
- },
-
- devtool: env === "release" ? false : "source-map",
-
- resolve: {
- extensions: [".ts", ".tsx", ".js", ".jsx"]
- },
-
- output: {
- path: distPath,
- filename: "[name].js",
- library: "[name]",
- libraryTarget: "umd2",
- chunkFilename: "[name].js"
- },
- module: {
- rules: [{
- test: /\.tsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }, {
- loader: "ts-loader"
- }]
- }, {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }]
- }]
- },
- optimization: {
- noEmitOnErrors: true,
- namedModules: env !== "release",
- minimize: env === "release",
- minimizer: env !== "release" ? [] : [new TerserPlugin({
- terserOptions: {
- warnings: false, // false, true, "verbose"
- compress: {
- drop_console: true,
- drop_debugger: true,
- }
- }
- })],
- },
- plugins: [
- // new CopyWebpackPlugin([{
- // from: '../../../dist/**.*',
- // to: path.resolve(__dirname, "dist")
- // }]),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
- ...(env === "release") ? [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'production'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- })
- ] : [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'development'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- new CopyWebpackPlugin([{
- from: 'index.html',
- to: distPath
- }]),
- ]
- ],
-
- devServer: {
- public: "http://localhost:3100",
- contentBase: frameworkPath,
-
- compress: true,
- headers: {
- "Access-Control-Allow-Origin": "*"
- },
- host: "0.0.0.0",
- port: 3100,
- disableHostCheck: true,
- historyApiFallback: true,
- inline: true,
- hot: false,
- quiet: false,
- stats: {
- colors: true
- },
- proxy: {
- "/restconf/**/*": {
- target: "https://dlux.just-run.it",
- secure: false,
- changeOrigin: true
- }
- }
- }
- }];
-}
diff --git a/sdnr/wt/odlux/apps/app-feature/pom.xml b/sdnr/wt/odlux/apps/app-feature/pom.xml
deleted file mode 100644
index adce6315b..000000000
--- a/sdnr/wt/odlux/apps/app-feature/pom.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- * ============LICENSE_START=======================================================
- * ONAP : CCSDK.feature.sdnr.wt * ================================================================================
- * Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- * All rights reserved. * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); * you may
- not use this file except in compliance with the License. * You may obtain
- a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
- * Unless required by applicable law or agreed to in writing, software * distributed
- under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES
- OR CONDITIONS OF ANY KIND, either express or implied. * See the License for
- the specific language governing permissions and * limitations under the License.
- * ============LICENSE_END========================================================= -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>single-feature-parent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-apps-feature</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>feature</packaging>
-
- <name>ccsdk-features-sdnr-wt :: ${project.artifactId} :: feature</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-connectApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-faultApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-helpApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-inventoryApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-mediatorApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-maintenanceApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-performanceHistoryApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-configurationApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-</project>
diff --git a/sdnr/wt/odlux/apps/app-installer/pom.xml b/sdnr/wt/odlux/apps/app-installer/pom.xml
deleted file mode 100755
index 136bfc26f..000000000
--- a/sdnr/wt/odlux/apps/app-installer/pom.xml
+++ /dev/null
@@ -1,150 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-apps-installer</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <properties>
- <application.name>sdnr-wt-odlux-apps</application.name>
- <include.transitive.dependencies>false</include.transitive.dependencies>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>${application.name}-feature</artifactId>
- <version>${project.version}</version>
- <type>xml</type>
- <classifier>features</classifier>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-apiDemo</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-connectApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-demoApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-faultApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-helpApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-inventoryApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-minimumApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-mediatorApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-maintenanceApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-performanceHistoryApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-app-configurationApp</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>maven-repo-zip</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <attach>true</attach>
- <finalName>stage/${application.name}-${project.version}</finalName>
- <descriptors>
- <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
- </descriptors>
- <appendAssemblyId>true</appendAssemblyId>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-nested-dependencies</id>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <phase>prepare-package</phase>
- <configuration>
- <transitive>true</transitive>
- <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- <useRepositoryLayout>true</useRepositoryLayout>
- <addParentPoms>false</addParentPoms>
- <copyPom>false</copyPom>
- <!--<includeArtifactIds>sdnr-wt-apigateway-provider,${application.name}</includeArtifactIds> -->
- <!--<scope>provided</scope> -->
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/app-installer/src/assembly/assemble_mvnrepo_zip.xml b/sdnr/wt/odlux/apps/app-installer/src/assembly/assemble_mvnrepo_zip.xml
deleted file mode 100644
index c4eb9aa25..000000000
--- a/sdnr/wt/odlux/apps/app-installer/src/assembly/assemble_mvnrepo_zip.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<!--
- ============LICENSE_START=======================================================
- ONAP : CCSDK
- ================================================================================
- Copyright (C) 2017 AT&T Intellectual Property. All rights
- reserved.
- ================================================================================
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- ============LICENSE_END=========================================================
- -->
-
-<!-- Defines how we build the .zip file which is our distribution. -->
-
-<assembly
- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
- <id>repo</id>
- <formats>
- <format>zip</format>
- </formats>
-
- <!-- we want "system" and related files right at the root level
- as this file is suppose to be unzip on top of a karaf
- distro. -->
- <includeBaseDirectory>false</includeBaseDirectory>
-
- <fileSets>
- <fileSet>
- <directory>target/assembly/</directory>
- <outputDirectory>.</outputDirectory>
- <excludes>
- </excludes>
- </fileSet>
- </fileSets>
-
-
-
-</assembly>
diff --git a/sdnr/wt/odlux/apps/configurationApp/.babelrc b/sdnr/wt/odlux/apps/configurationApp/.babelrc
deleted file mode 100644
index 3d8cd1260..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/.babelrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "presets": [
- ["@babel/preset-react"],
- ["@babel/preset-env", {
- "targets": {
- "chrome": "66"
- },
- "spec": true,
- "loose": false,
- "modules": false,
- "debug": false,
- "useBuiltIns": "usage",
- "forceAllTransforms": true
- }]
- ],
- "plugins": []
-}
diff --git a/sdnr/wt/odlux/apps/configurationApp/package.json b/sdnr/wt/odlux/apps/configurationApp/package.json
deleted file mode 100644
index a0df50579..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/package.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "name": "@odlux/configuration-app",
- "version": "0.1.0",
- "description": "A react based modular UI for the configuration app.",
- "main": "index.js",
- "scripts": {
- "start": "webpack-dev-server --env debug",
- "build": "webpack --env release --config webpack.config.js",
- "build:dev": "webpack --env debug --config webpack.config.js"
- },
- "repository": {
- "type": "git",
- "url": "https://git.mfico.de/highstreet-technologies/odlux.git"
- },
- "keywords": [
- "reactjs",
- "redux",
- "ui",
- "framework"
- ],
- "author": "Matthias Fischer",
- "license": "Apache-2.0",
- "dependencies": {
- "@odlux/framework": "*"
- },
- "peerDependencies": {
- "@types/react": "16.4.14",
- "@types/react-dom": "16.0.8",
- "@types/react-router-dom": "4.3.1",
- "@material-ui/core": "3.8.3",
- "@material-ui/icons": "3.0.2",
- "@types/classnames": "2.2.6",
- "@types/flux": "3.1.8",
- "@types/jquery": "3.3.10",
- "jquery": "3.3.1",
- "react": "16.5.2",
- "react-dom": "16.5.2",
- "react-router-dom": "4.3.1"
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/configurationApp/pom.xml b/sdnr/wt/odlux/apps/configurationApp/pom.xml
deleted file mode 100644
index 28d035b07..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/pom.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-app-configurationApp</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnr-wt-odlux-app-configurationApp</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-provider</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <pluginRepositories>
- <pluginRepository>
- <id>highstreet repo</id>
- <url>https://cloud-highstreet-technologies.com/mvn/</url>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <sourceDirectory>src2/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>dist</directory>
- <targetPath>odlux</targetPath>
- </resource>
- <resource>
- <directory>src2/main/resources</directory>
- </resource>
- <resource>
- <directory>src2/test/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>../node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <!-- eclipse bug build bin folder in basedir -->
- <fileset>
- <directory>bin</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src2/test/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>de.jacksitlab</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <!-- optional: default phase is "generate-resources" -->
- <phase>initialize</phase>
- <configuration>
- <nodeVersion>v8.10.0</nodeVersion>
- <yarnVersion>v1.12.3</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>run build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
- <Private-Package/>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/actions/configurationActions.ts b/sdnr/wt/odlux/apps/configurationApp/src/actions/configurationActions.ts
deleted file mode 100644
index 9a4c92bc6..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src/actions/configurationActions.ts
+++ /dev/null
@@ -1,154 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { Dispatch } from '../../../../framework/src/flux/store';
-
-import { CoreModelNetworkElement, LpResponse } from '../models/coreModel';
-import configurationService, { getValueByName } from '../services/configurationService';
-import { ViewSpecification } from 'models/uiModels';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import { AddSnackbarNotification } from '../../../../framework/src/actions/snackbarActions';
-
-export class ConfigurationApplicationBaseAction extends Action { }
-
-export class UpdateLoading extends ConfigurationApplicationBaseAction {
- constructor (public loading: boolean) {
- super();
-
- }
-}
-
-export class UpdateCoreModel extends ConfigurationApplicationBaseAction {
- constructor (public nodeId?: string, public coreModel?: CoreModelNetworkElement) {
- super();
-
- }
-}
-
-export class UpdateLp extends ConfigurationApplicationBaseAction {
- constructor (public lpId?: string, public capability?: string, public conditionalPackage?: string, public viewSpecifications: ViewSpecification[] = []) {
- super();
-
- }
-}
-
-export class UpdateViewData extends ConfigurationApplicationBaseAction {
- constructor (public viewId?: string, public indexValues: string = "", public viewData: {} = {}) {
- super();
-
- }
-}
-
-
-export const updateMountIdAsyncActionCreator = (nodeId: string | undefined) => async (dispatch: Dispatch) => {
- if (!nodeId) {
- dispatch(new UpdateCoreModel());
- return;
- }
- dispatch(new UpdateLoading(true));
- const coreModel = await configurationService.getCoreModelByNodeId(nodeId);
- dispatch(new UpdateLoading(false));
-
- return coreModel
- ? dispatch(new UpdateCoreModel(nodeId, coreModel))
- : dispatch(new UpdateCoreModel());
-}
-
-export const updateLpIdAsyncActionCreator = (lpId: string | undefined) => async (dispatch: Dispatch, getState: () => IApplicationStoreState) => {
- const { configuration: { coreModel: coreModel, nodeId: nodeId } } = getState();
- if (! nodeId || !lpId || !coreModel) {
- dispatch(new UpdateLp());
- return;
- }
-
- // find the lp with its unique uuid
- let lpData: LpResponse | null = null;
- for (let ltp of coreModel.ltp) {
- const lp = ltp.lp.find(pl => pl.uuid === lpId);
- if (lp) {
- lpData = lp;
- break;
- }
- }
-
- // urn:onf:params:xml:ns:yang:microwave-model?module=microwave-model => microwave-model
- let capability: string | null = lpData && getValueByName("capability", lpData.extension, null);
- if (capability) {
- const paramIndex = capability.indexOf('?');
- if (paramIndex > -1) {
- capability = capability.slice(paramIndex+1);
- }
- const params = capability.split("&").map(p => (p || "=").split("="));
- const capParam = params.find(p => p[0] === "module") || null;
- capability = capParam && capParam[1] || null;
- }
-
- const revision: string | null = lpData && getValueByName("revision", lpData.extension, null);
- const conditionalPackage: string | null = lpData && getValueByName("conditional-package", lpData.extension, null);
-
- dispatch(new UpdateLoading(true));
- const viewSpecifications = capability && await configurationService.getUIDescriptionByCapability(capability, revision) || [];
- dispatch(new UpdateLoading(false));
-
- return coreModel ?
- dispatch(new UpdateLp(lpId, capability || undefined, conditionalPackage || undefined, viewSpecifications)) :
- dispatch(new UpdateLp());
-}
-
-export const updateViewDataAsyncActionCreator = (viewId: string | undefined, indexValues: string[] = []) => async (dispatch: Dispatch, getState: () => IApplicationStoreState) => {
- const { configuration: { nodeId, lpId, capability, conditionalPackage, viewSpecifications } } = getState();
- if (!viewId || !capability || !nodeId || !lpId || !conditionalPackage) {
- // dispatch(new AddSnackbarNotification({ message: `Error invalid parameter !${JSON.stringify({capability ,nodeId ,lpId ,conditionalPackage}, null,2)}`, options: { variant: 'error' } }));
- dispatch(new UpdateViewData());
- return;
- }
-
- const viewSpecification = viewSpecifications.find(desc => desc.id === viewId);
- if (!viewSpecification) {
- dispatch(new AddSnackbarNotification({ message: `Error viewId ${viewId} not found !`, options: { variant: 'error' } }));
- dispatch(new UpdateViewData());
- return;
- }
-
- const url = viewSpecification.url.replace(/\$\$NODEID\$\$/g, nodeId).replace(/\$\$LPUUID\$\$/g, lpId);
-
- dispatch(new UpdateLoading(true));
- const data = capability && await configurationService.getViewData(url) || { };
- dispatch(new UpdateLoading(false));
-
- let viewData: { [path: string]: {} } = data;
-
- const pathElements = viewSpecification.dataPath &&
- viewSpecification.dataPath.replace(
- /\/\$\$INDEX:(\d+):?([a-z\-]+)?\$\$/ig,
- (_, indexStr, keyStr) => {
- const index = +indexStr;
- return indexValues[index] && '/' + indexValues[index] || '';
- }).split("/") || [];
-
- for (let path of pathElements) {
- if (path === "") {
- break;
- }
- viewData = viewData[path];
- }
-
- return viewData != null ?
- dispatch(new UpdateViewData(viewId, indexValues.length > 0 ? indexValues.join("/") : "", viewData)) :
- dispatch(new UpdateViewData());
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/assets/microwave-model@2017-03-24.json b/sdnr/wt/odlux/apps/configurationApp/src/assets/microwave-model@2017-03-24.json
deleted file mode 100644
index 5e0165e4f..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src/assets/microwave-model@2017-03-24.json
+++ /dev/null
@@ -1,6678 +0,0 @@
-{
- "module": "microwave-model",
- "revision": "2017-03-24",
- "views": [
- {
- "id": "d1e2181",
- "parentView": "",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$",
- "dataPath": "",
- "name": "mw-air-interface-pac",
- "language": "en-US",
- "title": "mw-air-interface-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "comment": "Please ignore this elements with field /leafrefPath/ for now.",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "air-interface-capability",
- "label": "air-interface-capability",
- "uiType": "object",
- "viewId": "d1e2199",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-configuration",
- "label": "air-interface-configuration",
- "uiType": "object",
- "viewId": "d1e2212",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-status",
- "label": "air-interface-status",
- "uiType": "object",
- "viewId": "d1e2223",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-current-problems",
- "label": "air-interface-current-problems",
- "uiType": "object",
- "viewId": "d1e2237",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-current-performance",
- "label": "air-interface-current-performance",
- "uiType": "object",
- "viewId": "d1e2250",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-historical-performances",
- "label": "air-interface-historical-performances",
- "uiType": "object",
- "viewId": "d1e2263",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e2199",
- "parentView": "d1e2181",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-capability",
- "dataPath": "air-interface-capability",
- "name": "air-interface-capability",
- "language": "en-US",
- "title": "air-interface-capability",
- "elements": [
- {
- "id": "type-of-equipment",
- "label": "type-of-equipment",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "This parameter indicates the equipment type. Instead of uploading the complete set of capabilities, capabilities of the same equipment type could be reused. Should be unique for a combination of modem, radio and their respective firmware."
- },
- {
- "id": "tx-frequency-min",
- "label": "tx-frequency-min",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the minimum transmit frequency tunable at the air interface."
- },
- {
- "id": "tx-frequency-max",
- "label": "tx-frequency-max",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the maximum transmit frequency tunable at the air interface."
- },
- {
- "id": "rx-frequency-min",
- "label": "rx-frequency-min",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the minimum receive frequency tunable at the air interface."
- },
- {
- "id": "rx-frequency-max",
- "label": "rx-frequency-max",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the maximum receive frequency tunable at the air interface."
- },
- {
- "id": "adaptive-modulation-is-avail",
- "label": "adaptive-modulation-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the device is capable of adaptive modulation, this field shall contain a 'true'."
- },
- {
- "id": "mimo-is-avail",
- "label": "mimo-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the device is capable of MIMO, this field shall contain a 'true'."
- },
- {
- "id": "mimo-channels",
- "label": "mimo-channels",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "channels",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum number (n) of spatial multiplexing streams that can be conveyed by an n x n MIMO configuration."
- },
- {
- "id": "alic-is-avail",
- "label": "alic-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the microwave radio is capable of Adjacent Link Interference Cancelation (canceling of interference cause by transmitters located at the same site), this field shall contain a 'true'."
- },
- {
- "id": "atpc-is-avail",
- "label": "atpc-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the microwave radio is capable of ATPC, this field shall contain a 'true'."
- },
- {
- "id": "atpc-range",
- "label": "atpc-range",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Extent of the ATPC range."
- },
- {
- "id": "encryption-is-avail",
- "label": "encryption-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Shall be marked 'true', if payload encryption is available."
- },
- {
- "id": "maintenance-timer-range",
- "label": "maintenance-timer-range",
- "uiType": "string",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available time periods for maintenance configurations (e.g. the loop back of microwave header information) to be described. Concrete values shall be separated by commas (e.g. '10, 60, 360'). Ranges shall be expressed as two values separated by a minus (e.g. '10-360')."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'signalIsLost','rslIsExceeded','temperatureIsExceeded','modemIsFaulty','radioIsFaulty' and 'modulationIsDownShifted'. Further alarms might be added by the device. Names are to be separated by commas."
- },
- {
- "id": "supported-loop-back-kind-list",
- "label": "supported-loop-back-kind-list",
- "uiType": "selection",
- "options": [
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of supported kinds of looping back of header information to the remote site."
- },
- {
- "id": "supported-channel-plan-list",
- "label": "supported-channel-plan-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e2528",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of channel spacing that are supported by the device."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e2528",
- "parentView": "d1e2199",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-capability",
- "dataPath": "air-interface-capability/supported-channel-plan-list/$$INDEX:0:supported-channel-plan$$",
- "name": "supported-channel-plan-list",
- "language": "en-US",
- "title": "supported-channel-plan-list",
- "elements": [
- {
- "id": "supported-channel-plan",
- "label": "supported-channel-plan",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique name (e.g. ECC/REC/(01)04_Annex 5) of a document, which describes a frequency grid that can be adjusted at the air interface. Corresponding channel plans to be delivered by the hardware vendor and to be stored by the operator in an controller/application attached database."
- },
- {
- "id": "duplex-distance-is-variable",
- "label": "duplex-distance-is-variable",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "To be set on 'true', if the distance between transmitted and received frequency is variable."
- },
- {
- "id": "duplex-distance",
- "label": "duplex-distance",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Distance between transmitted and received frequency."
- },
- {
- "id": "auto-freq-select-is-avail",
- "label": "auto-freq-select-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the microwave radio is capable of automatically selecting the transmit frequency in unlicensed bands, this field shall contain a 'true'."
- },
- {
- "id": "transmission-mode-list",
- "label": "transmission-mode-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e217",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "List of channel spacing that are supported by the device."
- },
- {
- "id": "d1e217",
- "parentView": "d1e2528",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-capability",
- "dataPath": "air-interface-capability/supported-channel-plan-list/$$INDEX:0:supported-channel-plan$$/transmission-mode-list/$$INDEX:1:transmission-mode-id$$",
- "name": "transmission-mode-list",
- "language": "en-US",
- "title": "transmission-mode-list",
- "elements": [
- {
- "id": "transmission-mode-id",
- "label": "transmission-mode-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Indentifies the transmissionMode for internal reference."
- },
- {
- "id": "channel-bandwidth",
- "label": "channel-bandwidth",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Bandwidth of the transmit channel. The value shall be expressed explicitly (means in kHz) not as a reference to an international agreement. The values shall be chosen from the following _list: 3.500, 7.000, 14.000, 27.500, 28.000, 29.000, 29.650, 30.000, 40.000, 50.000, 55.000, 56.000, 59.300, 60.000, 80.000, 100.000, 112.000, 120.000, 150.000, 200.000, 250.000, 500.000, 750.000, 1.000.000, 1.250.000, 1.500.000, 1.750.000, 2.000.000;"
- },
- {
- "id": "modulation-scheme",
- "label": "modulation-scheme",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Modulation scheme, which is base to the other characteristics described in the same transmissionModeType data type. The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256')."
- },
- {
- "id": "code-rate",
- "label": "code-rate",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "%",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Code rate of the coding scheme in % (Net bit rate ? Gross bit rate ? code rate)."
- },
- {
- "id": "tx-power-min",
- "label": "tx-power-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the minimum transmit power the modem can operate in dBm."
- },
- {
- "id": "tx-power-max",
- "label": "tx-power-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the maximum transmit power the modem can operate in dBm."
- },
- {
- "id": "rx-threshold",
- "label": "rx-threshold",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the receive level required to decode the received signal with a Bit Error Rate of 1e-6 or less."
- },
- {
- "id": "am-upshift-level",
- "label": "am-upshift-level",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the receive level that has to be exceeded to shift into a higher modulation scheme."
- },
- {
- "id": "am-downshift-level",
- "label": "am-downshift-level",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the receive level that has to be exceeded for not shifting into a lower modulation scheme."
- },
- {
- "id": "xpic-is-avail",
- "label": "xpic-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case this air interface type is capable of XPIC, this field shall contain a 'true'. This information shall purely relate to capabilities of the equipment type, but not to the operational capability of a specific hardware composition on site. Means for example that this attribute might contain a 'true' statement, even if an additional cable would have been required to actually operate XPIC in a specific case."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e2212",
- "parentView": "d1e2181",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-configuration",
- "dataPath": "air-interface-configuration",
- "name": "air-interface-configuration",
- "language": "en-US",
- "title": "air-interface-configuration",
- "elements": [
- {
- "id": "air-interface-name",
- "label": "air-interface-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Operator specific microwave link ID (often used for coding area, type of element and sequential number)."
- },
- {
- "id": "radio-signal-id",
- "label": "radio-signal-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The radioSignalId is transmitted on the air interface so the remote site of the link synchronizes on the correct transmitter. The local radio MUST NOT synchronize on a radio signal with a different radioSignalId. The link ID is neither an ID necessary to span the model nor an ID referencing external data. It is just some sort of name of the link transmitted so the correct remote site can be identified in an interference situation. The value zero might be used to make the microwave to disable the link ID check."
- },
- {
- "id": "tx-frequency",
- "label": "tx-frequency",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the transmit channel. The values to be configured have to exactly match the values listed in the international agreement referenced in channelPlanID. In case of automated selection of the transmit frequency this field shall describe the lowest center frequency selectable."
- },
- {
- "id": "rx-frequency",
- "label": "rx-frequency",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the receive channel."
- },
- {
- "id": "tx-channel-bandwidth",
- "label": "tx-channel-bandwidth",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Bandwidth of the transmit channel. The value shall be expressed explicitly (means in kHz) not as a reference to an international agreement. The values shall be chosen from the following _list: 3.500, 7.000, 14.000, 27.500, 28.000, 29.000, 29.650, 30.000, 40.000, 50.000, 55.000, 56.000, 59.300, 60.000, 80.000, 100.000, 112.000, 120.000, 150.000, 200.000, 250.000, 500.000, 750.000, 1.000.000, 1.250.000, 1.500.000, 1.750.000, 2.000.000;"
- },
- {
- "id": "rx-channel-bandwidth",
- "label": "rx-channel-bandwidth",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Bandwidth of the receive channel. The value shall be expressed explicitly (means in kHz) not as a reference to an international agreement. The values shall be chosen from the following _list: 3.500, 7.000, 14.000, 27.500, 28.000, 29.000, 29.650, 30.000, 40.000, 50.000, 55.000, 56.000, 59.300, 60.000, 80.000, 100.000, 112.000, 120.000, 150.000, 200.000, 250.000, 500.000, 750.000, 1.000.000, 1.250.000, 1.500.000, 1.750.000, 2.000.000;"
- },
- {
- "id": "polarization",
- "label": "polarization",
- "uiType": "selection",
- "options": [
- {
- "key": "not-specified",
- "value": "not-specified",
- "description": "none"
- },
- {
- "key": "horizontal",
- "value": "horizontal",
- "description": "none"
- },
- {
- "key": "vertical",
- "value": "vertical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Allows documenting the polarization of the air interface."
- },
- {
- "id": "power-is-on",
- "label": "power-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Power ON. Activation of the entire radio in a split mount configuration shall be expressed as a 'true'."
- },
- {
- "id": "transmitter-is-on",
- "label": "transmitter-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of the transmitter inside the radio shall be expressed as a 'true'."
- },
- {
- "id": "receiver-is-on",
- "label": "receiver-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maintenance Feature. Activation of the receiver inside the radio shall be expressed as a 'true'. Attribute shall also be used for RX main and RX diversity squelches in case of diversity configurations."
- },
- {
- "id": "tx-power",
- "label": "tx-power",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Transmit power to be configured on the microwave link. Signed Byte is required. The actually operated transmit power might be lower depending on adaptive modulation and ATPC."
- },
- {
- "id": "adaptive-modulation-is-on",
- "label": "adaptive-modulation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Adaptive Modulation. Activation of adaptive modulation shall be expressed as a 'true'."
- },
- {
- "id": "modulation-min",
- "label": "modulation-min",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum modulation to be configured (in case adaptive modulation is not used, this value represents also the fixed modulation). The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256'). Allowed values are defined in TypeDefinitions::transmissionModeType::modulationScheme."
- },
- {
- "id": "modulation-max",
- "label": "modulation-max",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum modulation to be configured. The value of this field is only relevant, if Adaptive Modulation has been activated. The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256'). Allowed values are defined in TypeDefinitions::transmissionModeType::modulationScheme."
- },
- {
- "id": "xpic-is-on",
- "label": "xpic-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of Cross Polarization Interference Cancelation shall be expressed as a 'true'. In case XPIC is not available for the current combination of channel bandwidth and modulation or the hardware in general, this parameter shall always be set to 'false'."
- },
- {
- "id": "mimo-is-on",
- "label": "mimo-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of Multiple Input Multiple Output (MIMO) shall be expressed as a 'true'."
- },
- {
- "id": "alic-is-on",
- "label": "alic-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of Adjacent Link Interference Cancelation (ALIC) shall be expressed as a 'true'."
- },
- {
- "id": "atpc-is-on",
- "label": "atpc-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ATPC. Activation of Automated Transmit Power Control shall be expressed as a 'true'."
- },
- {
- "id": "atpc-thresh-upper",
- "label": "atpc-thresh-upper",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If the receive level is higher than the upper threshold value, the transmitter is notified to decrease transmit power."
- },
- {
- "id": "atpc-thresh-lower",
- "label": "atpc-thresh-lower",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If the receive level is lower than the lower threshold value, the transmitter is notified to increase transmit power."
- },
- {
- "id": "auto-freq-select-is-on",
- "label": "auto-freq-select-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of automatically selecting the transmit frequency in unlicensed bands shall be expressed as a 'true'."
- },
- {
- "id": "auto-freq-select-range",
- "label": "auto-freq-select-range",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "channels",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of transmit channels (starting at the center frequency defined in txFrequency and with channel bandwidth according to txChannelBandwidth) that define the range within the transmit frequency can automatically been chosen."
- },
- {
- "id": "modulation-is-on",
- "label": "modulation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maintenance Feature. De-activation of the modulation of the carrier signal for fault management shall be expressed as a 'false'."
- },
- {
- "id": "encryption-is-on",
- "label": "encryption-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activates encryption of the payload."
- },
- {
- "id": "cryptographic-key",
- "label": "cryptographic-key",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Key for transforming plaintext into ciphertext data."
- },
- {
- "id": "loop-back-kind-on",
- "label": "loop-back-kind-on",
- "uiType": "selection",
- "options": [
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maintenance Feature. The currently configured type of looping back of the air interface header shall be expressed here. The received header is returned to the remote site."
- },
- {
- "id": "maintenance-timer",
- "label": "maintenance-timer",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time of existence of any maintenance configuration (e.g. the loop back of microwave header information). Valid values are defined in AirInterface::AirInterfaceCapability::maintenanceTimerRange."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e2931",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e2931",
- "parentView": "d1e2212",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-configuration",
- "dataPath": "air-interface-configuration/problem-kind-severity-list/$$INDEX:0:problem-kind-name$$",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterface::AirInterfaceCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the problem to be configured."
- },
- {
- "id": "d1e2223",
- "parentView": "d1e2181",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-status",
- "dataPath": "air-interface-status",
- "name": "air-interface-status",
- "language": "en-US",
- "title": "air-interface-status",
- "elements": [
- {
- "id": "tx-frequency-cur",
- "label": "tx-frequency-cur",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the currently operated transmit channel."
- },
- {
- "id": "rx-frequency-cur",
- "label": "rx-frequency-cur",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the currently operated receive channel."
- },
- {
- "id": "tx-level-cur",
- "label": "tx-level-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current transmit level."
- },
- {
- "id": "rx-level-cur",
- "label": "rx-level-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current receive level."
- },
- {
- "id": "modulation-cur",
- "label": "modulation-cur",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently operated modulation on transmit path. The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256'). Allowed values are defined in TypeDefinitions::transmissionModeType::modulationScheme."
- },
- {
- "id": "code-rate-cur",
- "label": "code-rate-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "%",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Code rate of the currently operated coding scheme (Net bit rate ? Gross bit rate ? code rate)."
- },
- {
- "id": "snir-cur",
- "label": "snir-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently measured signal to (noise+interference) ratio."
- },
- {
- "id": "xpd-cur",
- "label": "xpd-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently measured cross polarization discrimination."
- },
- {
- "id": "rf-temp-cur",
- "label": "rf-temp-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "Celsius",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Air Interface entered its current operational status."
- },
- {
- "id": "radio-power-is-up",
- "label": "radio-power-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If the radio unit has power and is switched on, this shall be expressed as a 'true'."
- },
- {
- "id": "link-is-up",
- "label": "link-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If connection is established to the remote site with the same linkID, this shall be expressed as a 'true'."
- },
- {
- "id": "xpic-is-up",
- "label": "xpic-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If XPIC is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "mimo-is-up",
- "label": "mimo-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If MIMO is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "alic-is-up",
- "label": "alic-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If Adjacent Link Interference Cancelation (ALIC) is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "atpc-is-up",
- "label": "atpc-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If ATPC is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "auto-freq-select-is-up",
- "label": "auto-freq-select-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If automated frequency selection is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "loop-back-kind-up",
- "label": "loop-back-kind-up",
- "uiType": "selection",
- "options": [
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The currently active (not just configured) type of looping back of the air interface header shall be expressed here. The received header is returned to the remote site."
- },
- {
- "id": "local-end-point-id",
- "label": "local-end-point-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The value of the localEndPointId is a vendor specific identifier of the air interface, used by the node to discover a microwave radio link."
- },
- {
- "id": "remote-end-point-id",
- "label": "remote-end-point-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The value of the remoteEndPointId is a vendor specific identifier or the airinterface at the remote side, used to by the node to discover a microwave radio link."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e2237",
- "parentView": "d1e2181",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-current-problems",
- "dataPath": "air-interface-current-problems",
- "name": "air-interface-current-problems",
- "language": "en-US",
- "title": "air-interface-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e3286",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3286",
- "parentView": "d1e2237",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-current-problems",
- "dataPath": "air-interface-current-problems/current-problem-list/$$INDEX:0:sequence-number$$",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterface::AirInterfaceCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e2250",
- "parentView": "d1e2181",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-current-performance",
- "dataPath": "air-interface-current-performance",
- "name": "air-interface-current-performance",
- "language": "en-US",
- "title": "air-interface-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e3310",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3310",
- "parentView": "d1e2250",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-current-performance",
- "dataPath": "air-interface-current-performance/current-performance-data-list/$$INDEX:0:scanner-id$$",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "d1e1232",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- },
- {
- "id": "d1e1232",
- "parentView": "d1e3310",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-current-performance",
- "dataPath": "air-interface-current-performance/current-performance-data-list/$$INDEX:0:scanner-id$$/performance-data",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "es",
- "label": "es",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of errored seconds."
- },
- {
- "id": "ses",
- "label": "ses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of severely errored seconds."
- },
- {
- "id": "cses",
- "label": "cses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of consecutive severely errored seconds."
- },
- {
- "id": "unavailability",
- "label": "unavailability",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total time of unavailability in seconds."
- },
- {
- "id": "tx-level-min",
- "label": "tx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum transmit power. Signed integers are required."
- },
- {
- "id": "tx-level-max",
- "label": "tx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum transmit power. Signed integers are required."
- },
- {
- "id": "tx-level-avg",
- "label": "tx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged transmit power. Signed integers are required."
- },
- {
- "id": "rx-level-min",
- "label": "rx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum receive level. Signed integers are required."
- },
- {
- "id": "rx-level-max",
- "label": "rx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum receive level. Signed integers are required."
- },
- {
- "id": "rx-level-avg",
- "label": "rx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged receive level. Signed integers are required."
- },
- {
- "id": "time2-states",
- "label": "time2-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Sum of all seconds the transmitter operated in e.g. BPSK."
- },
- {
- "id": "time4-states-s",
- "label": "time4-states-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4-states",
- "label": "time4-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8-states",
- "label": "time8-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time16-states-s",
- "label": "time16-states-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time16-states",
- "label": "time16-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time32-states",
- "label": "time32-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time64-states",
- "label": "time64-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time128-states",
- "label": "time128-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time256-states",
- "label": "time256-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time512-states",
- "label": "time512-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time512-states-l",
- "label": "time512-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time1024-states",
- "label": "time1024-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time1024-states-l",
- "label": "time1024-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time2048-states",
- "label": "time2048-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time2048-states-l",
- "label": "time2048-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4096-states",
- "label": "time4096-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4096-states-l",
- "label": "time4096-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8192-states",
- "label": "time8192-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8192-states-l",
- "label": "time8192-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "snir-min",
- "label": "snir-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum signal to (noise+interference) ratio."
- },
- {
- "id": "snir-max",
- "label": "snir-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum signal to (noise+interference) ratio."
- },
- {
- "id": "snir-avg",
- "label": "snir-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged signal to (noise+interference) ratio."
- },
- {
- "id": "xpd-min",
- "label": "xpd-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum cross polarization discrimination."
- },
- {
- "id": "xpd-max",
- "label": "xpd-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum cross polarization discrimination."
- },
- {
- "id": "xpd-avg",
- "label": "xpd-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged cross polarization discrimination."
- },
- {
- "id": "rf-temp-min",
- "label": "rf-temp-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lowest temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "rf-temp-max",
- "label": "rf-temp-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Highest temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "rf-temp-avg",
- "label": "rf-temp-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "defect-blocks-sum",
- "label": "defect-blocks-sum",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "blocks",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of blocks that were defect after receiving and could not be corrected by the FEC."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e2263",
- "parentView": "d1e2181",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-historical-performances",
- "dataPath": "air-interface-historical-performances",
- "name": "air-interface-historical-performances",
- "language": "en-US",
- "title": "air-interface-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e3339",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3339",
- "parentView": "d1e2263",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-historical-performances",
- "dataPath": "air-interface-historical-performances/historical-performance-data-list/$$INDEX:0:history-data-id$$",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "d1e1256",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e1256",
- "parentView": "d1e3339",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPUUID$$/air-interface-historical-performances",
- "dataPath": "air-interface-historical-performances/historical-performance-data-list/$$INDEX:0:history-data-id$$/performance-data",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "es",
- "label": "es",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of errored seconds."
- },
- {
- "id": "ses",
- "label": "ses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of severely errored seconds."
- },
- {
- "id": "cses",
- "label": "cses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of consecutive severely errored seconds."
- },
- {
- "id": "unavailability",
- "label": "unavailability",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total time of unavailability in seconds."
- },
- {
- "id": "tx-level-min",
- "label": "tx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum transmit power. Signed integers are required."
- },
- {
- "id": "tx-level-max",
- "label": "tx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum transmit power. Signed integers are required."
- },
- {
- "id": "tx-level-avg",
- "label": "tx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged transmit power. Signed integers are required."
- },
- {
- "id": "rx-level-min",
- "label": "rx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum receive level. Signed integers are required."
- },
- {
- "id": "rx-level-max",
- "label": "rx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum receive level. Signed integers are required."
- },
- {
- "id": "rx-level-avg",
- "label": "rx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged receive level. Signed integers are required."
- },
- {
- "id": "time2-states",
- "label": "time2-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Sum of all seconds the transmitter operated in e.g. BPSK."
- },
- {
- "id": "time4-states-s",
- "label": "time4-states-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4-states",
- "label": "time4-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8-states",
- "label": "time8-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time16-states-s",
- "label": "time16-states-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time16-states",
- "label": "time16-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time32-states",
- "label": "time32-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time64-states",
- "label": "time64-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time128-states",
- "label": "time128-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time256-states",
- "label": "time256-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time512-states",
- "label": "time512-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time512-states-l",
- "label": "time512-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time1024-states",
- "label": "time1024-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time1024-states-l",
- "label": "time1024-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time2048-states",
- "label": "time2048-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time2048-states-l",
- "label": "time2048-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4096-states",
- "label": "time4096-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4096-states-l",
- "label": "time4096-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8192-states",
- "label": "time8192-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8192-states-l",
- "label": "time8192-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "snir-min",
- "label": "snir-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum signal to (noise+interference) ratio."
- },
- {
- "id": "snir-max",
- "label": "snir-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum signal to (noise+interference) ratio."
- },
- {
- "id": "snir-avg",
- "label": "snir-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged signal to (noise+interference) ratio."
- },
- {
- "id": "xpd-min",
- "label": "xpd-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum cross polarization discrimination."
- },
- {
- "id": "xpd-max",
- "label": "xpd-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum cross polarization discrimination."
- },
- {
- "id": "xpd-avg",
- "label": "xpd-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged cross polarization discrimination."
- },
- {
- "id": "rf-temp-min",
- "label": "rf-temp-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lowest temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "rf-temp-max",
- "label": "rf-temp-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Highest temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "rf-temp-avg",
- "label": "rf-temp-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "defect-blocks-sum",
- "label": "defect-blocks-sum",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "blocks",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of blocks that were defect after receiving and could not be corrected by the FEC."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3361",
- "parentView": "",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:co-channel-group/$$INDEX:0:co-channel-group-id$$",
- "dataPath": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:co-channel-group/$$INDEX:0:co-channel-group-id$$",
- "name": "co-channel-group",
- "language": "en-US",
- "title": "co-channel-group",
- "elements": [
- {
- "id": "co-channel-group-id",
- "label": "co-channel-group-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "sort-of-co-channel-group",
- "label": "sort-of-co-channel-group",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Type of group of air interfaces with the same transmit and receive frequency. The values shall be chosen from the following _list:'XPIC', 'MIMO', 'ALIC';"
- },
- {
- "id": "air-interface-list",
- "label": "air-interface-list",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:uuid",
- "comment": "Please ignore this elements with field /leafrefPath/ for now.",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of air interfaces, which are part of the co-channel (XPIC, MIMO, ALIC) group."
- },
- {
- "id": "logical-termination-point",
- "label": "logical-termination-point",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:uuid",
- "comment": "Please ignore this elements with field /leafrefPath/ for now.",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3435",
- "parentView": "",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-hsb-end-point-pac/$$ENDPOINT$$",
- "dataPath": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-hsb-end-point-pac/$$ENDPOINT$$",
- "name": "mw-air-interface-hsb-end-point-pac",
- "language": "en-US",
- "title": "mw-air-interface-hsb-end-point-pac",
- "elements": [
- {
- "id": "role",
- "label": "role",
- "uiType": "selection",
- "options": [
- {
- "key": "working",
- "value": "working",
- "description": "none"
- },
- {
- "key": "protection",
- "value": "protection",
- "description": "none"
- },
- {
- "key": "protected",
- "value": "protected",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "endpoint",
- "label": "endpoint",
- "uiType": "string",
- "leafrefPath": "/core-model:forwarding-construct/core-model:fc-port/core-model:uuid",
- "comment": "Please ignore this elements with field /leafrefPath/ for now.",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "The EndPoint (EP) object class models the access to the FC function. Each EndPoint instance has a role (e.g., working, protection, protected, hub, spoke, leaf, root, etc.) with respect to the FC function. The association of the FC to LTPs is made via EndPoints (essentially the ports of the FC) where each EndPoint (EP) of the FC has a role in the context of the FC. The traffic forwarding between the associated End PointsEPs of the FC depends upon the type of FC and may be associated with FCSwitch object instances. In cases where there is protection conveys the protecting role of the access to the FC. The EP replaces the Protection Unit of a traditional protection model. It represents a protected (resilient/reliable) point or a protecting (unreliable working or protection) point."
- },
- {
- "id": "d1e3474",
- "parentView": "",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-hsb-fc-switch-pac/$$FCSWITCH$$",
- "dataPath": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-hsb-fc-switch-pac/$$FCSWITCH$$",
- "name": "mw-air-interface-hsb-fc-switch-pac",
- "language": "en-US",
- "title": "mw-air-interface-hsb-fc-switch-pac",
- "elements": [
- {
- "id": "prot-type",
- "label": "prot-type",
- "uiType": "selection",
- "options": [
- {
- "key": "hsb",
- "value": "hsb",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Indicates the protection scheme that is used for the ProtectionGroup."
- },
- {
- "id": "air-interface-hsb-configuration-is-faulty-severity",
- "label": "air-interface-hsb-configuration-is-faulty-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The level of severity of an airInterfaceHsbConfigurationIsFaulty alarm shall be chosen from an enumeration."
- },
- {
- "id": "air-interface-hsb-is-partly-down-severity",
- "label": "air-interface-hsb-is-partly-down-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The level of severity for one link out of the HSB configuration being down shall be chosen from an enumeration."
- },
- {
- "id": "air-interface-hsb-is-down-severity",
- "label": "air-interface-hsb-is-down-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The level of severity of the total HSB configuration being down shall be chosen from an enumeration."
- },
- {
- "id": "fcswitch",
- "label": "fcswitch",
- "uiType": "string",
- "leafrefPath": "/core-model:forwarding-construct/core-model:fc-switch/core-model:uuid",
- "comment": "Please ignore this elements with field /leafrefPath/ for now.",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Represents and defines a protection switch structure encapsulated in the forwarding construct. Essentially performs the function of Protection Group. Associates to 2 or more Endpoints each playing the role of a Protection Unit. One or more protection EndPoints (standby/backup) provide protection for one or more working (i.e. regular/main/preferred) Endpoints where either protection or working can feed one or more protected Endpoint. May be used in revertive or non-revertive (symmetric) mode. When in revertive mode may define waitToRestore time. May be used in one of several modes including source switch, destination switched, source and destination switched etc (covering cases such as 1+1 ane 1:1). May be lockout (prevented from switching), force switched or manual switched. Will indicate switch state and change of state."
- },
- {
- "id": "d1e3552",
- "parentView": "",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$",
- "dataPath": "",
- "name": "mw-air-interface-diversity-pac",
- "language": "en-US",
- "title": "mw-air-interface-diversity-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "comment": "Please ignore this elements with field /leafrefPath/ for now.",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "air-interface-diversity-capability",
- "label": "air-interface-diversity-capability",
- "uiType": "object",
- "viewId": "d1e3570",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-diversity-configuration",
- "label": "air-interface-diversity-configuration",
- "uiType": "object",
- "viewId": "d1e3583",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-diversity-status",
- "label": "air-interface-diversity-status",
- "uiType": "object",
- "viewId": "d1e3594",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-diversity-current-problems",
- "label": "air-interface-diversity-current-problems",
- "uiType": "object",
- "viewId": "d1e3608",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-diversity-current-performance",
- "label": "air-interface-diversity-current-performance",
- "uiType": "object",
- "viewId": "d1e3621",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-diversity-historical-performances",
- "label": "air-interface-diversity-historical-performances",
- "uiType": "object",
- "viewId": "d1e3634",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3570",
- "parentView": "d1e3552",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-capability",
- "dataPath": "air-interface-diversity-capability",
- "name": "air-interface-diversity-capability",
- "language": "en-US",
- "title": "air-interface-diversity-capability",
- "elements": [
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'airInterfaceDiversityConfigurationIsPartlyDown' (at least one air interface is down, but not all of them) and 'airInterfaceDiversityConfigurationIsDown' (all air interfaces are down). Further alarms might be added by the device. Names are to be separated by commas."
- },
- {
- "id": "available-kinds-of-diversity",
- "label": "available-kinds-of-diversity",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e3656",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available types of diversity to be listed."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3656",
- "parentView": "d1e3570",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-capability",
- "dataPath": "air-interface-diversity-capability/available-kinds-of-diversity/$$INDEX:0:diversity-name$$",
- "name": "available-kinds-of-diversity",
- "language": "en-US",
- "title": "available-kinds-of-diversity",
- "elements": [
- {
- "id": "diversity-name",
- "label": "diversity-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'spaceDiversity', 'frequencyDiversity'"
- },
- {
- "id": "number-of-air-interfaces-max",
- "label": "number-of-air-interfaces-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "air interfaces",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum number of air interfaces that could be part of this kind of diversity."
- }
- ],
- "description": "Available types of diversity to be listed."
- },
- {
- "id": "d1e3583",
- "parentView": "d1e3552",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-configuration",
- "dataPath": "air-interface-diversity-configuration",
- "name": "air-interface-diversity-configuration",
- "language": "en-US",
- "title": "air-interface-diversity-configuration",
- "elements": [
- {
- "id": "air-interface-diversity",
- "label": "air-interface-diversity",
- "uiType": "object",
- "viewId": "d1e3695",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Type of air interface diversity configured at the link."
- },
- {
- "id": "air-interface-ltp-list",
- "label": "air-interface-ltp-list",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:uuid",
- "comment": "Please ignore this elements with field /leafrefPath/ for now.",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "_multiplicity:2-ThisAirInterfaceDiversity::AirInterfaceDiversityConfiguration::airInterfaceDiversity::diversityType::numberOfAirInterfacesMax"
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e3722",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3695",
- "parentView": "d1e3583",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-configuration",
- "dataPath": "air-interface-diversity-configuration/air-interface-diversity",
- "name": "air-interface-diversity",
- "language": "en-US",
- "title": "air-interface-diversity",
- "elements": [
- {
- "id": "diversity-name",
- "label": "diversity-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'spaceDiversity', 'frequencyDiversity'"
- },
- {
- "id": "number-of-air-interfaces-max",
- "label": "number-of-air-interfaces-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "air interfaces",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum number of air interfaces that could be part of this kind of diversity."
- }
- ],
- "description": "Type of air interface diversity configured at the link."
- },
- {
- "id": "d1e3722",
- "parentView": "d1e3583",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-configuration",
- "dataPath": "air-interface-diversity-configuration/problem-kind-severity-list/$$INDEX:0:problem-kind-name$$",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterfaceDiversity::AirInterfaceDiversityCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the problem to be configured."
- },
- {
- "id": "d1e3594",
- "parentView": "d1e3552",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-status",
- "dataPath": "air-interface-diversity-status",
- "name": "air-interface-diversity-status",
- "language": "en-US",
- "title": "air-interface-diversity-status",
- "elements": [
- {
- "id": "snir-cur",
- "label": "snir-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently measured signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "air-interface-diversity-status",
- "label": "air-interface-diversity-status",
- "uiType": "selection",
- "options": [
- {
- "key": "group-down",
- "value": "group-down",
- "description": "All air interfaces that are members of the diversity configuration are down."
- },
- {
- "key": "not-all-ai-active",
- "value": "not-all-ai-active",
- "description": "At least one, but not all of the air interfaces that are part of the diversity configuration is not working."
- },
- {
- "key": "all-ai-active",
- "value": "all-ai-active",
- "description": "All air interfaces that are part of the diversity configuration are working."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Status of the air interface bundle."
- },
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Diversity Group entered its current operational status."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3608",
- "parentView": "d1e3552",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-current-problems",
- "dataPath": "air-interface-diversity-current-problems",
- "name": "air-interface-diversity-current-problems",
- "language": "en-US",
- "title": "air-interface-diversity-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e3802",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3802",
- "parentView": "d1e3608",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-current-problems",
- "dataPath": "air-interface-diversity-current-problems/current-problem-list/$$INDEX:0:sequence-number$$",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterfaceDiversity::AirInterfaceDiversityCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3621",
- "parentView": "d1e3552",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-current-performance",
- "dataPath": "air-interface-diversity-current-performance",
- "name": "air-interface-diversity-current-performance",
- "language": "en-US",
- "title": "air-interface-diversity-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e3827",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3827",
- "parentView": "d1e3621",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-current-performance",
- "dataPath": "air-interface-diversity-current-performance/current-performance-data-list/$$INDEX:0:scanner-id$$",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "d1e1542",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- },
- {
- "id": "d1e1542",
- "parentView": "d1e3827",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-current-performance",
- "dataPath": "air-interface-diversity-current-performance/current-performance-data-list/$$INDEX:0:scanner-id$$/performance-data",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "snir-min",
- "label": "snir-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "snir-max",
- "label": "snir-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "snir-avg",
- "label": "snir-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Average signal to (noise+interference) ratio of the combined signals."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3634",
- "parentView": "d1e3552",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-historical-performances",
- "dataPath": "air-interface-diversity-historical-performances",
- "name": "air-interface-diversity-historical-performances",
- "language": "en-US",
- "title": "air-interface-diversity-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e3856",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3856",
- "parentView": "d1e3634",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-historical-performances",
- "dataPath": "air-interface-diversity-historical-performances/historical-performance-data-list/$$INDEX:0:history-data-id$$",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "d1e1566",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e1566",
- "parentView": "d1e3856",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-diversity-pac/$$LPUUID$$/air-interface-diversity-historical-performances",
- "dataPath": "air-interface-diversity-historical-performances/historical-performance-data-list/$$INDEX:0:history-data-id$$/performance-data",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "snir-min",
- "label": "snir-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "snir-max",
- "label": "snir-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "snir-avg",
- "label": "snir-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Average signal to (noise+interference) ratio of the combined signals."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3878",
- "parentView": "",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$",
- "dataPath": "",
- "name": "mw-pure-ethernet-structure-pac",
- "language": "en-US",
- "title": "mw-pure-ethernet-structure-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "comment": "Please ignore this elements with field /leafrefPath/ for now.",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "pure-ethernet-structure-capability",
- "label": "pure-ethernet-structure-capability",
- "uiType": "object",
- "viewId": "d1e3898",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "pure-ethernet-structure-configuration",
- "label": "pure-ethernet-structure-configuration",
- "uiType": "object",
- "viewId": "d1e3911",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "pure-ethernet-structure-status",
- "label": "pure-ethernet-structure-status",
- "uiType": "object",
- "viewId": "d1e3923",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "pure-ethernet-structure-current-problems",
- "label": "pure-ethernet-structure-current-problems",
- "uiType": "object",
- "viewId": "d1e3936",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "pure-ethernet-structure-current-performance",
- "label": "pure-ethernet-structure-current-performance",
- "uiType": "object",
- "viewId": "d1e3949",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "pure-ethernet-structure-historical-performances",
- "label": "pure-ethernet-structure-historical-performances",
- "uiType": "object",
- "viewId": "d1e3962",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "The pureEthernetStructure_Pac and its attached classes MUST be provided on management interfaces of microwave devices, which are transporting Ethernet traffic only."
- },
- {
- "id": "d1e3898",
- "parentView": "d1e3878",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$/pure-ethernet-structure-capability",
- "dataPath": "pure-ethernet-structure-capability",
- "name": "pure-ethernet-structure-capability",
- "language": "en-US",
- "title": "pure-ethernet-structure-capability",
- "elements": [
- {
- "id": "structure-id",
- "label": "structure-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Identifies the Structure for bundling and container."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the device."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3911",
- "parentView": "d1e3878",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$/pure-ethernet-structure-configuration",
- "dataPath": "pure-ethernet-structure-configuration",
- "name": "pure-ethernet-structure-configuration",
- "language": "en-US",
- "title": "pure-ethernet-structure-configuration",
- "elements": [
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4021",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the type of problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4021",
- "parentView": "d1e3911",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$/pure-ethernet-structure-configuration",
- "dataPath": "pure-ethernet-structure-configuration/problem-kind-severity-list/$$INDEX:0:problem-kind-name$$",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Structure::StructureCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the type of problem to be configured."
- },
- {
- "id": "d1e3923",
- "parentView": "d1e3878",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$/pure-ethernet-structure-status",
- "dataPath": "pure-ethernet-structure-status",
- "name": "pure-ethernet-structure-status",
- "language": "en-US",
- "title": "pure-ethernet-structure-status",
- "elements": [
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the last update of the status information."
- },
- {
- "id": "segment-status-list",
- "label": "segment-status-list",
- "uiType": "object",
- "viewId": "d1e4043",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Status of the Ethernet transport segment. Always just one segment."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4043",
- "parentView": "d1e3923",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$/pure-ethernet-structure-status",
- "dataPath": "pure-ethernet-structure-status/segment-status-list",
- "name": "segment-status-list",
- "language": "en-US",
- "title": "segment-status-list",
- "elements": [
- {
- "id": "segment-status-type-id",
- "label": "segment-status-type-id",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "segment-is-reserved-for-tdm",
- "label": "segment-is-reserved-for-tdm",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The number of segments, which is configured by Structure::StructureConfiguration::tdmReservedNumberOfSegements, has to be reserved for TDM. Starting from the lowest index value, these segments have to be marked with a 'true' in segmentIsReservedForTdm."
- },
- {
- "id": "operational-status",
- "label": "operational-status",
- "uiType": "core-model:operational-state",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current operational status of each segment."
- },
- {
- "id": "obsolete-priority-class",
- "label": "obsolete-priority-class",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "PriorityClass as inherited from the associated Container::ContainerConfiguration::priorityClass. In case the device is capable of adapting the sequence, in which segments are being dropped in case of decreasing capacity of the air interface, priorityClass shall be considered, while calculating the dropOrderRank."
- },
- {
- "id": "obsolete-drop-order-rank",
- "label": "obsolete-drop-order-rank",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the device is NOT capable of adapting the sequence, in which segments are being dropped in case of decreasing capacity of the air interface, dropOrderRank is number of segments minus sequence number of the segment. In case the device is capable of adapting the sequence, dropOrderRank has to be calculated by the device in dependency to the assigned priorityClass. _unique: within Structure::StructureStatus::segmentStatusList"
- }
- ],
- "description": "Status of the Ethernet transport segment. Always just one segment."
- },
- {
- "id": "d1e3936",
- "parentView": "d1e3878",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$/pure-ethernet-structure-current-problems",
- "dataPath": "pure-ethernet-structure-current-problems",
- "name": "pure-ethernet-structure-current-problems",
- "language": "en-US",
- "title": "pure-ethernet-structure-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4081",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4081",
- "parentView": "d1e3936",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$/pure-ethernet-structure-current-problems",
- "dataPath": "pure-ethernet-structure-current-problems/current-problem-list/$$INDEX:0:sequence-number$$",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Structure::StructureCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e3949",
- "parentView": "d1e3878",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$/pure-ethernet-structure-current-performance",
- "dataPath": "pure-ethernet-structure-current-performance",
- "name": "pure-ethernet-structure-current-performance",
- "language": "en-US",
- "title": "pure-ethernet-structure-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4105",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4105",
- "parentView": "d1e3949",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$/pure-ethernet-structure-current-performance",
- "dataPath": "pure-ethernet-structure-current-performance/current-performance-data-list/$$INDEX:0:scanner-id$$",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- },
- {
- "id": "d1e3962",
- "parentView": "d1e3878",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$/pure-ethernet-structure-historical-performances",
- "dataPath": "pure-ethernet-structure-historical-performances",
- "name": "pure-ethernet-structure-historical-performances",
- "language": "en-US",
- "title": "pure-ethernet-structure-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4134",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4134",
- "parentView": "d1e3962",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-pure-ethernet-structure-pac/$$LPUUID$$/pure-ethernet-structure-historical-performances",
- "dataPath": "pure-ethernet-structure-historical-performances/historical-performance-data-list/$$INDEX:0:history-data-id$$",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4165",
- "parentView": "",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$",
- "dataPath": "",
- "name": "mw-hybrid-mw-structure-pac",
- "language": "en-US",
- "title": "mw-hybrid-mw-structure-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "comment": "Please ignore this elements with field /leafrefPath/ for now.",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "hybrid-mw-structure-capability",
- "label": "hybrid-mw-structure-capability",
- "uiType": "object",
- "viewId": "d1e4185",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "hybrid-mw-structure-configuration",
- "label": "hybrid-mw-structure-configuration",
- "uiType": "object",
- "viewId": "d1e4198",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "hybrid-mw-structure-status",
- "label": "hybrid-mw-structure-status",
- "uiType": "object",
- "viewId": "d1e4210",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "hybrid-mw-structure-current-problems",
- "label": "hybrid-mw-structure-current-problems",
- "uiType": "object",
- "viewId": "d1e4223",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "hybrid-mw-structure-current-performance",
- "label": "hybrid-mw-structure-current-performance",
- "uiType": "object",
- "viewId": "d1e4236",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "hybrid-mw-structure-historical-performances",
- "label": "hybrid-mw-structure-historical-performances",
- "uiType": "object",
- "viewId": "d1e4249",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "The HybridMwStructure_Pac and its attached classes MUST be provided on management interfaces of microwave devices, which are transporting TDM and Ethernet traffic."
- },
- {
- "id": "d1e4185",
- "parentView": "d1e4165",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-capability",
- "dataPath": "hybrid-mw-structure-capability",
- "name": "hybrid-mw-structure-capability",
- "language": "en-US",
- "title": "hybrid-mw-structure-capability",
- "elements": [
- {
- "id": "structure-id",
- "label": "structure-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Identifies the Structure for bundling and container."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the device."
- },
- {
- "id": "supported-tdm-structure-types-list",
- "label": "supported-tdm-structure-types-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4284",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lists the TDM frame types that are supported."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4284",
- "parentView": "d1e4185",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-capability",
- "dataPath": "hybrid-mw-structure-capability/supported-tdm-structure-types-list/$$INDEX:0:tdm-structure-name$$",
- "name": "supported-tdm-structure-types-list",
- "language": "en-US",
- "title": "supported-tdm-structure-types-list",
- "elements": [
- {
- "id": "tdm-structure-name",
- "label": "tdm-structure-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'e1','t1','j1','e3','ds3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "tdm-segment-size",
- "label": "tdm-segment-size",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kbit/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Size of the TDM segment in kbit/s. Values to be chosen from the following list: '2048','1544','34000','44736 ','155520','614400','1228800','2457600','3072000','4915200','6144000' or '9830400;"
- },
- {
- "id": "max-number-of-segments-reservable",
- "label": "max-number-of-segments-reservable",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "segments",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Device specific maximum number of segments (not depending on current air interface configuration) that can be reserved for this type of segment on a single air interface."
- }
- ],
- "description": "Lists the TDM frame types that are supported."
- },
- {
- "id": "d1e4198",
- "parentView": "d1e4165",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-configuration",
- "dataPath": "hybrid-mw-structure-configuration",
- "name": "hybrid-mw-structure-configuration",
- "language": "en-US",
- "title": "hybrid-mw-structure-configuration",
- "elements": [
- {
- "id": "number-of-tdm-segments-to-be-reserved",
- "label": "number-of-tdm-segments-to-be-reserved",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Allows to configure the number of segments reserved for TDM frames of the type specified in HybridMwStructure::HybridMwStructureConfiguration::structureType"
- },
- {
- "id": "structure-type",
- "label": "structure-type",
- "uiType": "object",
- "viewId": "d1e4326",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "TDM frame to be applied."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4350",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the type of problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4326",
- "parentView": "d1e4198",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-configuration",
- "dataPath": "hybrid-mw-structure-configuration/structure-type",
- "name": "structure-type",
- "language": "en-US",
- "title": "structure-type",
- "elements": [
- {
- "id": "tdm-structure-name",
- "label": "tdm-structure-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'e1','t1','j1','e3','ds3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "tdm-segment-size",
- "label": "tdm-segment-size",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kbit/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Size of the TDM segment in kbit/s. Values to be chosen from the following list: '2048','1544','34000','44736 ','155520','614400','1228800','2457600','3072000','4915200','6144000' or '9830400;"
- },
- {
- "id": "max-number-of-segments-reservable",
- "label": "max-number-of-segments-reservable",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "segments",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Device specific maximum number of segments (not depending on current air interface configuration) that can be reserved for this type of segment on a single air interface."
- }
- ],
- "description": "TDM frame to be applied."
- },
- {
- "id": "d1e4350",
- "parentView": "d1e4198",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-configuration",
- "dataPath": "hybrid-mw-structure-configuration/problem-kind-severity-list/$$INDEX:0:problem-kind-name$$",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Structure::StructureCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the type of problem to be configured."
- },
- {
- "id": "d1e4210",
- "parentView": "d1e4165",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-status",
- "dataPath": "hybrid-mw-structure-status",
- "name": "hybrid-mw-structure-status",
- "language": "en-US",
- "title": "hybrid-mw-structure-status",
- "elements": [
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the last update of the status information."
- },
- {
- "id": "segment-status-list",
- "label": "segment-status-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4372",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Status of each segment (all TDM and one Ethernet). Multiplicity = HybridMwStructure::StructureConfiguration::tdmReservedNumberOfSegments + 1"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4372",
- "parentView": "d1e4210",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-status",
- "dataPath": "hybrid-mw-structure-status/segment-status-list/$$INDEX:0:segment-status-type-id$$",
- "name": "segment-status-list",
- "language": "en-US",
- "title": "segment-status-list",
- "elements": [
- {
- "id": "segment-status-type-id",
- "label": "segment-status-type-id",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "segment-is-reserved-for-tdm",
- "label": "segment-is-reserved-for-tdm",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The number of segments, which is configured by Structure::StructureConfiguration::tdmReservedNumberOfSegements, has to be reserved for TDM. Starting from the lowest index value, these segments have to be marked with a 'true' in segmentIsReservedForTdm."
- },
- {
- "id": "operational-status",
- "label": "operational-status",
- "uiType": "core-model:operational-state",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current operational status of each segment."
- },
- {
- "id": "obsolete-priority-class",
- "label": "obsolete-priority-class",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "PriorityClass as inherited from the associated Container::ContainerConfiguration::priorityClass. In case the device is capable of adapting the sequence, in which segments are being dropped in case of decreasing capacity of the air interface, priorityClass shall be considered, while calculating the dropOrderRank."
- },
- {
- "id": "obsolete-drop-order-rank",
- "label": "obsolete-drop-order-rank",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the device is NOT capable of adapting the sequence, in which segments are being dropped in case of decreasing capacity of the air interface, dropOrderRank is number of segments minus sequence number of the segment. In case the device is capable of adapting the sequence, dropOrderRank has to be calculated by the device in dependency to the assigned priorityClass. _unique: within Structure::StructureStatus::segmentStatusList"
- }
- ],
- "description": "Status of each segment (all TDM and one Ethernet). Multiplicity = HybridMwStructure::StructureConfiguration::tdmReservedNumberOfSegments + 1"
- },
- {
- "id": "d1e4223",
- "parentView": "d1e4165",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-current-problems",
- "dataPath": "hybrid-mw-structure-current-problems",
- "name": "hybrid-mw-structure-current-problems",
- "language": "en-US",
- "title": "hybrid-mw-structure-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4411",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4411",
- "parentView": "d1e4223",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-current-problems",
- "dataPath": "hybrid-mw-structure-current-problems/current-problem-list/$$INDEX:0:sequence-number$$",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Structure::StructureCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4236",
- "parentView": "d1e4165",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-current-performance",
- "dataPath": "hybrid-mw-structure-current-performance",
- "name": "hybrid-mw-structure-current-performance",
- "language": "en-US",
- "title": "hybrid-mw-structure-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4435",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4435",
- "parentView": "d1e4236",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-current-performance",
- "dataPath": "hybrid-mw-structure-current-performance/current-performance-data-list/$$INDEX:0:scanner-id$$",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- },
- {
- "id": "d1e4249",
- "parentView": "d1e4165",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-historical-performances",
- "dataPath": "hybrid-mw-structure-historical-performances",
- "name": "hybrid-mw-structure-historical-performances",
- "language": "en-US",
- "title": "hybrid-mw-structure-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4464",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4464",
- "parentView": "d1e4249",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-hybrid-mw-structure-pac/$$LPUUID$$/hybrid-mw-structure-historical-performances",
- "dataPath": "hybrid-mw-structure-historical-performances/historical-performance-data-list/$$INDEX:0:history-data-id$$",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4496",
- "parentView": "",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$",
- "dataPath": "",
- "name": "mw-ethernet-container-pac",
- "language": "en-US",
- "title": "mw-ethernet-container-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "comment": "Please ignore this elements with field /leafrefPath/ for now.",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "ethernet-container-capability",
- "label": "ethernet-container-capability",
- "uiType": "object",
- "viewId": "d1e4514",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "ethernet-container-configuration",
- "label": "ethernet-container-configuration",
- "uiType": "object",
- "viewId": "d1e4527",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "ethernet-container-status",
- "label": "ethernet-container-status",
- "uiType": "object",
- "viewId": "d1e4538",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "ethernet-container-current-problems",
- "label": "ethernet-container-current-problems",
- "uiType": "object",
- "viewId": "d1e4552",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "ethernet-container-current-performance",
- "label": "ethernet-container-current-performance",
- "uiType": "object",
- "viewId": "d1e4565",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "ethernet-container-historical-performances",
- "label": "ethernet-container-historical-performances",
- "uiType": "object",
- "viewId": "d1e4578",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4514",
- "parentView": "d1e4496",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-capability",
- "dataPath": "ethernet-container-capability",
- "name": "ethernet-container-capability",
- "language": "en-US",
- "title": "ethernet-container-capability",
- "elements": [
- {
- "id": "bundling-is-avail",
- "label": "bundling-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "This attribute has to be set on 'true', if the device allows combining resources from several air interfaces for transporting this Ethernet container."
- },
- {
- "id": "packet-compression-is-avail",
- "label": "packet-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case packet compression can be activated, but not configured to a certain type, packetCompressionAvail shall be set on 'true', but none of the compression level specific booleans."
- },
- {
- "id": "layer2-compression-is-avail",
- "label": "layer2-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 2 available at the device."
- },
- {
- "id": "vlan-compression-is-avail",
- "label": "vlan-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on VLAN layer available at the device."
- },
- {
- "id": "q-in-q-compression-is-avail",
- "label": "q-in-q-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer of a second VLAN available at the device."
- },
- {
- "id": "mpls-compression-is-avail",
- "label": "mpls-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on mpls layer available at the device."
- },
- {
- "id": "ipv4-compression-is-avail",
- "label": "ipv4-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv4 available at the device."
- },
- {
- "id": "ipv6-compression-is-avail",
- "label": "ipv6-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv6 available at the device."
- },
- {
- "id": "layer4-compression-is-avail",
- "label": "layer4-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 4 (TCP and UDP header) available at the device."
- },
- {
- "id": "encryption-is-avail",
- "label": "encryption-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Shall be marked 'true', if Ethernet payload encryption is available."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the device."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4527",
- "parentView": "d1e4496",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-configuration",
- "dataPath": "ethernet-container-configuration",
- "name": "ethernet-container-configuration",
- "language": "en-US",
- "title": "ethernet-container-configuration",
- "elements": [
- {
- "id": "container-id",
- "label": "container-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ContainterID in Netconf must be the same as EthernetPortID in OpenFlow so a connection can be made between the two items, which separately exist in the controller."
- },
- {
- "id": "packet-compression-is-on",
- "label": "packet-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case packet compression is activated, but no type is activated, it is assumed that the device chooses the optimum."
- },
- {
- "id": "layer2-compression-is-on",
- "label": "layer2-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 2 configured at the device."
- },
- {
- "id": "vlan-compression-is-on",
- "label": "vlan-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on VLAN layer configured at the device."
- },
- {
- "id": "q-in-q-compression-is-on",
- "label": "q-in-q-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer of a second VLAN configured at the device."
- },
- {
- "id": "mpls-compression-is-on",
- "label": "mpls-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on MPLS layer configured at the device."
- },
- {
- "id": "ipv4-compression-is-on",
- "label": "ipv4-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv4 configured at the device."
- },
- {
- "id": "ipv6-compression-is-on",
- "label": "ipv6-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv6 configured at the device."
- },
- {
- "id": "layer4-compression-is-on",
- "label": "layer4-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 4 (TCP and UDP header) configured at the device."
- },
- {
- "id": "encryption-is-on",
- "label": "encryption-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activates encryption of the Ethernet payload."
- },
- {
- "id": "cryptographic-key",
- "label": "cryptographic-key",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Key for transforming plaintext into cipher text data."
- },
- {
- "id": "segments-id-list",
- "label": "segments-id-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4789",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lists the segments used for transporting this Ethernet container. In case EthernetContainer::ContainerCapability::bundlingIsAvail==0, all TypeDefinitions::segmentIdType::structureId must be identical in the list."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4936",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4789",
- "parentView": "d1e4527",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-configuration",
- "dataPath": "ethernet-container-configuration/segments-id-list/$$INDEX:0:structure-id-ref$$/$$INDEX:0:segment-id-ref$$",
- "name": "segments-id-list",
- "language": "en-US",
- "title": "segments-id-list",
- "elements": [
- {
- "id": "structure-id-ref",
- "label": "structure-id-ref",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "segment-id-ref",
- "label": "segment-id-ref",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Combinations of structureId and segmentId must be unique inside the device to assure that every resource is used just once."
- }
- ],
- "description": "Lists the segments used for transporting this Ethernet container. In case EthernetContainer::ContainerCapability::bundlingIsAvail==0, all TypeDefinitions::segmentIdType::structureId must be identical in the list."
- },
- {
- "id": "d1e4936",
- "parentView": "d1e4527",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-configuration",
- "dataPath": "ethernet-container-configuration/problem-kind-severity-list/$$INDEX:0:problem-kind-name$$",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Container::ContainerCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the problem to be configured."
- },
- {
- "id": "d1e4538",
- "parentView": "d1e4496",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-status",
- "dataPath": "ethernet-container-status",
- "name": "ethernet-container-status",
- "language": "en-US",
- "title": "ethernet-container-status",
- "elements": [
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Container entered its current operational status."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4552",
- "parentView": "d1e4496",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-current-problems",
- "dataPath": "ethernet-container-current-problems",
- "name": "ethernet-container-current-problems",
- "language": "en-US",
- "title": "ethernet-container-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e4984",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4984",
- "parentView": "d1e4552",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-current-problems",
- "dataPath": "ethernet-container-current-problems/current-problem-list/$$INDEX:0:sequence-number$$",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Container::ContainerCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4565",
- "parentView": "d1e4496",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-current-performance",
- "dataPath": "ethernet-container-current-performance",
- "name": "ethernet-container-current-performance",
- "language": "en-US",
- "title": "ethernet-container-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e5008",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5008",
- "parentView": "d1e4565",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-current-performance",
- "dataPath": "ethernet-container-current-performance/current-performance-data-list/$$INDEX:0:scanner-id$$",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "d1e2135",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e2135",
- "parentView": "d1e5008",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-current-performance",
- "dataPath": "ethernet-container-current-performance/current-performance-data-list/$$INDEX:0:scanner-id$$/performance-data",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "tx-ethernet-bytes-max-s",
- "label": "tx-ethernet-bytes-max-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "Bytes/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a second and keeps the highest value within the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-max-m",
- "label": "tx-ethernet-bytes-max-m",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes/min",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a minute and keeps the highest value with in the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-sum",
- "label": "tx-ethernet-bytes-sum",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of Bytes of Ethernet traffic (before header compression) transmitted (in direction out of the device) during the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period in seconds."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e4578",
- "parentView": "d1e4496",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-historical-performances",
- "dataPath": "ethernet-container-historical-performances",
- "name": "ethernet-container-historical-performances",
- "language": "en-US",
- "title": "ethernet-container-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e5038",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5038",
- "parentView": "d1e4578",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-historical-performances",
- "dataPath": "ethernet-container-historical-performances/historical-performance-data-list/$$INDEX:0:history-data-id$$",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "d1e2159",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e2159",
- "parentView": "d1e5038",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-ethernet-container-pac/$$LPUUID$$/ethernet-container-historical-performances",
- "dataPath": "ethernet-container-historical-performances/historical-performance-data-list/$$INDEX:0:history-data-id$$/performance-data",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "tx-ethernet-bytes-max-s",
- "label": "tx-ethernet-bytes-max-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "Bytes/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a second and keeps the highest value within the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-max-m",
- "label": "tx-ethernet-bytes-max-m",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes/min",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a minute and keeps the highest value with in the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-sum",
- "label": "tx-ethernet-bytes-sum",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of Bytes of Ethernet traffic (before header compression) transmitted (in direction out of the device) during the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period in seconds."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5060",
- "parentView": "",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$",
- "dataPath": "",
- "name": "mw-tdm-container-pac",
- "language": "en-US",
- "title": "mw-tdm-container-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "comment": "Please ignore this elements with field /leafrefPath/ for now.",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "tdm-container-capability",
- "label": "tdm-container-capability",
- "uiType": "object",
- "viewId": "d1e5080",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "tdm-container-configuration",
- "label": "tdm-container-configuration",
- "uiType": "object",
- "viewId": "d1e5093",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "tdm-container-status",
- "label": "tdm-container-status",
- "uiType": "object",
- "viewId": "d1e5105",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "tdm-container-current-problems",
- "label": "tdm-container-current-problems",
- "uiType": "object",
- "viewId": "d1e5118",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "tdm-container-current-performance",
- "label": "tdm-container-current-performance",
- "uiType": "object",
- "viewId": "d1e5131",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "tdm-container-historical-performances",
- "label": "tdm-container-historical-performances",
- "uiType": "object",
- "viewId": "d1e5144",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5080",
- "parentView": "d1e5060",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-capability",
- "dataPath": "tdm-container-capability",
- "name": "tdm-container-capability",
- "language": "en-US",
- "title": "tdm-container-capability",
- "elements": [
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the device."
- },
- {
- "id": "supported-tdm-container-types-list",
- "label": "supported-tdm-container-types-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e5166",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lists the TDM containers that are supported."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5166",
- "parentView": "d1e5080",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-capability",
- "dataPath": "tdm-container-capability/supported-tdm-container-types-list/$$INDEX:0:tdm-container-name$$",
- "name": "supported-tdm-container-types-list",
- "language": "en-US",
- "title": "supported-tdm-container-types-list",
- "elements": [
- {
- "id": "tdm-container-name",
- "label": "tdm-container-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'e1','t1','j1','e3','t3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "tdm-container-size",
- "label": "tdm-container-size",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kbit/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Capacity required for transporting this type of container (in kbit/s). Values to be chosen from the following list: '2048','1544','34000','44736 ','155520','614400','1228800','2457600','3072000','4915200','6144000' or '9830400;"
- }
- ],
- "description": "Lists the TDM containers that are supported."
- },
- {
- "id": "d1e5093",
- "parentView": "d1e5060",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-configuration",
- "dataPath": "tdm-container-configuration",
- "name": "tdm-container-configuration",
- "language": "en-US",
- "title": "tdm-container-configuration",
- "elements": [
- {
- "id": "container-id",
- "label": "container-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ContainterID in Netconf must be the same as TDM Flow ID so a connection can be made between the two items, which separately exist in the controller."
- },
- {
- "id": "container-type",
- "label": "container-type",
- "uiType": "object",
- "viewId": "d1e5220",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Type of TDM container."
- },
- {
- "id": "segment-id",
- "label": "segment-id",
- "uiType": "object",
- "viewId": "d1e5231",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Multiplicity = 1; One segment per TDM container; Type of segment must match type of container;"
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e5242",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5220",
- "parentView": "d1e5093",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-configuration",
- "dataPath": "tdm-container-configuration/container-type",
- "name": "container-type",
- "language": "en-US",
- "title": "container-type",
- "elements": [
- {
- "id": "tdm-container-name",
- "label": "tdm-container-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'e1','t1','j1','e3','t3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "tdm-container-size",
- "label": "tdm-container-size",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kbit/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Capacity required for transporting this type of container (in kbit/s). Values to be chosen from the following list: '2048','1544','34000','44736 ','155520','614400','1228800','2457600','3072000','4915200','6144000' or '9830400;"
- }
- ],
- "description": "Type of TDM container."
- },
- {
- "id": "d1e5231",
- "parentView": "d1e5093",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-configuration",
- "dataPath": "tdm-container-configuration/segment-id",
- "name": "segment-id",
- "language": "en-US",
- "title": "segment-id",
- "elements": [
- {
- "id": "structure-id-ref",
- "label": "structure-id-ref",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "segment-id-ref",
- "label": "segment-id-ref",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Combinations of structureId and segmentId must be unique inside the device to assure that every resource is used just once."
- }
- ],
- "description": "Multiplicity = 1; One segment per TDM container; Type of segment must match type of container;"
- },
- {
- "id": "d1e5242",
- "parentView": "d1e5093",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-configuration",
- "dataPath": "tdm-container-configuration/problem-kind-severity-list/$$INDEX:0:problem-kind-name$$",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Container::ContainerCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the problem to be configured."
- },
- {
- "id": "d1e5105",
- "parentView": "d1e5060",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-status",
- "dataPath": "tdm-container-status",
- "name": "tdm-container-status",
- "language": "en-US",
- "title": "tdm-container-status",
- "elements": [
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Container entered its current operational status."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5118",
- "parentView": "d1e5060",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-current-problems",
- "dataPath": "tdm-container-current-problems",
- "name": "tdm-container-current-problems",
- "language": "en-US",
- "title": "tdm-container-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e5290",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5290",
- "parentView": "d1e5118",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-current-problems",
- "dataPath": "tdm-container-current-problems/current-problem-list/$$INDEX:0:sequence-number$$",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Container::ContainerCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5131",
- "parentView": "d1e5060",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-current-performance",
- "dataPath": "tdm-container-current-performance",
- "name": "tdm-container-current-performance",
- "language": "en-US",
- "title": "tdm-container-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e5315",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5315",
- "parentView": "d1e5131",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-current-performance",
- "dataPath": "tdm-container-current-performance/current-performance-data-list/$$INDEX:0:scanner-id$$",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "d1e2135",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- },
- {
- "id": "d1e2135",
- "parentView": "d1e5315",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-current-performance",
- "dataPath": "tdm-container-current-performance/current-performance-data-list/$$INDEX:0:scanner-id$$/performance-data",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "tx-ethernet-bytes-max-s",
- "label": "tx-ethernet-bytes-max-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "Bytes/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a second and keeps the highest value within the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-max-m",
- "label": "tx-ethernet-bytes-max-m",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes/min",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a minute and keeps the highest value with in the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-sum",
- "label": "tx-ethernet-bytes-sum",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of Bytes of Ethernet traffic (before header compression) transmitted (in direction out of the device) during the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period in seconds."
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5144",
- "parentView": "d1e5060",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-historical-performances",
- "dataPath": "tdm-container-historical-performances",
- "name": "tdm-container-historical-performances",
- "language": "en-US",
- "title": "tdm-container-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "d1e5344",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e5344",
- "parentView": "d1e5144",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-historical-performances",
- "dataPath": "tdm-container-historical-performances/historical-performance-data-list/$$INDEX:0:history-data-id$$",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "d1e2159",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "d1e2159",
- "parentView": "d1e5344",
- "url": "restconf/operational/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-tdm-container-pac/$$LPUUID$$/tdm-container-historical-performances",
- "dataPath": "tdm-container-historical-performances/historical-performance-data-list/$$INDEX:0:history-data-id$$/performance-data",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "tx-ethernet-bytes-max-s",
- "label": "tx-ethernet-bytes-max-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "Bytes/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a second and keeps the highest value within the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-max-m",
- "label": "tx-ethernet-bytes-max-m",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes/min",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a minute and keeps the highest value with in the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-sum",
- "label": "tx-ethernet-bytes-sum",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of Bytes of Ethernet traffic (before header compression) transmitted (in direction out of the device) during the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period in seconds."
- }
- ],
- "description": "none"
- }
- ]
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/assets/microwave-model@2017-03-24.json.old b/sdnr/wt/odlux/apps/configurationApp/src/assets/microwave-model@2017-03-24.json.old
deleted file mode 100644
index 4fbd8bf27..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src/assets/microwave-model@2017-03-24.json.old
+++ /dev/null
@@ -1,19680 +0,0 @@
-{
- "views": [
- {
- "id": "microwave-model",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "microwave-model",
- "language": "en-US",
- "title": "microwave-model",
- "elements": [
- {
- "id": "mw-air-interface-pac",
- "label": "mw-air-interface-pac",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:mw-air-interface-pac",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "co-channel-group",
- "label": "co-channel-group",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:co-channel-group",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "mw-air-interface-hsb-end-point-pac",
- "label": "mw-air-interface-hsb-end-point-pac",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:mw-air-interface-hsb-end-point-pac",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The EndPoint (EP) object class models the access to the FC function. Each EndPoint instance has a role (e.g., working, protection, protected, hub, spoke, leaf, root, etc.) with respect to the FC function. The association of the FC to LTPs is made via EndPoints (essentially the ports of the FC) where each EndPoint (EP) of the FC has a role in the context of the FC. The traffic forwarding between the associated End PointsEPs of the FC depends upon the type of FC and may be associated with FCSwitch object instances. In cases where there is protection conveys the protecting role of the access to the FC. The EP replaces the Protection Unit of a traditional protection model. It represents a protected (resilient/reliable) point or a protecting (unreliable working or protection) point."
- },
- {
- "id": "mw-air-interface-hsb-fc-switch-pac",
- "label": "mw-air-interface-hsb-fc-switch-pac",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:mw-air-interface-hsb-fc-switch-pac",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Represents and defines a protection switch structure encapsulated in the forwarding construct. Essentially performs the function of Protection Group. Associates to 2 or more Endpoints each playing the role of a Protection Unit. One or more protection EndPoints (standby/backup) provide protection for one or more working (i.e. regular/main/preferred) Endpoints where either protection or working can feed one or more protected Endpoint. May be used in revertive or non-revertive (symmetric) mode. When in revertive mode may define waitToRestore time. May be used in one of several modes including source switch, destination switched, source and destination switched etc (covering cases such as 1+1 ane 1:1). May be lockout (prevented from switching), force switched or manual switched. Will indicate switch state and change of state."
- },
- {
- "id": "mw-air-interface-diversity-pac",
- "label": "mw-air-interface-diversity-pac",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:mw-air-interface-diversity-pac",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "mw-pure-ethernet-structure-pac",
- "label": "mw-pure-ethernet-structure-pac",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:mw-pure-ethernet-structure-pac",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The pureEthernetStructure_Pac and its attached classes MUST be provided on management interfaces of microwave devices, which are transporting Ethernet traffic only."
- },
- {
- "id": "mw-hybrid-mw-structure-pac",
- "label": "mw-hybrid-mw-structure-pac",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:mw-hybrid-mw-structure-pac",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The HybridMwStructure_Pac and its attached classes MUST be provided on management interfaces of microwave devices, which are transporting TDM and Ethernet traffic."
- },
- {
- "id": "mw-ethernet-container-pac",
- "label": "mw-ethernet-container-pac",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:mw-ethernet-container-pac",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "mw-tdm-container-pac",
- "label": "mw-tdm-container-pac",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:mw-tdm-container-pac",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The TdmContainer_Pac and its attached classes MUST be provided on management interfaces of microwave devices, which are transporting TDM traffic."
- },
- {
- "id": "wire-interface-pac",
- "label": "wire-interface-pac",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:wire-interface-pac",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "This module contains a collection of YANG definitions for managing wireless networks. This model is for vendor agnostic management of wireless network elements."
- },
- {
- "id": "microwave-model:mw-air-interface-pac",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "mw-air-interface-pac",
- "language": "en-US",
- "title": "mw-air-interface-pac",
- "url" :"restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPID$$/",
- "path" :"",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "air-interface-capability",
- "label": "air-interface-capability",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-pac:air-interface-capability",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-configuration",
- "label": "air-interface-configuration",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-pac:air-interface-configuration",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-status",
- "label": "air-interface-status",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-pac:air-interface-status",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-current-problems",
- "label": "air-interface-current-problems",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-pac:air-interface-current-problems",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-current-performance",
- "label": "air-interface-current-performance",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-pac:air-interface-current-performance",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-historical-performances",
- "label": "air-interface-historical-performances",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-pac:air-interface-historical-performances",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-pac:air-interface-capability",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-capability",
- "language": "en-US",
- "title": "air-interface-capability",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPID$$/air-interface-capability",
- "dataPath": "air-interface-capability",
- "elements": [
- {
- "id": "type-of-equipment",
- "label": "type-of-equipment",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "This parameter indicates the equipment type. Instead of uploading the complete set of capabilities, capabilities of the same equipment type could be reused. Should be unique for a combination of modem, radio and their respective firmware."
- },
- {
- "id": "tx-frequency-min",
- "label": "tx-frequency-min",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the minimum transmit frequency tunable at the air interface."
- },
- {
- "id": "tx-frequency-max",
- "label": "tx-frequency-max",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the maximum transmit frequency tunable at the air interface."
- },
- {
- "id": "rx-frequency-min",
- "label": "rx-frequency-min",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the minimum receive frequency tunable at the air interface."
- },
- {
- "id": "rx-frequency-max",
- "label": "rx-frequency-max",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the maximum receive frequency tunable at the air interface."
- },
- {
- "id": "adaptive-modulation-is-avail",
- "label": "adaptive-modulation-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the device is capable of adaptive modulation, this field shall contain a 'true'."
- },
- {
- "id": "mimo-is-avail",
- "label": "mimo-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the device is capable of MIMO, this field shall contain a 'true'."
- },
- {
- "id": "mimo-channels",
- "label": "mimo-channels",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "channels",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum number (n) of spatial multiplexing streams that can be conveyed by an n x n MIMO configuration."
- },
- {
- "id": "alic-is-avail",
- "label": "alic-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the microwave radio is capable of Adjacent Link Interference Cancelation (canceling of interference cause by transmitters located at the same site), this field shall contain a 'true'."
- },
- {
- "id": "atpc-is-avail",
- "label": "atpc-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the microwave radio is capable of ATPC, this field shall contain a 'true'."
- },
- {
- "id": "atpc-range",
- "label": "atpc-range",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Extent of the ATPC range. This value represents a device specific maximum value. The actual range of the ATPC at a specific link might be limited by the difference between configured transmit power (AirInterface::AirInterfaceConfiguration::txPower) and minimum transmit power of the device (TypeDefinitions::TransmissionModeType::txPowerMin)."
- },
- {
- "id": "encryption-is-avail",
- "label": "encryption-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Shall be marked 'true', if payload encryption is available."
- },
- {
- "id": "maintenance-timer-range",
- "label": "maintenance-timer-range",
- "uiType": "string",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available time periods for maintenance configurations (e.g. the loop back of microwave header information) to be described. Concrete values shall be separated by commas (e.g. '10, 60, 360'). Ranges shall be expressed as two values separated by a minus (e.g. '10-360')."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'signalIsLost','rslIsExceeded','temperatureIsExceeded','modemIsFaulty','radioIsFaulty' and 'modulationIsDownShifted'. Further alarms might be added by the device. Names are to be separated by commas."
- },
- {
- "id": "supported-loop-back-kind-list",
- "label": "supported-loop-back-kind-list",
- "uiType": "selection",
- "options": [
- {
- "key": "rf-to-remote",
- "value": "rf-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the radio interface between both outdoor units."
- },
- {
- "key": "rf-to-local",
- "value": "rf-to-local",
- "description": "Returning the header information of the local site back to the local site on the radio interface between both outdoor units."
- },
- {
- "key": "if-to-remote",
- "value": "if-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "if-to-local",
- "value": "if-to-local",
- "description": "Returning the header information of the local site back to the local site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of supported kinds of looping back of header information to the remote site."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'signalIsLost','rslIsExceeded','signalIDMismatching','temperatureIsExceeded','modemIsFaulty','radioIsFaulty' and 'modulationIsDownShifted'. Further alarms might be added by the vendor."
- },
- {
- "id": "supported-channel-plan-list",
- "label": "supported-channel-plan-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-capability-g:supported-channel-plan-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of channel spacing that are supported by the device."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-pac:air-interface-configuration",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-configuration",
- "language": "en-US",
- "title": "air-interface-configuration",
- "elements": [
- {
- "id": "air-interface-name",
- "label": "air-interface-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Operator specific microwave link ID (often used for coding area, type of element and sequential number)."
- },
- {
- "id": "remote-air-interface-name",
- "label": "remote-air-interface-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the air interface, which belongs to the same link, at the remote site."
- },
- {
- "id": "expected-signal-id",
- "label": "expected-signal-id",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If set on '0', the receiver ignores the signal ID of the received signal. If set on any other value, the receiver exclusively synchronizes on signals with the same signal ID."
- },
- {
- "id": "transmitted-signal-id",
- "label": "transmitted-signal-id",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Transmitted radio signal ID for synchronizing the receiver."
- },
- {
- "id": "radio-signal-id",
- "label": "radio-signal-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The radioSignalId is transmitted on the air interface so the remote site of the link synchronizes on the correct transmitter. The local radio MUST NOT synchronize on a radio signal with a different radioSignalId. The link ID is neither an ID necessary to span the model nor an ID referencing external data. It is just some sort of name of the link transmitted so the correct remote site can be identified in an interference situation. The value zero might be used to make the microwave to disable the link ID check."
- },
- {
- "id": "tx-frequency",
- "label": "tx-frequency",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the transmit channel. The values to be configured have to exactly match the values listed in the international agreement referenced in channelPlanID. In case of automated selection of the transmit frequency this field shall describe the lowest center frequency selectable."
- },
- {
- "id": "rx-frequency",
- "label": "rx-frequency",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the receive channel."
- },
- {
- "id": "transmission-mode-min",
- "label": "transmission-mode-min",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum transmission mode to be configured (in case adaptive modulation is not used, this value represents also the fixed transmission mode)."
- },
- {
- "id": "transmission-mode-max",
- "label": "transmission-mode-max",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum transmission mode to be configured."
- },
- {
- "id": "tx-channel-bandwidth",
- "label": "tx-channel-bandwidth",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Bandwidth of the transmit channel. The value shall be expressed explicitly (means in kHz) not as a reference to an international agreement. The values shall be chosen from the following _list: 3.500, 7.000, 14.000, 27.500, 28.000, 29.000, 29.650, 30.000, 40.000, 50.000, 55.000, 56.000, 59.300, 60.000, 80.000, 100.000, 112.000, 120.000, 150.000, 200.000, 250.000, 500.000, 750.000, 1.000.000, 1.250.000, 1.500.000, 1.750.000, 2.000.000;"
- },
- {
- "id": "rx-channel-bandwidth",
- "label": "rx-channel-bandwidth",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Bandwidth of the receive channel. The value shall be expressed explicitly (means in kHz) not as a reference to an international agreement. The values shall be chosen from the following _list: 3.500, 7.000, 14.000, 27.500, 28.000, 29.000, 29.650, 30.000, 40.000, 50.000, 55.000, 56.000, 59.300, 60.000, 80.000, 100.000, 112.000, 120.000, 150.000, 200.000, 250.000, 500.000, 750.000, 1.000.000, 1.250.000, 1.500.000, 1.750.000, 2.000.000;"
- },
- {
- "id": "polarization",
- "label": "polarization",
- "uiType": "selection",
- "options": [
- {
- "key": "not-specified",
- "value": "not-specified",
- "description": "none"
- },
- {
- "key": "horizontal",
- "value": "horizontal",
- "description": "none"
- },
- {
- "key": "vertical",
- "value": "vertical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Allows documenting the polarization of the air interface."
- },
- {
- "id": "power-is-on",
- "label": "power-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Power ON. Activation of the entire radio in a split mount configuration shall be expressed as a 'true'."
- },
- {
- "id": "transmitter-is-on",
- "label": "transmitter-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of the transmitter inside the radio shall be expressed as a 'true'."
- },
- {
- "id": "receiver-is-on",
- "label": "receiver-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maintenance Feature. Activation of the receiver inside the radio shall be expressed as a 'true'. Attribute shall also be used for RX main and RX diversity squelches in case of diversity configurations."
- },
- {
- "id": "tx-power",
- "label": "tx-power",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Transmit power to be configured on the microwave link. Signed Byte is required. The actually operated transmit power might be lower depending on adaptive modulation and ATPC."
- },
- {
- "id": "adaptive-modulation-is-on",
- "label": "adaptive-modulation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Adaptive Modulation. Activation of adaptive modulation shall be expressed as a 'true'."
- },
- {
- "id": "modulation-min",
- "label": "modulation-min",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum modulation to be configured (in case adaptive modulation is not used, this value represents also the fixed modulation). The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256'). Allowed values are defined in TypeDefinitions::transmissionModeType::modulationScheme."
- },
- {
- "id": "modulation-max",
- "label": "modulation-max",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum modulation to be configured. The value of this field is only relevant, if Adaptive Modulation has been activated. The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256'). Allowed values are defined in TypeDefinitions::transmissionModeType::modulationScheme."
- },
- {
- "id": "xpic-is-on",
- "label": "xpic-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of Cross Polarization Interference Cancelation shall be expressed as a 'true'. In case XPIC is not available for the current combination of channel bandwidth and modulation or the hardware in general, this parameter shall always be set to 'false'."
- },
- {
- "id": "mimo-is-on",
- "label": "mimo-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of Multiple Input Multiple Output (MIMO) shall be expressed as a 'true'."
- },
- {
- "id": "alic-is-on",
- "label": "alic-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of Adjacent Link Interference Cancelation (ALIC) shall be expressed as a 'true'."
- },
- {
- "id": "atpc-is-on",
- "label": "atpc-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ATPC. Activation of Automated Transmit Power Control shall be expressed as a 'true'."
- },
- {
- "id": "atpc-thresh-upper",
- "label": "atpc-thresh-upper",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If the receive level is higher than the upper threshold value, the transmitter is notified to decrease transmit power."
- },
- {
- "id": "atpc-thresh-lower",
- "label": "atpc-thresh-lower",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If the receive level is lower than the lower threshold value, the transmitter is notified to increase transmit power."
- },
- {
- "id": "atpc-tx-power-min",
- "label": "atpc-tx-power-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Transmit power, which is not to be undercut, while operating ATPC."
- },
- {
- "id": "auto-freq-select-is-on",
- "label": "auto-freq-select-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of automatically selecting the transmit frequency in unlicensed bands shall be expressed as a 'true'."
- },
- {
- "id": "auto-freq-select-range",
- "label": "auto-freq-select-range",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "channels",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of transmit channels (starting at the center frequency defined in txFrequency and with channel bandwidth according to txChannelBandwidth) that define the range within the transmit frequency can automatically been chosen."
- },
- {
- "id": "modulation-is-on",
- "label": "modulation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maintenance Feature. De-activation of the modulation of the carrier signal for fault management shall be expressed as a 'false'."
- },
- {
- "id": "encryption-is-on",
- "label": "encryption-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activates encryption of the payload."
- },
- {
- "id": "cryptographic-key",
- "label": "cryptographic-key",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Key for transforming plaintext into ciphertext data."
- },
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "loop-back-kind-on",
- "label": "loop-back-kind-on",
- "uiType": "selection",
- "options": [
- {
- "key": "rf-to-remote",
- "value": "rf-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the radio interface between both outdoor units."
- },
- {
- "key": "rf-to-local",
- "value": "rf-to-local",
- "description": "Returning the header information of the local site back to the local site on the radio interface between both outdoor units."
- },
- {
- "key": "if-to-remote",
- "value": "if-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "if-to-local",
- "value": "if-to-local",
- "description": "Returning the header information of the local site back to the local site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maintenance Feature. The currently configured type of looping back of the air interface header shall be expressed here. The received header is returned to the remote site."
- },
- {
- "id": "maintenance-timer",
- "label": "maintenance-timer",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time of existence of any maintenance configuration (e.g. the loop back of microwave header information). Valid values are defined in AirInterface::AirInterfaceCapability::maintenanceTimerRange."
- },
- {
- "id": "threshold-cross-alarm-list",
- "label": "threshold-cross-alarm-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-configuration-g:threshold-cross-alarm-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of threshold cross alarms to be configured."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-pac:air-interface-status",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-status",
- "language": "en-US",
- "title": "air-interface-status",
- "elements": [
- {
- "id": "tx-frequency-cur",
- "label": "tx-frequency-cur",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the currently operated transmit channel."
- },
- {
- "id": "rx-frequency-cur",
- "label": "rx-frequency-cur",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the currently operated receive channel."
- },
- {
- "id": "tx-level-cur",
- "label": "tx-level-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current transmit level."
- },
- {
- "id": "rx-level-cur",
- "label": "rx-level-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current receive level."
- },
- {
- "id": "transmission-mode-cur",
- "label": "transmission-mode-cur",
- "uiType": "string",
- "leafrefPath": "/mw-air-interface-pac/air-interface-capability/supported-channel-plan-list/transmission-mode-list/transmission-mode-id",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently operated transmission mode according to definitions in Capabilities."
- },
- {
- "id": "modulation-cur",
- "label": "modulation-cur",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently operated modulation on transmit path. The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256'). Allowed values are defined in TypeDefinitions::transmissionModeType::modulationScheme."
- },
- {
- "id": "code-rate-cur",
- "label": "code-rate-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "%",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Code rate of the currently operated coding scheme (Net bit rate ? Gross bit rate ? code rate)."
- },
- {
- "id": "received-signal-id",
- "label": "received-signal-id",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ID of the signal, which the receiver is currently synchronized on."
- },
- {
- "id": "snir-cur",
- "label": "snir-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently measured signal to (noise+interference) ratio."
- },
- {
- "id": "xpd-cur",
- "label": "xpd-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently measured cross polarization discrimination."
- },
- {
- "id": "rf-temp-cur",
- "label": "rf-temp-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "Celsius",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Air Interface entered its current operational status."
- },
- {
- "id": "radio-power-is-up",
- "label": "radio-power-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If the radio unit has power and is switched on, this shall be expressed as a 'true'."
- },
- {
- "id": "link-is-up",
- "label": "link-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If connection is established to the remote site with the same linkID, this shall be expressed as a 'true'."
- },
- {
- "id": "xpic-is-up",
- "label": "xpic-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If XPIC is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "mimo-is-up",
- "label": "mimo-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If MIMO is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "alic-is-up",
- "label": "alic-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If Adjacent Link Interference Cancelation (ALIC) is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "atpc-is-up",
- "label": "atpc-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If ATPC is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "auto-freq-select-is-up",
- "label": "auto-freq-select-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If automated frequency selection is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "loop-back-kind-up",
- "label": "loop-back-kind-up",
- "uiType": "selection",
- "options": [
- {
- "key": "rf-to-remote",
- "value": "rf-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the radio interface between both outdoor units."
- },
- {
- "key": "rf-to-local",
- "value": "rf-to-local",
- "description": "Returning the header information of the local site back to the local site on the radio interface between both outdoor units."
- },
- {
- "key": "if-to-remote",
- "value": "if-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "if-to-local",
- "value": "if-to-local",
- "description": "Returning the header information of the local site back to the local site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The currently active (not just configured) type of looping back of the air interface header shall be expressed here. The received header is returned to the remote site."
- },
- {
- "id": "local-end-point-id",
- "label": "local-end-point-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The value of the localEndPointId is a vendor specific identifier of the air interface, used by the node to discover a microwave radio link."
- },
- {
- "id": "remote-end-point-id",
- "label": "remote-end-point-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The value of the remoteEndPointId is a vendor specific identifier or the airinterface at the remote side, used to by the node to discover a microwave radio link."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-pac:air-interface-current-problems",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-current-problems",
- "language": "en-US",
- "title": "air-interface-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-pac:air-interface-current-performance",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-current-performance",
- "language": "en-US",
- "title": "air-interface-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-pac:air-interface-historical-performances",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-historical-performances",
- "language": "en-US",
- "title": "air-interface-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:co-channel-group",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "co-channel-group",
- "language": "en-US",
- "title": "co-channel-group",
- "elements": [
- {
- "id": "co-channel-group-id",
- "label": "co-channel-group-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "sort-of-co-channel-group",
- "label": "sort-of-co-channel-group",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Type of group of air interfaces with the same transmit and receive frequency. The values shall be chosen from the following _list:'XPIC', 'MIMO', 'ALIC';"
- },
- {
- "id": "air-interface-list",
- "label": "air-interface-list",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of air interfaces, which are part of the co-channel (XPIC, MIMO, ALIC) group."
- },
- {
- "id": "logical-termination-point",
- "label": "logical-termination-point",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-hsb-end-point-pac",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "mw-air-interface-hsb-end-point-pac",
- "language": "en-US",
- "title": "mw-air-interface-hsb-end-point-pac",
- "elements": [
- {
- "id": "role",
- "label": "role",
- "uiType": "selection",
- "options": [
- {
- "key": "working",
- "value": "working",
- "description": "none"
- },
- {
- "key": "protection",
- "value": "protection",
- "description": "none"
- },
- {
- "key": "protected",
- "value": "protected",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "endpoint",
- "label": "endpoint",
- "uiType": "string",
- "leafrefPath": "/core-model:forwarding-construct/core-model:fc-port/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "The EndPoint (EP) object class models the access to the FC function. Each EndPoint instance has a role (e.g., working, protection, protected, hub, spoke, leaf, root, etc.) with respect to the FC function. The association of the FC to LTPs is made via EndPoints (essentially the ports of the FC) where each EndPoint (EP) of the FC has a role in the context of the FC. The traffic forwarding between the associated End PointsEPs of the FC depends upon the type of FC and may be associated with FCSwitch object instances. In cases where there is protection conveys the protecting role of the access to the FC. The EP replaces the Protection Unit of a traditional protection model. It represents a protected (resilient/reliable) point or a protecting (unreliable working or protection) point."
- },
- {
- "id": "microwave-model:mw-air-interface-hsb-fc-switch-pac",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "mw-air-interface-hsb-fc-switch-pac",
- "language": "en-US",
- "title": "mw-air-interface-hsb-fc-switch-pac",
- "elements": [
- {
- "id": "prot-type",
- "label": "prot-type",
- "uiType": "selection",
- "options": [
- {
- "key": "hsb",
- "value": "hsb",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Indicates the protection scheme that is used for the ProtectionGroup."
- },
- {
- "id": "air-interface-hsb-configuration-is-faulty-severity",
- "label": "air-interface-hsb-configuration-is-faulty-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The level of severity of an airInterfaceHsbConfigurationIsFaulty alarm shall be chosen from an enumeration."
- },
- {
- "id": "air-interface-hsb-is-partly-down-severity",
- "label": "air-interface-hsb-is-partly-down-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The level of severity for one link out of the HSB configuration being down shall be chosen from an enumeration."
- },
- {
- "id": "air-interface-hsb-is-down-severity",
- "label": "air-interface-hsb-is-down-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The level of severity of the total HSB configuration being down shall be chosen from an enumeration."
- },
- {
- "id": "fcswitch",
- "label": "fcswitch",
- "uiType": "string",
- "leafrefPath": "/core-model:forwarding-construct/core-model:fc-switch/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Represents and defines a protection switch structure encapsulated in the forwarding construct. Essentially performs the function of Protection Group. Associates to 2 or more Endpoints each playing the role of a Protection Unit. One or more protection EndPoints (standby/backup) provide protection for one or more working (i.e. regular/main/preferred) Endpoints where either protection or working can feed one or more protected Endpoint. May be used in revertive or non-revertive (symmetric) mode. When in revertive mode may define waitToRestore time. May be used in one of several modes including source switch, destination switched, source and destination switched etc (covering cases such as 1+1 ane 1:1). May be lockout (prevented from switching), force switched or manual switched. Will indicate switch state and change of state."
- },
- {
- "id": "microwave-model:mw-air-interface-diversity-pac",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "mw-air-interface-diversity-pac",
- "language": "en-US",
- "title": "mw-air-interface-diversity-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "air-interface-diversity-capability",
- "label": "air-interface-diversity-capability",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-capability",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-diversity-configuration",
- "label": "air-interface-diversity-configuration",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-configuration",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-diversity-status",
- "label": "air-interface-diversity-status",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-status",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-diversity-current-problems",
- "label": "air-interface-diversity-current-problems",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-current-problems",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-diversity-current-performance",
- "label": "air-interface-diversity-current-performance",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-current-performance",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-diversity-historical-performances",
- "label": "air-interface-diversity-historical-performances",
- "uiType": "object",
- "viewId": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-historical-performances",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-capability",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-diversity-capability",
- "language": "en-US",
- "title": "air-interface-diversity-capability",
- "elements": [
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'airInterfaceDiversityConfigurationIsPartlyDown' (at least one air interface is down, but not all of them) and 'airInterfaceDiversityConfigurationIsDown' (all air interfaces are down). Further alarms might be added by the device. Names are to be separated by commas."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'airInterfaceDiversityConfigurationIsPartlyDown' (at least one air interface is down, but not all of them) and 'airInterfaceDiversityConfigurationIsDown' (all air interfaces are down). Further alarms might be added by the vendor."
- },
- {
- "id": "available-kinds-of-diversity",
- "label": "available-kinds-of-diversity",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-capability-g:available-kinds-of-diversity",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available types of diversity to be listed."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-configuration",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-diversity-configuration",
- "language": "en-US",
- "title": "air-interface-diversity-configuration",
- "elements": [
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "air-interface-diversity",
- "label": "air-interface-diversity",
- "uiType": "object",
- "viewId": "microwave-model:air-interface-diversity-configuration-g:air-interface-diversity",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Type of air interface diversity configured at the link."
- },
- {
- "id": "air-interface-ltp-list",
- "label": "air-interface-ltp-list",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "_multiplicity:2-ThisAirInterfaceDiversity::AirInterfaceDiversityConfiguration::airInterfaceDiversity::diversityType::numberOfAirInterfacesMax"
- },
- {
- "id": "threshold-cross-alarm-list",
- "label": "threshold-cross-alarm-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-configuration-g:threshold-cross-alarm-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of threshold cross alarms to be configured."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-status",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-diversity-status",
- "language": "en-US",
- "title": "air-interface-diversity-status",
- "elements": [
- {
- "id": "snir-cur",
- "label": "snir-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently measured signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "air-interface-diversity-status",
- "label": "air-interface-diversity-status",
- "uiType": "selection",
- "options": [
- {
- "key": "group-down",
- "value": "group-down",
- "description": "All air interfaces that are members of the diversity configuration are down."
- },
- {
- "key": "not-all-ai-active",
- "value": "not-all-ai-active",
- "description": "At least one, but not all of the air interfaces that are part of the diversity configuration is not working."
- },
- {
- "key": "all-ai-active",
- "value": "all-ai-active",
- "description": "All air interfaces that are part of the diversity configuration are working."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Status of the air interface bundle."
- },
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Diversity Group entered its current operational status."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-current-problems",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-diversity-current-problems",
- "language": "en-US",
- "title": "air-interface-diversity-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-current-performance",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-diversity-current-performance",
- "language": "en-US",
- "title": "air-interface-diversity-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-air-interface-diversity-pac:air-interface-diversity-historical-performances",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-diversity-historical-performances",
- "language": "en-US",
- "title": "air-interface-diversity-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-pure-ethernet-structure-pac",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "mw-pure-ethernet-structure-pac",
- "language": "en-US",
- "title": "mw-pure-ethernet-structure-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "pure-ethernet-structure-capability",
- "label": "pure-ethernet-structure-capability",
- "uiType": "object",
- "viewId": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-capability",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "pure-ethernet-structure-configuration",
- "label": "pure-ethernet-structure-configuration",
- "uiType": "object",
- "viewId": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-configuration",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "pure-ethernet-structure-status",
- "label": "pure-ethernet-structure-status",
- "uiType": "object",
- "viewId": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-status",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "pure-ethernet-structure-current-problems",
- "label": "pure-ethernet-structure-current-problems",
- "uiType": "object",
- "viewId": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-current-problems",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "pure-ethernet-structure-current-performance",
- "label": "pure-ethernet-structure-current-performance",
- "uiType": "object",
- "viewId": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-current-performance",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "pure-ethernet-structure-historical-performances",
- "label": "pure-ethernet-structure-historical-performances",
- "uiType": "object",
- "viewId": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-historical-performances",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "The pureEthernetStructure_Pac and its attached classes MUST be provided on management interfaces of microwave devices, which are transporting Ethernet traffic only."
- },
- {
- "id": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-capability",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "pure-ethernet-structure-capability",
- "language": "en-US",
- "title": "pure-ethernet-structure-capability",
- "elements": [
- {
- "id": "structure-id",
- "label": "structure-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Identifies the Structure for bundling and container."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the device."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the vendor."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-configuration",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "pure-ethernet-structure-configuration",
- "language": "en-US",
- "title": "pure-ethernet-structure-configuration",
- "elements": [
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:pure-ethernet-structure-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the type of problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-status",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "pure-ethernet-structure-status",
- "language": "en-US",
- "title": "pure-ethernet-structure-status",
- "elements": [
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the last update of the status information."
- },
- {
- "id": "segment-status-list",
- "label": "segment-status-list",
- "uiType": "object",
- "viewId": "microwave-model:pure-ethernet-structure-status-g:segment-status-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Status of the Ethernet transport segment. Always just one segment."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-current-problems",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "pure-ethernet-structure-current-problems",
- "language": "en-US",
- "title": "pure-ethernet-structure-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:pure-ethernet-structure-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-current-performance",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "pure-ethernet-structure-current-performance",
- "language": "en-US",
- "title": "pure-ethernet-structure-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:pure-ethernet-structure-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-pure-ethernet-structure-pac:pure-ethernet-structure-historical-performances",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "pure-ethernet-structure-historical-performances",
- "language": "en-US",
- "title": "pure-ethernet-structure-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:pure-ethernet-structure-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-hybrid-mw-structure-pac",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "mw-hybrid-mw-structure-pac",
- "language": "en-US",
- "title": "mw-hybrid-mw-structure-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "hybrid-mw-structure-capability",
- "label": "hybrid-mw-structure-capability",
- "uiType": "object",
- "viewId": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-capability",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "hybrid-mw-structure-configuration",
- "label": "hybrid-mw-structure-configuration",
- "uiType": "object",
- "viewId": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-configuration",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "hybrid-mw-structure-status",
- "label": "hybrid-mw-structure-status",
- "uiType": "object",
- "viewId": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-status",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "hybrid-mw-structure-current-problems",
- "label": "hybrid-mw-structure-current-problems",
- "uiType": "object",
- "viewId": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-current-problems",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "hybrid-mw-structure-current-performance",
- "label": "hybrid-mw-structure-current-performance",
- "uiType": "object",
- "viewId": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-current-performance",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "hybrid-mw-structure-historical-performances",
- "label": "hybrid-mw-structure-historical-performances",
- "uiType": "object",
- "viewId": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-historical-performances",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "The HybridMwStructure_Pac and its attached classes MUST be provided on management interfaces of microwave devices, which are transporting TDM and Ethernet traffic."
- },
- {
- "id": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-capability",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "hybrid-mw-structure-capability",
- "language": "en-US",
- "title": "hybrid-mw-structure-capability",
- "elements": [
- {
- "id": "structure-id",
- "label": "structure-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Identifies the Structure for bundling and container."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the device."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the vendor."
- },
- {
- "id": "supported-tdm-structure-types-list",
- "label": "supported-tdm-structure-types-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-capability-g:supported-tdm-structure-types-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lists the TDM frame types that are supported."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-configuration",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "hybrid-mw-structure-configuration",
- "language": "en-US",
- "title": "hybrid-mw-structure-configuration",
- "elements": [
- {
- "id": "number-of-tdm-segments-to-be-reserved",
- "label": "number-of-tdm-segments-to-be-reserved",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Allows to configure the number of segments reserved for TDM frames of the type specified in HybridMwStructure::HybridMwStructureConfiguration::structureType"
- },
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "structure-kind",
- "label": "structure-kind",
- "uiType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-configuration-g:structure-kind",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "TDM frame to be applied."
- },
- {
- "id": "structure-type",
- "label": "structure-type",
- "uiType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-configuration-g:structure-type",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "TDM frame to be applied."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the type of problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-status",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "hybrid-mw-structure-status",
- "language": "en-US",
- "title": "hybrid-mw-structure-status",
- "elements": [
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the last update of the status information."
- },
- {
- "id": "segment-status-list",
- "label": "segment-status-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-status-g:segment-status-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Status of each segment (all TDM and one Ethernet). Multiplicity = HybridMwStructure::StructureConfiguration::tdmReservedNumberOfSegments + 1"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-current-problems",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "hybrid-mw-structure-current-problems",
- "language": "en-US",
- "title": "hybrid-mw-structure-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-current-performance",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "hybrid-mw-structure-current-performance",
- "language": "en-US",
- "title": "hybrid-mw-structure-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-hybrid-mw-structure-pac:hybrid-mw-structure-historical-performances",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "hybrid-mw-structure-historical-performances",
- "language": "en-US",
- "title": "hybrid-mw-structure-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-ethernet-container-pac",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "mw-ethernet-container-pac",
- "language": "en-US",
- "title": "mw-ethernet-container-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "ethernet-container-capability",
- "label": "ethernet-container-capability",
- "uiType": "object",
- "viewId": "microwave-model:mw-ethernet-container-pac:ethernet-container-capability",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "ethernet-container-configuration",
- "label": "ethernet-container-configuration",
- "uiType": "object",
- "viewId": "microwave-model:mw-ethernet-container-pac:ethernet-container-configuration",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "ethernet-container-status",
- "label": "ethernet-container-status",
- "uiType": "object",
- "viewId": "microwave-model:mw-ethernet-container-pac:ethernet-container-status",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "ethernet-container-current-problems",
- "label": "ethernet-container-current-problems",
- "uiType": "object",
- "viewId": "microwave-model:mw-ethernet-container-pac:ethernet-container-current-problems",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "ethernet-container-current-performance",
- "label": "ethernet-container-current-performance",
- "uiType": "object",
- "viewId": "microwave-model:mw-ethernet-container-pac:ethernet-container-current-performance",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "ethernet-container-historical-performances",
- "label": "ethernet-container-historical-performances",
- "uiType": "object",
- "viewId": "microwave-model:mw-ethernet-container-pac:ethernet-container-historical-performances",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-ethernet-container-pac:ethernet-container-capability",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "ethernet-container-capability",
- "language": "en-US",
- "title": "ethernet-container-capability",
- "elements": [
- {
- "id": "bundling-is-avail",
- "label": "bundling-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "This attribute has to be set on 'true', if the device allows combining resources from several air interfaces for transporting this Ethernet container."
- },
- {
- "id": "packet-compression-is-avail",
- "label": "packet-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case packet compression can be activated, but not configured to a certain type, packetCompressionAvail shall be set on 'true', but none of the compression level specific booleans."
- },
- {
- "id": "layer2-compression-is-avail",
- "label": "layer2-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 2 available at the device."
- },
- {
- "id": "vlan-compression-is-avail",
- "label": "vlan-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on VLAN layer available at the device."
- },
- {
- "id": "q-in-q-compression-is-avail",
- "label": "q-in-q-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer of a second VLAN available at the device."
- },
- {
- "id": "mpls-compression-is-avail",
- "label": "mpls-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on mpls layer available at the device."
- },
- {
- "id": "ipv4-compression-is-avail",
- "label": "ipv4-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv4 available at the device."
- },
- {
- "id": "ipv6-compression-is-avail",
- "label": "ipv6-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv6 available at the device."
- },
- {
- "id": "layer4-compression-is-avail",
- "label": "layer4-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 4 (TCP and UDP header) available at the device."
- },
- {
- "id": "encryption-is-avail",
- "label": "encryption-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Shall be marked 'true', if Ethernet payload encryption is available."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the device."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the vendor."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-ethernet-container-pac:ethernet-container-configuration",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "ethernet-container-configuration",
- "language": "en-US",
- "title": "ethernet-container-configuration",
- "elements": [
- {
- "id": "container-id",
- "label": "container-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ContainterID in Netconf must be the same as EthernetPortID in OpenFlow so a connection can be made between the two items, which separately exist in the controller."
- },
- {
- "id": "packet-compression-is-on",
- "label": "packet-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case packet compression is activated, but no type is activated, it is assumed that the device chooses the optimum."
- },
- {
- "id": "layer2-compression-is-on",
- "label": "layer2-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 2 configured at the device."
- },
- {
- "id": "vlan-compression-is-on",
- "label": "vlan-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on VLAN layer configured at the device."
- },
- {
- "id": "q-in-q-compression-is-on",
- "label": "q-in-q-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer of a second VLAN configured at the device."
- },
- {
- "id": "mpls-compression-is-on",
- "label": "mpls-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on MPLS layer configured at the device."
- },
- {
- "id": "ipv4-compression-is-on",
- "label": "ipv4-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv4 configured at the device."
- },
- {
- "id": "ipv6-compression-is-on",
- "label": "ipv6-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv6 configured at the device."
- },
- {
- "id": "layer4-compression-is-on",
- "label": "layer4-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 4 (TCP and UDP header) configured at the device."
- },
- {
- "id": "encryption-is-on",
- "label": "encryption-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activates encryption of the Ethernet payload."
- },
- {
- "id": "cryptographic-key",
- "label": "cryptographic-key",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Key for transforming plaintext into cipher text data."
- },
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "segments-id-list",
- "label": "segments-id-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:ethernet-container-configuration-g:segments-id-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lists the segments used for transporting this Ethernet container. In case EthernetContainer::ContainerCapability::bundlingIsAvail==0, all TypeDefinitions::segmentIdType::structureId must be identical in the list."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:ethernet-container-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-ethernet-container-pac:ethernet-container-status",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "ethernet-container-status",
- "language": "en-US",
- "title": "ethernet-container-status",
- "elements": [
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Container entered its current operational status."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-ethernet-container-pac:ethernet-container-current-problems",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "ethernet-container-current-problems",
- "language": "en-US",
- "title": "ethernet-container-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:ethernet-container-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-ethernet-container-pac:ethernet-container-current-performance",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "ethernet-container-current-performance",
- "language": "en-US",
- "title": "ethernet-container-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:ethernet-container-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-ethernet-container-pac:ethernet-container-historical-performances",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "ethernet-container-historical-performances",
- "language": "en-US",
- "title": "ethernet-container-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:ethernet-container-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-tdm-container-pac",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "mw-tdm-container-pac",
- "language": "en-US",
- "title": "mw-tdm-container-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "tdm-container-capability",
- "label": "tdm-container-capability",
- "uiType": "object",
- "viewId": "microwave-model:mw-tdm-container-pac:tdm-container-capability",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "tdm-container-configuration",
- "label": "tdm-container-configuration",
- "uiType": "object",
- "viewId": "microwave-model:mw-tdm-container-pac:tdm-container-configuration",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "tdm-container-status",
- "label": "tdm-container-status",
- "uiType": "object",
- "viewId": "microwave-model:mw-tdm-container-pac:tdm-container-status",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "tdm-container-current-problems",
- "label": "tdm-container-current-problems",
- "uiType": "object",
- "viewId": "microwave-model:mw-tdm-container-pac:tdm-container-current-problems",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "tdm-container-current-performance",
- "label": "tdm-container-current-performance",
- "uiType": "object",
- "viewId": "microwave-model:mw-tdm-container-pac:tdm-container-current-performance",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "tdm-container-historical-performances",
- "label": "tdm-container-historical-performances",
- "uiType": "object",
- "viewId": "microwave-model:mw-tdm-container-pac:tdm-container-historical-performances",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "The TdmContainer_Pac and its attached classes MUST be provided on management interfaces of microwave devices, which are transporting TDM traffic."
- },
- {
- "id": "microwave-model:mw-tdm-container-pac:tdm-container-capability",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "tdm-container-capability",
- "language": "en-US",
- "title": "tdm-container-capability",
- "elements": [
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the device."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the vendor."
- },
- {
- "id": "supported-tdm-container-types-list",
- "label": "supported-tdm-container-types-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:tdm-container-capability-g:supported-tdm-container-types-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lists the TDM containers that are supported."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-tdm-container-pac:tdm-container-configuration",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "tdm-container-configuration",
- "language": "en-US",
- "title": "tdm-container-configuration",
- "elements": [
- {
- "id": "container-id",
- "label": "container-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ContainterID in Netconf must be the same as TDM Flow ID so a connection can be made between the two items, which separately exist in the controller."
- },
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "container-type",
- "label": "container-type",
- "uiType": "object",
- "viewId": "microwave-model:tdm-container-configuration-g:container-type",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Type of TDM container."
- },
- {
- "id": "segment-id",
- "label": "segment-id",
- "uiType": "object",
- "viewId": "microwave-model:tdm-container-configuration-g:segment-id",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Multiplicity = 1; One segment per TDM container; Type of segment must match type of container;"
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:tdm-container-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-tdm-container-pac:tdm-container-status",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "tdm-container-status",
- "language": "en-US",
- "title": "tdm-container-status",
- "elements": [
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Container entered its current operational status."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-tdm-container-pac:tdm-container-current-problems",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "tdm-container-current-problems",
- "language": "en-US",
- "title": "tdm-container-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:tdm-container-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-tdm-container-pac:tdm-container-current-performance",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "tdm-container-current-performance",
- "language": "en-US",
- "title": "tdm-container-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:tdm-container-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-tdm-container-pac:tdm-container-historical-performances",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "tdm-container-historical-performances",
- "language": "en-US",
- "title": "tdm-container-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:tdm-container-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-pac",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "wire-interface-pac",
- "language": "en-US",
- "title": "wire-interface-pac",
- "elements": [
- {
- "id": "layer-protocol",
- "label": "layer-protocol",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/_ltpRefList/_lpList/uuid"
- },
- {
- "id": "wirebased-interface-capability",
- "label": "wirebased-interface-capability",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-pac:wirebased-interface-capability",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "wirebased-interface-configuration",
- "label": "wirebased-interface-configuration",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-pac:wirebased-interface-configuration",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "wirebased-interface-status",
- "label": "wirebased-interface-status",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-pac:wirebased-interface-status",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "wirebased-interface-current-problems",
- "label": "wirebased-interface-current-problems",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-pac:wirebased-interface-current-problems",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "wirebased-interface-current-performance",
- "label": "wirebased-interface-current-performance",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-pac:wirebased-interface-current-performance",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "wirebased-interface-historical-performances",
- "label": "wirebased-interface-historical-performances",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-pac:wirebased-interface-historical-performances",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-pac:wirebased-interface-capability",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "wirebased-interface-capability",
- "language": "en-US",
- "title": "wirebased-interface-capability",
- "elements": [
- {
- "id": "auto-pmd-negotiation-is-avail",
- "label": "auto-pmd-negotiation-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter 1 = Indicates that device is supporting Auto-negotiation"
- },
- {
- "id": "auto-pmd-negotiation-max-is-avail",
- "label": "auto-pmd-negotiation-max-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Indicates that device is supporting definition of the maximum speed/Medium Attached Unit (MAU) automatically chosen when (autoNegotiationIsOn=1)"
- },
- {
- "id": "maintenance-timer-range",
- "label": "maintenance-timer-range",
- "uiType": "string",
- "unit": "Byte",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "MW IM Available time periods for maintenance configurations (e.g. the loop back) to be described. Concrete values shall be separated by commas (e.g. '10, 60, 360'). Ranges shall be expressed as two values separated by a minus (e.g. '10-360')."
- },
- {
- "id": "supported-loop-back-kind-list",
- "label": "supported-loop-back-kind-list",
- "uiType": "selection",
- "options": [
- {
- "key": "rf-to-remote",
- "value": "rf-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the radio interface between both outdoor units."
- },
- {
- "key": "rf-to-local",
- "value": "rf-to-local",
- "description": "Returning the header information of the local site back to the local site on the radio interface between both outdoor units."
- },
- {
- "key": "if-to-remote",
- "value": "if-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "if-to-local",
- "value": "if-to-local",
- "description": "Returning the header information of the local site back to the local site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of supported kinds of looping back of header information to the remote site. 802.3 45.2.1.12.1 PMA remote loopback ability"
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'txFault', 'rxLos', 'tempHigh', 'tempLow', 'rxLevelHigh', 'rxLevelLow'. Optional:'vccHigh', 'vccLow', 'txBiasHigh', 'txBiasLow', 'txPowerHigh', 'txPowerLow', 'laserTempHigh', 'laserTempLow', 'tecCurrentHigh', 'tecCurrentLow'. Further alarms might be added by the device. Names are to be separated by commas."
- },
- {
- "id": "available-mau-list",
- "label": "available-mau-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:wire-interface-capability-g:available-mau-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of Medium Attachment Units (MAUs) that are available for being selected. If rate and service configuration (e.g. SFF-8079) are not supported, the MAU determined by hardware shall be described."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-pac:wirebased-interface-configuration",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "wirebased-interface-configuration",
- "language": "en-US",
- "title": "wirebased-interface-configuration",
- "elements": [
- {
- "id": "wire-interface-name",
- "label": "wire-interface-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Text field for the wire interface being named by the operator. Ideally used for entering unique numbers or names for unambiguously identifying the connection within the network Parameter"
- },
- {
- "id": "remote-wire-interface-name",
- "label": "remote-wire-interface-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Learning from MW IM Text field for defining the wire interface this one is connected with. Ideally used for entering unique numbers or names for unambiguously identifying the connection within the network"
- },
- {
- "id": "interface-is-on",
- "label": "interface-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Activation of the interface (it gets powered and can be managed even if the transceiver is not yet transmitting or receiving). In case there is no Medium Attachment Unit (MAU) (e.g. no SFP in the cage) SETting (interfaceIsOn=1) must be ignored and GETing must return (interfaceIsOn=0) 802.3 according 30.3.2.2.1 acPhyAdminControl"
- },
- {
- "id": "auto-pmd-negotiation-is-on",
- "label": "auto-pmd-negotiation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter 1 = Auto-negotiation is switched on"
- },
- {
- "id": "fixed-pmd",
- "label": "fixed-pmd",
- "uiType": "selection",
- "options": [
- {
- "key": "10-base5",
- "value": "10-base5",
- "description": "Thick coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 8"
- },
- {
- "key": "foirl",
- "value": "foirl",
- "description": "FOIRL Medium Attachment Unit (MAU) as specified in 802.3 Clause 9.9"
- },
- {
- "key": "10-base2",
- "value": "10-base2",
- "description": "Thin coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 10"
- },
- {
- "key": "10-broad36",
- "value": "10-broad36",
- "description": "Broadband DTE Medium Attachment Unit (MAU) as specified in 802.3 Clause 11"
- },
- {
- "key": "10-base-t",
- "value": "10-base-t",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-thd",
- "value": "10-base-thd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in half duplex mode"
- },
- {
- "key": "10-base-tfd",
- "value": "10-base-tfd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in full duplex mode"
- },
- {
- "key": "10-base-fp",
- "value": "10-base-fp",
- "description": "Passive fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 16"
- },
- {
- "key": "10-base-fb",
- "value": "10-base-fb",
- "description": "Synchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 17"
- },
- {
- "key": "10-base-fl",
- "value": "10-base-fl",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-flhd",
- "value": "10-base-flhd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in half duplex mode"
- },
- {
- "key": "10-base-flfd",
- "value": "10-base-flfd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in full duplex mode"
- },
- {
- "key": "100-base-t4",
- "value": "100-base-t4",
- "description": "Four-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 23"
- },
- {
- "key": "100-base-tx",
- "value": "100-base-tx",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-txhd",
- "value": "100-base-txhd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in half duplex mode"
- },
- {
- "key": "100-base-txfd",
- "value": "100-base-txfd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in full duplex mode"
- },
- {
- "key": "100-base-bx10-d",
- "value": "100-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-bx10-u",
- "value": "100-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-fx",
- "value": "100-base-fx",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-fxhd",
- "value": "100-base-fxhd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in half duplex mode"
- },
- {
- "key": "100-base-fxfd",
- "value": "100-base-fxfd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in full duplex mode"
- },
- {
- "key": "100-base-lx10",
- "value": "100-base-lx10",
- "description": "Two fiber Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-t2",
- "value": "100-base-t2",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-t2-hd",
- "value": "100-base-t2-hd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in half duplex mode"
- },
- {
- "key": "100-base-t2-fd",
- "value": "100-base-t2-fd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in full duplex mode"
- },
- {
- "key": "1000-base-x",
- "value": "1000-base-x",
- "description": "X as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD and duplex mode unknown"
- },
- {
- "key": "1000-base-bx10-d",
- "value": "1000-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-bx10-u",
- "value": "1000-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-xhd",
- "value": "1000-base-xhd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in half duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-xfd",
- "value": "1000-base-xfd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in full duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-lx",
- "value": "1000-base-lx",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-lxhd",
- "value": "1000-base-lxhd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-lxfd",
- "value": "1000-base-lxfd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-lx10",
- "value": "1000-base-lx10",
- "description": "Two fiber 10km Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-sx",
- "value": "1000-base-sx",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-sxhd",
- "value": "1000-base-sxhd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-sxfd",
- "value": "1000-base-sxfd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-cx",
- "value": "1000-base-cx",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-cxhd",
- "value": "1000-base-cxhd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in half duplex mode"
- },
- {
- "key": "1000-base-cxfd",
- "value": "1000-base-cxfd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in full duplex mode"
- },
- {
- "key": "1000-base-kx",
- "value": "1000-base-kx",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 70"
- },
- {
- "key": "1000-base-t",
- "value": "1000-base-t",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-thd",
- "value": "1000-base-thd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in half duplex mode"
- },
- {
- "key": "1000-base-tfd",
- "value": "1000-base-tfd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in full duplex mode"
- },
- {
- "key": "10-gbase-x",
- "value": "10-gbase-x",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 48 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-lx4",
- "value": "10-gbase-lx4",
- "description": "X fiber over 4 lane 1310nm optics as specified in 802.3 Clause 53"
- },
- {
- "key": "10-gbase-cx4",
- "value": "10-gbase-cx4",
- "description": "X copper over 8 pair 100-Ohm balanced cable as specified in 802.3 Clause 54"
- },
- {
- "key": "10-gbase-kx4",
- "value": "10-gbase-kx4",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 71"
- },
- {
- "key": "10-gbase-r",
- "value": "10-gbase-r",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 49 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-er",
- "value": "10-gbase-er",
- "description": "R fiber over 1550nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lr",
- "value": "10-gbase-lr",
- "description": "R fiber over 1310nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-sr",
- "value": "10-gbase-sr",
- "description": "R fiber over 850nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lrm",
- "value": "10-gbase-lrm",
- "description": "R fiber over 1310 nm optics as specified in 802.3 Clause 68"
- },
- {
- "key": "10-gbase-kr",
- "value": "10-gbase-kr",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 72"
- },
- {
- "key": "10-gbase-t",
- "value": "10-gbase-t",
- "description": "Four-pair twisted-pair balanced copper cabling Physical layer entity (PHY) as specified in 802.3 Clause 55"
- },
- {
- "key": "10-gbase-pr-d1",
- "value": "10-gbase-pr-d1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d2",
- "value": "10-gbase-pr-d2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d3",
- "value": "10-gbase-pr-d3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d4",
- "value": "10-gbase-pr-d4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u1",
- "value": "10-gbase-pr-u1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u2",
- "value": "10-gbase-pr-u2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u3",
- "value": "10-gbase-pr-u3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u4",
- "value": "10-gbase-pr-u4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "40-gbase-r",
- "value": "40-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "40-gbase-kr4",
- "value": "40-gbase-kr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 84"
- },
- {
- "key": "40-gbase-cr4",
- "value": "40-gbase-cr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "40-gbase-sr4",
- "value": "40-gbase-sr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "4-x10-gbase-sr",
- "value": "4-x10-gbase-sr",
- "description": "4 times 10GBASE-S compatible to 802.3 Clause 52 over 4 lane multimode fiber"
- },
- {
- "key": "40-gbase-lr4",
- "value": "40-gbase-lr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-er4",
- "value": "40-gbase-er4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-fr",
- "value": "40-gbase-fr",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over single mode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 89"
- },
- {
- "key": "100-gbase-r",
- "value": "100-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined 100GBASE-R or 100GBASE-P Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "100-gbase-cr4",
- "value": "100-gbase-cr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 92"
- },
- {
- "key": "100-gbase-kr4",
- "value": "100-gbase-kr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 93"
- },
- {
- "key": "100-gbase-kp4",
- "value": "100-gbase-kp4",
- "description": "100GBASE-P Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 94"
- },
- {
- "key": "100-gbase-cr10",
- "value": "100-gbase-cr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "100-gbase-sr4",
- "value": "100-gbase-sr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 95"
- },
- {
- "key": "100-gbase-sr10",
- "value": "100-gbase-sr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "2-x40-gbase-sr",
- "value": "2-x40-gbase-sr",
- "description": "2 times 40GBASE-S compatible to 802.3 Clause 86 over 10 lane multimode fiber"
- },
- {
- "key": "10-x10-gbase-sr",
- "value": "10-x10-gbase-sr",
- "description": "10 times 10GBASE-S compatible to 802.3 Clause 52 over 10 lane multimode fiber"
- },
- {
- "key": "12-x10-gbase-sr",
- "value": "12-x10-gbase-sr",
- "description": "12 times 10GBASE-S compatible to 802.3 Clause 52 over 12 lane multimode fiber"
- },
- {
- "key": "100-gbase-lr4",
- "value": "100-gbase-lr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "100-gbase-er4",
- "value": "100-gbase-er4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If (autoPmdNegotiationIsOn=0) configuration of the concrete kind of Physical Medium Dependent (PMD). If (autoNegotiationIsOn=1) value of this field becomes irrelevant"
- },
- {
- "id": "auto-pmd-negotiation-max",
- "label": "auto-pmd-negotiation-max",
- "uiType": "selection",
- "options": [
- {
- "key": "10-base5",
- "value": "10-base5",
- "description": "Thick coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 8"
- },
- {
- "key": "foirl",
- "value": "foirl",
- "description": "FOIRL Medium Attachment Unit (MAU) as specified in 802.3 Clause 9.9"
- },
- {
- "key": "10-base2",
- "value": "10-base2",
- "description": "Thin coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 10"
- },
- {
- "key": "10-broad36",
- "value": "10-broad36",
- "description": "Broadband DTE Medium Attachment Unit (MAU) as specified in 802.3 Clause 11"
- },
- {
- "key": "10-base-t",
- "value": "10-base-t",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-thd",
- "value": "10-base-thd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in half duplex mode"
- },
- {
- "key": "10-base-tfd",
- "value": "10-base-tfd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in full duplex mode"
- },
- {
- "key": "10-base-fp",
- "value": "10-base-fp",
- "description": "Passive fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 16"
- },
- {
- "key": "10-base-fb",
- "value": "10-base-fb",
- "description": "Synchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 17"
- },
- {
- "key": "10-base-fl",
- "value": "10-base-fl",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-flhd",
- "value": "10-base-flhd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in half duplex mode"
- },
- {
- "key": "10-base-flfd",
- "value": "10-base-flfd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in full duplex mode"
- },
- {
- "key": "100-base-t4",
- "value": "100-base-t4",
- "description": "Four-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 23"
- },
- {
- "key": "100-base-tx",
- "value": "100-base-tx",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-txhd",
- "value": "100-base-txhd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in half duplex mode"
- },
- {
- "key": "100-base-txfd",
- "value": "100-base-txfd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in full duplex mode"
- },
- {
- "key": "100-base-bx10-d",
- "value": "100-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-bx10-u",
- "value": "100-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-fx",
- "value": "100-base-fx",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-fxhd",
- "value": "100-base-fxhd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in half duplex mode"
- },
- {
- "key": "100-base-fxfd",
- "value": "100-base-fxfd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in full duplex mode"
- },
- {
- "key": "100-base-lx10",
- "value": "100-base-lx10",
- "description": "Two fiber Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-t2",
- "value": "100-base-t2",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-t2-hd",
- "value": "100-base-t2-hd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in half duplex mode"
- },
- {
- "key": "100-base-t2-fd",
- "value": "100-base-t2-fd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in full duplex mode"
- },
- {
- "key": "1000-base-x",
- "value": "1000-base-x",
- "description": "X as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD and duplex mode unknown"
- },
- {
- "key": "1000-base-bx10-d",
- "value": "1000-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-bx10-u",
- "value": "1000-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-xhd",
- "value": "1000-base-xhd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in half duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-xfd",
- "value": "1000-base-xfd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in full duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-lx",
- "value": "1000-base-lx",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-lxhd",
- "value": "1000-base-lxhd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-lxfd",
- "value": "1000-base-lxfd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-lx10",
- "value": "1000-base-lx10",
- "description": "Two fiber 10km Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-sx",
- "value": "1000-base-sx",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-sxhd",
- "value": "1000-base-sxhd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-sxfd",
- "value": "1000-base-sxfd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-cx",
- "value": "1000-base-cx",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-cxhd",
- "value": "1000-base-cxhd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in half duplex mode"
- },
- {
- "key": "1000-base-cxfd",
- "value": "1000-base-cxfd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in full duplex mode"
- },
- {
- "key": "1000-base-kx",
- "value": "1000-base-kx",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 70"
- },
- {
- "key": "1000-base-t",
- "value": "1000-base-t",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-thd",
- "value": "1000-base-thd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in half duplex mode"
- },
- {
- "key": "1000-base-tfd",
- "value": "1000-base-tfd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in full duplex mode"
- },
- {
- "key": "10-gbase-x",
- "value": "10-gbase-x",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 48 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-lx4",
- "value": "10-gbase-lx4",
- "description": "X fiber over 4 lane 1310nm optics as specified in 802.3 Clause 53"
- },
- {
- "key": "10-gbase-cx4",
- "value": "10-gbase-cx4",
- "description": "X copper over 8 pair 100-Ohm balanced cable as specified in 802.3 Clause 54"
- },
- {
- "key": "10-gbase-kx4",
- "value": "10-gbase-kx4",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 71"
- },
- {
- "key": "10-gbase-r",
- "value": "10-gbase-r",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 49 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-er",
- "value": "10-gbase-er",
- "description": "R fiber over 1550nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lr",
- "value": "10-gbase-lr",
- "description": "R fiber over 1310nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-sr",
- "value": "10-gbase-sr",
- "description": "R fiber over 850nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lrm",
- "value": "10-gbase-lrm",
- "description": "R fiber over 1310 nm optics as specified in 802.3 Clause 68"
- },
- {
- "key": "10-gbase-kr",
- "value": "10-gbase-kr",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 72"
- },
- {
- "key": "10-gbase-t",
- "value": "10-gbase-t",
- "description": "Four-pair twisted-pair balanced copper cabling Physical layer entity (PHY) as specified in 802.3 Clause 55"
- },
- {
- "key": "10-gbase-pr-d1",
- "value": "10-gbase-pr-d1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d2",
- "value": "10-gbase-pr-d2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d3",
- "value": "10-gbase-pr-d3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d4",
- "value": "10-gbase-pr-d4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u1",
- "value": "10-gbase-pr-u1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u2",
- "value": "10-gbase-pr-u2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u3",
- "value": "10-gbase-pr-u3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u4",
- "value": "10-gbase-pr-u4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "40-gbase-r",
- "value": "40-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "40-gbase-kr4",
- "value": "40-gbase-kr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 84"
- },
- {
- "key": "40-gbase-cr4",
- "value": "40-gbase-cr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "40-gbase-sr4",
- "value": "40-gbase-sr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "4-x10-gbase-sr",
- "value": "4-x10-gbase-sr",
- "description": "4 times 10GBASE-S compatible to 802.3 Clause 52 over 4 lane multimode fiber"
- },
- {
- "key": "40-gbase-lr4",
- "value": "40-gbase-lr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-er4",
- "value": "40-gbase-er4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-fr",
- "value": "40-gbase-fr",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over single mode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 89"
- },
- {
- "key": "100-gbase-r",
- "value": "100-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined 100GBASE-R or 100GBASE-P Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "100-gbase-cr4",
- "value": "100-gbase-cr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 92"
- },
- {
- "key": "100-gbase-kr4",
- "value": "100-gbase-kr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 93"
- },
- {
- "key": "100-gbase-kp4",
- "value": "100-gbase-kp4",
- "description": "100GBASE-P Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 94"
- },
- {
- "key": "100-gbase-cr10",
- "value": "100-gbase-cr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "100-gbase-sr4",
- "value": "100-gbase-sr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 95"
- },
- {
- "key": "100-gbase-sr10",
- "value": "100-gbase-sr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "2-x40-gbase-sr",
- "value": "2-x40-gbase-sr",
- "description": "2 times 40GBASE-S compatible to 802.3 Clause 86 over 10 lane multimode fiber"
- },
- {
- "key": "10-x10-gbase-sr",
- "value": "10-x10-gbase-sr",
- "description": "10 times 10GBASE-S compatible to 802.3 Clause 52 over 10 lane multimode fiber"
- },
- {
- "key": "12-x10-gbase-sr",
- "value": "12-x10-gbase-sr",
- "description": "12 times 10GBASE-S compatible to 802.3 Clause 52 over 12 lane multimode fiber"
- },
- {
- "key": "100-gbase-lr4",
- "value": "100-gbase-lr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "100-gbase-er4",
- "value": "100-gbase-er4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter If (autoNegotiationIsOn=1) AND (autoNegotiationMauMaxIsAvail=1) configuration of the maximum speed/Physical Medium Dependent (PMD), which is automatically chosen by Auto-negotiation"
- },
- {
- "id": "auto-signal-ordering-is-on",
- "label": "auto-signal-ordering-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = e.g. auto-MDI-X is switched on"
- },
- {
- "id": "fixed-signal-ordering",
- "label": "fixed-signal-ordering",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If (autoSignalOrderingIsOn=0) configuration of the concrete kind of signal ordering on the media (e.g. MDI, or MDI-X). If (autoSignalOrderingIsOn=1) value of this field becomes irrelevant"
- },
- {
- "id": "short-reach-mode-is-on",
- "label": "short-reach-mode-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of the Short Reach Mode for 10GBASE-T according to 802.3 45.2.1.64"
- },
- {
- "id": "unidirectional-operation-is-on",
- "label": "unidirectional-operation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If (autoNegotiationIsOn=1) OR manualDuplexSelection=0 (=half duplex), this bit is ignored. When autoNegotiationIsOn=0 AND manualDuplexSelection=1 (=full duplex): 1 = Enable transmit from media independent interface regardless of whether the PHY has determined that a valid link has been established, 0 = Enable transmit from media independent interface only when the PHY has determined that a valid link has been established 802.3 Parameter"
- },
- {
- "id": "temperature-high-threshold",
- "label": "temperature-high-threshold",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "Celsius",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Threshold for alarming high temperature values. Will move to somewhere in the Physical Segment of the Core IM"
- },
- {
- "id": "temperature-low-threshold",
- "label": "temperature-low-threshold",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "Celsius",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Threshold for alarming low temperature values. Will move to somewhere in the Physical Segment of the Core IM"
- },
- {
- "id": "rxlevel-high-threshold",
- "label": "rxlevel-high-threshold",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Threshold for alarming high RX levels."
- },
- {
- "id": "rxlevel-low-threshold",
- "label": "rxlevel-low-threshold",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Threshold for alarming low RX levels."
- },
- {
- "id": "loop-back-kind-on",
- "label": "loop-back-kind-on",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter 802.3 according 22.2.4.1.2 Loopback Maintenance Feature. The currently configured type of looping back of the wire interface header shall be expressed here. The received header is returned to the remote site. Activation of local loopback mode on physical layer"
- },
- {
- "id": "isolation-is-on",
- "label": "isolation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Activation of the separation of the PHY from higher network layers 802.3"
- },
- {
- "id": "restart-pmd-negotiation-is-on",
- "label": "restart-pmd-negotiation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Restarts the auto negotiation process 802.3"
- },
- {
- "id": "reset-mau-is-on",
- "label": "reset-mau-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 Resets the entire Medium Access Unit (MAU)"
- },
- {
- "id": "maintenance-timer",
- "label": "maintenance-timer",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter and MW IM Time of existence of any maintenance configuration (e.g. the loop back). Valid values are defined in WireInterface::WireInterfaceCapability::maintenanceTimerRange"
- },
- {
- "id": "transceiver-is-on-list",
- "label": "transceiver-is-on-list",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 22.?.? and additionally 802.3 45.2.1.8 PMD transmit disable register (Register 1.9) 1 = Activation of the transmitter and receiver (e.g. laser) of the PHY; transceiverIsOnList[0]:total interface; transceiverIsOnList[1..10] different lanes of a multilane Medium Attachment Unit (MAU)"
- },
- {
- "id": "wavelength-list",
- "label": "wavelength-list",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "pm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Wavelength of the signal of laser in pico meter; multiplicity=0..3 for 10GBASE-LX4 according to 802.3 53.5 SFF-8690"
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:wire-interface-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-pac:wirebased-interface-status",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "wirebased-interface-status",
- "language": "en-US",
- "title": "wirebased-interface-status",
- "elements": [
- {
- "id": "interface-is-up",
- "label": "interface-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 according 30.3.2.1.7 aPhyAdminState 1 = A Physical layer entity (PHY) exists (including Medium Attachment Unit (e.g. SFP) ) and it is powered and can be managed"
- },
- {
- "id": "pmd-is-up",
- "label": "pmd-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Inverse of 802.3 45.2.1.2.3 Fault (1.1.7) If (interfaceIsUp=1) BUT 0 = there is a fault in either transmit or receive path"
- },
- {
- "id": "pmd-cur",
- "label": "pmd-cur",
- "uiType": "selection",
- "options": [
- {
- "key": "10-base5",
- "value": "10-base5",
- "description": "Thick coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 8"
- },
- {
- "key": "foirl",
- "value": "foirl",
- "description": "FOIRL Medium Attachment Unit (MAU) as specified in 802.3 Clause 9.9"
- },
- {
- "key": "10-base2",
- "value": "10-base2",
- "description": "Thin coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 10"
- },
- {
- "key": "10-broad36",
- "value": "10-broad36",
- "description": "Broadband DTE Medium Attachment Unit (MAU) as specified in 802.3 Clause 11"
- },
- {
- "key": "10-base-t",
- "value": "10-base-t",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-thd",
- "value": "10-base-thd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in half duplex mode"
- },
- {
- "key": "10-base-tfd",
- "value": "10-base-tfd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in full duplex mode"
- },
- {
- "key": "10-base-fp",
- "value": "10-base-fp",
- "description": "Passive fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 16"
- },
- {
- "key": "10-base-fb",
- "value": "10-base-fb",
- "description": "Synchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 17"
- },
- {
- "key": "10-base-fl",
- "value": "10-base-fl",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-flhd",
- "value": "10-base-flhd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in half duplex mode"
- },
- {
- "key": "10-base-flfd",
- "value": "10-base-flfd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in full duplex mode"
- },
- {
- "key": "100-base-t4",
- "value": "100-base-t4",
- "description": "Four-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 23"
- },
- {
- "key": "100-base-tx",
- "value": "100-base-tx",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-txhd",
- "value": "100-base-txhd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in half duplex mode"
- },
- {
- "key": "100-base-txfd",
- "value": "100-base-txfd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in full duplex mode"
- },
- {
- "key": "100-base-bx10-d",
- "value": "100-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-bx10-u",
- "value": "100-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-fx",
- "value": "100-base-fx",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-fxhd",
- "value": "100-base-fxhd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in half duplex mode"
- },
- {
- "key": "100-base-fxfd",
- "value": "100-base-fxfd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in full duplex mode"
- },
- {
- "key": "100-base-lx10",
- "value": "100-base-lx10",
- "description": "Two fiber Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-t2",
- "value": "100-base-t2",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-t2-hd",
- "value": "100-base-t2-hd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in half duplex mode"
- },
- {
- "key": "100-base-t2-fd",
- "value": "100-base-t2-fd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in full duplex mode"
- },
- {
- "key": "1000-base-x",
- "value": "1000-base-x",
- "description": "X as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD and duplex mode unknown"
- },
- {
- "key": "1000-base-bx10-d",
- "value": "1000-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-bx10-u",
- "value": "1000-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-xhd",
- "value": "1000-base-xhd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in half duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-xfd",
- "value": "1000-base-xfd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in full duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-lx",
- "value": "1000-base-lx",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-lxhd",
- "value": "1000-base-lxhd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-lxfd",
- "value": "1000-base-lxfd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-lx10",
- "value": "1000-base-lx10",
- "description": "Two fiber 10km Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-sx",
- "value": "1000-base-sx",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-sxhd",
- "value": "1000-base-sxhd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-sxfd",
- "value": "1000-base-sxfd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-cx",
- "value": "1000-base-cx",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-cxhd",
- "value": "1000-base-cxhd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in half duplex mode"
- },
- {
- "key": "1000-base-cxfd",
- "value": "1000-base-cxfd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in full duplex mode"
- },
- {
- "key": "1000-base-kx",
- "value": "1000-base-kx",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 70"
- },
- {
- "key": "1000-base-t",
- "value": "1000-base-t",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-thd",
- "value": "1000-base-thd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in half duplex mode"
- },
- {
- "key": "1000-base-tfd",
- "value": "1000-base-tfd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in full duplex mode"
- },
- {
- "key": "10-gbase-x",
- "value": "10-gbase-x",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 48 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-lx4",
- "value": "10-gbase-lx4",
- "description": "X fiber over 4 lane 1310nm optics as specified in 802.3 Clause 53"
- },
- {
- "key": "10-gbase-cx4",
- "value": "10-gbase-cx4",
- "description": "X copper over 8 pair 100-Ohm balanced cable as specified in 802.3 Clause 54"
- },
- {
- "key": "10-gbase-kx4",
- "value": "10-gbase-kx4",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 71"
- },
- {
- "key": "10-gbase-r",
- "value": "10-gbase-r",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 49 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-er",
- "value": "10-gbase-er",
- "description": "R fiber over 1550nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lr",
- "value": "10-gbase-lr",
- "description": "R fiber over 1310nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-sr",
- "value": "10-gbase-sr",
- "description": "R fiber over 850nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lrm",
- "value": "10-gbase-lrm",
- "description": "R fiber over 1310 nm optics as specified in 802.3 Clause 68"
- },
- {
- "key": "10-gbase-kr",
- "value": "10-gbase-kr",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 72"
- },
- {
- "key": "10-gbase-t",
- "value": "10-gbase-t",
- "description": "Four-pair twisted-pair balanced copper cabling Physical layer entity (PHY) as specified in 802.3 Clause 55"
- },
- {
- "key": "10-gbase-pr-d1",
- "value": "10-gbase-pr-d1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d2",
- "value": "10-gbase-pr-d2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d3",
- "value": "10-gbase-pr-d3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d4",
- "value": "10-gbase-pr-d4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u1",
- "value": "10-gbase-pr-u1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u2",
- "value": "10-gbase-pr-u2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u3",
- "value": "10-gbase-pr-u3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u4",
- "value": "10-gbase-pr-u4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "40-gbase-r",
- "value": "40-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "40-gbase-kr4",
- "value": "40-gbase-kr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 84"
- },
- {
- "key": "40-gbase-cr4",
- "value": "40-gbase-cr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "40-gbase-sr4",
- "value": "40-gbase-sr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "4-x10-gbase-sr",
- "value": "4-x10-gbase-sr",
- "description": "4 times 10GBASE-S compatible to 802.3 Clause 52 over 4 lane multimode fiber"
- },
- {
- "key": "40-gbase-lr4",
- "value": "40-gbase-lr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-er4",
- "value": "40-gbase-er4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-fr",
- "value": "40-gbase-fr",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over single mode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 89"
- },
- {
- "key": "100-gbase-r",
- "value": "100-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined 100GBASE-R or 100GBASE-P Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "100-gbase-cr4",
- "value": "100-gbase-cr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 92"
- },
- {
- "key": "100-gbase-kr4",
- "value": "100-gbase-kr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 93"
- },
- {
- "key": "100-gbase-kp4",
- "value": "100-gbase-kp4",
- "description": "100GBASE-P Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 94"
- },
- {
- "key": "100-gbase-cr10",
- "value": "100-gbase-cr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "100-gbase-sr4",
- "value": "100-gbase-sr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 95"
- },
- {
- "key": "100-gbase-sr10",
- "value": "100-gbase-sr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "2-x40-gbase-sr",
- "value": "2-x40-gbase-sr",
- "description": "2 times 40GBASE-S compatible to 802.3 Clause 86 over 10 lane multimode fiber"
- },
- {
- "key": "10-x10-gbase-sr",
- "value": "10-x10-gbase-sr",
- "description": "10 times 10GBASE-S compatible to 802.3 Clause 52 over 10 lane multimode fiber"
- },
- {
- "key": "12-x10-gbase-sr",
- "value": "12-x10-gbase-sr",
- "description": "12 times 10GBASE-S compatible to 802.3 Clause 52 over 12 lane multimode fiber"
- },
- {
- "key": "100-gbase-lr4",
- "value": "100-gbase-lr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "100-gbase-er4",
- "value": "100-gbase-er4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Indicates the kind of Physical Medium Dependent (PMD) currently operated at this interface"
- },
- {
- "id": "eee-is-up",
- "label": "eee-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Energy Efficient Ethernet is supported at both ends of the link and it is activated"
- },
- {
- "id": "link-is-up",
- "label": "link-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter 1 = (transceiverIsUp=1) AND communication is established to the remote site"
- },
- {
- "id": "link-is-idle",
- "label": "link-is-idle",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = (linkIsUp=1) AND (eeeIsAvail=1) AND (eeeIsOn=1) AND link is currently in idle mode. If Energy Efficient Ethernet is not supported or switched off, this attribute must be 0."
- },
- {
- "id": "tx-level-cur",
- "label": "tx-level-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current transmit power"
- },
- {
- "id": "temp-cur",
- "label": "temp-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "Celsius",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current temperature (in degree Celsius) inside the transceiver To be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::DynamicDetails::PhysicalProperties"
- },
- {
- "id": "loop-back-kind-up",
- "label": "loop-back-kind-up",
- "uiType": "selection",
- "options": [
- {
- "key": "rf-to-remote",
- "value": "rf-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the radio interface between both outdoor units."
- },
- {
- "key": "rf-to-local",
- "value": "rf-to-local",
- "description": "Returning the header information of the local site back to the local site on the radio interface between both outdoor units."
- },
- {
- "key": "if-to-remote",
- "value": "if-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "if-to-local",
- "value": "if-to-local",
- "description": "Returning the header information of the local site back to the local site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Paramter and MW IM The currently active (not just configured) type of looping back of the wire interface header shall be expressed here. The received header is returned to the remote site."
- },
- {
- "id": "signal-ordering-kind-cur",
- "label": "signal-ordering-kind-cur",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-status-g:signal-ordering-kind-cur",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Reference on a SignalOrderingType for expressing the currently active way of ordering the signals on the physical medium. Must contain a value as defined in TypeDefinitions::SignalOrderingType::signalOrderingKindName"
- },
- {
- "id": "receive-signal-is-detected",
- "label": "receive-signal-is-detected",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 45.2.1.9 PMD receive signal detect 1 = Receiver (e.g. laser) detects signal; receiveSignalIsDetected[0]:total interface; receiveSignalIsDetected[1..10] different lanes of a multilane Medium Attachment Unit (MAU)"
- },
- {
- "id": "rx-level-cur",
- "label": "rx-level-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current receive power; Also used for receive signal power measured at the Medium Dependent Interface (MDI) of 10GBASE-T during training as described in 802.3 55.4.3.1"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-pac:wirebased-interface-current-problems",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "wirebased-interface-current-problems",
- "language": "en-US",
- "title": "wirebased-interface-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:wire-interface-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-pac:wirebased-interface-current-performance",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "wirebased-interface-current-performance",
- "language": "en-US",
- "title": "wirebased-interface-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:wire-interface-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-pac:wirebased-interface-historical-performances",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "wirebased-interface-historical-performances",
- "language": "en-US",
- "title": "wirebased-interface-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:wire-interface-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:channel-plan-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-capability-g",
- "object": "supported-channel-plan-list",
- "name": "channel-plan-type",
- "language": "en-US",
- "title": "channel-plan-type",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPID$$/air-interface-capability",
- "dataPath": "air-interface-capability/supported-channel-plan-list/$$INDEX0$$",
- "elements": [
- {
- "id": "supported-channel-plan",
- "label": "supported-channel-plan",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique name (e.g. ECC/REC/(01)04_Annex 5) of a document, which describes a frequency grid that can be adjusted at the air interface. Corresponding channel plans to be delivered by the hardware vendor and to be stored by the operator in an controller/application attached database."
- },
- {
- "id": "duplex-distance-is-variable",
- "label": "duplex-distance-is-variable",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "To be set on 'true', if the distance between transmitted and received frequency is variable."
- },
- {
- "id": "duplex-distance-list",
- "label": "duplex-distance-list",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Distance between transmitted and received frequency. To be filled with single value, in case duplex distance is not variable. To be filled with all configurable values, in case duplex distance is variable."
- },
- {
- "id": "duplex-distance",
- "label": "duplex-distance",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Distance between transmitted and received frequency."
- },
- {
- "id": "auto-freq-select-is-avail",
- "label": "auto-freq-select-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the microwave radio is capable of automatically selecting the transmit frequency in unlicensed bands, this field shall contain a 'true'."
- },
- {
- "id": "transmission-mode-list",
- "label": "transmission-mode-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:channel-plan-type-g:transmission-mode-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:channel-plan-type-g:transmission-mode-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "transmission-mode-list",
- "language": "en-US",
- "title": "transmission-mode-list",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPID$$/air-interface-capability",
- "dataPath": "air-interface-capability/supported-channel-plan-list/$$INDEX0$$/transmission-mode-list/$$INDEX1$$",
- "elements": [
- {
- "id": "transmission-mode-id",
- "label": "transmission-mode-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Indentifies the transmissionMode for internal reference."
- },
- {
- "id": "transmission-mode-name",
- "label": "transmission-mode-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the transmission mode. BBBB-m*-i*/t*-r*. B=four digits of channel bandwidth in MHz. m*=required number of digits for modulation name. (i*/t*=code rate.) i*=required number of digits for number of information bits. t*=required number of digits for total bits. r*=required number of digits for rate reduction factor. Example: 028-4QAM-188/204-1"
- },
- {
- "id": "channel-bandwidth",
- "label": "channel-bandwidth",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Bandwidth of the transmit channel. The value shall be expressed explicitly (means in kHz) not as a reference to an international agreement. The values shall be chosen from the following _list: 3.500, 7.000, 14.000, 27.500, 28.000, 29.000, 29.650, 30.000, 40.000, 50.000, 55.000, 56.000, 59.300, 60.000, 80.000, 100.000, 112.000, 120.000, 150.000, 200.000, 250.000, 500.000, 750.000, 1.000.000, 1.250.000, 1.500.000, 1.750.000, 2.000.000;"
- },
- {
- "id": "modulation-scheme",
- "label": "modulation-scheme",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Modulation scheme, which is base to the other characteristics described in the same transmissionModeType data type. The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256')."
- },
- {
- "id": "code-rate",
- "label": "code-rate",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "%",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Code rate of the coding scheme in % (Net bit rate ≤ Gross bit rate · code rate)."
- },
- {
- "id": "symbol-rate-reduction-factor",
- "label": "symbol-rate-reduction-factor",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Reduction factor for the symbol rate. Example: value would be 4 for 1/4BPSK."
- },
- {
- "id": "tx-power-min",
- "label": "tx-power-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the minimum transmit power the modem can operate in dBm."
- },
- {
- "id": "tx-power-max",
- "label": "tx-power-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the maximum transmit power the modem can operate in dBm."
- },
- {
- "id": "rx-threshold",
- "label": "rx-threshold",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the receive level required to decode the received signal with a Bit Error Rate of 1e-6 or less."
- },
- {
- "id": "am-upshift-level",
- "label": "am-upshift-level",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the receive level that has to be exceeded to shift into a higher modulation scheme."
- },
- {
- "id": "am-downshift-level",
- "label": "am-downshift-level",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the receive level that has to be exceeded for not shifting into a lower modulation scheme."
- },
- {
- "id": "xpic-is-avail",
- "label": "xpic-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case this air interface type is capable of XPIC, this field shall contain a 'true'. This information shall purely relate to capabilities of the equipment type, but not to the operational capability of a specific hardware composition on site. Means for example that this attribute might contain a 'true' statement, even if an additional cable would have been required to actually operate XPIC in a specific case."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:transmission-mode-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "channel-plan-type-g",
- "object": "transmission-mode-list",
- "name": "transmission-mode-type",
- "language": "en-US",
- "title": "transmission-mode-type",
- "elements": [
- {
- "id": "transmission-mode-id",
- "label": "transmission-mode-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Indentifies the transmissionMode for internal reference."
- },
- {
- "id": "transmission-mode-name",
- "label": "transmission-mode-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the transmission mode. BBBB-m*-i*/t*-r*. B=four digits of channel bandwidth in MHz. m*=required number of digits for modulation name. (i*/t*=code rate.) i*=required number of digits for number of information bits. t*=required number of digits for total bits. r*=required number of digits for rate reduction factor. Example: 028-4QAM-188/204-1"
- },
- {
- "id": "channel-bandwidth",
- "label": "channel-bandwidth",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Bandwidth of the transmit channel. The value shall be expressed explicitly (means in kHz) not as a reference to an international agreement. The values shall be chosen from the following _list: 3.500, 7.000, 14.000, 27.500, 28.000, 29.000, 29.650, 30.000, 40.000, 50.000, 55.000, 56.000, 59.300, 60.000, 80.000, 100.000, 112.000, 120.000, 150.000, 200.000, 250.000, 500.000, 750.000, 1.000.000, 1.250.000, 1.500.000, 1.750.000, 2.000.000;"
- },
- {
- "id": "modulation-scheme",
- "label": "modulation-scheme",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Modulation scheme, which is base to the other characteristics described in the same transmissionModeType data type. The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256')."
- },
- {
- "id": "code-rate",
- "label": "code-rate",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "%",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Code rate of the coding scheme in % (Net bit rate ≤ Gross bit rate · code rate)."
- },
- {
- "id": "symbol-rate-reduction-factor",
- "label": "symbol-rate-reduction-factor",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Reduction factor for the symbol rate. Example: value would be 4 for 1/4BPSK."
- },
- {
- "id": "tx-power-min",
- "label": "tx-power-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the minimum transmit power the modem can operate in dBm."
- },
- {
- "id": "tx-power-max",
- "label": "tx-power-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the maximum transmit power the modem can operate in dBm."
- },
- {
- "id": "rx-threshold",
- "label": "rx-threshold",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the receive level required to decode the received signal with a Bit Error Rate of 1e-6 or less."
- },
- {
- "id": "am-upshift-level",
- "label": "am-upshift-level",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the receive level that has to be exceeded to shift into a higher modulation scheme."
- },
- {
- "id": "am-downshift-level",
- "label": "am-downshift-level",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the receive level that has to be exceeded for not shifting into a lower modulation scheme."
- },
- {
- "id": "xpic-is-avail",
- "label": "xpic-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case this air interface type is capable of XPIC, this field shall contain a 'true'. This information shall purely relate to capabilities of the equipment type, but not to the operational capability of a specific hardware composition on site. Means for example that this attribute might contain a 'true' statement, even if an additional cable would have been required to actually operate XPIC in a specific case."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:threshold-cross-alarm-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-configuration-g",
- "object": "threshold-cross-alarm-list",
- "name": "threshold-cross-alarm-type",
- "language": "en-US",
- "title": "threshold-cross-alarm-type",
- "elements": [
- {
- "id": "g826-value-kind",
- "label": "g826-value-kind",
- "uiType": "selection",
- "options": [
- {
- "key": "es",
- "value": "es",
- "description": "Errored Seconds. Threshold cross alarm will relate to TypeDefinitions::AirInterfacePerformanceType::es ."
- },
- {
- "key": "ses",
- "value": "ses",
- "description": "Severely Errored Seconds. Threshold cross alarm will relate to TypeDefinitions::AirInterfacePerformanceType::ses ."
- },
- {
- "key": "cses",
- "value": "cses",
- "description": "Consecutive Severely Errored Seconds. Threshold cross alarm will relate to TypeDefinitions::AirInterfacePerformanceType::cses ."
- },
- {
- "key": "not-specified",
- "value": "not-specified",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Kind of performance value that shall be equipped with a threshold alarm."
- },
- {
- "id": "granularity-period",
- "label": "granularity-period",
- "uiType": "g:granularity-period-type",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Period of the performance data collection."
- },
- {
- "id": "alarm-raising-threshold",
- "label": "alarm-raising-threshold",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of events required for raising the threshold cross alarm."
- },
- {
- "id": "alarm-clearing-threshold",
- "label": "alarm-clearing-threshold",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of events required for clearing the threshold cross alarm."
- }
- ],
- "description": "Allows defining a threshold cross alarm."
- },
- {
- "id": "microwave-model:air-interface-problem-severity-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-configuration-g",
- "object": "problem-kind-severity-list",
- "name": "air-interface-problem-severity-type",
- "language": "en-US",
- "title": "air-interface-problem-severity-type",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterface::AirInterfaceCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-current-problem-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-current-problems-g",
- "object": "current-problem-list",
- "name": "air-interface-current-problem-type",
- "language": "en-US",
- "title": "air-interface-current-problem-type",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterface::AirInterfaceCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:time-x-states-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-performance-type-g",
- "object": "time-x-states-list",
- "name": "time-x-states-type",
- "language": "en-US",
- "title": "time-x-states-type",
- "elements": [
- {
- "id": "transmission-mode",
- "label": "transmission-mode",
- "uiType": "string",
- "leafrefPath": "/mw-air-interface-pac/air-interface-capability/supported-channel-plan-list/transmission-mode-list/transmission-mode-id",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Operated transmission mode."
- },
- {
- "id": "time",
- "label": "time",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Sum of all seconds the transmitter operated the transmission mode."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-current-performance-type-g",
- "object": "performance-data",
- "name": "air-interface-performance-type",
- "language": "en-US",
- "title": "air-interface-performance-type",
- "elements": [
- {
- "id": "es",
- "label": "es",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of errored seconds."
- },
- {
- "id": "ses",
- "label": "ses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of severely errored seconds."
- },
- {
- "id": "cses",
- "label": "cses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of consecutive severely errored seconds."
- },
- {
- "id": "unavailability",
- "label": "unavailability",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total time of unavailability in seconds."
- },
- {
- "id": "tx-level-min",
- "label": "tx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum transmit power. Signed integers are required."
- },
- {
- "id": "tx-level-max",
- "label": "tx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum transmit power. Signed integers are required."
- },
- {
- "id": "tx-level-avg",
- "label": "tx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged transmit power. Signed integers are required."
- },
- {
- "id": "rx-level-min",
- "label": "rx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum receive level. Signed integers are required."
- },
- {
- "id": "rx-level-max",
- "label": "rx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum receive level. Signed integers are required."
- },
- {
- "id": "rx-level-avg",
- "label": "rx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged receive level. Signed integers are required."
- },
- {
- "id": "time-x-states-list",
- "label": "time-x-states-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-performance-type-g:time-x-states-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time period the transmitter operated in the respective transmission mode."
- },
- {
- "id": "time2-states",
- "label": "time2-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Sum of all seconds the transmitter operated in e.g. BPSK."
- },
- {
- "id": "time4-states-s",
- "label": "time4-states-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4-states",
- "label": "time4-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8-states",
- "label": "time8-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time16-states-s",
- "label": "time16-states-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time16-states",
- "label": "time16-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time32-states",
- "label": "time32-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time64-states",
- "label": "time64-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time128-states",
- "label": "time128-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time256-states",
- "label": "time256-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time512-states",
- "label": "time512-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time512-states-l",
- "label": "time512-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time1024-states",
- "label": "time1024-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time1024-states-l",
- "label": "time1024-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time2048-states",
- "label": "time2048-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time2048-states-l",
- "label": "time2048-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4096-states",
- "label": "time4096-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4096-states-l",
- "label": "time4096-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8192-states",
- "label": "time8192-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8192-states-l",
- "label": "time8192-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "snir-min",
- "label": "snir-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum signal to (noise+interference) ratio."
- },
- {
- "id": "snir-max",
- "label": "snir-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum signal to (noise+interference) ratio."
- },
- {
- "id": "snir-avg",
- "label": "snir-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged signal to (noise+interference) ratio."
- },
- {
- "id": "xpd-min",
- "label": "xpd-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum cross polarization discrimination."
- },
- {
- "id": "xpd-max",
- "label": "xpd-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum cross polarization discrimination."
- },
- {
- "id": "xpd-avg",
- "label": "xpd-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged cross polarization discrimination."
- },
- {
- "id": "rf-temp-min",
- "label": "rf-temp-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lowest temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "rf-temp-max",
- "label": "rf-temp-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Highest temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "rf-temp-avg",
- "label": "rf-temp-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "defect-blocks-sum",
- "label": "defect-blocks-sum",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "blocks",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of blocks that were defect after receiving and could not be corrected by the FEC."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period."
- }
- ],
- "description": "Consolidated performance information of the air interface."
- },
- {
- "id": "microwave-model:air-interface-performance-type-g:time-x-states-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "time-x-states-list",
- "language": "en-US",
- "title": "time-x-states-list",
- "elements": [
- {
- "id": "transmission-mode",
- "label": "transmission-mode",
- "uiType": "string",
- "leafrefPath": "/mw-air-interface-pac/air-interface-capability/supported-channel-plan-list/transmission-mode-list/transmission-mode-id",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Operated transmission mode."
- },
- {
- "id": "time",
- "label": "time",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Sum of all seconds the transmitter operated the transmission mode."
- }
- ],
- "description": "Time period the transmitter operated in the respective transmission mode."
- },
- {
- "id": "microwave-model:air-interface-current-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-current-performance-g",
- "object": "current-performance-data-list",
- "name": "air-interface-current-performance-type",
- "language": "en-US",
- "title": "air-interface-current-performance-type",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:air-interface-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Turns performance information into current performance information by inheriting from OTN_CurrentData."
- },
- {
- "id": "microwave-model:air-interface-current-performance-type-g:performance-data",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "es",
- "label": "es",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of errored seconds."
- },
- {
- "id": "ses",
- "label": "ses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of severely errored seconds."
- },
- {
- "id": "cses",
- "label": "cses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of consecutive severely errored seconds."
- },
- {
- "id": "unavailability",
- "label": "unavailability",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total time of unavailability in seconds."
- },
- {
- "id": "tx-level-min",
- "label": "tx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum transmit power. Signed integers are required."
- },
- {
- "id": "tx-level-max",
- "label": "tx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum transmit power. Signed integers are required."
- },
- {
- "id": "tx-level-avg",
- "label": "tx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged transmit power. Signed integers are required."
- },
- {
- "id": "rx-level-min",
- "label": "rx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum receive level. Signed integers are required."
- },
- {
- "id": "rx-level-max",
- "label": "rx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum receive level. Signed integers are required."
- },
- {
- "id": "rx-level-avg",
- "label": "rx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged receive level. Signed integers are required."
- },
- {
- "id": "time2-states",
- "label": "time2-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Sum of all seconds the transmitter operated in e.g. BPSK."
- },
- {
- "id": "time4-states-s",
- "label": "time4-states-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4-states",
- "label": "time4-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8-states",
- "label": "time8-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time16-states-s",
- "label": "time16-states-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time16-states",
- "label": "time16-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time32-states",
- "label": "time32-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time64-states",
- "label": "time64-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time128-states",
- "label": "time128-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time256-states",
- "label": "time256-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time512-states",
- "label": "time512-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time512-states-l",
- "label": "time512-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time1024-states",
- "label": "time1024-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time1024-states-l",
- "label": "time1024-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time2048-states",
- "label": "time2048-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time2048-states-l",
- "label": "time2048-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4096-states",
- "label": "time4096-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4096-states-l",
- "label": "time4096-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8192-states",
- "label": "time8192-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8192-states-l",
- "label": "time8192-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "snir-min",
- "label": "snir-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum signal to (noise+interference) ratio."
- },
- {
- "id": "snir-max",
- "label": "snir-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum signal to (noise+interference) ratio."
- },
- {
- "id": "snir-avg",
- "label": "snir-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged signal to (noise+interference) ratio."
- },
- {
- "id": "xpd-min",
- "label": "xpd-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum cross polarization discrimination."
- },
- {
- "id": "xpd-max",
- "label": "xpd-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum cross polarization discrimination."
- },
- {
- "id": "xpd-avg",
- "label": "xpd-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged cross polarization discrimination."
- },
- {
- "id": "rf-temp-min",
- "label": "rf-temp-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lowest temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "rf-temp-max",
- "label": "rf-temp-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Highest temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "rf-temp-avg",
- "label": "rf-temp-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "defect-blocks-sum",
- "label": "defect-blocks-sum",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "blocks",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of blocks that were defect after receiving and could not be corrected by the FEC."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period."
- },
- {
- "id": "time-x-states-list",
- "label": "time-x-states-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-performance-type-g:time-x-states-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time period the transmitter operated in the respective transmission mode."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-historical-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-historical-performances-g",
- "object": "historical-performance-data-list",
- "name": "air-interface-historical-performance-type",
- "language": "en-US",
- "title": "air-interface-historical-performance-type",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:air-interface-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Turns performance information into historical performance information by inheriting from OTN_HistoryData."
- },
- {
- "id": "microwave-model:air-interface-historical-performance-type-g:performance-data",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "es",
- "label": "es",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of errored seconds."
- },
- {
- "id": "ses",
- "label": "ses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of severely errored seconds."
- },
- {
- "id": "cses",
- "label": "cses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of consecutive severely errored seconds."
- },
- {
- "id": "unavailability",
- "label": "unavailability",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total time of unavailability in seconds."
- },
- {
- "id": "tx-level-min",
- "label": "tx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum transmit power. Signed integers are required."
- },
- {
- "id": "tx-level-max",
- "label": "tx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum transmit power. Signed integers are required."
- },
- {
- "id": "tx-level-avg",
- "label": "tx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged transmit power. Signed integers are required."
- },
- {
- "id": "rx-level-min",
- "label": "rx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum receive level. Signed integers are required."
- },
- {
- "id": "rx-level-max",
- "label": "rx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum receive level. Signed integers are required."
- },
- {
- "id": "rx-level-avg",
- "label": "rx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged receive level. Signed integers are required."
- },
- {
- "id": "time2-states",
- "label": "time2-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Sum of all seconds the transmitter operated in e.g. BPSK."
- },
- {
- "id": "time4-states-s",
- "label": "time4-states-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4-states",
- "label": "time4-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8-states",
- "label": "time8-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time16-states-s",
- "label": "time16-states-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time16-states",
- "label": "time16-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time32-states",
- "label": "time32-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time64-states",
- "label": "time64-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time128-states",
- "label": "time128-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time256-states",
- "label": "time256-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time512-states",
- "label": "time512-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time512-states-l",
- "label": "time512-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time1024-states",
- "label": "time1024-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time1024-states-l",
- "label": "time1024-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time2048-states",
- "label": "time2048-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time2048-states-l",
- "label": "time2048-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4096-states",
- "label": "time4096-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time4096-states-l",
- "label": "time4096-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8192-states",
- "label": "time8192-states",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "time8192-states-l",
- "label": "time8192-states-l",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "snir-min",
- "label": "snir-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum signal to (noise+interference) ratio."
- },
- {
- "id": "snir-max",
- "label": "snir-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum signal to (noise+interference) ratio."
- },
- {
- "id": "snir-avg",
- "label": "snir-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged signal to (noise+interference) ratio."
- },
- {
- "id": "xpd-min",
- "label": "xpd-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum cross polarization discrimination."
- },
- {
- "id": "xpd-max",
- "label": "xpd-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum cross polarization discrimination."
- },
- {
- "id": "xpd-avg",
- "label": "xpd-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged cross polarization discrimination."
- },
- {
- "id": "rf-temp-min",
- "label": "rf-temp-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lowest temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "rf-temp-max",
- "label": "rf-temp-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Highest temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "rf-temp-avg",
- "label": "rf-temp-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "C",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "defect-blocks-sum",
- "label": "defect-blocks-sum",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "blocks",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of blocks that were defect after receiving and could not be corrected by the FEC."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period."
- },
- {
- "id": "time-x-states-list",
- "label": "time-x-states-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-performance-type-g:time-x-states-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time period the transmitter operated in the respective transmission mode."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:diversity-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-diversity-capability-g",
- "object": "available-kinds-of-diversity",
- "name": "diversity-type",
- "language": "en-US",
- "title": "diversity-type",
- "elements": [
- {
- "id": "diversity-name",
- "label": "diversity-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'spaceDiversity', 'frequencyDiversity'"
- },
- {
- "id": "number-of-air-interfaces-max",
- "label": "number-of-air-interfaces-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "air interfaces",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum number of air interfaces that could be part of this kind of diversity."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-diversity-problem-severity-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-diversity-configuration-g",
- "object": "problem-kind-severity-list",
- "name": "air-interface-diversity-problem-severity-type",
- "language": "en-US",
- "title": "air-interface-diversity-problem-severity-type",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterfaceDiversity::AirInterfaceDiversityCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-diversity-current-problem-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-diversity-current-problems-g",
- "object": "current-problem-list",
- "name": "air-interface-diversity-current-problem-type",
- "language": "en-US",
- "title": "air-interface-diversity-current-problem-type",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterfaceDiversity::AirInterfaceDiversityCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-diversity-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-diversity-current-performance-type-g",
- "object": "performance-data",
- "name": "air-interface-diversity-performance-type",
- "language": "en-US",
- "title": "air-interface-diversity-performance-type",
- "elements": [
- {
- "id": "snir-min",
- "label": "snir-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "snir-max",
- "label": "snir-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "snir-avg",
- "label": "snir-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Average signal to (noise+interference) ratio of the combined signals."
- }
- ],
- "description": "Consolidated performance information of the air interface diversity group."
- },
- {
- "id": "microwave-model:air-interface-diversity-current-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-diversity-current-performance-g",
- "object": "current-performance-data-list",
- "name": "air-interface-diversity-current-performance-type",
- "language": "en-US",
- "title": "air-interface-diversity-current-performance-type",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:air-interface-diversity-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Turns performance information into current performance information by inheriting from OTN_CurrentData."
- },
- {
- "id": "microwave-model:air-interface-diversity-current-performance-type-g:performance-data",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "snir-min",
- "label": "snir-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "snir-max",
- "label": "snir-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "snir-avg",
- "label": "snir-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Average signal to (noise+interference) ratio of the combined signals."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-diversity-historical-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "air-interface-diversity-historical-performances-g",
- "object": "historical-performance-data-list",
- "name": "air-interface-diversity-historical-performance-type",
- "language": "en-US",
- "title": "air-interface-diversity-historical-performance-type",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:air-interface-diversity-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Turns performance information into historical performance information by inheriting from OTN_HistoryData."
- },
- {
- "id": "microwave-model:air-interface-diversity-historical-performance-type-g:performance-data",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "snir-min",
- "label": "snir-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "snir-max",
- "label": "snir-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "snir-avg",
- "label": "snir-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Average signal to (noise+interference) ratio of the combined signals."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:tdm-structure-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "hybrid-mw-structure-capability-g",
- "object": "supported-tdm-structure-types-list",
- "name": "tdm-structure-type",
- "language": "en-US",
- "title": "tdm-structure-type",
- "elements": [
- {
- "id": "tdm-structure-name",
- "label": "tdm-structure-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'e1','t1','j1','e3','ds3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "tdm-segment-size",
- "label": "tdm-segment-size",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kbit/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Size of the TDM segment in kbit/s. Values to be chosen from the following list: '2048','1544','34000','44736 ','155520','614400','1228800','2457600','3072000','4915200','6144000' or '9830400;"
- },
- {
- "id": "max-number-of-segments-reservable",
- "label": "max-number-of-segments-reservable",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "segments",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Device specific maximum number of segments (not depending on current air interface configuration) that can be reserved for this type of segment on a single air interface."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:structure-problem-severity-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "pure-ethernet-structure-configuration-g",
- "object": "problem-kind-severity-list",
- "name": "structure-problem-severity-type",
- "language": "en-US",
- "title": "structure-problem-severity-type",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Structure::StructureCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:structure-current-problem-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "pure-ethernet-structure-current-problems-g",
- "object": "current-problem-list",
- "name": "structure-current-problem-type",
- "language": "en-US",
- "title": "structure-current-problem-type",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Structure::StructureCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:structure-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "structure-current-performance-type-g",
- "object": "performance-data",
- "name": "structure-performance-type",
- "language": "en-US",
- "title": "structure-performance-type",
- "elements": [
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period in seconds."
- },
- {
- "id": "es",
- "label": "es",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of errored seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "ses",
- "label": "ses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of severely errored seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "cses",
- "label": "cses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of consecutive severely errored seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "unavailability",
- "label": "unavailability",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total time of unavailability in seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "rx-level-min",
- "label": "rx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum receive level. 1+0: Same value as for single air interface. 1+1: Value representing the combined signals. Diversity: To be left on default value."
- },
- {
- "id": "rx-level-max",
- "label": "rx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum receive level. 1+0: Same value as for single air interface. 1+1: Value representing the combined signals. Diversity: To be left on default value."
- },
- {
- "id": "rx-level-avg",
- "label": "rx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged receive level. 1+0: Same value as for single air interface. 1+1: Value representing the combined signals. Diversity: To be left on default value."
- }
- ],
- "description": "Consolidated performance information of the Structure."
- },
- {
- "id": "microwave-model:structure-current-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "pure-ethernet-structure-current-performance-g",
- "object": "current-performance-data-list",
- "name": "structure-current-performance-type",
- "language": "en-US",
- "title": "structure-current-performance-type",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:structure-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Turns performance information into current performance information by inheriting from OTN_CurrentData."
- },
- {
- "id": "microwave-model:structure-current-performance-type-g:performance-data",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period in seconds."
- },
- {
- "id": "es",
- "label": "es",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of errored seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "ses",
- "label": "ses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of severely errored seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "cses",
- "label": "cses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of consecutive severely errored seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "unavailability",
- "label": "unavailability",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total time of unavailability in seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "rx-level-min",
- "label": "rx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum receive level. 1+0: Same value as for single air interface. 1+1: Value representing the combined signals. Diversity: To be left on default value."
- },
- {
- "id": "rx-level-max",
- "label": "rx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum receive level. 1+0: Same value as for single air interface. 1+1: Value representing the combined signals. Diversity: To be left on default value."
- },
- {
- "id": "rx-level-avg",
- "label": "rx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged receive level. 1+0: Same value as for single air interface. 1+1: Value representing the combined signals. Diversity: To be left on default value."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:structure-historical-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "pure-ethernet-structure-historical-performances-g",
- "object": "historical-performance-data-list",
- "name": "structure-historical-performance-type",
- "language": "en-US",
- "title": "structure-historical-performance-type",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:structure-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Turns performance information into historical performance information by inheriting from OTN_HistoryData."
- },
- {
- "id": "microwave-model:structure-historical-performance-type-g:performance-data",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period in seconds."
- },
- {
- "id": "es",
- "label": "es",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of errored seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "ses",
- "label": "ses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of severely errored seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "cses",
- "label": "cses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of consecutive severely errored seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "unavailability",
- "label": "unavailability",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total time of unavailability in seconds. 1+0: Same value as for single air interface. 1+1 and Diversity: Value representing the combined signals."
- },
- {
- "id": "rx-level-min",
- "label": "rx-level-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum receive level. 1+0: Same value as for single air interface. 1+1: Value representing the combined signals. Diversity: To be left on default value."
- },
- {
- "id": "rx-level-max",
- "label": "rx-level-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum receive level. 1+0: Same value as for single air interface. 1+1: Value representing the combined signals. Diversity: To be left on default value."
- },
- {
- "id": "rx-level-avg",
- "label": "rx-level-avg",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Averaged receive level. 1+0: Same value as for single air interface. 1+1: Value representing the combined signals. Diversity: To be left on default value."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:container-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "container-type",
- "language": "en-US",
- "title": "container-type",
- "elements": [
- {
- "id": "container-name",
- "label": "container-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'ethernet','e1','t1','j1','e3','ds3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "number-of-time-slots-required",
- "label": "number-of-time-slots-required",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "timeslots",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of time slots required for transporting this type of container. Value must be calculated by the vendor after defining the timeSlotCapacity. For containers of fixed size: numberOfTimeSlotsRequired = required bandwidth of the container divided by timeSlotCapacity. For containers of variable size the minimum (most probably 1) is to be stated."
- },
- {
- "id": "tdm-time-slots-is-required",
- "label": "tdm-time-slots-is-required",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Shall be set to '1', if this container type requires bandwidth (times slots) reserved for TDM transport."
- },
- {
- "id": "bundling-is-avail",
- "label": "bundling-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If it is possible to combine transport resources of several radio links to transport this container type, this attribute shall be set to '1'."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:tdm-container-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "tdm-container-capability-g",
- "object": "supported-tdm-container-types-list",
- "name": "tdm-container-type",
- "language": "en-US",
- "title": "tdm-container-type",
- "elements": [
- {
- "id": "tdm-container-name",
- "label": "tdm-container-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'e1','t1','j1','e3','t3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "tdm-container-size",
- "label": "tdm-container-size",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kbit/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Capacity required for transporting this type of container (in kbit/s). Values to be chosen from the following list: '2048','1544','34000','44736 ','155520','614400','1228800','2457600','3072000','4915200','6144000' or '9830400;"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:segment-id-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "ethernet-container-configuration-g",
- "object": "segments-id-list",
- "name": "segment-id-type",
- "language": "en-US",
- "title": "segment-id-type",
- "elements": [
- {
- "id": "structure-id-ref",
- "label": "structure-id-ref",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "segment-id-ref",
- "label": "segment-id-ref",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Combinations of structureId and segmentId must be unique inside the device to assure that every resource is used just once."
- }
- ],
- "description": "Identifies the segments, which are used to transport the container."
- },
- {
- "id": "microwave-model:segment-status-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "pure-ethernet-structure-status-g",
- "object": "segment-status-list",
- "name": "segment-status-type",
- "language": "en-US",
- "title": "segment-status-type",
- "elements": [
- {
- "id": "segment-status-type-id",
- "label": "segment-status-type-id",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "segment-is-reserved-for-tdm",
- "label": "segment-is-reserved-for-tdm",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The number of segments, which is configured by Structure::StructureConfiguration::tdmReservedNumberOfSegements, has to be reserved for TDM. Starting from the lowest index value, these segments have to be marked with a 'true' in segmentIsReservedForTdm."
- },
- {
- "id": "operational-status",
- "label": "operational-status",
- "uiType": "core-model:operational-state",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current operational status of each segment."
- },
- {
- "id": "obsolete-priority-class",
- "label": "obsolete-priority-class",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "PriorityClass as inherited from the associated Container::ContainerConfiguration::priorityClass. In case the device is capable of adapting the sequence, in which segments are being dropped in case of decreasing capacity of the air interface, priorityClass shall be considered, while calculating the dropOrderRank."
- },
- {
- "id": "obsolete-drop-order-rank",
- "label": "obsolete-drop-order-rank",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the device is NOT capable of adapting the sequence, in which segments are being dropped in case of decreasing capacity of the air interface, dropOrderRank is number of segments minus sequence number of the segment. In case the device is capable of adapting the sequence, dropOrderRank has to be calculated by the device in dependency to the assigned priorityClass. _unique: within Structure::StructureStatus::segmentStatusList"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:container-problem-severity-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "ethernet-container-configuration-g",
- "object": "problem-kind-severity-list",
- "name": "container-problem-severity-type",
- "language": "en-US",
- "title": "container-problem-severity-type",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Container::ContainerCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:container-current-problem-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "ethernet-container-current-problems-g",
- "object": "current-problem-list",
- "name": "container-current-problem-type",
- "language": "en-US",
- "title": "container-current-problem-type",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Container::ContainerCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:container-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "container-current-performance-type-g",
- "object": "performance-data",
- "name": "container-performance-type",
- "language": "en-US",
- "title": "container-performance-type",
- "elements": [
- {
- "id": "tx-ethernet-bytes-max-s",
- "label": "tx-ethernet-bytes-max-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "Bytes/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a second and keeps the highest value within the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-max-m",
- "label": "tx-ethernet-bytes-max-m",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes/min",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a minute and keeps the highest value with in the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-sum",
- "label": "tx-ethernet-bytes-sum",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of Bytes of Ethernet traffic (before header compression) transmitted (in direction out of the device) during the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period in seconds."
- }
- ],
- "description": "Consolidated performance information of the Container."
- },
- {
- "id": "microwave-model:container-current-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "ethernet-container-current-performance-g",
- "object": "current-performance-data-list",
- "name": "container-current-performance-type",
- "language": "en-US",
- "title": "container-current-performance-type",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:container-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Turns performance information into current performance information by inheriting from OTN_CurrentData."
- },
- {
- "id": "microwave-model:container-current-performance-type-g:performance-data",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "tx-ethernet-bytes-max-s",
- "label": "tx-ethernet-bytes-max-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "Bytes/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a second and keeps the highest value within the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-max-m",
- "label": "tx-ethernet-bytes-max-m",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes/min",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a minute and keeps the highest value with in the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-sum",
- "label": "tx-ethernet-bytes-sum",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of Bytes of Ethernet traffic (before header compression) transmitted (in direction out of the device) during the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period in seconds."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:container-historical-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "ethernet-container-historical-performances-g",
- "object": "historical-performance-data-list",
- "name": "container-historical-performance-type",
- "language": "en-US",
- "title": "container-historical-performance-type",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:container-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Turns performance information into historical performance information by inheriting from OTN_HistoryData."
- },
- {
- "id": "microwave-model:container-historical-performance-type-g:performance-data",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "tx-ethernet-bytes-max-s",
- "label": "tx-ethernet-bytes-max-s",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "Bytes/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a second and keeps the highest value within the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-max-m",
- "label": "tx-ethernet-bytes-max-m",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes/min",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts the number of Bytes of Ethernet traffic (before header compression) transmitted within a minute and keeps the highest value with in the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "tx-ethernet-bytes-sum",
- "label": "tx-ethernet-bytes-sum",
- "uiType": "number",
- "min": -9223372036854776000,
- "max": 9223372036854776000,
- "format": "#",
- "unit": "Bytes",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total number of Bytes of Ethernet traffic (before header compression) transmitted (in direction out of the device) during the measurement period. Field to be left blank for all types of TDM containers."
- },
- {
- "id": "time-period",
- "label": "time-period",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Total length of the measurement period in seconds."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:signal-ordering-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mau-type-g",
- "object": "signal-ordering-list",
- "name": "signal-ordering-type",
- "language": "en-US",
- "title": "signal-ordering-type",
- "elements": [
- {
- "id": "signal-ordering-kind-name",
- "label": "signal-ordering-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "To be filled according to TR-541. Must be unique for referencing during configuration of the interface."
- },
- {
- "id": "signal-list",
- "label": "signal-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Desciption of the signals on the Media Dependent Interface (MDI), might be e.g. 'TX+' in case of e.g. 10BASE-T, might be e.g. '1,295.56 nm' in case of e.g. 100GBASE-LR4"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mau-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-capability-g",
- "object": "available-mau-list",
- "name": "mau-type",
- "language": "en-US",
- "title": "mau-type",
- "elements": [
- {
- "id": "mau-id",
- "label": "mau-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 according to 30.5.1.1.1 aMAUID Unique identifier of the Medium Attachment Unit (MAU) instance within the data about the device"
- },
- {
- "id": "mii-kind",
- "label": "mii-kind",
- "uiType": "selection",
- "options": [
- {
- "key": "gbic",
- "value": "gbic",
- "description": "none"
- },
- {
- "key": "soldered-connector",
- "value": "soldered-connector",
- "description": "none"
- },
- {
- "key": "sfp-sfp-plus-sfp28",
- "value": "sfp-sfp-plus-sfp28",
- "description": "none"
- },
- {
- "key": "xbi-300-pin",
- "value": "xbi-300-pin",
- "description": "none"
- },
- {
- "key": "xenpak",
- "value": "xenpak",
- "description": "none"
- },
- {
- "key": "xfp",
- "value": "xfp",
- "description": "none"
- },
- {
- "key": "xfp-e",
- "value": "xfp-e",
- "description": "none"
- },
- {
- "key": "xpak",
- "value": "xpak",
- "description": "none"
- },
- {
- "key": "x2",
- "value": "x2",
- "description": "none"
- },
- {
- "key": "dwdm-sfp-sfp-plus",
- "value": "dwdm-sfp-sfp-plus",
- "description": "none"
- },
- {
- "key": "qsfp",
- "value": "qsfp",
- "description": "none"
- },
- {
- "key": "qsfp-plus",
- "value": "qsfp-plus",
- "description": "none"
- },
- {
- "key": "cxp",
- "value": "cxp",
- "description": "none"
- },
- {
- "key": "shielded-mini-multilane-hd-4-x",
- "value": "shielded-mini-multilane-hd-4-x",
- "description": "none"
- },
- {
- "key": "shielded-mini-multilane-hd-8-x",
- "value": "shielded-mini-multilane-hd-8-x",
- "description": "none"
- },
- {
- "key": "qsfp28",
- "value": "qsfp28",
- "description": "none"
- },
- {
- "key": "cxp2",
- "value": "cxp2",
- "description": "none"
- },
- {
- "key": "cdfp-style1-style2",
- "value": "cdfp-style1-style2",
- "description": "none"
- },
- {
- "key": "shielded-mini-multilane-hd-4-x-fan-out",
- "value": "shielded-mini-multilane-hd-4-x-fan-out",
- "description": "none"
- },
- {
- "key": "shielded-mini-multilane-hd-8-x-fan-out",
- "value": "shielded-mini-multilane-hd-8-x-fan-out",
- "description": "none"
- },
- {
- "key": "cdfp-style3",
- "value": "cdfp-style3",
- "description": "none"
- },
- {
- "key": "qsfp-micro",
- "value": "qsfp-micro",
- "description": "none"
- },
- {
- "key": "qsfp-dd",
- "value": "qsfp-dd",
- "description": "none"
- },
- {
- "key": "qsfp-plus-rate-select-v1",
- "value": "qsfp-plus-rate-select-v1",
- "description": "none"
- },
- {
- "key": "qsfp-plus-rate-select-v2",
- "value": "qsfp-plus-rate-select-v2",
- "description": "none"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "SFF8472_SFF8636 Kind of Medium Independent Interface (MII) provided by this Medium Attachment Unit (MAU) (e.g. SFP, moldered port)"
- },
- {
- "id": "mdi-kind",
- "label": "mdi-kind",
- "uiType": "selection",
- "options": [
- {
- "key": "sc",
- "value": "sc",
- "description": "Subscriber Connector"
- },
- {
- "key": "fibre-channel-style-1",
- "value": "fibre-channel-style-1",
- "description": "Copper connector"
- },
- {
- "key": "fibre-channel-style-2",
- "value": "fibre-channel-style-2",
- "description": "Copper connector"
- },
- {
- "key": "bnc-tnc",
- "value": "bnc-tnc",
- "description": "Bayonet/Threaded Neill-Concelman"
- },
- {
- "key": "fc",
- "value": "fc",
- "description": "Fibre Channel coax headers"
- },
- {
- "key": "fiber-jack",
- "value": "fiber-jack",
- "description": "none"
- },
- {
- "key": "lc",
- "value": "lc",
- "description": "Lucent Connector"
- },
- {
- "key": "mt-rj",
- "value": "mt-rj",
- "description": "Mechanical Transfer - Registered Jack"
- },
- {
- "key": "mu",
- "value": "mu",
- "description": "Multiple Optical"
- },
- {
- "key": "sg",
- "value": "sg",
- "description": "none"
- },
- {
- "key": "optical-pigtail",
- "value": "optical-pigtail",
- "description": "none"
- },
- {
- "key": "mpo1-x12",
- "value": "mpo1-x12",
- "description": "Multifiber Parallel Optic"
- },
- {
- "key": "mpo2-x16",
- "value": "mpo2-x16",
- "description": "Multifiber Parallel Optic"
- },
- {
- "key": "hssdc-ii",
- "value": "hssdc-ii",
- "description": "High Speed Serial Data Connector"
- },
- {
- "key": "copper-pigtail",
- "value": "copper-pigtail",
- "description": "none"
- },
- {
- "key": "rj45",
- "value": "rj45",
- "description": "8P8C, according to Clause 3 and Figures 1 through 5 of IEC 60603-7"
- },
- {
- "key": "no-seperable-connector",
- "value": "no-seperable-connector",
- "description": "none"
- },
- {
- "key": "mxc2-x16",
- "value": "mxc2-x16",
- "description": "none"
- },
- {
- "key": "st",
- "value": "st",
- "description": "according to IEC 60874-10:1992, also often called BFOC/2.5"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Kind of Medium Dependent Interface (MDI) provided by this Medium Attachment Unit (MAU)"
- },
- {
- "id": "required-medium-kind",
- "label": "required-medium-kind",
- "uiType": "selection",
- "options": [
- {
- "key": "tp-cat3",
- "value": "tp-cat3",
- "description": "none"
- },
- {
- "key": "tp-cat5",
- "value": "tp-cat5",
- "description": "none"
- },
- {
- "key": "tp-cat6",
- "value": "tp-cat6",
- "description": "none"
- },
- {
- "key": "tp-cat8",
- "value": "tp-cat8",
- "description": "none"
- },
- {
- "key": "single-mode",
- "value": "single-mode",
- "description": "none"
- },
- {
- "key": "multi-mode",
- "value": "multi-mode",
- "description": "none"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Kind of medium required for operating this Medium Attachment Unit (MAU), more like an information field"
- },
- {
- "id": "wavelength-min",
- "label": "wavelength-min",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "pm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "SFF-8690 Minimum laser wavelength in pico meter, -1 = not applicable, 0 = not known, wavelengthMax = wavelength cannot be configured; multiplicity=0..3 for 10GBASE-LX4 according to 802.3 53.5"
- },
- {
- "id": "wavelength-max",
- "label": "wavelength-max",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "pm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum laser wavelength in pico meter, -1 = not applicable, 0 = not known, wavelengthMin = wavelength cannot be configured; multiplicity=0..3 for 10GBASE-LX4 according to 802.3 53.5 SFF-8690"
- },
- {
- "id": "wavelength-grid-min",
- "label": "wavelength-grid-min",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "pm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum grid spacing supported by the transceiver, -1 = not applicable, 0 = not known SFF-8690"
- },
- {
- "id": "link-length-max",
- "label": "link-length-max",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "m",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Indicates the maximum link length that is supported by the transceiver on the medium, which is specified in the standard referenced in TypeDefinitions::phyType::phyKind."
- },
- {
- "id": "vendor-name",
- "label": "vendor-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the vendor of the transceiver Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::ManufacturerProperties::manufacturerName"
- },
- {
- "id": "vendor-oui",
- "label": "vendor-oui",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Describes the IEEE Company identifier of the vendor of the transceiver (1st part of 802.3 ResourceTypeID) 802.3 22.2.4.3.1 PHY Identifier; also referenced in 45.2.1.13 PMA/PMD package identifier Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::ManufacturerProperties::manufacturerIdentifier"
- },
- {
- "id": "part-number",
- "label": "part-number",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 22.2.4.3.1 PHY Identifier; also referenced in 45.2.1.13 PMA/PMD package identifier as six bit model number Uniquely identifies the transceiver in the vendor's product lists Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::EquipmentType::partTypeIdentifier"
- },
- {
- "id": "revision-number",
- "label": "revision-number",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Identifies the revision number of the transceiver (3rd part of 802.3 ResourceTypeID) 802.3 22.2.4.3.1 PHY Identifier; also referenced in 45.2.1.13 PMA/PMD package identifier as four-bit revision number Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::EquipmentType::version"
- },
- {
- "id": "serial-number",
- "label": "serial-number",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Vendor's serial number for the transceiver. 0 = not applicable Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::EquipmentInstance::serialNumber"
- },
- {
- "id": "date-code",
- "label": "date-code",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Vendor's date code for the transceiver Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::EquipmentInstance::manufactureDate"
- },
- {
- "id": "pmd-list",
- "label": "pmd-list",
- "uiType": "selection",
- "options": [
- {
- "key": "10-base5",
- "value": "10-base5",
- "description": "Thick coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 8"
- },
- {
- "key": "foirl",
- "value": "foirl",
- "description": "FOIRL Medium Attachment Unit (MAU) as specified in 802.3 Clause 9.9"
- },
- {
- "key": "10-base2",
- "value": "10-base2",
- "description": "Thin coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 10"
- },
- {
- "key": "10-broad36",
- "value": "10-broad36",
- "description": "Broadband DTE Medium Attachment Unit (MAU) as specified in 802.3 Clause 11"
- },
- {
- "key": "10-base-t",
- "value": "10-base-t",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-thd",
- "value": "10-base-thd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in half duplex mode"
- },
- {
- "key": "10-base-tfd",
- "value": "10-base-tfd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in full duplex mode"
- },
- {
- "key": "10-base-fp",
- "value": "10-base-fp",
- "description": "Passive fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 16"
- },
- {
- "key": "10-base-fb",
- "value": "10-base-fb",
- "description": "Synchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 17"
- },
- {
- "key": "10-base-fl",
- "value": "10-base-fl",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-flhd",
- "value": "10-base-flhd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in half duplex mode"
- },
- {
- "key": "10-base-flfd",
- "value": "10-base-flfd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in full duplex mode"
- },
- {
- "key": "100-base-t4",
- "value": "100-base-t4",
- "description": "Four-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 23"
- },
- {
- "key": "100-base-tx",
- "value": "100-base-tx",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-txhd",
- "value": "100-base-txhd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in half duplex mode"
- },
- {
- "key": "100-base-txfd",
- "value": "100-base-txfd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in full duplex mode"
- },
- {
- "key": "100-base-bx10-d",
- "value": "100-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-bx10-u",
- "value": "100-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-fx",
- "value": "100-base-fx",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-fxhd",
- "value": "100-base-fxhd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in half duplex mode"
- },
- {
- "key": "100-base-fxfd",
- "value": "100-base-fxfd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in full duplex mode"
- },
- {
- "key": "100-base-lx10",
- "value": "100-base-lx10",
- "description": "Two fiber Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-t2",
- "value": "100-base-t2",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-t2-hd",
- "value": "100-base-t2-hd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in half duplex mode"
- },
- {
- "key": "100-base-t2-fd",
- "value": "100-base-t2-fd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in full duplex mode"
- },
- {
- "key": "1000-base-x",
- "value": "1000-base-x",
- "description": "X as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD and duplex mode unknown"
- },
- {
- "key": "1000-base-bx10-d",
- "value": "1000-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-bx10-u",
- "value": "1000-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-xhd",
- "value": "1000-base-xhd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in half duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-xfd",
- "value": "1000-base-xfd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in full duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-lx",
- "value": "1000-base-lx",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-lxhd",
- "value": "1000-base-lxhd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-lxfd",
- "value": "1000-base-lxfd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-lx10",
- "value": "1000-base-lx10",
- "description": "Two fiber 10km Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-sx",
- "value": "1000-base-sx",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-sxhd",
- "value": "1000-base-sxhd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-sxfd",
- "value": "1000-base-sxfd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-cx",
- "value": "1000-base-cx",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-cxhd",
- "value": "1000-base-cxhd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in half duplex mode"
- },
- {
- "key": "1000-base-cxfd",
- "value": "1000-base-cxfd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in full duplex mode"
- },
- {
- "key": "1000-base-kx",
- "value": "1000-base-kx",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 70"
- },
- {
- "key": "1000-base-t",
- "value": "1000-base-t",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-thd",
- "value": "1000-base-thd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in half duplex mode"
- },
- {
- "key": "1000-base-tfd",
- "value": "1000-base-tfd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in full duplex mode"
- },
- {
- "key": "10-gbase-x",
- "value": "10-gbase-x",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 48 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-lx4",
- "value": "10-gbase-lx4",
- "description": "X fiber over 4 lane 1310nm optics as specified in 802.3 Clause 53"
- },
- {
- "key": "10-gbase-cx4",
- "value": "10-gbase-cx4",
- "description": "X copper over 8 pair 100-Ohm balanced cable as specified in 802.3 Clause 54"
- },
- {
- "key": "10-gbase-kx4",
- "value": "10-gbase-kx4",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 71"
- },
- {
- "key": "10-gbase-r",
- "value": "10-gbase-r",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 49 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-er",
- "value": "10-gbase-er",
- "description": "R fiber over 1550nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lr",
- "value": "10-gbase-lr",
- "description": "R fiber over 1310nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-sr",
- "value": "10-gbase-sr",
- "description": "R fiber over 850nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lrm",
- "value": "10-gbase-lrm",
- "description": "R fiber over 1310 nm optics as specified in 802.3 Clause 68"
- },
- {
- "key": "10-gbase-kr",
- "value": "10-gbase-kr",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 72"
- },
- {
- "key": "10-gbase-t",
- "value": "10-gbase-t",
- "description": "Four-pair twisted-pair balanced copper cabling Physical layer entity (PHY) as specified in 802.3 Clause 55"
- },
- {
- "key": "10-gbase-pr-d1",
- "value": "10-gbase-pr-d1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d2",
- "value": "10-gbase-pr-d2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d3",
- "value": "10-gbase-pr-d3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d4",
- "value": "10-gbase-pr-d4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u1",
- "value": "10-gbase-pr-u1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u2",
- "value": "10-gbase-pr-u2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u3",
- "value": "10-gbase-pr-u3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u4",
- "value": "10-gbase-pr-u4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "40-gbase-r",
- "value": "40-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "40-gbase-kr4",
- "value": "40-gbase-kr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 84"
- },
- {
- "key": "40-gbase-cr4",
- "value": "40-gbase-cr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "40-gbase-sr4",
- "value": "40-gbase-sr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "4-x10-gbase-sr",
- "value": "4-x10-gbase-sr",
- "description": "4 times 10GBASE-S compatible to 802.3 Clause 52 over 4 lane multimode fiber"
- },
- {
- "key": "40-gbase-lr4",
- "value": "40-gbase-lr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-er4",
- "value": "40-gbase-er4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-fr",
- "value": "40-gbase-fr",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over single mode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 89"
- },
- {
- "key": "100-gbase-r",
- "value": "100-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined 100GBASE-R or 100GBASE-P Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "100-gbase-cr4",
- "value": "100-gbase-cr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 92"
- },
- {
- "key": "100-gbase-kr4",
- "value": "100-gbase-kr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 93"
- },
- {
- "key": "100-gbase-kp4",
- "value": "100-gbase-kp4",
- "description": "100GBASE-P Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 94"
- },
- {
- "key": "100-gbase-cr10",
- "value": "100-gbase-cr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "100-gbase-sr4",
- "value": "100-gbase-sr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 95"
- },
- {
- "key": "100-gbase-sr10",
- "value": "100-gbase-sr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "2-x40-gbase-sr",
- "value": "2-x40-gbase-sr",
- "description": "2 times 40GBASE-S compatible to 802.3 Clause 86 over 10 lane multimode fiber"
- },
- {
- "key": "10-x10-gbase-sr",
- "value": "10-x10-gbase-sr",
- "description": "10 times 10GBASE-S compatible to 802.3 Clause 52 over 10 lane multimode fiber"
- },
- {
- "key": "12-x10-gbase-sr",
- "value": "12-x10-gbase-sr",
- "description": "12 times 10GBASE-S compatible to 802.3 Clause 52 over 12 lane multimode fiber"
- },
- {
- "key": "100-gbase-lr4",
- "value": "100-gbase-lr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "100-gbase-er4",
- "value": "100-gbase-er4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of Physical Medium Dependent (PMD) that can be operated *** In case ordering of the signals depends on the PMD, pmdList has to be put into the datatype for the signal ordering ***"
- },
- {
- "id": "signal-ordering-list",
- "label": "signal-ordering-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:mau-type-g:signal-ordering-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Describes the different (e.g. MDI, MDI-X) ways of ordering the signals on the physical medium"
- },
- {
- "id": "auto-signal-ordering-is-avail",
- "label": "auto-signal-ordering-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = there is a mechanism for automatically crossing over tx and rx implemented"
- },
- {
- "id": "short-reach-mode-is-avail",
- "label": "short-reach-mode-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Indicates that Short Reach Mode for 10GBASE-T according to 802.3 45.2.1.64 is available"
- },
- {
- "id": "eee-is-avail",
- "label": "eee-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Indicates that Energy-Efficient Ethernet (EEE) is available at the device."
- },
- {
- "id": "unidirectional-operation-is-avail",
- "label": "unidirectional-operation-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Medium Attachment Unit (MAU) able to transmit from Media Independent Interface (MII) regardless of whether the MAU has determined that a valid link has been established, 0 = MAU able to transmit from MII only when the MAU has determined that a valid link has been established 802.3"
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "MW IM Available alarms to be listed. Mandatory:'txFault', 'rxLos', 'tempHigh', 'tempLow', 'rxLevelHigh', 'rxLevelLow'. Optional:'vccHigh', 'vccLow', 'txBiasHigh', 'txBiasLow', 'txPowerHigh', 'txPowerLow', 'laserTempHigh', 'laserTempLow', 'tecCurrentHigh', 'tecCurrentLow'. Further alarms might be added by the device. Names are to be separated by commas."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mau-type-g:signal-ordering-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "signal-ordering-list",
- "language": "en-US",
- "title": "signal-ordering-list",
- "elements": [
- {
- "id": "signal-ordering-kind-name",
- "label": "signal-ordering-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "To be filled according to TR-541. Must be unique for referencing during configuration of the interface."
- },
- {
- "id": "signal-list",
- "label": "signal-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Desciption of the signals on the Media Dependent Interface (MDI), might be e.g. 'TX+' in case of e.g. 10BASE-T, might be e.g. '1,295.56 nm' in case of e.g. 100GBASE-LR4"
- }
- ],
- "description": "Describes the different (e.g. MDI, MDI-X) ways of ordering the signals on the physical medium"
- },
- {
- "id": "microwave-model:wire-interface-problem-severity-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-configuration-g",
- "object": "problem-kind-severity-list",
- "name": "wire-interface-problem-severity-type",
- "language": "en-US",
- "title": "wire-interface-problem-severity-type",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to WireInterface::WireInterfaceCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-current-problem-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-current-problems-g",
- "object": "current-problem-list",
- "name": "wire-interface-current-problem-type",
- "language": "en-US",
- "title": "wire-interface-current-problem-type",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to WireInterface::WireInterfaceCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-current-performance-type-g",
- "object": "performance-data",
- "name": "wire-interface-performance-type",
- "language": "en-US",
- "title": "wire-interface-performance-type",
- "elements": [
- {
- "id": "es",
- "label": "es",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 30.8.1.1.13 aLineESs Number of errored seconds"
- },
- {
- "id": "ses",
- "label": "ses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 30.8.1.1.12 aLineSESs Number of severely errored seconds"
- },
- {
- "id": "symbol-error-during-carrier",
- "label": "symbol-error-during-carrier",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 according to 30.3.2.1.5 aSymbolErrorDuringCarrier Number of times when valid carrier was present and an invalid data symbol occured."
- },
- {
- "id": "low-power-idle-transmitter-ms",
- "label": "low-power-idle-transmitter-ms",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "ms",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 similar to 30.3.2.1.8 aTransmitLPIMicroseconds Number of milliseconds (original counter expresses microseconds), during which the transmitter was in power save mode"
- },
- {
- "id": "low-power-idle-receiver-ms",
- "label": "low-power-idle-receiver-ms",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "ms",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 similar to 30.3.2.1.9 aReceiveLPIMicroseconds Number of milliseconds (original counter expresses microseconds), during which the receiver was in power save mode"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-current-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-current-performance-g",
- "object": "current-performance-data-list",
- "name": "wire-interface-current-performance-type",
- "language": "en-US",
- "title": "wire-interface-current-performance-type",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Turns performance information into current performance information by inheriting from OTN_CurrentData."
- },
- {
- "id": "microwave-model:wire-interface-current-performance-type-g:performance-data",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "es",
- "label": "es",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 30.8.1.1.13 aLineESs Number of errored seconds"
- },
- {
- "id": "ses",
- "label": "ses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 30.8.1.1.12 aLineSESs Number of severely errored seconds"
- },
- {
- "id": "symbol-error-during-carrier",
- "label": "symbol-error-during-carrier",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 according to 30.3.2.1.5 aSymbolErrorDuringCarrier Number of times when valid carrier was present and an invalid data symbol occured."
- },
- {
- "id": "low-power-idle-transmitter-ms",
- "label": "low-power-idle-transmitter-ms",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "ms",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 similar to 30.3.2.1.8 aTransmitLPIMicroseconds Number of milliseconds (original counter expresses microseconds), during which the transmitter was in power save mode"
- },
- {
- "id": "low-power-idle-receiver-ms",
- "label": "low-power-idle-receiver-ms",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "ms",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 similar to 30.3.2.1.9 aReceiveLPIMicroseconds Number of milliseconds (original counter expresses microseconds), during which the receiver was in power save mode"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-historical-performance-type-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-historical-performances-g",
- "object": "historical-performance-data-list",
- "name": "wire-interface-historical-performance-type",
- "language": "en-US",
- "title": "wire-interface-historical-performance-type",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Turns performance information into historical performance information by inheriting from OTN_HistoryData."
- },
- {
- "id": "microwave-model:wire-interface-historical-performance-type-g:performance-data",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "performance-data",
- "language": "en-US",
- "title": "performance-data",
- "elements": [
- {
- "id": "es",
- "label": "es",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 30.8.1.1.13 aLineESs Number of errored seconds"
- },
- {
- "id": "ses",
- "label": "ses",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 30.8.1.1.12 aLineSESs Number of severely errored seconds"
- },
- {
- "id": "symbol-error-during-carrier",
- "label": "symbol-error-during-carrier",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 according to 30.3.2.1.5 aSymbolErrorDuringCarrier Number of times when valid carrier was present and an invalid data symbol occured."
- },
- {
- "id": "low-power-idle-transmitter-ms",
- "label": "low-power-idle-transmitter-ms",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "ms",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 similar to 30.3.2.1.8 aTransmitLPIMicroseconds Number of milliseconds (original counter expresses microseconds), during which the transmitter was in power save mode"
- },
- {
- "id": "low-power-idle-receiver-ms",
- "label": "low-power-idle-receiver-ms",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "ms",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 similar to 30.3.2.1.9 aReceiveLPIMicroseconds Number of milliseconds (original counter expresses microseconds), during which the receiver was in power save mode"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-capability-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-pac",
- "object": "air-interface-capability",
- "name": "air-interface-capability",
- "language": "en-US",
- "title": "air-interface-capability",
- "elements": [
- {
- "id": "type-of-equipment",
- "label": "type-of-equipment",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "This parameter indicates the equipment type. Instead of uploading the complete set of capabilities, capabilities of the same equipment type could be reused. Should be unique for a combination of modem, radio and their respective firmware."
- },
- {
- "id": "tx-frequency-min",
- "label": "tx-frequency-min",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the minimum transmit frequency tunable at the air interface."
- },
- {
- "id": "tx-frequency-max",
- "label": "tx-frequency-max",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the maximum transmit frequency tunable at the air interface."
- },
- {
- "id": "rx-frequency-min",
- "label": "rx-frequency-min",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the minimum receive frequency tunable at the air interface."
- },
- {
- "id": "rx-frequency-max",
- "label": "rx-frequency-max",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Value of the maximum receive frequency tunable at the air interface."
- },
- {
- "id": "adaptive-modulation-is-avail",
- "label": "adaptive-modulation-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the device is capable of adaptive modulation, this field shall contain a 'true'."
- },
- {
- "id": "mimo-is-avail",
- "label": "mimo-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the device is capable of MIMO, this field shall contain a 'true'."
- },
- {
- "id": "mimo-channels",
- "label": "mimo-channels",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "channels",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum number (n) of spatial multiplexing streams that can be conveyed by an n x n MIMO configuration."
- },
- {
- "id": "alic-is-avail",
- "label": "alic-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the microwave radio is capable of Adjacent Link Interference Cancelation (canceling of interference cause by transmitters located at the same site), this field shall contain a 'true'."
- },
- {
- "id": "atpc-is-avail",
- "label": "atpc-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the microwave radio is capable of ATPC, this field shall contain a 'true'."
- },
- {
- "id": "atpc-range",
- "label": "atpc-range",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Extent of the ATPC range. This value represents a device specific maximum value. The actual range of the ATPC at a specific link might be limited by the difference between configured transmit power (AirInterface::AirInterfaceConfiguration::txPower) and minimum transmit power of the device (TypeDefinitions::TransmissionModeType::txPowerMin)."
- },
- {
- "id": "encryption-is-avail",
- "label": "encryption-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Shall be marked 'true', if payload encryption is available."
- },
- {
- "id": "supported-loop-back-kind-list",
- "label": "supported-loop-back-kind-list",
- "uiType": "selection",
- "options": [
- {
- "key": "rf-to-remote",
- "value": "rf-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the radio interface between both outdoor units."
- },
- {
- "key": "rf-to-local",
- "value": "rf-to-local",
- "description": "Returning the header information of the local site back to the local site on the radio interface between both outdoor units."
- },
- {
- "key": "if-to-remote",
- "value": "if-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "if-to-local",
- "value": "if-to-local",
- "description": "Returning the header information of the local site back to the local site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of supported kinds of looping back of header information to the remote site."
- },
- {
- "id": "maintenance-timer-range",
- "label": "maintenance-timer-range",
- "uiType": "string",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available time periods for maintenance configurations (e.g. the loop back of microwave header information) to be described. Concrete values shall be separated by commas (e.g. '10, 60, 360'). Ranges shall be expressed as two values separated by a minus (e.g. '10-360')."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'signalIsLost','rslIsExceeded','signalIDMismatching','temperatureIsExceeded','modemIsFaulty','radioIsFaulty' and 'modulationIsDownShifted'. Further alarms might be added by the vendor."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'signalIsLost','rslIsExceeded','temperatureIsExceeded','modemIsFaulty','radioIsFaulty' and 'modulationIsDownShifted'. Further alarms might be added by the device. Names are to be separated by commas."
- },
- {
- "id": "supported-channel-plan-list",
- "label": "supported-channel-plan-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-capability-g:supported-channel-plan-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of channel spacing that are supported by the device."
- }
- ],
- "description": "Describes the 'analog' capabilities of modem and transmitter of the microwave device. Value ranges of attributes are not independently (e.g. min. and max. transmit power depends on modulation). Legal combinations of values are expressed in transmissionModeTypes."
- },
- {
- "id": "microwave-model:air-interface-capability-g:supported-channel-plan-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "supported-channel-plan-list",
- "language": "en-US",
- "title": "supported-channel-plan-list",
- "url": "restconf/config/network-topology:network-topology/topology/topology-netconf/node/$$NODEID$$/yang-ext:mount/microwave-model:mw-air-interface-pac/$$LPID$$/air-interface-capability",
- "dataPath": "air-interface-capability/supported-channel-plan-list/$$INDEX0$$/",
- "elements": [
- {
- "id": "supported-channel-plan",
- "label": "supported-channel-plan",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique name (e.g. ECC/REC/(01)04_Annex 5) of a document, which describes a frequency grid that can be adjusted at the air interface. Corresponding channel plans to be delivered by the hardware vendor and to be stored by the operator in an controller/application attached database."
- },
- {
- "id": "duplex-distance-is-variable",
- "label": "duplex-distance-is-variable",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "To be set on 'true', if the distance between transmitted and received frequency is variable."
- },
- {
- "id": "duplex-distance",
- "label": "duplex-distance",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Distance between transmitted and received frequency."
- },
- {
- "id": "auto-freq-select-is-avail",
- "label": "auto-freq-select-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the microwave radio is capable of automatically selecting the transmit frequency in unlicensed bands, this field shall contain a 'true'."
- },
- {
- "id": "duplex-distance-list",
- "label": "duplex-distance-list",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Distance between transmitted and received frequency. To be filled with single value, in case duplex distance is not variable. To be filled with all configurable values, in case duplex distance is variable."
- },
- {
- "id": "transmission-mode-list",
- "label": "transmission-mode-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:channel-plan-type-g:transmission-mode-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "List of channel spacing that are supported by the device."
- },
- {
- "id": "microwave-model:air-interface-configuration-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-pac",
- "object": "air-interface-configuration",
- "name": "air-interface-configuration",
- "language": "en-US",
- "title": "air-interface-configuration",
- "elements": [
- {
- "id": "air-interface-name",
- "label": "air-interface-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Operator specific microwave link ID (often used for coding area, type of element and sequential number)."
- },
- {
- "id": "remote-air-interface-name",
- "label": "remote-air-interface-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the air interface, which belongs to the same link, at the remote site."
- },
- {
- "id": "expected-signal-id",
- "label": "expected-signal-id",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If set on '0', the receiver ignores the signal ID of the received signal. If set on any other value, the receiver exclusively synchronizes on signals with the same signal ID."
- },
- {
- "id": "transmitted-signal-id",
- "label": "transmitted-signal-id",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Transmitted radio signal ID for synchronizing the receiver."
- },
- {
- "id": "radio-signal-id",
- "label": "radio-signal-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The radioSignalId is transmitted on the air interface so the remote site of the link synchronizes on the correct transmitter. The local radio MUST NOT synchronize on a radio signal with a different radioSignalId. The link ID is neither an ID necessary to span the model nor an ID referencing external data. It is just some sort of name of the link transmitted so the correct remote site can be identified in an interference situation. The value zero might be used to make the microwave to disable the link ID check."
- },
- {
- "id": "tx-frequency",
- "label": "tx-frequency",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the transmit channel. The values to be configured have to exactly match the values listed in the international agreement referenced in channelPlanID. In case of automated selection of the transmit frequency this field shall describe the lowest center frequency selectable."
- },
- {
- "id": "rx-frequency",
- "label": "rx-frequency",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the receive channel."
- },
- {
- "id": "transmission-mode-min",
- "label": "transmission-mode-min",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum transmission mode to be configured (in case adaptive modulation is not used, this value represents also the fixed transmission mode)."
- },
- {
- "id": "transmission-mode-max",
- "label": "transmission-mode-max",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum transmission mode to be configured."
- },
- {
- "id": "tx-channel-bandwidth",
- "label": "tx-channel-bandwidth",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Bandwidth of the transmit channel. The value shall be expressed explicitly (means in kHz) not as a reference to an international agreement. The values shall be chosen from the following _list: 3.500, 7.000, 14.000, 27.500, 28.000, 29.000, 29.650, 30.000, 40.000, 50.000, 55.000, 56.000, 59.300, 60.000, 80.000, 100.000, 112.000, 120.000, 150.000, 200.000, 250.000, 500.000, 750.000, 1.000.000, 1.250.000, 1.500.000, 1.750.000, 2.000.000;"
- },
- {
- "id": "rx-channel-bandwidth",
- "label": "rx-channel-bandwidth",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Bandwidth of the receive channel. The value shall be expressed explicitly (means in kHz) not as a reference to an international agreement. The values shall be chosen from the following _list: 3.500, 7.000, 14.000, 27.500, 28.000, 29.000, 29.650, 30.000, 40.000, 50.000, 55.000, 56.000, 59.300, 60.000, 80.000, 100.000, 112.000, 120.000, 150.000, 200.000, 250.000, 500.000, 750.000, 1.000.000, 1.250.000, 1.500.000, 1.750.000, 2.000.000;"
- },
- {
- "id": "polarization",
- "label": "polarization",
- "uiType": "selection",
- "options": [
- {
- "key": "not-specified",
- "value": "not-specified",
- "description": "none"
- },
- {
- "key": "horizontal",
- "value": "horizontal",
- "description": "none"
- },
- {
- "key": "vertical",
- "value": "vertical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Allows documenting the polarization of the air interface."
- },
- {
- "id": "power-is-on",
- "label": "power-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Power ON. Activation of the entire radio in a split mount configuration shall be expressed as a 'true'."
- },
- {
- "id": "transmitter-is-on",
- "label": "transmitter-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of the transmitter inside the radio shall be expressed as a 'true'."
- },
- {
- "id": "receiver-is-on",
- "label": "receiver-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maintenance Feature. Activation of the receiver inside the radio shall be expressed as a 'true'. Attribute shall also be used for RX main and RX diversity squelches in case of diversity configurations."
- },
- {
- "id": "tx-power",
- "label": "tx-power",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Transmit power to be configured on the microwave link. Signed Byte is required. The actually operated transmit power might be lower depending on adaptive modulation and ATPC."
- },
- {
- "id": "adaptive-modulation-is-on",
- "label": "adaptive-modulation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Adaptive Modulation. Activation of adaptive modulation shall be expressed as a 'true'."
- },
- {
- "id": "modulation-min",
- "label": "modulation-min",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum modulation to be configured (in case adaptive modulation is not used, this value represents also the fixed modulation). The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256'). Allowed values are defined in TypeDefinitions::transmissionModeType::modulationScheme."
- },
- {
- "id": "modulation-max",
- "label": "modulation-max",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum modulation to be configured. The value of this field is only relevant, if Adaptive Modulation has been activated. The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256'). Allowed values are defined in TypeDefinitions::transmissionModeType::modulationScheme."
- },
- {
- "id": "xpic-is-on",
- "label": "xpic-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of Cross Polarization Interference Cancelation shall be expressed as a 'true'. In case XPIC is not available for the current combination of channel bandwidth and modulation or the hardware in general, this parameter shall always be set to 'false'."
- },
- {
- "id": "mimo-is-on",
- "label": "mimo-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of Multiple Input Multiple Output (MIMO) shall be expressed as a 'true'."
- },
- {
- "id": "alic-is-on",
- "label": "alic-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of Adjacent Link Interference Cancelation (ALIC) shall be expressed as a 'true'."
- },
- {
- "id": "atpc-is-on",
- "label": "atpc-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ATPC. Activation of Automated Transmit Power Control shall be expressed as a 'true'."
- },
- {
- "id": "atpc-thresh-upper",
- "label": "atpc-thresh-upper",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If the receive level is higher than the upper threshold value, the transmitter is notified to decrease transmit power."
- },
- {
- "id": "atpc-thresh-lower",
- "label": "atpc-thresh-lower",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If the receive level is lower than the lower threshold value, the transmitter is notified to increase transmit power."
- },
- {
- "id": "atpc-tx-power-min",
- "label": "atpc-tx-power-min",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Transmit power, which is not to be undercut, while operating ATPC."
- },
- {
- "id": "auto-freq-select-is-on",
- "label": "auto-freq-select-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of automatically selecting the transmit frequency in unlicensed bands shall be expressed as a 'true'."
- },
- {
- "id": "auto-freq-select-range",
- "label": "auto-freq-select-range",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "channels",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of transmit channels (starting at the center frequency defined in txFrequency and with channel bandwidth according to txChannelBandwidth) that define the range within the transmit frequency can automatically been chosen."
- },
- {
- "id": "modulation-is-on",
- "label": "modulation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maintenance Feature. De-activation of the modulation of the carrier signal for fault management shall be expressed as a 'false'."
- },
- {
- "id": "encryption-is-on",
- "label": "encryption-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activates encryption of the payload."
- },
- {
- "id": "cryptographic-key",
- "label": "cryptographic-key",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Key for transforming plaintext into ciphertext data."
- },
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "threshold-cross-alarm-list",
- "label": "threshold-cross-alarm-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-configuration-g:threshold-cross-alarm-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of threshold cross alarms to be configured."
- },
- {
- "id": "loop-back-kind-on",
- "label": "loop-back-kind-on",
- "uiType": "selection",
- "options": [
- {
- "key": "rf-to-remote",
- "value": "rf-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the radio interface between both outdoor units."
- },
- {
- "key": "rf-to-local",
- "value": "rf-to-local",
- "description": "Returning the header information of the local site back to the local site on the radio interface between both outdoor units."
- },
- {
- "key": "if-to-remote",
- "value": "if-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "if-to-local",
- "value": "if-to-local",
- "description": "Returning the header information of the local site back to the local site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maintenance Feature. The currently configured type of looping back of the air interface header shall be expressed here. The received header is returned to the remote site."
- },
- {
- "id": "maintenance-timer",
- "label": "maintenance-timer",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time of existence of any maintenance configuration (e.g. the loop back of microwave header information). Valid values are defined in AirInterface::AirInterfaceCapability::maintenanceTimerRange."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "Configuration of the radio link."
- },
- {
- "id": "microwave-model:air-interface-configuration-g:threshold-cross-alarm-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "threshold-cross-alarm-list",
- "language": "en-US",
- "title": "threshold-cross-alarm-list",
- "elements": [
- {
- "id": "g826-value-kind",
- "label": "g826-value-kind",
- "uiType": "selection",
- "options": [
- {
- "key": "es",
- "value": "es",
- "description": "Errored Seconds. Threshold cross alarm will relate to TypeDefinitions::AirInterfacePerformanceType::es ."
- },
- {
- "key": "ses",
- "value": "ses",
- "description": "Severely Errored Seconds. Threshold cross alarm will relate to TypeDefinitions::AirInterfacePerformanceType::ses ."
- },
- {
- "key": "cses",
- "value": "cses",
- "description": "Consecutive Severely Errored Seconds. Threshold cross alarm will relate to TypeDefinitions::AirInterfacePerformanceType::cses ."
- },
- {
- "key": "not-specified",
- "value": "not-specified",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Kind of performance value that shall be equipped with a threshold alarm."
- },
- {
- "id": "granularity-period",
- "label": "granularity-period",
- "uiType": "g:granularity-period-type",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Period of the performance data collection."
- },
- {
- "id": "alarm-raising-threshold",
- "label": "alarm-raising-threshold",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of events required for raising the threshold cross alarm."
- },
- {
- "id": "alarm-clearing-threshold",
- "label": "alarm-clearing-threshold",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of events required for clearing the threshold cross alarm."
- }
- ],
- "description": "List of threshold cross alarms to be configured."
- },
- {
- "id": "microwave-model:air-interface-configuration-g:problem-kind-severity-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterface::AirInterfaceCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the problem to be configured."
- },
- {
- "id": "microwave-model:air-interface-status-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-pac",
- "object": "air-interface-status",
- "name": "air-interface-status",
- "language": "en-US",
- "title": "air-interface-status",
- "elements": [
- {
- "id": "tx-frequency-cur",
- "label": "tx-frequency-cur",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the currently operated transmit channel."
- },
- {
- "id": "rx-frequency-cur",
- "label": "rx-frequency-cur",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kHz",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Center frequency of the currently operated receive channel."
- },
- {
- "id": "tx-level-cur",
- "label": "tx-level-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current transmit level."
- },
- {
- "id": "rx-level-cur",
- "label": "rx-level-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current receive level."
- },
- {
- "id": "transmission-mode-cur",
- "label": "transmission-mode-cur",
- "uiType": "string",
- "leafrefPath": "/mw-air-interface-pac/air-interface-capability/supported-channel-plan-list/transmission-mode-list/transmission-mode-id",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently operated transmission mode according to definitions in Capabilities."
- },
- {
- "id": "modulation-cur",
- "label": "modulation-cur",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "unit": "symbols",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently operated modulation on transmit path. The modulation scheme shall be described by the number of states in the phase diagram (e.g. BPSK->'2' or 256QAM->'256'). Allowed values are defined in TypeDefinitions::transmissionModeType::modulationScheme."
- },
- {
- "id": "code-rate-cur",
- "label": "code-rate-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "%",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Code rate of the currently operated coding scheme (Net bit rate ? Gross bit rate ? code rate)."
- },
- {
- "id": "received-signal-id",
- "label": "received-signal-id",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ID of the signal, which the receiver is currently synchronized on."
- },
- {
- "id": "snir-cur",
- "label": "snir-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently measured signal to (noise+interference) ratio."
- },
- {
- "id": "xpd-cur",
- "label": "xpd-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently measured cross polarization discrimination."
- },
- {
- "id": "rf-temp-cur",
- "label": "rf-temp-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "Celsius",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current temperature (in degree Celsius) of the radio module inside the outdoor unit."
- },
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Air Interface entered its current operational status."
- },
- {
- "id": "radio-power-is-up",
- "label": "radio-power-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If the radio unit has power and is switched on, this shall be expressed as a 'true'."
- },
- {
- "id": "link-is-up",
- "label": "link-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If connection is established to the remote site with the same linkID, this shall be expressed as a 'true'."
- },
- {
- "id": "xpic-is-up",
- "label": "xpic-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If XPIC is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "mimo-is-up",
- "label": "mimo-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If MIMO is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "alic-is-up",
- "label": "alic-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If Adjacent Link Interference Cancelation (ALIC) is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "atpc-is-up",
- "label": "atpc-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If ATPC is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "auto-freq-select-is-up",
- "label": "auto-freq-select-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If automated frequency selection is currently actually working (not just configured), this shall be expressed as a 'true'."
- },
- {
- "id": "loop-back-kind-up",
- "label": "loop-back-kind-up",
- "uiType": "selection",
- "options": [
- {
- "key": "rf-to-remote",
- "value": "rf-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the radio interface between both outdoor units."
- },
- {
- "key": "rf-to-local",
- "value": "rf-to-local",
- "description": "Returning the header information of the local site back to the local site on the radio interface between both outdoor units."
- },
- {
- "key": "if-to-remote",
- "value": "if-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "if-to-local",
- "value": "if-to-local",
- "description": "Returning the header information of the local site back to the local site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The currently active (not just configured) type of looping back of the air interface header shall be expressed here. The received header is returned to the remote site."
- },
- {
- "id": "local-end-point-id",
- "label": "local-end-point-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The value of the localEndPointId is a vendor specific identifier of the air interface, used by the node to discover a microwave radio link."
- },
- {
- "id": "remote-end-point-id",
- "label": "remote-end-point-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The value of the remoteEndPointId is a vendor specific identifier or the airinterface at the remote side, used to by the node to discover a microwave radio link."
- }
- ],
- "description": "Measurements of current values on the air interface and operational status of the device."
- },
- {
- "id": "microwave-model:air-interface-current-problems-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-pac",
- "object": "air-interface-current-problems",
- "name": "air-interface-current-problems",
- "language": "en-US",
- "title": "air-interface-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-current-problems-g:current-problem-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterface::AirInterfaceCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-current-performance-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-pac",
- "object": "air-interface-current-performance",
- "name": "air-interface-current-performance",
- "language": "en-US",
- "title": "air-interface-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "Aggregated performance information of the air interface at a particular moment."
- },
- {
- "id": "microwave-model:air-interface-current-performance-g:current-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:air-interface-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- },
- {
- "id": "microwave-model:air-interface-historical-performances-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-pac",
- "object": "air-interface-historical-performances",
- "name": "air-interface-historical-performances",
- "language": "en-US",
- "title": "air-interface-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Aggregated performance information of the air interface for a pre-defined measurement interval."
- },
- {
- "id": "microwave-model:air-interface-historical-performances-g:historical-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:air-interface-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:co-channel-group-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "microwave-model",
- "object": "co-channel-group",
- "name": "co-channel-group",
- "language": "en-US",
- "title": "co-channel-group",
- "elements": [
- {
- "id": "co-channel-group-id",
- "label": "co-channel-group-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "air-interface-list",
- "label": "air-interface-list",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of air interfaces, which are part of the co-channel (XPIC, MIMO, ALIC) group."
- },
- {
- "id": "sort-of-co-channel-group",
- "label": "sort-of-co-channel-group",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Type of group of air interfaces with the same transmit and receive frequency. The values shall be chosen from the following _list:'XPIC', 'MIMO', 'ALIC';"
- },
- {
- "id": "logical-termination-point",
- "label": "logical-termination-point",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Required for configuring XPIC, MIMO and ALIC."
- },
- {
- "id": "microwave-model:air-interface-diversity-capability-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-diversity-pac",
- "object": "air-interface-diversity-capability",
- "name": "air-interface-diversity-capability",
- "language": "en-US",
- "title": "air-interface-diversity-capability",
- "elements": [
- {
- "id": "available-kinds-of-diversity",
- "label": "available-kinds-of-diversity",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-capability-g:available-kinds-of-diversity",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available types of diversity to be listed."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'airInterfaceDiversityConfigurationIsPartlyDown' (at least one air interface is down, but not all of them) and 'airInterfaceDiversityConfigurationIsDown' (all air interfaces are down). Further alarms might be added by the vendor."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'airInterfaceDiversityConfigurationIsPartlyDown' (at least one air interface is down, but not all of them) and 'airInterfaceDiversityConfigurationIsDown' (all air interfaces are down). Further alarms might be added by the device. Names are to be separated by commas."
- }
- ],
- "description": "Describes the capabilities in implementing different types of air interface diversity."
- },
- {
- "id": "microwave-model:air-interface-diversity-capability-g:available-kinds-of-diversity",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "available-kinds-of-diversity",
- "language": "en-US",
- "title": "available-kinds-of-diversity",
- "elements": [
- {
- "id": "diversity-name",
- "label": "diversity-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'spaceDiversity', 'frequencyDiversity'"
- },
- {
- "id": "number-of-air-interfaces-max",
- "label": "number-of-air-interfaces-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "air interfaces",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum number of air interfaces that could be part of this kind of diversity."
- }
- ],
- "description": "Available types of diversity to be listed."
- },
- {
- "id": "microwave-model:air-interface-diversity-configuration-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-diversity-pac",
- "object": "air-interface-diversity-configuration",
- "name": "air-interface-diversity-configuration",
- "language": "en-US",
- "title": "air-interface-diversity-configuration",
- "elements": [
- {
- "id": "air-interface-diversity",
- "label": "air-interface-diversity",
- "uiType": "object",
- "viewId": "microwave-model:air-interface-diversity-configuration-g:air-interface-diversity",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Type of air interface diversity configured at the link."
- },
- {
- "id": "air-interface-ltp-list",
- "label": "air-interface-ltp-list",
- "uiType": "string",
- "leafrefPath": "/core-model:network-element/core-model:ltp/core-model:uuid",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "_multiplicity:2-ThisAirInterfaceDiversity::AirInterfaceDiversityConfiguration::airInterfaceDiversity::diversityType::numberOfAirInterfacesMax"
- },
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "threshold-cross-alarm-list",
- "label": "threshold-cross-alarm-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-configuration-g:threshold-cross-alarm-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of threshold cross alarms to be configured."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-diversity-configuration-g:air-interface-diversity",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "air-interface-diversity",
- "language": "en-US",
- "title": "air-interface-diversity",
- "elements": [
- {
- "id": "diversity-name",
- "label": "diversity-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'spaceDiversity', 'frequencyDiversity'"
- },
- {
- "id": "number-of-air-interfaces-max",
- "label": "number-of-air-interfaces-max",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "air interfaces",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum number of air interfaces that could be part of this kind of diversity."
- }
- ],
- "description": "Type of air interface diversity configured at the link."
- },
- {
- "id": "microwave-model:air-interface-diversity-configuration-g:threshold-cross-alarm-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "threshold-cross-alarm-list",
- "language": "en-US",
- "title": "threshold-cross-alarm-list",
- "elements": [
- {
- "id": "g826-value-kind",
- "label": "g826-value-kind",
- "uiType": "selection",
- "options": [
- {
- "key": "es",
- "value": "es",
- "description": "Errored Seconds. Threshold cross alarm will relate to TypeDefinitions::AirInterfacePerformanceType::es ."
- },
- {
- "key": "ses",
- "value": "ses",
- "description": "Severely Errored Seconds. Threshold cross alarm will relate to TypeDefinitions::AirInterfacePerformanceType::ses ."
- },
- {
- "key": "cses",
- "value": "cses",
- "description": "Consecutive Severely Errored Seconds. Threshold cross alarm will relate to TypeDefinitions::AirInterfacePerformanceType::cses ."
- },
- {
- "key": "not-specified",
- "value": "not-specified",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Kind of performance value that shall be equipped with a threshold alarm."
- },
- {
- "id": "granularity-period",
- "label": "granularity-period",
- "uiType": "g:granularity-period-type",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Period of the performance data collection."
- },
- {
- "id": "alarm-raising-threshold",
- "label": "alarm-raising-threshold",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of events required for raising the threshold cross alarm."
- },
- {
- "id": "alarm-clearing-threshold",
- "label": "alarm-clearing-threshold",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Number of events required for clearing the threshold cross alarm."
- }
- ],
- "description": "List of threshold cross alarms to be configured."
- },
- {
- "id": "microwave-model:air-interface-diversity-configuration-g:problem-kind-severity-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterfaceDiversity::AirInterfaceDiversityCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the problem to be configured."
- },
- {
- "id": "microwave-model:air-interface-diversity-status-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-diversity-pac",
- "object": "air-interface-diversity-status",
- "name": "air-interface-diversity-status",
- "language": "en-US",
- "title": "air-interface-diversity-status",
- "elements": [
- {
- "id": "snir-cur",
- "label": "snir-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dB",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Currently measured signal to (noise+interference) ratio of the combined signals."
- },
- {
- "id": "air-interface-diversity-status",
- "label": "air-interface-diversity-status",
- "uiType": "selection",
- "options": [
- {
- "key": "group-down",
- "value": "group-down",
- "description": "All air interfaces that are members of the diversity configuration are down."
- },
- {
- "key": "not-all-ai-active",
- "value": "not-all-ai-active",
- "description": "At least one, but not all of the air interfaces that are part of the diversity configuration is not working."
- },
- {
- "key": "all-ai-active",
- "value": "all-ai-active",
- "description": "All air interfaces that are part of the diversity configuration are working."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Status of the air interface bundle."
- },
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Diversity Group entered its current operational status."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-diversity-current-problems-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-diversity-pac",
- "object": "air-interface-diversity-current-problems",
- "name": "air-interface-diversity-current-problems",
- "language": "en-US",
- "title": "air-interface-diversity-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-diversity-current-problems-g:current-problem-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to AirInterfaceDiversity::AirInterfaceDiversityCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:air-interface-diversity-current-performance-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-diversity-pac",
- "object": "air-interface-diversity-current-performance",
- "name": "air-interface-diversity-current-performance",
- "language": "en-US",
- "title": "air-interface-diversity-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "Aggregated performance information of the air interface diversity configuration at a particular moment."
- },
- {
- "id": "microwave-model:air-interface-diversity-current-performance-g:current-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:air-interface-diversity-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- },
- {
- "id": "microwave-model:air-interface-diversity-historical-performances-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-air-interface-diversity-pac",
- "object": "air-interface-diversity-historical-performances",
- "name": "air-interface-diversity-historical-performances",
- "language": "en-US",
- "title": "air-interface-diversity-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:air-interface-diversity-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Aggregated performance information of the air interface diversity configuration for a pre-defined measurement interval."
- },
- {
- "id": "microwave-model:air-interface-diversity-historical-performances-g:historical-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:air-interface-diversity-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:pure-ethernet-structure-capability-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-pure-ethernet-structure-pac",
- "object": "pure-ethernet-structure-capability",
- "name": "pure-ethernet-structure-capability",
- "language": "en-US",
- "title": "pure-ethernet-structure-capability",
- "elements": [
- {
- "id": "structure-id",
- "label": "structure-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Identifies the Structure for bundling and container."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the vendor."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the device."
- }
- ],
- "description": "Describes the logical structuring of the physical capacity provided by a pure Ethernet microwave device. Segmentation is not available. No fixed segment size. No TDM transport."
- },
- {
- "id": "microwave-model:pure-ethernet-structure-configuration-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-pure-ethernet-structure-pac",
- "object": "pure-ethernet-structure-configuration",
- "name": "pure-ethernet-structure-configuration",
- "language": "en-US",
- "title": "pure-ethernet-structure-configuration",
- "elements": [
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:pure-ethernet-structure-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the type of problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:pure-ethernet-structure-configuration-g:problem-kind-severity-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Structure::StructureCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the type of problem to be configured."
- },
- {
- "id": "microwave-model:pure-ethernet-structure-status-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-pure-ethernet-structure-pac",
- "object": "pure-ethernet-structure-status",
- "name": "pure-ethernet-structure-status",
- "language": "en-US",
- "title": "pure-ethernet-structure-status",
- "elements": [
- {
- "id": "segment-status-list",
- "label": "segment-status-list",
- "uiType": "object",
- "viewId": "microwave-model:pure-ethernet-structure-status-g:segment-status-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Status of the Ethernet transport segment. Always just one segment."
- },
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the last update of the status information."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:pure-ethernet-structure-status-g:segment-status-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "segment-status-list",
- "language": "en-US",
- "title": "segment-status-list",
- "elements": [
- {
- "id": "segment-status-type-id",
- "label": "segment-status-type-id",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "segment-is-reserved-for-tdm",
- "label": "segment-is-reserved-for-tdm",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The number of segments, which is configured by Structure::StructureConfiguration::tdmReservedNumberOfSegements, has to be reserved for TDM. Starting from the lowest index value, these segments have to be marked with a 'true' in segmentIsReservedForTdm."
- },
- {
- "id": "operational-status",
- "label": "operational-status",
- "uiType": "core-model:operational-state",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current operational status of each segment."
- },
- {
- "id": "obsolete-priority-class",
- "label": "obsolete-priority-class",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "PriorityClass as inherited from the associated Container::ContainerConfiguration::priorityClass. In case the device is capable of adapting the sequence, in which segments are being dropped in case of decreasing capacity of the air interface, priorityClass shall be considered, while calculating the dropOrderRank."
- },
- {
- "id": "obsolete-drop-order-rank",
- "label": "obsolete-drop-order-rank",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the device is NOT capable of adapting the sequence, in which segments are being dropped in case of decreasing capacity of the air interface, dropOrderRank is number of segments minus sequence number of the segment. In case the device is capable of adapting the sequence, dropOrderRank has to be calculated by the device in dependency to the assigned priorityClass. _unique: within Structure::StructureStatus::segmentStatusList"
- }
- ],
- "description": "Status of the Ethernet transport segment. Always just one segment."
- },
- {
- "id": "microwave-model:pure-ethernet-structure-current-problems-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-pure-ethernet-structure-pac",
- "object": "pure-ethernet-structure-current-problems",
- "name": "pure-ethernet-structure-current-problems",
- "language": "en-US",
- "title": "pure-ethernet-structure-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:pure-ethernet-structure-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:pure-ethernet-structure-current-problems-g:current-problem-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Structure::StructureCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:pure-ethernet-structure-current-performance-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-pure-ethernet-structure-pac",
- "object": "pure-ethernet-structure-current-performance",
- "name": "pure-ethernet-structure-current-performance",
- "language": "en-US",
- "title": "pure-ethernet-structure-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:pure-ethernet-structure-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "Aggregated performance information of the structure of an pure Ethernet microwave at a particular moment."
- },
- {
- "id": "microwave-model:pure-ethernet-structure-current-performance-g:current-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:structure-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- },
- {
- "id": "microwave-model:pure-ethernet-structure-historical-performances-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-pure-ethernet-structure-pac",
- "object": "pure-ethernet-structure-historical-performances",
- "name": "pure-ethernet-structure-historical-performances",
- "language": "en-US",
- "title": "pure-ethernet-structure-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:pure-ethernet-structure-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Aggregated performance information of the structure of an pure Ethernet microwave for a pre-defined measurement interval."
- },
- {
- "id": "microwave-model:pure-ethernet-structure-historical-performances-g:historical-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:structure-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:hybrid-mw-structure-capability-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-hybrid-mw-structure-pac",
- "object": "hybrid-mw-structure-capability",
- "name": "hybrid-mw-structure-capability",
- "language": "en-US",
- "title": "hybrid-mw-structure-capability",
- "elements": [
- {
- "id": "structure-id",
- "label": "structure-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Identifies the Structure for bundling and container."
- },
- {
- "id": "supported-tdm-structure-types-list",
- "label": "supported-tdm-structure-types-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-capability-g:supported-tdm-structure-types-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lists the TDM frame types that are supported."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the vendor."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the device."
- }
- ],
- "description": "Describes the logical structuring of the physical capacity provided by a hybrid microwave device (TDM + Ethernet). Segmentation is available. TDM transport is available."
- },
- {
- "id": "microwave-model:hybrid-mw-structure-capability-g:supported-tdm-structure-types-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "supported-tdm-structure-types-list",
- "language": "en-US",
- "title": "supported-tdm-structure-types-list",
- "elements": [
- {
- "id": "tdm-structure-name",
- "label": "tdm-structure-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'e1','t1','j1','e3','ds3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "tdm-segment-size",
- "label": "tdm-segment-size",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kbit/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Size of the TDM segment in kbit/s. Values to be chosen from the following list: '2048','1544','34000','44736 ','155520','614400','1228800','2457600','3072000','4915200','6144000' or '9830400;"
- },
- {
- "id": "max-number-of-segments-reservable",
- "label": "max-number-of-segments-reservable",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "segments",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Device specific maximum number of segments (not depending on current air interface configuration) that can be reserved for this type of segment on a single air interface."
- }
- ],
- "description": "Lists the TDM frame types that are supported."
- },
- {
- "id": "microwave-model:hybrid-mw-structure-configuration-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-hybrid-mw-structure-pac",
- "object": "hybrid-mw-structure-configuration",
- "name": "hybrid-mw-structure-configuration",
- "language": "en-US",
- "title": "hybrid-mw-structure-configuration",
- "elements": [
- {
- "id": "structure-kind",
- "label": "structure-kind",
- "uiType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-configuration-g:structure-kind",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "TDM frame to be applied."
- },
- {
- "id": "structure-type",
- "label": "structure-type",
- "uiType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-configuration-g:structure-type",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "TDM frame to be applied."
- },
- {
- "id": "number-of-tdm-segments-to-be-reserved",
- "label": "number-of-tdm-segments-to-be-reserved",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Allows to configure the number of segments reserved for TDM frames of the type specified in HybridMwStructure::HybridMwStructureConfiguration::structureType"
- },
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the type of problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:hybrid-mw-structure-configuration-g:structure-kind",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "structure-kind",
- "language": "en-US",
- "title": "structure-kind",
- "elements": [
- {
- "id": "tdm-structure-name",
- "label": "tdm-structure-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'e1','t1','j1','e3','ds3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "tdm-segment-size",
- "label": "tdm-segment-size",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kbit/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Size of the TDM segment in kbit/s. Values to be chosen from the following list: '2048','1544','34000','44736 ','155520','614400','1228800','2457600','3072000','4915200','6144000' or '9830400;"
- },
- {
- "id": "max-number-of-segments-reservable",
- "label": "max-number-of-segments-reservable",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "segments",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Device specific maximum number of segments (not depending on current air interface configuration) that can be reserved for this type of segment on a single air interface."
- }
- ],
- "description": "TDM frame to be applied."
- },
- {
- "id": "microwave-model:hybrid-mw-structure-configuration-g:structure-type",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "structure-type",
- "language": "en-US",
- "title": "structure-type",
- "elements": [
- {
- "id": "tdm-structure-name",
- "label": "tdm-structure-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'e1','t1','j1','e3','ds3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "tdm-segment-size",
- "label": "tdm-segment-size",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kbit/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Size of the TDM segment in kbit/s. Values to be chosen from the following list: '2048','1544','34000','44736 ','155520','614400','1228800','2457600','3072000','4915200','6144000' or '9830400;"
- },
- {
- "id": "max-number-of-segments-reservable",
- "label": "max-number-of-segments-reservable",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "segments",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Device specific maximum number of segments (not depending on current air interface configuration) that can be reserved for this type of segment on a single air interface."
- }
- ],
- "description": "TDM frame to be applied."
- },
- {
- "id": "microwave-model:hybrid-mw-structure-configuration-g:problem-kind-severity-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Structure::StructureCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the type of problem to be configured."
- },
- {
- "id": "microwave-model:hybrid-mw-structure-status-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-hybrid-mw-structure-pac",
- "object": "hybrid-mw-structure-status",
- "name": "hybrid-mw-structure-status",
- "language": "en-US",
- "title": "hybrid-mw-structure-status",
- "elements": [
- {
- "id": "segment-status-list",
- "label": "segment-status-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-status-g:segment-status-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Status of each segment (all TDM and one Ethernet). Multiplicity = HybridMwStructure::StructureConfiguration::tdmReservedNumberOfSegments + 1"
- },
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the last update of the status information."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:hybrid-mw-structure-status-g:segment-status-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "segment-status-list",
- "language": "en-US",
- "title": "segment-status-list",
- "elements": [
- {
- "id": "segment-status-type-id",
- "label": "segment-status-type-id",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "segment-is-reserved-for-tdm",
- "label": "segment-is-reserved-for-tdm",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "The number of segments, which is configured by Structure::StructureConfiguration::tdmReservedNumberOfSegements, has to be reserved for TDM. Starting from the lowest index value, these segments have to be marked with a 'true' in segmentIsReservedForTdm."
- },
- {
- "id": "operational-status",
- "label": "operational-status",
- "uiType": "core-model:operational-state",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current operational status of each segment."
- },
- {
- "id": "obsolete-priority-class",
- "label": "obsolete-priority-class",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "PriorityClass as inherited from the associated Container::ContainerConfiguration::priorityClass. In case the device is capable of adapting the sequence, in which segments are being dropped in case of decreasing capacity of the air interface, priorityClass shall be considered, while calculating the dropOrderRank."
- },
- {
- "id": "obsolete-drop-order-rank",
- "label": "obsolete-drop-order-rank",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case the device is NOT capable of adapting the sequence, in which segments are being dropped in case of decreasing capacity of the air interface, dropOrderRank is number of segments minus sequence number of the segment. In case the device is capable of adapting the sequence, dropOrderRank has to be calculated by the device in dependency to the assigned priorityClass. _unique: within Structure::StructureStatus::segmentStatusList"
- }
- ],
- "description": "Status of each segment (all TDM and one Ethernet). Multiplicity = HybridMwStructure::StructureConfiguration::tdmReservedNumberOfSegments + 1"
- },
- {
- "id": "microwave-model:hybrid-mw-structure-current-problems-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-hybrid-mw-structure-pac",
- "object": "hybrid-mw-structure-current-problems",
- "name": "hybrid-mw-structure-current-problems",
- "language": "en-US",
- "title": "hybrid-mw-structure-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:hybrid-mw-structure-current-problems-g:current-problem-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Structure::StructureCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:hybrid-mw-structure-current-performance-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-hybrid-mw-structure-pac",
- "object": "hybrid-mw-structure-current-performance",
- "name": "hybrid-mw-structure-current-performance",
- "language": "en-US",
- "title": "hybrid-mw-structure-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "Aggregated performance information of the structure of a hybrid microwave at a particular moment."
- },
- {
- "id": "microwave-model:hybrid-mw-structure-current-performance-g:current-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:structure-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- },
- {
- "id": "microwave-model:hybrid-mw-structure-historical-performances-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-hybrid-mw-structure-pac",
- "object": "hybrid-mw-structure-historical-performances",
- "name": "hybrid-mw-structure-historical-performances",
- "language": "en-US",
- "title": "hybrid-mw-structure-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:hybrid-mw-structure-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Aggregated performance information of the structure of a hybrid microwave for a pre-defined measurement interval."
- },
- {
- "id": "microwave-model:hybrid-mw-structure-historical-performances-g:historical-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:structure-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:ethernet-container-capability-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-ethernet-container-pac",
- "object": "ethernet-container-capability",
- "name": "ethernet-container-capability",
- "language": "en-US",
- "title": "ethernet-container-capability",
- "elements": [
- {
- "id": "bundling-is-avail",
- "label": "bundling-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "This attribute has to be set on 'true', if the device allows combining resources from several air interfaces for transporting this Ethernet container."
- },
- {
- "id": "packet-compression-is-avail",
- "label": "packet-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case packet compression can be activated, but not configured to a certain type, packetCompressionAvail shall be set on 'true', but none of the compression level specific booleans."
- },
- {
- "id": "layer2-compression-is-avail",
- "label": "layer2-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 2 available at the device."
- },
- {
- "id": "vlan-compression-is-avail",
- "label": "vlan-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on VLAN layer available at the device."
- },
- {
- "id": "q-in-q-compression-is-avail",
- "label": "q-in-q-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer of a second VLAN available at the device."
- },
- {
- "id": "mpls-compression-is-avail",
- "label": "mpls-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on mpls layer available at the device."
- },
- {
- "id": "ipv4-compression-is-avail",
- "label": "ipv4-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv4 available at the device."
- },
- {
- "id": "ipv6-compression-is-avail",
- "label": "ipv6-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv6 available at the device."
- },
- {
- "id": "layer4-compression-is-avail",
- "label": "layer4-compression-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 4 (TCP and UDP header) available at the device."
- },
- {
- "id": "encryption-is-avail",
- "label": "encryption-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Shall be marked 'true', if Ethernet payload encryption is available."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the vendor."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the device."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:ethernet-container-configuration-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-ethernet-container-pac",
- "object": "ethernet-container-configuration",
- "name": "ethernet-container-configuration",
- "language": "en-US",
- "title": "ethernet-container-configuration",
- "elements": [
- {
- "id": "container-id",
- "label": "container-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ContainterID in Netconf must be the same as EthernetPortID in OpenFlow so a connection can be made between the two items, which separately exist in the controller."
- },
- {
- "id": "segments-id-list",
- "label": "segments-id-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:ethernet-container-configuration-g:segments-id-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lists the segments used for transporting this Ethernet container. In case EthernetContainer::ContainerCapability::bundlingIsAvail==0, all TypeDefinitions::segmentIdType::structureId must be identical in the list."
- },
- {
- "id": "packet-compression-is-on",
- "label": "packet-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "In case packet compression is activated, but no type is activated, it is assumed that the device chooses the optimum."
- },
- {
- "id": "layer2-compression-is-on",
- "label": "layer2-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 2 configured at the device."
- },
- {
- "id": "vlan-compression-is-on",
- "label": "vlan-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on VLAN layer configured at the device."
- },
- {
- "id": "q-in-q-compression-is-on",
- "label": "q-in-q-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer of a second VLAN configured at the device."
- },
- {
- "id": "mpls-compression-is-on",
- "label": "mpls-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on MPLS layer configured at the device."
- },
- {
- "id": "ipv4-compression-is-on",
- "label": "ipv4-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv4 configured at the device."
- },
- {
- "id": "ipv6-compression-is-on",
- "label": "ipv6-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 3 for IPv6 configured at the device."
- },
- {
- "id": "layer4-compression-is-on",
- "label": "layer4-compression-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Packet compression on layer 4 (TCP and UDP header) configured at the device."
- },
- {
- "id": "encryption-is-on",
- "label": "encryption-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activates encryption of the Ethernet payload."
- },
- {
- "id": "cryptographic-key",
- "label": "cryptographic-key",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Key for transforming plaintext into cipher text data."
- },
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:ethernet-container-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:ethernet-container-configuration-g:segments-id-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "segments-id-list",
- "language": "en-US",
- "title": "segments-id-list",
- "elements": [
- {
- "id": "structure-id-ref",
- "label": "structure-id-ref",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "segment-id-ref",
- "label": "segment-id-ref",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Combinations of structureId and segmentId must be unique inside the device to assure that every resource is used just once."
- }
- ],
- "description": "Lists the segments used for transporting this Ethernet container. In case EthernetContainer::ContainerCapability::bundlingIsAvail==0, all TypeDefinitions::segmentIdType::structureId must be identical in the list."
- },
- {
- "id": "microwave-model:ethernet-container-configuration-g:problem-kind-severity-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Container::ContainerCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the problem to be configured."
- },
- {
- "id": "microwave-model:ethernet-container-status-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-ethernet-container-pac",
- "object": "ethernet-container-status",
- "name": "ethernet-container-status",
- "language": "en-US",
- "title": "ethernet-container-status",
- "elements": [
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Container entered its current operational status."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:ethernet-container-current-problems-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-ethernet-container-pac",
- "object": "ethernet-container-current-problems",
- "name": "ethernet-container-current-problems",
- "language": "en-US",
- "title": "ethernet-container-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:ethernet-container-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:ethernet-container-current-problems-g:current-problem-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Container::ContainerCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:ethernet-container-current-performance-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-ethernet-container-pac",
- "object": "ethernet-container-current-performance",
- "name": "ethernet-container-current-performance",
- "language": "en-US",
- "title": "ethernet-container-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:ethernet-container-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Aggregated performance information of the Ethernet container at a particular moment."
- },
- {
- "id": "microwave-model:ethernet-container-current-performance-g:current-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:container-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:ethernet-container-historical-performances-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-ethernet-container-pac",
- "object": "ethernet-container-historical-performances",
- "name": "ethernet-container-historical-performances",
- "language": "en-US",
- "title": "ethernet-container-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:ethernet-container-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Aggregated performance information of the Ethernet container for a pre-defined measurement interval."
- },
- {
- "id": "microwave-model:ethernet-container-historical-performances-g:historical-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:container-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:tdm-container-capability-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-tdm-container-pac",
- "object": "tdm-container-capability",
- "name": "tdm-container-capability",
- "language": "en-US",
- "title": "tdm-container-capability",
- "elements": [
- {
- "id": "supported-tdm-container-types-list",
- "label": "supported-tdm-container-types-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:tdm-container-capability-g:supported-tdm-container-types-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Lists the TDM containers that are supported."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the vendor."
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the device."
- }
- ],
- "description": "Bundling is not available."
- },
- {
- "id": "microwave-model:tdm-container-capability-g:supported-tdm-container-types-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "supported-tdm-container-types-list",
- "language": "en-US",
- "title": "supported-tdm-container-types-list",
- "elements": [
- {
- "id": "tdm-container-name",
- "label": "tdm-container-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'e1','t1','j1','e3','t3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "tdm-container-size",
- "label": "tdm-container-size",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kbit/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Capacity required for transporting this type of container (in kbit/s). Values to be chosen from the following list: '2048','1544','34000','44736 ','155520','614400','1228800','2457600','3072000','4915200','6144000' or '9830400;"
- }
- ],
- "description": "Lists the TDM containers that are supported."
- },
- {
- "id": "microwave-model:tdm-container-configuration-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-tdm-container-pac",
- "object": "tdm-container-configuration",
- "name": "tdm-container-configuration",
- "language": "en-US",
- "title": "tdm-container-configuration",
- "elements": [
- {
- "id": "container-id",
- "label": "container-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ContainterID in Netconf must be the same as TDM Flow ID so a connection can be made between the two items, which separately exist in the controller."
- },
- {
- "id": "container-type",
- "label": "container-type",
- "uiType": "object",
- "viewId": "microwave-model:tdm-container-configuration-g:container-type",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Type of TDM container."
- },
- {
- "id": "segment-id",
- "label": "segment-id",
- "uiType": "object",
- "viewId": "microwave-model:tdm-container-configuration-g:segment-id",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Multiplicity = 1; One segment per TDM container; Type of segment must match type of container;"
- },
- {
- "id": "performance-monitoring-collection-is-on",
- "label": "performance-monitoring-collection-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Enables measurement, collection, storage and access to performance data."
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:tdm-container-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:tdm-container-configuration-g:container-type",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "container-type",
- "language": "en-US",
- "title": "container-type",
- "elements": [
- {
- "id": "tdm-container-name",
- "label": "tdm-container-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Names to be chosen from the following list: 'e1','t1','j1','e3','t3','stm1','cpri1','cpri2','cpri3','cpri4','cpri5','cpri6' or 'cpri7'"
- },
- {
- "id": "tdm-container-size",
- "label": "tdm-container-size",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "kbit/s",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Capacity required for transporting this type of container (in kbit/s). Values to be chosen from the following list: '2048','1544','34000','44736 ','155520','614400','1228800','2457600','3072000','4915200','6144000' or '9830400;"
- }
- ],
- "description": "Type of TDM container."
- },
- {
- "id": "microwave-model:tdm-container-configuration-g:segment-id",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "segment-id",
- "language": "en-US",
- "title": "segment-id",
- "elements": [
- {
- "id": "structure-id-ref",
- "label": "structure-id-ref",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "segment-id-ref",
- "label": "segment-id-ref",
- "uiType": "number",
- "min": -32768,
- "max": 32767,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Combinations of structureId and segmentId must be unique inside the device to assure that every resource is used just once."
- }
- ],
- "description": "Multiplicity = 1; One segment per TDM container; Type of segment must match type of container;"
- },
- {
- "id": "microwave-model:tdm-container-configuration-g:problem-kind-severity-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Container::ContainerCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the problem to be configured."
- },
- {
- "id": "microwave-model:tdm-container-status-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-tdm-container-pac",
- "object": "tdm-container-status",
- "name": "tdm-container-status",
- "language": "en-US",
- "title": "tdm-container-status",
- "elements": [
- {
- "id": "last-status-change",
- "label": "last-status-change",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time the Container entered its current operational status."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:tdm-container-current-problems-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-tdm-container-pac",
- "object": "tdm-container-current-problems",
- "name": "tdm-container-current-problems",
- "language": "en-US",
- "title": "tdm-container-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:tdm-container-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:tdm-container-current-problems-g:current-problem-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to Container::ContainerCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:tdm-container-current-performance-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-tdm-container-pac",
- "object": "tdm-container-current-performance",
- "name": "tdm-container-current-performance",
- "language": "en-US",
- "title": "tdm-container-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:tdm-container-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "Aggregated performance information of the TDM container at a particular moment."
- },
- {
- "id": "microwave-model:tdm-container-current-performance-g:current-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:container-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- },
- {
- "id": "microwave-model:tdm-container-historical-performances-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "mw-tdm-container-pac",
- "object": "tdm-container-historical-performances",
- "name": "tdm-container-historical-performances",
- "language": "en-US",
- "title": "tdm-container-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:tdm-container-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Aggregated performance information of the TDM container for a pre-defined measurement interval."
- },
- {
- "id": "microwave-model:tdm-container-historical-performances-g:historical-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:container-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-capability-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-pac",
- "object": "wirebased-interface-capability",
- "name": "wire-interface-capability",
- "language": "en-US",
- "title": "wire-interface-capability",
- "elements": [
- {
- "id": "available-mau-list",
- "label": "available-mau-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:wire-interface-capability-g:available-mau-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of Medium Attachment Units (MAUs) that are available for being selected. If rate and service configuration (e.g. SFF-8079) are not supported, the MAU determined by hardware shall be described."
- },
- {
- "id": "auto-pmd-negotiation-is-avail",
- "label": "auto-pmd-negotiation-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter 1 = Indicates that device is supporting Auto-negotiation"
- },
- {
- "id": "auto-pmd-negotiation-max-is-avail",
- "label": "auto-pmd-negotiation-max-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Indicates that device is supporting definition of the maximum speed/Medium Attached Unit (MAU) automatically chosen when (autoNegotiationIsOn=1)"
- },
- {
- "id": "supported-loop-back-kind-list",
- "label": "supported-loop-back-kind-list",
- "uiType": "selection",
- "options": [
- {
- "key": "rf-to-remote",
- "value": "rf-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the radio interface between both outdoor units."
- },
- {
- "key": "rf-to-local",
- "value": "rf-to-local",
- "description": "Returning the header information of the local site back to the local site on the radio interface between both outdoor units."
- },
- {
- "key": "if-to-remote",
- "value": "if-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "if-to-local",
- "value": "if-to-local",
- "description": "Returning the header information of the local site back to the local site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of supported kinds of looping back of header information to the remote site. 802.3 45.2.1.12.1 PMA remote loopback ability"
- },
- {
- "id": "maintenance-timer-range",
- "label": "maintenance-timer-range",
- "uiType": "string",
- "unit": "Byte",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "MW IM Available time periods for maintenance configurations (e.g. the loop back) to be described. Concrete values shall be separated by commas (e.g. '10, 60, 360'). Ranges shall be expressed as two values separated by a minus (e.g. '10-360')."
- },
- {
- "id": "supported-alarm-list",
- "label": "supported-alarm-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Available alarms to be listed. Mandatory:'txFault', 'rxLos', 'tempHigh', 'tempLow', 'rxLevelHigh', 'rxLevelLow'. Optional:'vccHigh', 'vccLow', 'txBiasHigh', 'txBiasLow', 'txPowerHigh', 'txPowerLow', 'laserTempHigh', 'laserTempLow', 'tecCurrentHigh', 'tecCurrentLow'. Further alarms might be added by the device. Names are to be separated by commas."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-capability-g:available-mau-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "available-mau-list",
- "language": "en-US",
- "title": "available-mau-list",
- "elements": [
- {
- "id": "mau-id",
- "label": "mau-id",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 according to 30.5.1.1.1 aMAUID Unique identifier of the Medium Attachment Unit (MAU) instance within the data about the device"
- },
- {
- "id": "mii-kind",
- "label": "mii-kind",
- "uiType": "selection",
- "options": [
- {
- "key": "gbic",
- "value": "gbic",
- "description": "none"
- },
- {
- "key": "soldered-connector",
- "value": "soldered-connector",
- "description": "none"
- },
- {
- "key": "sfp-sfp-plus-sfp28",
- "value": "sfp-sfp-plus-sfp28",
- "description": "none"
- },
- {
- "key": "xbi-300-pin",
- "value": "xbi-300-pin",
- "description": "none"
- },
- {
- "key": "xenpak",
- "value": "xenpak",
- "description": "none"
- },
- {
- "key": "xfp",
- "value": "xfp",
- "description": "none"
- },
- {
- "key": "xfp-e",
- "value": "xfp-e",
- "description": "none"
- },
- {
- "key": "xpak",
- "value": "xpak",
- "description": "none"
- },
- {
- "key": "x2",
- "value": "x2",
- "description": "none"
- },
- {
- "key": "dwdm-sfp-sfp-plus",
- "value": "dwdm-sfp-sfp-plus",
- "description": "none"
- },
- {
- "key": "qsfp",
- "value": "qsfp",
- "description": "none"
- },
- {
- "key": "qsfp-plus",
- "value": "qsfp-plus",
- "description": "none"
- },
- {
- "key": "cxp",
- "value": "cxp",
- "description": "none"
- },
- {
- "key": "shielded-mini-multilane-hd-4-x",
- "value": "shielded-mini-multilane-hd-4-x",
- "description": "none"
- },
- {
- "key": "shielded-mini-multilane-hd-8-x",
- "value": "shielded-mini-multilane-hd-8-x",
- "description": "none"
- },
- {
- "key": "qsfp28",
- "value": "qsfp28",
- "description": "none"
- },
- {
- "key": "cxp2",
- "value": "cxp2",
- "description": "none"
- },
- {
- "key": "cdfp-style1-style2",
- "value": "cdfp-style1-style2",
- "description": "none"
- },
- {
- "key": "shielded-mini-multilane-hd-4-x-fan-out",
- "value": "shielded-mini-multilane-hd-4-x-fan-out",
- "description": "none"
- },
- {
- "key": "shielded-mini-multilane-hd-8-x-fan-out",
- "value": "shielded-mini-multilane-hd-8-x-fan-out",
- "description": "none"
- },
- {
- "key": "cdfp-style3",
- "value": "cdfp-style3",
- "description": "none"
- },
- {
- "key": "qsfp-micro",
- "value": "qsfp-micro",
- "description": "none"
- },
- {
- "key": "qsfp-dd",
- "value": "qsfp-dd",
- "description": "none"
- },
- {
- "key": "qsfp-plus-rate-select-v1",
- "value": "qsfp-plus-rate-select-v1",
- "description": "none"
- },
- {
- "key": "qsfp-plus-rate-select-v2",
- "value": "qsfp-plus-rate-select-v2",
- "description": "none"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "SFF8472_SFF8636 Kind of Medium Independent Interface (MII) provided by this Medium Attachment Unit (MAU) (e.g. SFP, moldered port)"
- },
- {
- "id": "mdi-kind",
- "label": "mdi-kind",
- "uiType": "selection",
- "options": [
- {
- "key": "sc",
- "value": "sc",
- "description": "Subscriber Connector"
- },
- {
- "key": "fibre-channel-style-1",
- "value": "fibre-channel-style-1",
- "description": "Copper connector"
- },
- {
- "key": "fibre-channel-style-2",
- "value": "fibre-channel-style-2",
- "description": "Copper connector"
- },
- {
- "key": "bnc-tnc",
- "value": "bnc-tnc",
- "description": "Bayonet/Threaded Neill-Concelman"
- },
- {
- "key": "fc",
- "value": "fc",
- "description": "Fibre Channel coax headers"
- },
- {
- "key": "fiber-jack",
- "value": "fiber-jack",
- "description": "none"
- },
- {
- "key": "lc",
- "value": "lc",
- "description": "Lucent Connector"
- },
- {
- "key": "mt-rj",
- "value": "mt-rj",
- "description": "Mechanical Transfer - Registered Jack"
- },
- {
- "key": "mu",
- "value": "mu",
- "description": "Multiple Optical"
- },
- {
- "key": "sg",
- "value": "sg",
- "description": "none"
- },
- {
- "key": "optical-pigtail",
- "value": "optical-pigtail",
- "description": "none"
- },
- {
- "key": "mpo1-x12",
- "value": "mpo1-x12",
- "description": "Multifiber Parallel Optic"
- },
- {
- "key": "mpo2-x16",
- "value": "mpo2-x16",
- "description": "Multifiber Parallel Optic"
- },
- {
- "key": "hssdc-ii",
- "value": "hssdc-ii",
- "description": "High Speed Serial Data Connector"
- },
- {
- "key": "copper-pigtail",
- "value": "copper-pigtail",
- "description": "none"
- },
- {
- "key": "rj45",
- "value": "rj45",
- "description": "8P8C, according to Clause 3 and Figures 1 through 5 of IEC 60603-7"
- },
- {
- "key": "no-seperable-connector",
- "value": "no-seperable-connector",
- "description": "none"
- },
- {
- "key": "mxc2-x16",
- "value": "mxc2-x16",
- "description": "none"
- },
- {
- "key": "st",
- "value": "st",
- "description": "according to IEC 60874-10:1992, also often called BFOC/2.5"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Kind of Medium Dependent Interface (MDI) provided by this Medium Attachment Unit (MAU)"
- },
- {
- "id": "required-medium-kind",
- "label": "required-medium-kind",
- "uiType": "selection",
- "options": [
- {
- "key": "tp-cat3",
- "value": "tp-cat3",
- "description": "none"
- },
- {
- "key": "tp-cat5",
- "value": "tp-cat5",
- "description": "none"
- },
- {
- "key": "tp-cat6",
- "value": "tp-cat6",
- "description": "none"
- },
- {
- "key": "tp-cat8",
- "value": "tp-cat8",
- "description": "none"
- },
- {
- "key": "single-mode",
- "value": "single-mode",
- "description": "none"
- },
- {
- "key": "multi-mode",
- "value": "multi-mode",
- "description": "none"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Kind of medium required for operating this Medium Attachment Unit (MAU), more like an information field"
- },
- {
- "id": "wavelength-grid-min",
- "label": "wavelength-grid-min",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "pm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Minimum grid spacing supported by the transceiver, -1 = not applicable, 0 = not known SFF-8690"
- },
- {
- "id": "link-length-max",
- "label": "link-length-max",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "m",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Indicates the maximum link length that is supported by the transceiver on the medium, which is specified in the standard referenced in TypeDefinitions::phyType::phyKind."
- },
- {
- "id": "vendor-name",
- "label": "vendor-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the vendor of the transceiver Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::ManufacturerProperties::manufacturerName"
- },
- {
- "id": "vendor-oui",
- "label": "vendor-oui",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Describes the IEEE Company identifier of the vendor of the transceiver (1st part of 802.3 ResourceTypeID) 802.3 22.2.4.3.1 PHY Identifier; also referenced in 45.2.1.13 PMA/PMD package identifier Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::ManufacturerProperties::manufacturerIdentifier"
- },
- {
- "id": "part-number",
- "label": "part-number",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 22.2.4.3.1 PHY Identifier; also referenced in 45.2.1.13 PMA/PMD package identifier as six bit model number Uniquely identifies the transceiver in the vendor's product lists Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::EquipmentType::partTypeIdentifier"
- },
- {
- "id": "revision-number",
- "label": "revision-number",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Identifies the revision number of the transceiver (3rd part of 802.3 ResourceTypeID) 802.3 22.2.4.3.1 PHY Identifier; also referenced in 45.2.1.13 PMA/PMD package identifier as four-bit revision number Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::EquipmentType::version"
- },
- {
- "id": "serial-number",
- "label": "serial-number",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Vendor's serial number for the transceiver. 0 = not applicable Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::EquipmentInstance::serialNumber"
- },
- {
- "id": "date-code",
- "label": "date-code",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Vendor's date code for the transceiver Will be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::InvariantDetails::EquipmentInstance::manufactureDate"
- },
- {
- "id": "auto-signal-ordering-is-avail",
- "label": "auto-signal-ordering-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = there is a mechanism for automatically crossing over tx and rx implemented"
- },
- {
- "id": "short-reach-mode-is-avail",
- "label": "short-reach-mode-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Indicates that Short Reach Mode for 10GBASE-T according to 802.3 45.2.1.64 is available"
- },
- {
- "id": "eee-is-avail",
- "label": "eee-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Indicates that Energy-Efficient Ethernet (EEE) is available at the device."
- },
- {
- "id": "unidirectional-operation-is-avail",
- "label": "unidirectional-operation-is-avail",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Medium Attachment Unit (MAU) able to transmit from Media Independent Interface (MII) regardless of whether the MAU has determined that a valid link has been established, 0 = MAU able to transmit from MII only when the MAU has determined that a valid link has been established 802.3"
- },
- {
- "id": "wavelength-min",
- "label": "wavelength-min",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "pm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "SFF-8690 Minimum laser wavelength in pico meter, -1 = not applicable, 0 = not known, wavelengthMax = wavelength cannot be configured; multiplicity=0..3 for 10GBASE-LX4 according to 802.3 53.5"
- },
- {
- "id": "wavelength-max",
- "label": "wavelength-max",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "pm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Maximum laser wavelength in pico meter, -1 = not applicable, 0 = not known, wavelengthMin = wavelength cannot be configured; multiplicity=0..3 for 10GBASE-LX4 according to 802.3 53.5 SFF-8690"
- },
- {
- "id": "pmd-list",
- "label": "pmd-list",
- "uiType": "selection",
- "options": [
- {
- "key": "10-base5",
- "value": "10-base5",
- "description": "Thick coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 8"
- },
- {
- "key": "foirl",
- "value": "foirl",
- "description": "FOIRL Medium Attachment Unit (MAU) as specified in 802.3 Clause 9.9"
- },
- {
- "key": "10-base2",
- "value": "10-base2",
- "description": "Thin coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 10"
- },
- {
- "key": "10-broad36",
- "value": "10-broad36",
- "description": "Broadband DTE Medium Attachment Unit (MAU) as specified in 802.3 Clause 11"
- },
- {
- "key": "10-base-t",
- "value": "10-base-t",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-thd",
- "value": "10-base-thd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in half duplex mode"
- },
- {
- "key": "10-base-tfd",
- "value": "10-base-tfd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in full duplex mode"
- },
- {
- "key": "10-base-fp",
- "value": "10-base-fp",
- "description": "Passive fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 16"
- },
- {
- "key": "10-base-fb",
- "value": "10-base-fb",
- "description": "Synchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 17"
- },
- {
- "key": "10-base-fl",
- "value": "10-base-fl",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-flhd",
- "value": "10-base-flhd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in half duplex mode"
- },
- {
- "key": "10-base-flfd",
- "value": "10-base-flfd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in full duplex mode"
- },
- {
- "key": "100-base-t4",
- "value": "100-base-t4",
- "description": "Four-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 23"
- },
- {
- "key": "100-base-tx",
- "value": "100-base-tx",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-txhd",
- "value": "100-base-txhd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in half duplex mode"
- },
- {
- "key": "100-base-txfd",
- "value": "100-base-txfd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in full duplex mode"
- },
- {
- "key": "100-base-bx10-d",
- "value": "100-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-bx10-u",
- "value": "100-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-fx",
- "value": "100-base-fx",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-fxhd",
- "value": "100-base-fxhd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in half duplex mode"
- },
- {
- "key": "100-base-fxfd",
- "value": "100-base-fxfd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in full duplex mode"
- },
- {
- "key": "100-base-lx10",
- "value": "100-base-lx10",
- "description": "Two fiber Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-t2",
- "value": "100-base-t2",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-t2-hd",
- "value": "100-base-t2-hd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in half duplex mode"
- },
- {
- "key": "100-base-t2-fd",
- "value": "100-base-t2-fd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in full duplex mode"
- },
- {
- "key": "1000-base-x",
- "value": "1000-base-x",
- "description": "X as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD and duplex mode unknown"
- },
- {
- "key": "1000-base-bx10-d",
- "value": "1000-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-bx10-u",
- "value": "1000-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-xhd",
- "value": "1000-base-xhd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in half duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-xfd",
- "value": "1000-base-xfd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in full duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-lx",
- "value": "1000-base-lx",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-lxhd",
- "value": "1000-base-lxhd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-lxfd",
- "value": "1000-base-lxfd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-lx10",
- "value": "1000-base-lx10",
- "description": "Two fiber 10km Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-sx",
- "value": "1000-base-sx",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-sxhd",
- "value": "1000-base-sxhd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-sxfd",
- "value": "1000-base-sxfd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-cx",
- "value": "1000-base-cx",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-cxhd",
- "value": "1000-base-cxhd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in half duplex mode"
- },
- {
- "key": "1000-base-cxfd",
- "value": "1000-base-cxfd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in full duplex mode"
- },
- {
- "key": "1000-base-kx",
- "value": "1000-base-kx",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 70"
- },
- {
- "key": "1000-base-t",
- "value": "1000-base-t",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-thd",
- "value": "1000-base-thd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in half duplex mode"
- },
- {
- "key": "1000-base-tfd",
- "value": "1000-base-tfd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in full duplex mode"
- },
- {
- "key": "10-gbase-x",
- "value": "10-gbase-x",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 48 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-lx4",
- "value": "10-gbase-lx4",
- "description": "X fiber over 4 lane 1310nm optics as specified in 802.3 Clause 53"
- },
- {
- "key": "10-gbase-cx4",
- "value": "10-gbase-cx4",
- "description": "X copper over 8 pair 100-Ohm balanced cable as specified in 802.3 Clause 54"
- },
- {
- "key": "10-gbase-kx4",
- "value": "10-gbase-kx4",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 71"
- },
- {
- "key": "10-gbase-r",
- "value": "10-gbase-r",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 49 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-er",
- "value": "10-gbase-er",
- "description": "R fiber over 1550nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lr",
- "value": "10-gbase-lr",
- "description": "R fiber over 1310nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-sr",
- "value": "10-gbase-sr",
- "description": "R fiber over 850nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lrm",
- "value": "10-gbase-lrm",
- "description": "R fiber over 1310 nm optics as specified in 802.3 Clause 68"
- },
- {
- "key": "10-gbase-kr",
- "value": "10-gbase-kr",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 72"
- },
- {
- "key": "10-gbase-t",
- "value": "10-gbase-t",
- "description": "Four-pair twisted-pair balanced copper cabling Physical layer entity (PHY) as specified in 802.3 Clause 55"
- },
- {
- "key": "10-gbase-pr-d1",
- "value": "10-gbase-pr-d1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d2",
- "value": "10-gbase-pr-d2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d3",
- "value": "10-gbase-pr-d3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d4",
- "value": "10-gbase-pr-d4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u1",
- "value": "10-gbase-pr-u1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u2",
- "value": "10-gbase-pr-u2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u3",
- "value": "10-gbase-pr-u3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u4",
- "value": "10-gbase-pr-u4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "40-gbase-r",
- "value": "40-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "40-gbase-kr4",
- "value": "40-gbase-kr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 84"
- },
- {
- "key": "40-gbase-cr4",
- "value": "40-gbase-cr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "40-gbase-sr4",
- "value": "40-gbase-sr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "4-x10-gbase-sr",
- "value": "4-x10-gbase-sr",
- "description": "4 times 10GBASE-S compatible to 802.3 Clause 52 over 4 lane multimode fiber"
- },
- {
- "key": "40-gbase-lr4",
- "value": "40-gbase-lr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-er4",
- "value": "40-gbase-er4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-fr",
- "value": "40-gbase-fr",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over single mode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 89"
- },
- {
- "key": "100-gbase-r",
- "value": "100-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined 100GBASE-R or 100GBASE-P Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "100-gbase-cr4",
- "value": "100-gbase-cr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 92"
- },
- {
- "key": "100-gbase-kr4",
- "value": "100-gbase-kr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 93"
- },
- {
- "key": "100-gbase-kp4",
- "value": "100-gbase-kp4",
- "description": "100GBASE-P Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 94"
- },
- {
- "key": "100-gbase-cr10",
- "value": "100-gbase-cr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "100-gbase-sr4",
- "value": "100-gbase-sr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 95"
- },
- {
- "key": "100-gbase-sr10",
- "value": "100-gbase-sr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "2-x40-gbase-sr",
- "value": "2-x40-gbase-sr",
- "description": "2 times 40GBASE-S compatible to 802.3 Clause 86 over 10 lane multimode fiber"
- },
- {
- "key": "10-x10-gbase-sr",
- "value": "10-x10-gbase-sr",
- "description": "10 times 10GBASE-S compatible to 802.3 Clause 52 over 10 lane multimode fiber"
- },
- {
- "key": "12-x10-gbase-sr",
- "value": "12-x10-gbase-sr",
- "description": "12 times 10GBASE-S compatible to 802.3 Clause 52 over 12 lane multimode fiber"
- },
- {
- "key": "100-gbase-lr4",
- "value": "100-gbase-lr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "100-gbase-er4",
- "value": "100-gbase-er4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "List of Physical Medium Dependent (PMD) that can be operated *** In case ordering of the signals depends on the PMD, pmdList has to be put into the datatype for the signal ordering ***"
- },
- {
- "id": "supported-alarms",
- "label": "supported-alarms",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "MW IM Available alarms to be listed. Mandatory:'txFault', 'rxLos', 'tempHigh', 'tempLow', 'rxLevelHigh', 'rxLevelLow'. Optional:'vccHigh', 'vccLow', 'txBiasHigh', 'txBiasLow', 'txPowerHigh', 'txPowerLow', 'laserTempHigh', 'laserTempLow', 'tecCurrentHigh', 'tecCurrentLow'. Further alarms might be added by the device. Names are to be separated by commas."
- },
- {
- "id": "signal-ordering-list",
- "label": "signal-ordering-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:mau-type-g:signal-ordering-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Describes the different (e.g. MDI, MDI-X) ways of ordering the signals on the physical medium"
- }
- ],
- "description": "List of Medium Attachment Units (MAUs) that are available for being selected. If rate and service configuration (e.g. SFF-8079) are not supported, the MAU determined by hardware shall be described."
- },
- {
- "id": "microwave-model:wire-interface-configuration-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-pac",
- "object": "wirebased-interface-configuration",
- "name": "wire-interface-configuration",
- "language": "en-US",
- "title": "wire-interface-configuration",
- "elements": [
- {
- "id": "wire-interface-name",
- "label": "wire-interface-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Text field for the wire interface being named by the operator. Ideally used for entering unique numbers or names for unambiguously identifying the connection within the network Parameter"
- },
- {
- "id": "remote-wire-interface-name",
- "label": "remote-wire-interface-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Learning from MW IM Text field for defining the wire interface this one is connected with. Ideally used for entering unique numbers or names for unambiguously identifying the connection within the network"
- },
- {
- "id": "interface-is-on",
- "label": "interface-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Activation of the interface (it gets powered and can be managed even if the transceiver is not yet transmitting or receiving). In case there is no Medium Attachment Unit (MAU) (e.g. no SFP in the cage) SETting (interfaceIsOn=1) must be ignored and GETing must return (interfaceIsOn=0) 802.3 according 30.3.2.2.1 acPhyAdminControl"
- },
- {
- "id": "transceiver-is-on-list",
- "label": "transceiver-is-on-list",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 22.?.? and additionally 802.3 45.2.1.8 PMD transmit disable register (Register 1.9) 1 = Activation of the transmitter and receiver (e.g. laser) of the PHY; transceiverIsOnList[0]:total interface; transceiverIsOnList[1..10] different lanes of a multilane Medium Attachment Unit (MAU)"
- },
- {
- "id": "auto-pmd-negotiation-is-on",
- "label": "auto-pmd-negotiation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter 1 = Auto-negotiation is switched on"
- },
- {
- "id": "fixed-pmd",
- "label": "fixed-pmd",
- "uiType": "selection",
- "options": [
- {
- "key": "10-base5",
- "value": "10-base5",
- "description": "Thick coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 8"
- },
- {
- "key": "foirl",
- "value": "foirl",
- "description": "FOIRL Medium Attachment Unit (MAU) as specified in 802.3 Clause 9.9"
- },
- {
- "key": "10-base2",
- "value": "10-base2",
- "description": "Thin coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 10"
- },
- {
- "key": "10-broad36",
- "value": "10-broad36",
- "description": "Broadband DTE Medium Attachment Unit (MAU) as specified in 802.3 Clause 11"
- },
- {
- "key": "10-base-t",
- "value": "10-base-t",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-thd",
- "value": "10-base-thd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in half duplex mode"
- },
- {
- "key": "10-base-tfd",
- "value": "10-base-tfd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in full duplex mode"
- },
- {
- "key": "10-base-fp",
- "value": "10-base-fp",
- "description": "Passive fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 16"
- },
- {
- "key": "10-base-fb",
- "value": "10-base-fb",
- "description": "Synchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 17"
- },
- {
- "key": "10-base-fl",
- "value": "10-base-fl",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-flhd",
- "value": "10-base-flhd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in half duplex mode"
- },
- {
- "key": "10-base-flfd",
- "value": "10-base-flfd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in full duplex mode"
- },
- {
- "key": "100-base-t4",
- "value": "100-base-t4",
- "description": "Four-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 23"
- },
- {
- "key": "100-base-tx",
- "value": "100-base-tx",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-txhd",
- "value": "100-base-txhd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in half duplex mode"
- },
- {
- "key": "100-base-txfd",
- "value": "100-base-txfd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in full duplex mode"
- },
- {
- "key": "100-base-bx10-d",
- "value": "100-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-bx10-u",
- "value": "100-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-fx",
- "value": "100-base-fx",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-fxhd",
- "value": "100-base-fxhd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in half duplex mode"
- },
- {
- "key": "100-base-fxfd",
- "value": "100-base-fxfd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in full duplex mode"
- },
- {
- "key": "100-base-lx10",
- "value": "100-base-lx10",
- "description": "Two fiber Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-t2",
- "value": "100-base-t2",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-t2-hd",
- "value": "100-base-t2-hd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in half duplex mode"
- },
- {
- "key": "100-base-t2-fd",
- "value": "100-base-t2-fd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in full duplex mode"
- },
- {
- "key": "1000-base-x",
- "value": "1000-base-x",
- "description": "X as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD and duplex mode unknown"
- },
- {
- "key": "1000-base-bx10-d",
- "value": "1000-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-bx10-u",
- "value": "1000-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-xhd",
- "value": "1000-base-xhd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in half duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-xfd",
- "value": "1000-base-xfd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in full duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-lx",
- "value": "1000-base-lx",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-lxhd",
- "value": "1000-base-lxhd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-lxfd",
- "value": "1000-base-lxfd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-lx10",
- "value": "1000-base-lx10",
- "description": "Two fiber 10km Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-sx",
- "value": "1000-base-sx",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-sxhd",
- "value": "1000-base-sxhd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-sxfd",
- "value": "1000-base-sxfd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-cx",
- "value": "1000-base-cx",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-cxhd",
- "value": "1000-base-cxhd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in half duplex mode"
- },
- {
- "key": "1000-base-cxfd",
- "value": "1000-base-cxfd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in full duplex mode"
- },
- {
- "key": "1000-base-kx",
- "value": "1000-base-kx",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 70"
- },
- {
- "key": "1000-base-t",
- "value": "1000-base-t",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-thd",
- "value": "1000-base-thd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in half duplex mode"
- },
- {
- "key": "1000-base-tfd",
- "value": "1000-base-tfd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in full duplex mode"
- },
- {
- "key": "10-gbase-x",
- "value": "10-gbase-x",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 48 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-lx4",
- "value": "10-gbase-lx4",
- "description": "X fiber over 4 lane 1310nm optics as specified in 802.3 Clause 53"
- },
- {
- "key": "10-gbase-cx4",
- "value": "10-gbase-cx4",
- "description": "X copper over 8 pair 100-Ohm balanced cable as specified in 802.3 Clause 54"
- },
- {
- "key": "10-gbase-kx4",
- "value": "10-gbase-kx4",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 71"
- },
- {
- "key": "10-gbase-r",
- "value": "10-gbase-r",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 49 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-er",
- "value": "10-gbase-er",
- "description": "R fiber over 1550nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lr",
- "value": "10-gbase-lr",
- "description": "R fiber over 1310nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-sr",
- "value": "10-gbase-sr",
- "description": "R fiber over 850nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lrm",
- "value": "10-gbase-lrm",
- "description": "R fiber over 1310 nm optics as specified in 802.3 Clause 68"
- },
- {
- "key": "10-gbase-kr",
- "value": "10-gbase-kr",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 72"
- },
- {
- "key": "10-gbase-t",
- "value": "10-gbase-t",
- "description": "Four-pair twisted-pair balanced copper cabling Physical layer entity (PHY) as specified in 802.3 Clause 55"
- },
- {
- "key": "10-gbase-pr-d1",
- "value": "10-gbase-pr-d1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d2",
- "value": "10-gbase-pr-d2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d3",
- "value": "10-gbase-pr-d3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d4",
- "value": "10-gbase-pr-d4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u1",
- "value": "10-gbase-pr-u1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u2",
- "value": "10-gbase-pr-u2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u3",
- "value": "10-gbase-pr-u3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u4",
- "value": "10-gbase-pr-u4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "40-gbase-r",
- "value": "40-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "40-gbase-kr4",
- "value": "40-gbase-kr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 84"
- },
- {
- "key": "40-gbase-cr4",
- "value": "40-gbase-cr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "40-gbase-sr4",
- "value": "40-gbase-sr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "4-x10-gbase-sr",
- "value": "4-x10-gbase-sr",
- "description": "4 times 10GBASE-S compatible to 802.3 Clause 52 over 4 lane multimode fiber"
- },
- {
- "key": "40-gbase-lr4",
- "value": "40-gbase-lr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-er4",
- "value": "40-gbase-er4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-fr",
- "value": "40-gbase-fr",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over single mode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 89"
- },
- {
- "key": "100-gbase-r",
- "value": "100-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined 100GBASE-R or 100GBASE-P Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "100-gbase-cr4",
- "value": "100-gbase-cr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 92"
- },
- {
- "key": "100-gbase-kr4",
- "value": "100-gbase-kr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 93"
- },
- {
- "key": "100-gbase-kp4",
- "value": "100-gbase-kp4",
- "description": "100GBASE-P Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 94"
- },
- {
- "key": "100-gbase-cr10",
- "value": "100-gbase-cr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "100-gbase-sr4",
- "value": "100-gbase-sr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 95"
- },
- {
- "key": "100-gbase-sr10",
- "value": "100-gbase-sr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "2-x40-gbase-sr",
- "value": "2-x40-gbase-sr",
- "description": "2 times 40GBASE-S compatible to 802.3 Clause 86 over 10 lane multimode fiber"
- },
- {
- "key": "10-x10-gbase-sr",
- "value": "10-x10-gbase-sr",
- "description": "10 times 10GBASE-S compatible to 802.3 Clause 52 over 10 lane multimode fiber"
- },
- {
- "key": "12-x10-gbase-sr",
- "value": "12-x10-gbase-sr",
- "description": "12 times 10GBASE-S compatible to 802.3 Clause 52 over 12 lane multimode fiber"
- },
- {
- "key": "100-gbase-lr4",
- "value": "100-gbase-lr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "100-gbase-er4",
- "value": "100-gbase-er4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If (autoPmdNegotiationIsOn=0) configuration of the concrete kind of Physical Medium Dependent (PMD). If (autoNegotiationIsOn=1) value of this field becomes irrelevant"
- },
- {
- "id": "auto-pmd-negotiation-max",
- "label": "auto-pmd-negotiation-max",
- "uiType": "selection",
- "options": [
- {
- "key": "10-base5",
- "value": "10-base5",
- "description": "Thick coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 8"
- },
- {
- "key": "foirl",
- "value": "foirl",
- "description": "FOIRL Medium Attachment Unit (MAU) as specified in 802.3 Clause 9.9"
- },
- {
- "key": "10-base2",
- "value": "10-base2",
- "description": "Thin coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 10"
- },
- {
- "key": "10-broad36",
- "value": "10-broad36",
- "description": "Broadband DTE Medium Attachment Unit (MAU) as specified in 802.3 Clause 11"
- },
- {
- "key": "10-base-t",
- "value": "10-base-t",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-thd",
- "value": "10-base-thd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in half duplex mode"
- },
- {
- "key": "10-base-tfd",
- "value": "10-base-tfd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in full duplex mode"
- },
- {
- "key": "10-base-fp",
- "value": "10-base-fp",
- "description": "Passive fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 16"
- },
- {
- "key": "10-base-fb",
- "value": "10-base-fb",
- "description": "Synchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 17"
- },
- {
- "key": "10-base-fl",
- "value": "10-base-fl",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-flhd",
- "value": "10-base-flhd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in half duplex mode"
- },
- {
- "key": "10-base-flfd",
- "value": "10-base-flfd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in full duplex mode"
- },
- {
- "key": "100-base-t4",
- "value": "100-base-t4",
- "description": "Four-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 23"
- },
- {
- "key": "100-base-tx",
- "value": "100-base-tx",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-txhd",
- "value": "100-base-txhd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in half duplex mode"
- },
- {
- "key": "100-base-txfd",
- "value": "100-base-txfd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in full duplex mode"
- },
- {
- "key": "100-base-bx10-d",
- "value": "100-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-bx10-u",
- "value": "100-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-fx",
- "value": "100-base-fx",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-fxhd",
- "value": "100-base-fxhd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in half duplex mode"
- },
- {
- "key": "100-base-fxfd",
- "value": "100-base-fxfd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in full duplex mode"
- },
- {
- "key": "100-base-lx10",
- "value": "100-base-lx10",
- "description": "Two fiber Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-t2",
- "value": "100-base-t2",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-t2-hd",
- "value": "100-base-t2-hd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in half duplex mode"
- },
- {
- "key": "100-base-t2-fd",
- "value": "100-base-t2-fd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in full duplex mode"
- },
- {
- "key": "1000-base-x",
- "value": "1000-base-x",
- "description": "X as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD and duplex mode unknown"
- },
- {
- "key": "1000-base-bx10-d",
- "value": "1000-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-bx10-u",
- "value": "1000-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-xhd",
- "value": "1000-base-xhd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in half duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-xfd",
- "value": "1000-base-xfd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in full duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-lx",
- "value": "1000-base-lx",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-lxhd",
- "value": "1000-base-lxhd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-lxfd",
- "value": "1000-base-lxfd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-lx10",
- "value": "1000-base-lx10",
- "description": "Two fiber 10km Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-sx",
- "value": "1000-base-sx",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-sxhd",
- "value": "1000-base-sxhd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-sxfd",
- "value": "1000-base-sxfd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-cx",
- "value": "1000-base-cx",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-cxhd",
- "value": "1000-base-cxhd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in half duplex mode"
- },
- {
- "key": "1000-base-cxfd",
- "value": "1000-base-cxfd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in full duplex mode"
- },
- {
- "key": "1000-base-kx",
- "value": "1000-base-kx",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 70"
- },
- {
- "key": "1000-base-t",
- "value": "1000-base-t",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-thd",
- "value": "1000-base-thd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in half duplex mode"
- },
- {
- "key": "1000-base-tfd",
- "value": "1000-base-tfd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in full duplex mode"
- },
- {
- "key": "10-gbase-x",
- "value": "10-gbase-x",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 48 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-lx4",
- "value": "10-gbase-lx4",
- "description": "X fiber over 4 lane 1310nm optics as specified in 802.3 Clause 53"
- },
- {
- "key": "10-gbase-cx4",
- "value": "10-gbase-cx4",
- "description": "X copper over 8 pair 100-Ohm balanced cable as specified in 802.3 Clause 54"
- },
- {
- "key": "10-gbase-kx4",
- "value": "10-gbase-kx4",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 71"
- },
- {
- "key": "10-gbase-r",
- "value": "10-gbase-r",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 49 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-er",
- "value": "10-gbase-er",
- "description": "R fiber over 1550nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lr",
- "value": "10-gbase-lr",
- "description": "R fiber over 1310nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-sr",
- "value": "10-gbase-sr",
- "description": "R fiber over 850nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lrm",
- "value": "10-gbase-lrm",
- "description": "R fiber over 1310 nm optics as specified in 802.3 Clause 68"
- },
- {
- "key": "10-gbase-kr",
- "value": "10-gbase-kr",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 72"
- },
- {
- "key": "10-gbase-t",
- "value": "10-gbase-t",
- "description": "Four-pair twisted-pair balanced copper cabling Physical layer entity (PHY) as specified in 802.3 Clause 55"
- },
- {
- "key": "10-gbase-pr-d1",
- "value": "10-gbase-pr-d1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d2",
- "value": "10-gbase-pr-d2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d3",
- "value": "10-gbase-pr-d3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d4",
- "value": "10-gbase-pr-d4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u1",
- "value": "10-gbase-pr-u1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u2",
- "value": "10-gbase-pr-u2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u3",
- "value": "10-gbase-pr-u3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u4",
- "value": "10-gbase-pr-u4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "40-gbase-r",
- "value": "40-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "40-gbase-kr4",
- "value": "40-gbase-kr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 84"
- },
- {
- "key": "40-gbase-cr4",
- "value": "40-gbase-cr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "40-gbase-sr4",
- "value": "40-gbase-sr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "4-x10-gbase-sr",
- "value": "4-x10-gbase-sr",
- "description": "4 times 10GBASE-S compatible to 802.3 Clause 52 over 4 lane multimode fiber"
- },
- {
- "key": "40-gbase-lr4",
- "value": "40-gbase-lr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-er4",
- "value": "40-gbase-er4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-fr",
- "value": "40-gbase-fr",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over single mode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 89"
- },
- {
- "key": "100-gbase-r",
- "value": "100-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined 100GBASE-R or 100GBASE-P Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "100-gbase-cr4",
- "value": "100-gbase-cr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 92"
- },
- {
- "key": "100-gbase-kr4",
- "value": "100-gbase-kr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 93"
- },
- {
- "key": "100-gbase-kp4",
- "value": "100-gbase-kp4",
- "description": "100GBASE-P Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 94"
- },
- {
- "key": "100-gbase-cr10",
- "value": "100-gbase-cr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "100-gbase-sr4",
- "value": "100-gbase-sr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 95"
- },
- {
- "key": "100-gbase-sr10",
- "value": "100-gbase-sr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "2-x40-gbase-sr",
- "value": "2-x40-gbase-sr",
- "description": "2 times 40GBASE-S compatible to 802.3 Clause 86 over 10 lane multimode fiber"
- },
- {
- "key": "10-x10-gbase-sr",
- "value": "10-x10-gbase-sr",
- "description": "10 times 10GBASE-S compatible to 802.3 Clause 52 over 10 lane multimode fiber"
- },
- {
- "key": "12-x10-gbase-sr",
- "value": "12-x10-gbase-sr",
- "description": "12 times 10GBASE-S compatible to 802.3 Clause 52 over 12 lane multimode fiber"
- },
- {
- "key": "100-gbase-lr4",
- "value": "100-gbase-lr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "100-gbase-er4",
- "value": "100-gbase-er4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter If (autoNegotiationIsOn=1) AND (autoNegotiationMauMaxIsAvail=1) configuration of the maximum speed/Physical Medium Dependent (PMD), which is automatically chosen by Auto-negotiation"
- },
- {
- "id": "auto-signal-ordering-is-on",
- "label": "auto-signal-ordering-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = e.g. auto-MDI-X is switched on"
- },
- {
- "id": "fixed-signal-ordering",
- "label": "fixed-signal-ordering",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If (autoSignalOrderingIsOn=0) configuration of the concrete kind of signal ordering on the media (e.g. MDI, or MDI-X). If (autoSignalOrderingIsOn=1) value of this field becomes irrelevant"
- },
- {
- "id": "short-reach-mode-is-on",
- "label": "short-reach-mode-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Activation of the Short Reach Mode for 10GBASE-T according to 802.3 45.2.1.64"
- },
- {
- "id": "unidirectional-operation-is-on",
- "label": "unidirectional-operation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "If (autoNegotiationIsOn=1) OR manualDuplexSelection=0 (=half duplex), this bit is ignored. When autoNegotiationIsOn=0 AND manualDuplexSelection=1 (=full duplex): 1 = Enable transmit from media independent interface regardless of whether the PHY has determined that a valid link has been established, 0 = Enable transmit from media independent interface only when the PHY has determined that a valid link has been established 802.3 Parameter"
- },
- {
- "id": "wavelength-list",
- "label": "wavelength-list",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "unit": "pm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Wavelength of the signal of laser in pico meter; multiplicity=0..3 for 10GBASE-LX4 according to 802.3 53.5 SFF-8690"
- },
- {
- "id": "temperature-high-threshold",
- "label": "temperature-high-threshold",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "Celsius",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Threshold for alarming high temperature values. Will move to somewhere in the Physical Segment of the Core IM"
- },
- {
- "id": "temperature-low-threshold",
- "label": "temperature-low-threshold",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "Celsius",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Threshold for alarming low temperature values. Will move to somewhere in the Physical Segment of the Core IM"
- },
- {
- "id": "rxlevel-high-threshold",
- "label": "rxlevel-high-threshold",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Threshold for alarming high RX levels."
- },
- {
- "id": "rxlevel-low-threshold",
- "label": "rxlevel-low-threshold",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Threshold for alarming low RX levels."
- },
- {
- "id": "loop-back-kind-on",
- "label": "loop-back-kind-on",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter 802.3 according 22.2.4.1.2 Loopback Maintenance Feature. The currently configured type of looping back of the wire interface header shall be expressed here. The received header is returned to the remote site. Activation of local loopback mode on physical layer"
- },
- {
- "id": "isolation-is-on",
- "label": "isolation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Activation of the separation of the PHY from higher network layers 802.3"
- },
- {
- "id": "restart-pmd-negotiation-is-on",
- "label": "restart-pmd-negotiation-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Restarts the auto negotiation process 802.3"
- },
- {
- "id": "reset-mau-is-on",
- "label": "reset-mau-is-on",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 Resets the entire Medium Access Unit (MAU)"
- },
- {
- "id": "maintenance-timer",
- "label": "maintenance-timer",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter and MW IM Time of existence of any maintenance configuration (e.g. the loop back). Valid values are defined in WireInterface::WireInterfaceCapability::maintenanceTimerRange"
- },
- {
- "id": "problem-kind-severity-list",
- "label": "problem-kind-severity-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:wire-interface-configuration-g:problem-kind-severity-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem to be configured."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-configuration-g:problem-kind-severity-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "problem-kind-severity-list",
- "language": "en-US",
- "title": "problem-kind-severity-list",
- "elements": [
- {
- "id": "problem-kind-name",
- "label": "problem-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to WireInterface::WireInterfaceCapability::supportedAlarms"
- },
- {
- "id": "problem-kind-severity",
- "label": "problem-kind-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of this type of alarm."
- }
- ],
- "description": "Severity of the problem to be configured."
- },
- {
- "id": "microwave-model:wire-interface-status-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-pac",
- "object": "wirebased-interface-status",
- "name": "wire-interface-status",
- "language": "en-US",
- "title": "wire-interface-status",
- "elements": [
- {
- "id": "interface-is-up",
- "label": "interface-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 according 30.3.2.1.7 aPhyAdminState 1 = A Physical layer entity (PHY) exists (including Medium Attachment Unit (e.g. SFP) ) and it is powered and can be managed"
- },
- {
- "id": "receive-signal-is-detected",
- "label": "receive-signal-is-detected",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "802.3 45.2.1.9 PMD receive signal detect 1 = Receiver (e.g. laser) detects signal; receiveSignalIsDetected[0]:total interface; receiveSignalIsDetected[1..10] different lanes of a multilane Medium Attachment Unit (MAU)"
- },
- {
- "id": "pmd-is-up",
- "label": "pmd-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Inverse of 802.3 45.2.1.2.3 Fault (1.1.7) If (interfaceIsUp=1) BUT 0 = there is a fault in either transmit or receive path"
- },
- {
- "id": "pmd-cur",
- "label": "pmd-cur",
- "uiType": "selection",
- "options": [
- {
- "key": "10-base5",
- "value": "10-base5",
- "description": "Thick coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 8"
- },
- {
- "key": "foirl",
- "value": "foirl",
- "description": "FOIRL Medium Attachment Unit (MAU) as specified in 802.3 Clause 9.9"
- },
- {
- "key": "10-base2",
- "value": "10-base2",
- "description": "Thin coax Medium Attachment Unit (MAU) as specified in 802.3 Clause 10"
- },
- {
- "key": "10-broad36",
- "value": "10-broad36",
- "description": "Broadband DTE Medium Attachment Unit (MAU) as specified in 802.3 Clause 11"
- },
- {
- "key": "10-base-t",
- "value": "10-base-t",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-thd",
- "value": "10-base-thd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in half duplex mode"
- },
- {
- "key": "10-base-tfd",
- "value": "10-base-tfd",
- "description": "Twisted-pair cabling Medium Attachment Unit (MAU) as specified in 802.3 Clause 14 in full duplex mode"
- },
- {
- "key": "10-base-fp",
- "value": "10-base-fp",
- "description": "Passive fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 16"
- },
- {
- "key": "10-base-fb",
- "value": "10-base-fb",
- "description": "Synchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 17"
- },
- {
- "key": "10-base-fl",
- "value": "10-base-fl",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18. Only to be applied when duplex mode unknown"
- },
- {
- "key": "10-base-flhd",
- "value": "10-base-flhd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in half duplex mode"
- },
- {
- "key": "10-base-flfd",
- "value": "10-base-flfd",
- "description": "Asynchronous fiber Medium Attachment Unit (MAU) as specified in 802.3 Clause 18 in full duplex mode"
- },
- {
- "key": "100-base-t4",
- "value": "100-base-t4",
- "description": "Four-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 23"
- },
- {
- "key": "100-base-tx",
- "value": "100-base-tx",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-txhd",
- "value": "100-base-txhd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in half duplex mode"
- },
- {
- "key": "100-base-txfd",
- "value": "100-base-txfd",
- "description": "Two-pair Category 5 twisted-pair cabling as specified in 802.3 Clause 25 in full duplex mode"
- },
- {
- "key": "100-base-bx10-d",
- "value": "100-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-bx10-u",
- "value": "100-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-fx",
- "value": "100-base-fx",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-fxhd",
- "value": "100-base-fxhd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in half duplex mode"
- },
- {
- "key": "100-base-fxfd",
- "value": "100-base-fxfd",
- "description": "X fiber over Physical Medium Dependent (PMD) as specified in 802.3 Clause 26 in full duplex mode"
- },
- {
- "key": "100-base-lx10",
- "value": "100-base-lx10",
- "description": "Two fiber Physical layer entity (PHY) as specified in 802.3 Clause 58"
- },
- {
- "key": "100-base-t2",
- "value": "100-base-t2",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32. Only to be applied when duplex mode unknown"
- },
- {
- "key": "100-base-t2-hd",
- "value": "100-base-t2-hd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in half duplex mode"
- },
- {
- "key": "100-base-t2-fd",
- "value": "100-base-t2-fd",
- "description": "Two-pair Category 3 twisted-pair cabling as specified in 802.3 Clause 32 in full duplex mode"
- },
- {
- "key": "1000-base-x",
- "value": "1000-base-x",
- "description": "X as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD and duplex mode unknown"
- },
- {
- "key": "1000-base-bx10-d",
- "value": "1000-base-bx10-d",
- "description": "One single-mode fiber Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-bx10-u",
- "value": "1000-base-bx10-u",
- "description": "One single-mode fiber Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-xhd",
- "value": "1000-base-xhd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in half duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-xfd",
- "value": "1000-base-xfd",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 36 over undefined Physical Medium Dependent (PMD) in full duplex mode. Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "1000-base-lx",
- "value": "1000-base-lx",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-lxhd",
- "value": "1000-base-lxhd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-lxfd",
- "value": "1000-base-lxfd",
- "description": "X fiber over long-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-lx10",
- "value": "1000-base-lx10",
- "description": "Two fiber 10km Physical layer entity (PHY) as specified in 802.3 Clause 59"
- },
- {
- "key": "1000-base-sx",
- "value": "1000-base-sx",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-sxhd",
- "value": "1000-base-sxhd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in half duplex mode"
- },
- {
- "key": "1000-base-sxfd",
- "value": "1000-base-sxfd",
- "description": "X fiber over short-wavelength laser Physical Medium Dependent (PMD) as specified in 802.3 Clause 38 in full duplex mode"
- },
- {
- "key": "1000-base-cx",
- "value": "1000-base-cx",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-cxhd",
- "value": "1000-base-cxhd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in half duplex mode"
- },
- {
- "key": "1000-base-cxfd",
- "value": "1000-base-cxfd",
- "description": "X copper over 150-Ohm balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 39 in full duplex mode"
- },
- {
- "key": "1000-base-kx",
- "value": "1000-base-kx",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 70"
- },
- {
- "key": "1000-base-t",
- "value": "1000-base-t",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40. Only to be applied when duplex mode unknown"
- },
- {
- "key": "1000-base-thd",
- "value": "1000-base-thd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in half duplex mode"
- },
- {
- "key": "1000-base-tfd",
- "value": "1000-base-tfd",
- "description": "Four-pair Category 5 twisted-pair cabling Physical layer entity (PHY) as specified in 802.3 Clause 40 in full duplex mode"
- },
- {
- "key": "10-gbase-x",
- "value": "10-gbase-x",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 48 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-lx4",
- "value": "10-gbase-lx4",
- "description": "X fiber over 4 lane 1310nm optics as specified in 802.3 Clause 53"
- },
- {
- "key": "10-gbase-cx4",
- "value": "10-gbase-cx4",
- "description": "X copper over 8 pair 100-Ohm balanced cable as specified in 802.3 Clause 54"
- },
- {
- "key": "10-gbase-kx4",
- "value": "10-gbase-kx4",
- "description": "X Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 71"
- },
- {
- "key": "10-gbase-r",
- "value": "10-gbase-r",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) as specified in 802.3 Clause 49 over undefined Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "10-gbase-er",
- "value": "10-gbase-er",
- "description": "R fiber over 1550nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lr",
- "value": "10-gbase-lr",
- "description": "R fiber over 1310nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-sr",
- "value": "10-gbase-sr",
- "description": "R fiber over 850nm optics as specified in 802.3 Clause 52"
- },
- {
- "key": "10-gbase-lrm",
- "value": "10-gbase-lrm",
- "description": "R fiber over 1310 nm optics as specified in 802.3 Clause 68"
- },
- {
- "key": "10-gbase-kr",
- "value": "10-gbase-kr",
- "description": "R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 72"
- },
- {
- "key": "10-gbase-t",
- "value": "10-gbase-t",
- "description": "Four-pair twisted-pair balanced copper cabling Physical layer entity (PHY) as specified in 802.3 Clause 55"
- },
- {
- "key": "10-gbase-pr-d1",
- "value": "10-gbase-pr-d1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d2",
- "value": "10-gbase-pr-d2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d3",
- "value": "10-gbase-pr-d3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-d4",
- "value": "10-gbase-pr-d4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Line Terminal (OLT=>office side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u1",
- "value": "10-gbase-pr-u1",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u2",
- "value": "10-gbase-pr-u2",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u3",
- "value": "10-gbase-pr-u3",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "10-gbase-pr-u4",
- "value": "10-gbase-pr-u4",
- "description": "One single-mode fiber 10.3125 GBd continuous downstream / burst mode upstream Optical Network Unit (ONU=>customer side) Physical layer entity (PHY) as specified in 802.3 Clause 75"
- },
- {
- "key": "40-gbase-r",
- "value": "40-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "40-gbase-kr4",
- "value": "40-gbase-kr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 84"
- },
- {
- "key": "40-gbase-cr4",
- "value": "40-gbase-cr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "40-gbase-sr4",
- "value": "40-gbase-sr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "4-x10-gbase-sr",
- "value": "4-x10-gbase-sr",
- "description": "4 times 10GBASE-S compatible to 802.3 Clause 52 over 4 lane multimode fiber"
- },
- {
- "key": "40-gbase-lr4",
- "value": "40-gbase-lr4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-er4",
- "value": "40-gbase-er4",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 87"
- },
- {
- "key": "40-gbase-fr",
- "value": "40-gbase-fr",
- "description": "40GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over single mode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 89"
- },
- {
- "key": "100-gbase-r",
- "value": "100-gbase-r",
- "description": "Multi-lane PCS as specified in 802.3 Clause 82 over undefined 100GBASE-R or 100GBASE-P Physical Medium Attachment (PMA) and Physical Medium Dependent (PMD). Not to be configured and only to be returned when underlying PMD unknown"
- },
- {
- "key": "100-gbase-cr4",
- "value": "100-gbase-cr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 92"
- },
- {
- "key": "100-gbase-kr4",
- "value": "100-gbase-kr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 93"
- },
- {
- "key": "100-gbase-kp4",
- "value": "100-gbase-kp4",
- "description": "100GBASE-P Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over an electrical backplane Physical Medium Dependent (PMD) as specified in 802.3 Clause 94"
- },
- {
- "key": "100-gbase-cr10",
- "value": "100-gbase-cr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane shielded copper balanced cable Physical Medium Dependent (PMD) as specified in 802.3 Clause 85"
- },
- {
- "key": "100-gbase-sr4",
- "value": "100-gbase-sr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 95"
- },
- {
- "key": "100-gbase-sr10",
- "value": "100-gbase-sr10",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 10 lane multimode fiber Physical Medium Dependent (PMD) as specified in 802.3 Clause 86"
- },
- {
- "key": "2-x40-gbase-sr",
- "value": "2-x40-gbase-sr",
- "description": "2 times 40GBASE-S compatible to 802.3 Clause 86 over 10 lane multimode fiber"
- },
- {
- "key": "10-x10-gbase-sr",
- "value": "10-x10-gbase-sr",
- "description": "10 times 10GBASE-S compatible to 802.3 Clause 52 over 10 lane multimode fiber"
- },
- {
- "key": "12-x10-gbase-sr",
- "value": "12-x10-gbase-sr",
- "description": "12 times 10GBASE-S compatible to 802.3 Clause 52 over 12 lane multimode fiber"
- },
- {
- "key": "100-gbase-lr4",
- "value": "100-gbase-lr4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with long reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "100-gbase-er4",
- "value": "100-gbase-er4",
- "description": "100GBASE-R Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) over 4 WDM lane single mode fiber Physical Medium Dependent (PMD), with extended reach, as specified in 802.3 Clause 88"
- },
- {
- "key": "not-yet-defined",
- "value": "not-yet-defined",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Indicates the kind of Physical Medium Dependent (PMD) currently operated at this interface"
- },
- {
- "id": "signal-ordering-kind-cur",
- "label": "signal-ordering-kind-cur",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-status-g:signal-ordering-kind-cur",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Reference on a SignalOrderingType for expressing the currently active way of ordering the signals on the physical medium. Must contain a value as defined in TypeDefinitions::SignalOrderingType::signalOrderingKindName"
- },
- {
- "id": "eee-is-up",
- "label": "eee-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = Energy Efficient Ethernet is supported at both ends of the link and it is activated"
- },
- {
- "id": "link-is-up",
- "label": "link-is-up",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Parameter 1 = (transceiverIsUp=1) AND communication is established to the remote site"
- },
- {
- "id": "link-is-idle",
- "label": "link-is-idle",
- "uiType": "boolean",
- "trueValue": "true",
- "falseValue": "false",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "1 = (linkIsUp=1) AND (eeeIsAvail=1) AND (eeeIsOn=1) AND link is currently in idle mode. If Energy Efficient Ethernet is not supported or switched off, this attribute must be 0."
- },
- {
- "id": "tx-level-cur",
- "label": "tx-level-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current transmit power"
- },
- {
- "id": "rx-level-cur",
- "label": "rx-level-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "dBm",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current receive power; Also used for receive signal power measured at the Medium Dependent Interface (MDI) of 10GBASE-T during training as described in 802.3 55.4.3.1"
- },
- {
- "id": "temp-cur",
- "label": "temp-cur",
- "uiType": "number",
- "min": -128,
- "max": 127,
- "format": "#",
- "unit": "Celsius",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Current temperature (in degree Celsius) inside the transceiver To be moved to CoreModel::CorePhysicalModel-Initial::EquipmentDetail::ObjectClasses::DynamicDetails::PhysicalProperties"
- },
- {
- "id": "loop-back-kind-up",
- "label": "loop-back-kind-up",
- "uiType": "selection",
- "options": [
- {
- "key": "rf-to-remote",
- "value": "rf-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the radio interface between both outdoor units."
- },
- {
- "key": "rf-to-local",
- "value": "rf-to-local",
- "description": "Returning the header information of the local site back to the local site on the radio interface between both outdoor units."
- },
- {
- "key": "if-to-remote",
- "value": "if-to-remote",
- "description": "Returning the header information of the remote site back to the remote site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "if-to-local",
- "value": "if-to-local",
- "description": "Returning the header information of the local site back to the local site on the intermediate frequency interface between local indoor unit and outdoor unit."
- },
- {
- "key": "none",
- "value": "none",
- "description": "none"
- },
- {
- "key": "if",
- "value": "if",
- "description": "Intermediate Frequency on the interface between indoor and outdoor unit."
- },
- {
- "key": "rf",
- "value": "rf",
- "description": "Radio Frequency on the interface between outdoor unit and outdoor unit at the remote site."
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Paramter and MW IM The currently active (not just configured) type of looping back of the wire interface header shall be expressed here. The received header is returned to the remote site."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-status-g:signal-ordering-kind-cur",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "signal-ordering-kind-cur",
- "language": "en-US",
- "title": "signal-ordering-kind-cur",
- "elements": [
- {
- "id": "signal-ordering-kind-name",
- "label": "signal-ordering-kind-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "To be filled according to TR-541. Must be unique for referencing during configuration of the interface."
- },
- {
- "id": "signal-list",
- "label": "signal-list",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Desciption of the signals on the Media Dependent Interface (MDI), might be e.g. 'TX+' in case of e.g. 10BASE-T, might be e.g. '1,295.56 nm' in case of e.g. 100GBASE-LR4"
- }
- ],
- "description": "Reference on a SignalOrderingType for expressing the currently active way of ordering the signals on the physical medium. Must contain a value as defined in TypeDefinitions::SignalOrderingType::signalOrderingKindName"
- },
- {
- "id": "microwave-model:wire-interface-current-problems-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-pac",
- "object": "wirebased-interface-current-problems",
- "name": "wire-interface-current-problems",
- "language": "en-US",
- "title": "wire-interface-current-problems",
- "elements": [
- {
- "id": "current-problem-list",
- "label": "current-problem-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:wire-interface-current-problems-g:current-problem-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-current-problems-g:current-problem-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-problem-list",
- "language": "en-US",
- "title": "current-problem-list",
- "elements": [
- {
- "id": "problem-name",
- "label": "problem-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the alarm according to WireInterface::WireInterfaceCapability::supportedAlarms"
- },
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:wire-interface-current-performance-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-pac",
- "object": "wirebased-interface-current-performance",
- "name": "wire-interface-current-performance",
- "language": "en-US",
- "title": "wire-interface-current-performance",
- "elements": [
- {
- "id": "current-performance-data-list",
- "label": "current-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:wire-interface-current-performance-g:current-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- }
- ],
- "description": "Aggregated performance information of the air interface at a particular moment."
- },
- {
- "id": "microwave-model:wire-interface-current-performance-g:current-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "current-performance-data-list",
- "language": "en-US",
- "title": "current-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-current-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too."
- },
- {
- "id": "microwave-model:wire-interface-historical-performances-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "wire-interface-pac",
- "object": "wirebased-interface-historical-performances",
- "name": "wire-interface-historical-performances",
- "language": "en-US",
- "title": "wire-interface-historical-performances",
- "elements": [
- {
- "id": "historical-performance-data-list",
- "label": "historical-performance-data-list",
- "uiType": "list",
- "listType": "object",
- "viewId": "microwave-model:wire-interface-historical-performances-g:historical-performance-data-list",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "Aggregated performance information of the air interface for a pre-defined measurement interval."
- },
- {
- "id": "microwave-model:wire-interface-historical-performances-g:historical-performance-data-list",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "name": "historical-performance-data-list",
- "language": "en-US",
- "title": "historical-performance-data-list",
- "elements": [
- {
- "id": "performance-data",
- "label": "performance-data",
- "uiType": "object",
- "viewId": "microwave-model:wire-interface-historical-performance-type-g:performance-data",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:mw-current-problem-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "microwave-model",
- "object": "air-interface-current-problem-type-g",
- "name": "mw-current-problem",
- "language": "en-US",
- "title": "mw-current-problem",
- "elements": [
- {
- "id": "sequence-number",
- "label": "sequence-number",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Unique sequence number of the current problem object."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Time and date of the problem."
- },
- {
- "id": "problem-severity",
- "label": "problem-severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the alarm."
- }
- ],
- "description": "none"
- },
- {
- "id": "microwave-model:object-creation-notification-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "microwave-model",
- "object": "object-creation-notification",
- "name": "object-creation-notification",
- "language": "en-US",
- "title": "object-creation-notification",
- "elements": [
- {
- "id": "counter",
- "label": "counter",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts object creation notifications."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "object-id-ref",
- "label": "object-id-ref",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac."
- },
- {
- "id": "object-type",
- "label": "object-type",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Type of Object to be chosen from the following list of values: 'MW_AirInterface_Pac', 'MW_AirInterfaceDiversity_Pac', 'MW_Structure_Pac', 'MW_PureEthernetStructure_Pac', 'MW_HybridMwStructure_Pac', 'MW_Container_Pac', 'MW_EthernetContainer_Pac' or 'MW_TdmContainer_Pac'."
- }
- ],
- "description": "To be sent when a new MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac has to be instancieted in the controller."
- },
- {
- "id": "microwave-model:object-deletion-notification-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "microwave-model",
- "object": "object-deletion-notification",
- "name": "object-deletion-notification",
- "language": "en-US",
- "title": "object-deletion-notification",
- "elements": [
- {
- "id": "counter",
- "label": "counter",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts object deletion notifications."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "object-id-ref",
- "label": "object-id-ref",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac."
- }
- ],
- "description": "To be sent when a new MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac instance has to be deleted in the controller."
- },
- {
- "id": "microwave-model:attribute-value-changed-notification-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "microwave-model",
- "object": "attribute-value-changed-notification",
- "name": "attribute-value-changed-notification",
- "language": "en-US",
- "title": "attribute-value-changed-notification",
- "elements": [
- {
- "id": "counter",
- "label": "counter",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts attribute value changed notifications."
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "object-id-ref",
- "label": "object-id-ref",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac."
- },
- {
- "id": "attribute-name",
- "label": "attribute-name",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the attribute that has been changed."
- },
- {
- "id": "new-value",
- "label": "new-value",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Attribute value converted to a string (xml, json, ...)"
- }
- ],
- "description": "To be sent when an attribute has changed and one or more controllers have to update their data."
- },
- {
- "id": "microwave-model:problem-notification-g",
- "yangModule": "microwave-model",
- "revision": "2018-10-10",
- "package": "microwave-model",
- "object": "problem-notification",
- "name": "problem-notification",
- "language": "en-US",
- "title": "problem-notification",
- "elements": [
- {
- "id": "counter",
- "label": "counter",
- "uiType": "number",
- "min": -2147483648,
- "max": 2147483647,
- "format": "#",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Counts problem notifications"
- },
- {
- "id": "time-stamp",
- "label": "time-stamp",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "none"
- },
- {
- "id": "object-id-ref",
- "label": "object-id-ref",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac."
- },
- {
- "id": "problem",
- "label": "problem",
- "uiType": "string",
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Name of the problem according to AirInterface::AirInterfaceCapability::supportedAlarms or AirInterfaceDiversity::AirInterfaceDiversityCapability::supportedAlarms or Structure::StructureCapability::supportedAlarms or PureEthernetStructure::PureEthernetStructureCapability::supportedAlarms or HybridMwStructure::HybridMwStructureCapability::supportedAlarms or Container::ContainerCapability::supportedAlarms or EthernetContainer::EthernetContainerCapability::supportedAlarms or TdmContainer::TdmContainerCapability::supportedAlarms."
- },
- {
- "id": "severity",
- "label": "severity",
- "uiType": "selection",
- "options": [
- {
- "key": "non-alarmed",
- "value": "non-alarmed",
- "description": "none"
- },
- {
- "key": "warning",
- "value": "warning",
- "description": "none"
- },
- {
- "key": "minor",
- "value": "minor",
- "description": "none"
- },
- {
- "key": "major",
- "value": "major",
- "description": "none"
- },
- {
- "key": "critical",
- "value": "critical",
- "description": "none"
- }
- ],
- "accessFlags": {
- "read": true,
- "write": false,
- "create": false
- },
- "description": "Severity of the problem according to AirInterface::AirInterfaceConfiguration::problemSeverityList, AirInterfaceDiversity::AirInterfaceDiversityConfiguration::problemSeverityList, Structure::StructureConfiguration::problemSeverityList, PureEthernetStructure::PureEthernetStructureConfiguration::problemSeverityList, HybridMwStructure::HybridMwStructureConfiguration::problemSeverityList, Container::ContainerConfiguration::problemSeverityList, EthernetContainer::EthernetContainerConfiguration::problemSeverityList or TdmContainer::TdmContainerConfiguration::problemSeverityList"
- }
- ],
- "description": "To be sent when a problem occurs at a MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac."
- }
- ]
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/handlers/configurationAppRootHandler.ts b/sdnr/wt/odlux/apps/configurationApp/src/handlers/configurationAppRootHandler.ts
deleted file mode 100644
index b1fd5031d..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src/handlers/configurationAppRootHandler.ts
+++ /dev/null
@@ -1,95 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// main state handler
-
-import { combineActionHandler } from '../../../../framework/src/flux/middleware';
-
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import { IActionHandler } from '../../../../framework/src/flux/action';
-
-import { ViewSpecification } from '../models/uiModels';
-import { CoreModelNetworkElement } from '../models/coreModel';
-import { UpdateCoreModel, UpdateLoading, UpdateLp, UpdateViewData } from '../actions/configurationActions';
-
-export interface IConfigurationAppStoreState {
- loading: boolean;
- nodeId?: string;
- lpId?: string;
- viewId?: string;
- indexValues?: string;
- capability?: string;
- conditionalPackage?: string,
- coreModel?: CoreModelNetworkElement;
- viewSpecifications: ViewSpecification[];
- viewData: {};
-}
-
-declare module '../../../../framework/src/store/applicationStore' {
- interface IApplicationStoreState {
- configuration: IConfigurationAppStoreState
- }
-}
-
-const configurationAppStoreStateInit: IConfigurationAppStoreState = {
- loading: false,
- viewSpecifications: [],
- viewData: {}
-};
-
-export const configurationAppRootHandler: IActionHandler<IConfigurationAppStoreState> = (state = configurationAppStoreStateInit, action) => {
- if (action instanceof UpdateLoading) {
- state = {
- ...state,
- loading: action.loading
- };
- } else if (action instanceof UpdateCoreModel) {
- state = {
- ...state,
- nodeId: action.nodeId,
- coreModel: action.coreModel,
- lpId: undefined,
- capability: undefined,
- conditionalPackage: undefined,
- viewSpecifications: [],
- viewData: { },
- indexValues: undefined,
- viewId: undefined,
- };
- } else if (action instanceof UpdateLp) {
- state = {
- ...state,
- lpId: action.lpId,
- capability: action.capability,
- conditionalPackage: action.conditionalPackage,
- viewSpecifications: action.viewSpecifications,
- viewData: { },
- indexValues: undefined,
- viewId: undefined,
- };
- } else if (action instanceof UpdateViewData) {
- state = {
- ...state,
- viewData: action.viewData,
- indexValues: action.indexValues,
- viewId: action.viewId,
- };
- }
- return state;
-};
-
-export default configurationAppRootHandler;
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/index.html b/sdnr/wt/odlux/apps/configurationApp/src/index.html
deleted file mode 100644
index 759b7b535..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src/index.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <!-- <link rel="stylesheet" href="./vendor.css"> -->
- <title>Configuration App</title>
-</head>
-
-<body>
- <div id="app"></div>
- <script type="text/javascript" src="./require.js"></script>
- <script type="text/javascript" src="./config.js"></script>
- <script>
- // run the application
- require(["app", "connectApp", "maintenanceApp", "configurationApp"], function (app, connectApp, maintenanceApp, configurationApp) {
- connectApp.register();
- configurationApp.register();
- maintenanceApp.register();
- app("./app.tsx").runApplication();
- });
- </script>
-</body>
-
-</html> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/models/coreModel.ts b/sdnr/wt/odlux/apps/configurationApp/src/models/coreModel.ts
deleted file mode 100644
index ea37a23f1..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src/models/coreModel.ts
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export interface NameValue {
- "value-name": string;
- value: string;
-}
-
-export interface LpResponse {
- uuid: string;
- "administrative-state": AdministrativeState;
- "is-protection-lock-out": boolean;
- "termination-state": string;
- "local-id": NameValue[];
- "configured-client-capacity": string;
- "extension": NameValue[];
- "operational-state": string;
- "administrative-control": string;
- "name": NameValue[];
- "lp-direction": string;
- "fc-blocks-signal-to-lp": string;
- "layer-protocol-name": string;
- "lifecycle-state": string;
- "label": NameValue[];
-}
-
-export interface LtpResponse {
- uuid: string;
- "administrative-state": AdministrativeState;
- "local-id": NameValue[];
- extension: NameValue[];
- "operational-state": string;
- lp: LpResponse[];
- "administrative-control": string;
- name: NameValue[];
- "ltp-in-other-view": string[];
- "ltp-direction": string;
- "lifecycle-state": string;
- "client-ltp": string[];
- "label": NameValue[];
- "server-ltp": string[];
-}
-
-export interface CoreModelNetworkElement {
- "administrative-state": AdministrativeState;
- ltp: LtpResponse[];
- "local-id": NameValue[];
- "lifecycle-state": string;
- uuid: string;
- label: NameValue[];
- extension: NameValue[];
- "operational-state": string;
- "administrative-control": string;
- name: NameValue[];
-}
-
-
-export type AdministrativeState = "unlocked" | "locked";
-
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/models/uiModels.ts b/sdnr/wt/odlux/apps/configurationApp/src/models/uiModels.ts
deleted file mode 100644
index 69a807a3c..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src/models/uiModels.ts
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export interface AccessFlags {
- "read": boolean,
- "write": boolean,
- "create": boolean
-}
-
-export interface ViewElementBase {
- "id": string;
- "label": string;
- "viewId": string;
- "leafrefPath": string;
- "accessFlags": AccessFlags;
- "description": string;
-}
-
-export interface ViewElementString extends ViewElementBase {
- "uiType": "string";
-}
-
-export interface ViewElementNumber extends ViewElementBase {
- "uiType": "number";
- "min"?: number;
- "max"?: number;
- "unit"?: string;
- "format"?: string;
-}
-
-export interface ViewElementBoolean extends ViewElementBase {
- "uiType": "boolean";
- "trueValue"?: string;
- "falseValue"?: string;
-}
-
-export interface ViewElementObject extends ViewElementBase {
- "uiType": "object";
- "viewId": string;
-}
-
-export interface ViewElementSelection extends ViewElementBase {
- "uiType": "selection";
- "multiSelect"?: boolean
- "options": {
- "key": string,
- "value": string,
- "description": string
- }[],
-}
-
-export interface ViewElementList extends ViewElementBase {
- "uiType": "list",
- "listType": "object" | "string" | "number",
- "viewId": string,
-}
-
-export type ViewElement =
- | ViewElementString
- | ViewElementNumber
- | ViewElementBoolean
- | ViewElementObject
- | ViewElementSelection
- | ViewElementList;
-
-export interface ViewSpecification {
- "id": string;
- "parentView": string;
- "name": string;
- "language": string;
- "title"?: string;
- "url": string;
- "dataPath": string;
- "elements": ViewElement[];
-}
-
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/plugin.tsx b/sdnr/wt/odlux/apps/configurationApp/src/plugin.tsx
deleted file mode 100644
index 4d5faf559..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src/plugin.tsx
+++ /dev/null
@@ -1,107 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// app configuration and main entry point for the app
-
-import * as React from "react";
-import { withRouter, RouteComponentProps, Route, Switch, Redirect } from 'react-router-dom';
-
-import { faAdjust } from '@fortawesome/free-solid-svg-icons'; // select app icon
-
-import connect, { Connect, IDispatcher } from '../../../framework/src/flux/connect';
-import applicationManager from '../../../framework/src/services/applicationManager';
-import { IApplicationStoreState } from "../../../framework/src/store/applicationStore";
-
-import { configurationAppRootHandler } from './handlers/configurationAppRootHandler';
-import configurationService from "./services/configurationService";
-
-import ConfigurationApplication from "./views/configurationApplication";
-import { updateMountIdAsyncActionCreator, updateLpIdAsyncActionCreator, updateViewDataAsyncActionCreator } from "./actions/configurationActions";
-
-let currentMountId: string | null | undefined = undefined;
-let currentLpId: string | null |undefined = undefined;
-let currentViewId: string | null | undefined = undefined;
-let currentIndex: string | null | undefined = undefined;
-let lastUrl: string | undefined = undefined;
-
-const mapProps = (state: IApplicationStoreState) => ({
- // currentProblemsProperties: createCurrentProblemsProperties(state),
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- updateMountId: (mountId: string | undefined) => dispatcher.dispatch(updateMountIdAsyncActionCreator(mountId)),
- updateLpId: (lpId: string | undefined) => dispatcher.dispatch(updateLpIdAsyncActionCreator(lpId)),
- updateViewData: (viewPath: string, indexValues: string[]) => dispatcher.dispatch(updateViewDataAsyncActionCreator(viewPath, indexValues)),
-});
-
-const ConfigurationApplicationRouteAdapter = connect(mapProps, mapDisp)((props: RouteComponentProps<{ mountId?: string, lpId?: string, viewId?: string, "0"?: string }> & Connect<typeof mapProps, typeof mapDisp>) => {
- if (props.location.pathname !== lastUrl) {
- // ensure the asynchronus update will only be called once per path
- lastUrl = props.location.pathname;
- window.setTimeout(async () => {
-
- // check if the mountId has changed
- if (currentMountId !== props.match.params.mountId) {
- currentMountId = props.match.params.mountId || undefined;
- currentLpId = null;
- currentViewId = null;
- currentIndex = null;
- await props.updateMountId(currentMountId);
- }
-
- // check if the lpId has changed
- if (currentLpId !== props.match.params.lpId) {
- currentLpId = props.match.params.lpId || undefined;
- currentViewId = null;
- currentIndex = null;
- currentMountId && await props.updateLpId(currentLpId);
- }
-
- // check if the viewId or the indices has changed
- if (currentViewId !== props.match.params.viewId || currentIndex !== props.match.params[0]) {
- currentViewId = props.match.params.viewId || undefined;
- currentIndex = props.match.params[0] || undefined;
- currentLpId && await props.updateViewData(currentViewId || '', currentIndex && currentIndex.split("/") || [] );
- }
-
- });
- }
- return (
- <ConfigurationApplication />
- );
-});
-
-const App = withRouter((props: RouteComponentProps) => (
- <Switch>
- <Route path={`${props.match.path}/:mountId/:lpId/:viewId/*`} component={ConfigurationApplicationRouteAdapter} />
- <Route path={`${props.match.path}/:mountId/:lpId/:viewId`} component={ConfigurationApplicationRouteAdapter} />
- <Route path={`${props.match.path}/:mountId/:lpId`} component={ConfigurationApplicationRouteAdapter} />
- <Route path={`${props.match.path}/:mountId`} component={ConfigurationApplicationRouteAdapter} />
- <Route path={`${props.match.path}`} component={ConfigurationApplicationRouteAdapter} />
- <Redirect to={`${props.match.path}`} />
- </Switch>
-));
-
-export function register() {
- applicationManager.registerApplication({
- name: "configuration",
- icon: faAdjust,
- rootComponent: App,
- rootActionHandler: configurationAppRootHandler,
- menuEntry: "Configuration"
- });
-}
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/services/configurationService.ts b/sdnr/wt/odlux/apps/configurationApp/src/services/configurationService.ts
deleted file mode 100644
index f78730480..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src/services/configurationService.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-
-import { requestRest } from '../../../../framework/src/services/restService';
-
-import { CoreModelNetworkElement, NameValue } from '../models/coreModel';
-import { ViewSpecification } from '../models/uiModels';
-
-export const getValueByName = (name: string, nameValuePairs: NameValue[], defaultValue: string | null = null): string | null => {
- const entry = nameValuePairs.find(p => p["value-name"] === name);
- return entry && entry.value || defaultValue;
-};
-
-class ConfigurationService {
-
- /** Gets the core model for a network element by its mountId. */
- public async getCoreModelByNodeId(nodeId: string): Promise<CoreModelNetworkElement | null> {
- const path = `restconf/config/network-topology:network-topology/topology/topology-netconf/node/${nodeId}/yang-ext:mount/core-model:network-element`;
- const ne = await requestRest<{ "network-element": CoreModelNetworkElement }>(path, { method: "GET" });
- return ne && ne["network-element"] || null;
- }
-
- public async getViewData(path: string): Promise<{} | null> {
- const viewData = await requestRest<{}>(path, { method: "GET" });
- return viewData || null;
- }
-
- /** Gets the UI description object for a capability of a network element. */
- public async getUIDescriptionByCapability(capability: string, revision: string | null): Promise<ViewSpecification[] | null> {
- const capFile = capability && revision && `${capability}@${revision}.json`;
- const coreModelResponse = capFile && await requestRest<{ views: ViewSpecification[] }>(`assets/${capFile}`, { method: "GET" }, false, true);
- return coreModelResponse && coreModelResponse.views || null;
- }
-
-}
-
-export const configurationService = new ConfigurationService();
-export default configurationService; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/views/configurationApplication.tsx b/sdnr/wt/odlux/apps/configurationApp/src/views/configurationApplication.tsx
deleted file mode 100644
index d5189fcd0..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src/views/configurationApplication.tsx
+++ /dev/null
@@ -1,320 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { MaterialTable, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import { IConnectAppStoreState } from '../../../connectApp/src/handlers/connectAppRootHandler';
-import { MountedNetworkElementType } from '../../../connectApp/src/models/mountedNetworkElements';
-import { NavigateToApplication } from '../../../../framework/src/actions/navigationActions';
-import { Dispatch } from '../../../../framework/src/flux/store';
-
-import TextField from '@material-ui/core/TextField';
-import { Tooltip, Button, FormControl, InputLabel, Select, MenuItem, InputAdornment } from '@material-ui/core';
-import Link from '@material-ui/core/Link';
-
-import Table from '@material-ui/core/Table';
-import TableBody from '@material-ui/core/TableBody';
-import TableCell from '@material-ui/core/TableCell';
-import TableHead from '@material-ui/core/TableHead';
-import TableRow from '@material-ui/core/TableRow';
-
-import { ViewSpecification } from '../models/uiModels';
-
-const NetworkElementTable = MaterialTable as MaterialTableCtorType<MountedNetworkElementType>;
-
-const mapProps = (state: IApplicationStoreState) => ({
- ...state.configuration,
- avaliableDevices: state.connect.mountedNetworkElements.elements.filter(el => el.connectionStatus === "connected")
-});
-const mapDisp = (dispatcher: IDispatcher) => ({
- navigateTo: (viewId: string, index?: string | number) => dispatcher.dispatch((dispatch: Dispatch, getState: () => IApplicationStoreState) => {
- const { configuration: { nodeId, lpId, indexValues } } = getState();
- const newIndexValues = typeof index === 'number' && indexValues
- ? indexValues.split('/').slice(0, index).join("/")
- : indexValues
- ? `${indexValues}${index ? `/${index}` : ''}`
- : index;
- dispatch(new NavigateToApplication("configuration", `${nodeId}/${lpId}/${viewId}${newIndexValues ? `/${newIndexValues}` : ''}`));
-
- }),
- changeNode: (ndoeId: string) => dispatcher.dispatch((dispatch: Dispatch) => {
- dispatch(new NavigateToApplication("configuration", ndoeId));
- }),
- changeLp: (lpId: string) => dispatcher.dispatch((dispatch: Dispatch, getState: () => IApplicationStoreState) => {
- const { configuration: { nodeId } } = getState();
- dispatch(new NavigateToApplication("configuration", `${nodeId}/${lpId}`));
- })
-});
-
-type ConfigurationApplicationProps = Connect<typeof mapProps, typeof mapDisp>;
-
-type ConfigurationApplicationState = {
-
-}
-
-class ConfigurationApplicationComponent extends React.Component<ConfigurationApplicationProps, ConfigurationApplicationState> {
-
- render() {
- if (this.props.loading) {
- return (
- <h2>Collecting data from network element. Please wait ...</h2>
- );
- } else if (!this.props.nodeId) {
- return (
- <>
- <h2>Please select an network element to configure !</h2>
- <NetworkElementTable idProperty={"mountId"} rows={this.props.avaliableDevices} asynchronus
- onHandleClick={(evetm, rowData) => { this.props.changeNode(rowData.mountId) }} columns={
- [{ property:"mountId" }]
- } />
- </>
- );
- } else if (!this.props.lpId) {
- return this.props.coreModel && this.props.coreModel.ltp && this.props.coreModel.ltp.length
- ? (
- <>
- <h2>Please select an existing LP first !</h2>
- <ul>
- { this.props.coreModel.ltp.map(ltp => {
- return <li key={ltp.uuid}>
- <Link component="a" variant="body2" color="secondary" onClick={() => {
- this.props.changeLp(ltp.lp[0].uuid);
- }}>{ltp.lp[0].label[0].value}</Link>
- </li>
- }) || null}
- </ul>
- </>
- )
- : (
- <>
- <h2>No LTP / LP found !</h2>
- </>
- );
- } else if (!this.props.capability && !this.props.viewId) {
- return (
- <h2>Please select a capability or viewId first !</h2>
- );
- }
- const viewData = this.props.viewData;
- const viewSpecification = this.props.viewId
- ? this.props.viewSpecifications.find(d => d.id === this.props.viewId)
- : this.props.viewSpecifications.find(d => d.name === this.props.conditionalPackage);
-
- return viewSpecification
- ? (
- <>
- <hgroup style={{ marginBottom: 15 }}>
- <h2>{`${this.props.nodeId} - ${this.props.lpId}`}</h2>
- {this.createBreadCrump(viewSpecification.id, this.props.viewSpecifications)}
- </hgroup>
- <div style={{ display: "flex", flexWrap: "wrap", overflow: "auto" }}>
- {
-
- (this.props.viewData && this.props.viewData instanceof Array)
- ? this.renderUIList(viewSpecification, viewData as { [key: string]: string | number }[])
- : this.renderUIElement(viewSpecification, viewData as { [key: string]: string | number })
- }
- {/* { <pre>{JSON.stringify(this.props.viewData, null, 2)} </pre> } */}
-
- </div>
- </>
- )
- : <h2>View [{this.props.viewId || this.props.conditionalPackage}] Not Found ! {this.props.viewSpecifications.length} </h2>;
- }
-
- private static keyPropertyParser = /\$\$INDEX:(\d+):?([a-z\-]+)?\$\$$/;
- private renderUIList = (viewSpecification: ViewSpecification, viewData: { [key: string]: string | number }[]) => {
- const keyMatch = ConfigurationApplicationComponent.keyPropertyParser.exec(viewSpecification.dataPath);
- const keyProperty = keyMatch && keyMatch[2];
- return (
- <Table>
- <TableHead>
- <TableRow>
- {viewSpecification.elements.map(uiElement => {
- switch (uiElement.uiType) {
- case "number":
- return (
- <TableCell key={uiElement.id} align={"right"} >{uiElement.label}</TableCell>
- );
- case "selection":
- case "object":
- case "list":
- case "string":
- case "boolean":
- return (
- <TableCell key={uiElement.id} align={"left"} >{uiElement.label}</TableCell>
- );
- default:
- if (process.env.NODE_ENV !== "production") {
- console.error(`Unknown column type - ${(uiElement as any).uiType} in ${(uiElement as any).id}.`)
- }
- return null;
- }
- })
- }
- <TableCell align={"right"} >Actions</TableCell>
- </TableRow>
- </TableHead>
- <TableBody>
- {viewData.map((row, ind) => (
- <TableRow key={keyProperty && row[keyProperty] || ind}>
- {viewSpecification.elements.map(uiElement => {
- switch (uiElement.uiType) {
- case "string":
- case "number":
- return (
- <TableCell key={uiElement.id} component="td" scope="row" align={uiElement.uiType === "number" ? "right" : "left"}>{row[uiElement.id] == null ? "---" : row[uiElement.id] } </TableCell>
- );
- case "boolean":
- return (
- <TableCell key={uiElement.id} component="td" scope="row" align={"left"} >{row[uiElement.id] == null ? "---" : row[uiElement.id] ? uiElement.trueValue || 'True' : uiElement.falseValue || 'False'} </TableCell>
- );
- case "list":
- case "object":
- return (
- <TableCell key={uiElement.id} component="td" scope="row" align={"left"} >
- <Tooltip title={uiElement.description || ''}>
- <Link component="a" variant="body2" color="secondary" onClick={() => {
- this.props.navigateTo(uiElement.viewId, String(ind));
- }}>{uiElement.label}</Link>
- </Tooltip></TableCell>
- );
- case "selection":
- const option = row[uiElement.id] ? uiElement.options.find(opt => opt.key === row[uiElement.id]) : null;
- return (
- <TableCell key={uiElement.id} component="td" scope="row" align={"left"} >{option ? option.value : row[uiElement.id] == null ? "---" : row[uiElement.id] } </TableCell>
- );
- default:
- if (process.env.NODE_ENV !== "production") {
- console.error(`Unknown column type - ${(uiElement as any).uiType} in ${(uiElement as any).id}.`)
- }
- return null;
- }
- })}
- <TableCell align={"right"} ><Button onClick={() => {
- this.props.navigateTo(this.props.viewId || '', String(/*keyProperty && row[keyProperty] || */ ind));
- }} >Details</Button>
- </TableCell>
- </TableRow>
- ))}
- </TableBody>
- </Table>
- );
- }
-
- private renderUIElement = (viewSpecification: ViewSpecification, viewData: { [key: string]: string | number }) => (
- viewSpecification.elements.map(uiElement => {
- if (uiElement.leafrefPath) {
- return null;
- }
- switch (uiElement.uiType) {
- case "selection":
- return (viewData[uiElement.id] != null
- ? (<FormControl key={uiElement.id} style={{ width: 485, marginLeft: 20, marginRight: 20 }}>
- <InputLabel htmlFor={`select-${uiElement.id}`} >{uiElement.label}</InputLabel>
- <Select
- readOnly={ true }
- value={(viewData[uiElement.id] || '').toString().toLowerCase()}
- inputProps={{
- name: uiElement.id,
- id: `select-${uiElement.id}`,
- }}
- >
- {uiElement.options.map(option => (<MenuItem title={option.description} value={option.value}>{option.key}</MenuItem>))}
- </Select>
- </FormControl>)
- : null
- );
- case "boolean":
- return (viewData[uiElement.id] != null
- ? (<FormControl key={uiElement.id} style={{ width: 485, marginLeft: 20, marginRight: 20 }}>
- <InputLabel htmlFor={`select-${uiElement.id}`} >{uiElement.label}</InputLabel>
- <Select
- readOnly={ true }
-
- value={String(viewData[uiElement.id]).toLowerCase()}
- inputProps={{
- name: uiElement.id,
- id: `select-${uiElement.id}`,
- }}
- >
- <MenuItem value={'true'}>{uiElement.trueValue || 'True'}</MenuItem>
- <MenuItem value={'false'}>{uiElement.falseValue || 'False'}</MenuItem>
-
- </Select>
- </FormControl>)
- : null
- );
- case "string":
- return (
- <Tooltip key={uiElement.id} title={uiElement.description || ''}>
- <TextField InputProps={{ readOnly: true }} spellCheck={false} autoFocus margin="dense"
- id={uiElement.id} label={uiElement.label} type="text" value={viewData[uiElement.id] || ''} style={{ width: 485, marginLeft: 20, marginRight: 20 }} />
- </Tooltip>
- );
- case "number":
- return (
- <Tooltip key={uiElement.id} title={uiElement.description || ''}>
- <TextField InputProps={{ readOnly: true, startAdornment: uiElement.unit != null ? <InputAdornment position="start">{uiElement.unit}</InputAdornment> : undefined }} spellCheck={false} autoFocus margin="dense"
- id={uiElement.id} label={uiElement.label} type="text" value={viewData[uiElement.id] || ''} style={{ width: 485, marginLeft: 20, marginRight: 20 }} />
- </Tooltip>
- );
- case "list":
- case "object":
- return (
- <Tooltip key={uiElement.id} title={uiElement.description || ''}>
- <Link component="a" variant="body2" color="secondary" style={{ width: 485, marginLeft: 20, marginRight: 20 }} onClick={() => {
- this.props.navigateTo(uiElement.viewId);
- }}>{uiElement.label}</Link>
- </Tooltip>
- );
- default:
- if (process.env.NODE_ENV !== "production") {
- console.error(`Unknown type - ${(uiElement as any).uiType} in ${(uiElement as any).id}.`)
- }
- return null;
- }
- })
- )
-
- private createBreadCrump = (viewId: string, viewSpecifications: ViewSpecification[]) => {
- const result: JSX.Element[] = [];
- const hasIndex = /\/\$\$INDEX:(\d+):?([a-z\-]+)?\$\$/i;
- let currentViewSpecification = viewSpecifications.find(s => s.id === viewId);
- let indexCounter = 0;
- while (currentViewSpecification != null) {
- const currentViewId = currentViewSpecification.id;
- const currentDataPathHasIndex = hasIndex.test(currentViewSpecification.dataPath);
- result.unshift((
- <span>
- <Link component="a" variant="body2" color="secondary" onClick={() => {
- this.props.navigateTo(currentViewId, currentDataPathHasIndex ? ++indexCounter : indexCounter);
- }}>{currentViewSpecification.name}</Link>
- {viewId === currentViewId ? null : " | "}
- </span>
- ));
- currentViewSpecification = viewSpecifications.find(s => s.id === (currentViewSpecification && currentViewSpecification.parentView || ''));
- }
- return result;
- }
-}
-
-export const ConfigurationApplication = connect(mapProps, mapDisp)(ConfigurationApplicationComponent);
-export default ConfigurationApplication; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/configurationApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java b/sdnr/wt/odlux/apps/configurationApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
deleted file mode 100644
index 1e882fc69..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles;
-
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class MyOdluxBundle extends OdluxBundle {
-
- @Override
- public void initialize() {
- super.initialize();
- }
-
- @Override
- public void clean() {
- super.clean();
- }
-
- @Override
- public String getResourceFileContent(String filename) {
- return super.getResourceFileContent(filename);
- }
-
- @Override
- public boolean hasResource(String filename) {
- return super.hasResource(filename);
- }
-
- @Override
- public void setBundleName(String bundleName) {
- super.setBundleName(bundleName);
- }
-
- @Override
- public void setLoader(OdluxBundleLoader loader) {
- super.setLoader(loader);
- }
-
- @Override
- public String getBundleName() {
- return super.getBundleName();
- }
-
- @Override
- public OdluxBundleLoader getLoader() {
- return super.getLoader();
- }
-
- public MyOdluxBundle() {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/configurationApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wt/odlux/apps/configurationApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100644
index 48f7dde3d..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <reference id="loadersvc" availability="mandatory" activation="eager" interface="org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader"/>
-
- <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle">
- <property name="loader" ref="loadersvc"/>
- <property name="bundleName" value="configurationApp"/>
- <property name="index" value="30"/>
- </bean>
-</blueprint>
diff --git a/sdnr/wt/odlux/apps/configurationApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java b/sdnr/wt/odlux/apps/configurationApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
deleted file mode 100644
index edf68e096..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles.test;
-
-import static org.junit.Assert.*;
-
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.odlux.OdluxBundleLoaderImpl;
-import org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle;
-
-public class TestBundleRes {
-
- @Test
- public void test() {
- OdluxBundleLoaderImpl loader = OdluxBundleLoaderImpl.getInstance();
- MyOdluxBundle b = new MyOdluxBundle();
- b.setLoader(loader);
- b.setIndex(0);
- b.setBundleName("abc");
- b.initialize();
- assertTrue(loader.getNumberOfBundles()==1);
- assertNotNull(b.getLoader());
- assertEquals("abc",b.getBundleName());
- assertTrue(b.hasResource("test.js"));
- assertNotNull(b.getResourceFileContent("test.js"));
- b.clean();
- assertTrue(loader.getNumberOfBundles()==0);
- }
-
-}
diff --git a/sdnr/wt/odlux/apps/configurationApp/src2/test/resources/test.js b/sdnr/wt/odlux/apps/configurationApp/src2/test/resources/test.js
deleted file mode 100644
index b47fdc39f..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/src2/test/resources/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-asdac sad
-as
-d
-sad
- sadfa \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/configurationApp/tsconfig.json b/sdnr/wt/odlux/apps/configurationApp/tsconfig.json
deleted file mode 100644
index b0c9b424d..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/tsconfig.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./src",
- "outDir": "./dist",
- "sourceMap": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": false,
- "allowUnreachableCode": false,
- "allowUnusedLabels": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "pretty": true,
- "newLine": "LF",
- "module": "es2015",
- "target": "es2016",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "jsx": "preserve",
- "lib": [
- "dom",
- "es2015",
- "es2016"
- ],
- "types": [
- "node",
- "prop-types",
- "react",
- "react-dom"
- ]
- },
- "exclude": [
- "dist",
- "node_modules"
- ]
-}
diff --git a/sdnr/wt/odlux/apps/configurationApp/webpack.config.js b/sdnr/wt/odlux/apps/configurationApp/webpack.config.js
deleted file mode 100644
index e44b9322b..000000000
--- a/sdnr/wt/odlux/apps/configurationApp/webpack.config.js
+++ /dev/null
@@ -1,158 +0,0 @@
-/**
- * Webpack 4 configuration file
- * see https://webpack.js.org/configuration/
- * see https://webpack.js.org/configuration/dev-server/
- */
-
-"use strict";
-
-const path = require("path");
-const webpack = require("webpack");
-const CopyWebpackPlugin = require("copy-webpack-plugin");
-const TerserPlugin = require('terser-webpack-plugin');
-
-// const __dirname = (path => path.replace(/^([a-z]\:)/, c => c.toUpperCase()))(process.__dirname());
-
-module.exports = (env) => {
- const distPath = path.resolve(__dirname, env === "release" ? "." : "../..", "dist");
- const frameworkPath = path.resolve(__dirname, env === "release" ? "../../framework" : "../..", "dist");
- return [{
- name: "App",
-
- mode: "none", //disable default behavior
-
- target: "web",
-
- context: path.resolve(__dirname, "src"),
-
- entry: {
- configurationApp: ["./plugin.tsx"]
- },
-
- devtool: env === "release" ? false : "source-map",
-
- resolve: {
- extensions: [".ts", ".tsx", ".js", ".jsx"]
- },
-
- output: {
- path: distPath,
- filename: "[name].js",
- library: "[name]",
- libraryTarget: "umd2",
- chunkFilename: "[name].js"
- },
- module: {
- rules: [{
- test: /\.tsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }, {
- loader: "ts-loader"
- }]
- }, {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }]
- }]
- },
-
- optimization: {
- noEmitOnErrors: true,
- namedModules: env !== "release",
- minimize: env === "release",
- minimizer: env !== "release" ? [] : [new TerserPlugin({
- terserOptions: {
- warnings: false, // false, true, "verbose"
- compress: {
- drop_console: true,
- drop_debugger: true,
- }
- }
- })],
- },
-
- plugins: [
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
- new CopyWebpackPlugin([{
- from: "assets",
- to: path.resolve(distPath, "assets")
- }]),
- ...(env === "release") ? [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'production'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- ] : [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'development'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- new CopyWebpackPlugin([{
- from: 'index.html',
- to: distPath
- }]),
- ]
- ],
-
- devServer: {
- public: "http://localhost:3100",
- contentBase: frameworkPath,
-
- compress: true,
- headers: {
- "Access-Control-Allow-Origin": "*"
- },
- host: "0.0.0.0",
- port: 3100,
- disableHostCheck: true,
- historyApiFallback: true,
- inline: true,
- hot: false,
- quiet: false,
- stats: {
- colors: true
- },
- proxy: {
- "/oauth2/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/database/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/restconf/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/help/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/websocket/": {
- target: "http://localhost:3000",
- ws: true,
- changeOrigin: true,
- secure: false
- }
- }
- }
- }];
-}
diff --git a/sdnr/wt/odlux/apps/connectApp/.babelrc b/sdnr/wt/odlux/apps/connectApp/.babelrc
deleted file mode 100644
index 3d8cd1260..000000000
--- a/sdnr/wt/odlux/apps/connectApp/.babelrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "presets": [
- ["@babel/preset-react"],
- ["@babel/preset-env", {
- "targets": {
- "chrome": "66"
- },
- "spec": true,
- "loose": false,
- "modules": false,
- "debug": false,
- "useBuiltIns": "usage",
- "forceAllTransforms": true
- }]
- ],
- "plugins": []
-}
diff --git a/sdnr/wt/odlux/apps/connectApp/package.json b/sdnr/wt/odlux/apps/connectApp/package.json
deleted file mode 100644
index 269fa2a8c..000000000
--- a/sdnr/wt/odlux/apps/connectApp/package.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "name": "@odlux/connect-app",
- "version": "0.1.1",
- "description": "A react based modular UI to display network connect data from a database.",
- "main": "index.js",
- "scripts": {
- "start": "webpack-dev-server --env debug",
- "build": "webpack --env release --config webpack.config.js",
- "build:dev": "webpack --env debug --config webpack.config.js"
- },
- "repository": {
- "type": "git",
- "url": "https://git.mfico.de/highstreet-technologies/odlux.git"
- },
- "keywords": [
- "reactjs",
- "redux",
- "ui",
- "framework"
- ],
- "author": "Matthias Fischer",
- "license": "Apache-2.0",
- "dependencies": {
- "@odlux/framework" : "*"
- },
- "peerDependencies": {
- "@types/react": "16.4.14",
- "@types/react-dom": "16.0.8",
- "@types/react-router-dom": "4.3.1",
- "@material-ui/core": "3.8.3",
- "@material-ui/icons": "3.0.2",
- "@types/classnames": "2.2.6",
- "@types/flux": "3.1.8",
- "@types/jquery": "3.3.10",
- "jquery": "3.3.1",
- "react": "16.5.2",
- "react-dom": "16.5.2",
- "react-router-dom": "4.3.1"
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/connectApp/pom.xml b/sdnr/wt/odlux/apps/connectApp/pom.xml
deleted file mode 100644
index d85feb127..000000000
--- a/sdnr/wt/odlux/apps/connectApp/pom.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-app-connectApp</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnr-wt-odlux-app-connectApp</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-provider</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <pluginRepositories>
- <pluginRepository>
- <id>highstreet repo</id>
- <url>https://cloud-highstreet-technologies.com/mvn/</url>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <sourceDirectory>src2/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>dist</directory>
- <targetPath>odlux</targetPath>
- </resource>
- <resource>
- <directory>src2/main/resources</directory>
- </resource>
- <resource>
- <directory>src2/test/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>../node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <!-- eclipse bug build bin folder in basedir -->
- <fileset>
- <directory>bin</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src2/test/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>de.jacksitlab</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <!-- optional: default phase is "generate-resources" -->
- <phase>initialize</phase>
- <configuration>
- <nodeVersion>v8.10.0</nodeVersion>
- <yarnVersion>v1.12.3</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>run build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
- <Private-Package/>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/connectApp/src/actions/mountedNetworkElementsActions.ts b/sdnr/wt/odlux/apps/connectApp/src/actions/mountedNetworkElementsActions.ts
deleted file mode 100644
index 12f7c8594..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/actions/mountedNetworkElementsActions.ts
+++ /dev/null
@@ -1,122 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { Dispatch } from '../../../../framework/src/flux/store';
-
-import { MountedNetworkElementType } from '../models/mountedNetworkElements';
-import { RequiredNetworkElementType } from '../models/requiredNetworkElements';
-
-import { connectService } from '../services/connectService';
-import { AddSnackbarNotification } from '../../../../framework/src/actions/snackbarActions';
-
-/** Represents the base action. */
-export class BaseAction extends Action { }
-
-/** Represents an action causing the store to load all mounted network elements. */
-export class LoadAllMountedNetworkElementsAction extends BaseAction { }
-
-/** Represents an action causing the store to update all mounted network elements. */
-export class AllMountedNetworkElementsLoadedAction extends BaseAction {
- constructor(public mountedNetworkElements: MountedNetworkElementType[] | null, public error?: string) {
- super();
- }
-}
-
-/** Represents an action causing the store to update all mounted network elements. */
-export class AddOrUpdateMountedNetworkElement extends BaseAction {
- constructor(public mountedNetworkElement: MountedNetworkElementType | null, public error?: string) {
- super();
- }
-}
-
-export class RemoveMountedNetworkElement extends BaseAction {
- constructor(public mountId: string) {
- super();
- }
-}
-
-export class UpdateConnectionStateMountedNetworkElement extends BaseAction {
- constructor(public mountId: string, connectionState: string) {
- super();
- }
-}
-
-
-export class UpdateRequiredMountedNetworkElement extends BaseAction {
- constructor(public mountId: string, public required: boolean) {
- super();
- }
-}
-
-/**
- * Represents an action crator for a async thunk action to add an allready mounted element to the state of this app.
- * Note: Use this action to add created object notified by the websocket.
-*/
-export const addMountedNetworkElementAsyncActionCreator = (mountId: string) => async (dispatch: Dispatch) => {
- return connectService.getMountedNetworkElementByMountId(mountId).then(mountedNetworkElement => {
- mountedNetworkElement && dispatch(new AddOrUpdateMountedNetworkElement(mountedNetworkElement));
- }).catch(error => {
- dispatch(new AddOrUpdateMountedNetworkElement(null, error));
- });
-};
-
-export const updateMountedNetworkElementAsyncActionCreator = (mountId: string) => async (dispatch: Dispatch) => {
- return connectService.getMountedNetworkElementByMountId(mountId).then(mountedNetworkElement => {
- if (mountedNetworkElement) {
- dispatch(new AddOrUpdateMountedNetworkElement(mountedNetworkElement));
- } else {
- dispatch(new RemoveMountedNetworkElement(mountId));
- }
- }).catch(error => {
- dispatch(new AddOrUpdateMountedNetworkElement(null, error));
- });
-};
-
-/** Represents an async thunk action to load all mounted network elements. */
-export const loadAllMountedNetworkElementsAsync = (dispatch: Dispatch) => {
- dispatch(new LoadAllMountedNetworkElementsAction());
- return connectService.getMountedNetworkElementsList().then(mountedNetworkElements => {
- mountedNetworkElements && dispatch(new AllMountedNetworkElementsLoadedAction(mountedNetworkElements));
- }).catch(error => {
- dispatch(new AllMountedNetworkElementsLoadedAction(null, error));
- });
-};
-
-/** Represents an action crator for a async thunk action to mount a network element. */
-export const mountNetworkElementAsyncActionCreator = (networkElement: RequiredNetworkElementType) => (dispatch: Dispatch) => {
- return connectService.mountNetworkElement(networkElement).then((success) => {
- success && (
- dispatch(addMountedNetworkElementAsyncActionCreator(networkElement.mountId)) &&
- dispatch(new AddSnackbarNotification({ message: `Requesting mount [${networkElement.mountId}]`, options: { variant: 'info' } }))
- ) || dispatch(new AddSnackbarNotification({ message: `Failed to mount [${ networkElement.mountId }]`, options: { variant: 'warning' } }));
- }).catch(error => {
- dispatch(new AddOrUpdateMountedNetworkElement(null, error));
- });
-};
-
-/** Represents an action crator for a async thunk action to unmount a network element. */
-export const unmountNetworkElementAsyncActionCreator = (mountId: string) => (dispatch: Dispatch) => {
- return connectService.unmountNetworkElement(mountId).then((success) => {
- success && dispatch(new AddSnackbarNotification({ message: `Requesting unmount [${ mountId }]`, options: { variant: 'info' } }))
- || dispatch(new AddSnackbarNotification({ message: `Failed to unmount [${ mountId }]`, options: { variant: 'warning' } }));
- }).catch(error => {
- dispatch(new AddOrUpdateMountedNetworkElement(null, error));
- });
-};
-
-
diff --git a/sdnr/wt/odlux/apps/connectApp/src/actions/requiredNetworkElementsActions.ts b/sdnr/wt/odlux/apps/connectApp/src/actions/requiredNetworkElementsActions.ts
deleted file mode 100644
index 0e55cadf4..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/actions/requiredNetworkElementsActions.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { Dispatch } from '../../../../framework/src/flux/store';
-import { RequiredNetworkElementType } from '../models/requiredNetworkElements';
-import { requiredNetworkElementsReloadAction } from '../handlers/requiredNetworkElementsHandler';
-import { UpdateRequiredMountedNetworkElement } from '../actions/mountedNetworkElementsActions';
-
-import { AddSnackbarNotification } from '../../../../framework/src/actions/snackbarActions';
-
-import { connectService } from '../services/connectService';
-
-/** Represents the base action. */
-export class BaseAction extends Action { }
-
-
-/** Represents an async thunk action creator to add an element to the required network elements. */
-export const addToRequiredNetworkElementsAsyncActionCreator = (element: RequiredNetworkElementType) => (dispatch: Dispatch) => {
- connectService.insertRequiredNetworkElement(element).then(_ => {
- window.setTimeout(() => {
- dispatch(requiredNetworkElementsReloadAction);
- dispatch(new UpdateRequiredMountedNetworkElement(element.mountId, true));
- dispatch(new AddSnackbarNotification({ message: `Successfully added [${ element.mountId }]`, options: { variant: 'success' } }));
- }, 900);
- });
-};
-
-/** Represents an async thunk action creator to delete an element from the required network elements. */
-export const removeFromRequiredNetworkElementsAsyncActionCreator = (element: RequiredNetworkElementType) => (dispatch: Dispatch) => {
- connectService.deleteRequiredNetworkElement(element).then(_ => {
- window.setTimeout(() => {
- dispatch(requiredNetworkElementsReloadAction);
- dispatch(new UpdateRequiredMountedNetworkElement(element.mountId, false));
- dispatch(new AddSnackbarNotification({ message: `Successfully removed [${ element.mountId }]`, options: { variant: 'success' } }));
- }, 900);
- });
-};
-
-
-
diff --git a/sdnr/wt/odlux/apps/connectApp/src/components/connectionStatusLog.tsx b/sdnr/wt/odlux/apps/connectApp/src/components/connectionStatusLog.tsx
deleted file mode 100644
index 3cc104836..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/components/connectionStatusLog.tsx
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-import connect, { IDispatcher, Connect } from '../../../../framework/src/flux/connect';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import { MaterialTable, ColumnType, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-
-import { createConnectionStatusLogActions, createConnectionStatusLogProperties } from '../handlers/connectionStatusLogHandler';
-import { ConnectionStatusLogType } from '../models/connectionStatusLog';
-
-const mapProps = (state: IApplicationStoreState) => ({
- connectionStatusLogProperties: createConnectionStatusLogProperties(state),
-});
-
-const mapDispatch = (dispatcher: IDispatcher) => ({
- connectionStatusLogActions: createConnectionStatusLogActions(dispatcher.dispatch),
-});
-
-const ConnectionStatusTable = MaterialTable as MaterialTableCtorType<ConnectionStatusLogType>;
-
-type ConnectionStatusLogComponentProps = Connect<typeof mapProps, typeof mapDispatch>;
-
-class ConnectionStatusLogComponent extends React.Component<ConnectionStatusLogComponentProps> {
- render(): JSX.Element {
- return (
- <ConnectionStatusTable columns={ [
- { property: "timeStamp", title: "Time", type: ColumnType.text },
- { property: "objectId", title: "Name", type: ColumnType.text },
- { property: "elementStatus", title: "Connection status", type: ColumnType.text, disableFilter: true, disableSorting: true },
- ] } idProperty="_id" { ...this.props.connectionStatusLogActions } {...this.props.connectionStatusLogProperties } >
- </ConnectionStatusTable>
- );
- };
-
-}
-
-export const ConnectionStatusLog = connect(mapProps, mapDispatch)(ConnectionStatusLogComponent);
-export default ConnectionStatusLog; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/connectApp/src/components/editNetworkElementDialog.tsx b/sdnr/wt/odlux/apps/connectApp/src/components/editNetworkElementDialog.tsx
deleted file mode 100644
index 32b23a41e..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/components/editNetworkElementDialog.tsx
+++ /dev/null
@@ -1,246 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import Button from '@material-ui/core/Button';
-import TextField from '@material-ui/core/TextField';
-import Dialog from '@material-ui/core/Dialog';
-import DialogActions from '@material-ui/core/DialogActions';
-import DialogContent from '@material-ui/core/DialogContent';
-import DialogContentText from '@material-ui/core/DialogContentText';
-import DialogTitle from '@material-ui/core/DialogTitle';
-
-import { IDispatcher, connect, Connect } from '../../../../framework/src/flux/connect';
-
-import {
- addToRequiredNetworkElementsAsyncActionCreator,
- removeFromRequiredNetworkElementsAsyncActionCreator
-} from '../actions/requiredNetworkElementsActions';
-
-import { unmountNetworkElementAsyncActionCreator, mountNetworkElementAsyncActionCreator } from '../actions/mountedNetworkElementsActions';
-import { RequiredNetworkElementType } from '../models/requiredNetworkElements';
-
-export enum EditNetworkElementDialogMode {
- None = "none",
- UnknownNetworkElementToRequiredNetworkElements = "unknownNetworkElementToRequiredNetworkElements",
- RequiredNetworkElementToUnknownNetworkElements = "requiredNetworkElementToUnknownNetworkElements",
- MountNetworkElementToRequiredNetworkElements = "mountNetworkElementToRequiredNetworkElements",
- MountNetworkElementToUnknonwNetworkElements = "mountNetworkElementToRequiredUnknownElements",
- MountNetworkElement = "mountNetworkElement",
- UnmountNetworkElement = "unmountNetworkElement",
-}
-
-const mapDispatch = (dispatcher: IDispatcher) => ({
- addToRequiredNetworkElements: (element: RequiredNetworkElementType) => {
- dispatcher.dispatch(addToRequiredNetworkElementsAsyncActionCreator(element));
- },
- removeFromRequiredNetworkElements: (element: RequiredNetworkElementType) => {
- dispatcher.dispatch(removeFromRequiredNetworkElementsAsyncActionCreator(element));
- },
- mountNetworkElement: (element: RequiredNetworkElementType) => {
- dispatcher.dispatch(mountNetworkElementAsyncActionCreator(element));
- },
- mountAndRquireNetworkElement: (element: RequiredNetworkElementType) => {
- dispatcher.dispatch(addToRequiredNetworkElementsAsyncActionCreator(element));
- dispatcher.dispatch(mountNetworkElementAsyncActionCreator(element));
- },
- unmountNetworkElement: (element: RequiredNetworkElementType) => {
- dispatcher.dispatch(unmountNetworkElementAsyncActionCreator(element && element.mountId));
- }
-}
-);
-
-type DialogSettings = {
- dialogTitle: string,
- dialogDescription: string,
- applyButtonText: string,
- cancelButtonText: string,
- enableMountIdEditor: boolean,
- enableUsernameEditor: boolean,
- enableExtendedEditor: boolean,
-}
-
-const settings: { [key: string]: DialogSettings } = {
- [EditNetworkElementDialogMode.None]: {
- dialogTitle: "",
- dialogDescription: "",
- applyButtonText: "",
- cancelButtonText: "",
- enableMountIdEditor: false,
- enableUsernameEditor: false,
- enableExtendedEditor: false,
- },
- [EditNetworkElementDialogMode.UnknownNetworkElementToRequiredNetworkElements] : {
- dialogTitle: "Add to required network elements" ,
- dialogDescription: "Create a new NetworkElement in planning database as clone of existing real NetworkElement." ,
- applyButtonText: "Add to required network elements" ,
- cancelButtonText: "Cancel",
- enableMountIdEditor: false,
- enableUsernameEditor: true,
- enableExtendedEditor: false,
- },
- [EditNetworkElementDialogMode.RequiredNetworkElementToUnknownNetworkElements]: {
- dialogTitle: "Remove from required network elements",
- dialogDescription: "Do you really want to remove the required element:",
- applyButtonText: "Remove network element",
- cancelButtonText: "Cancel",
- enableMountIdEditor: false,
- enableUsernameEditor: false,
- enableExtendedEditor: false,
- },
- [EditNetworkElementDialogMode.MountNetworkElementToUnknonwNetworkElements]: {
- dialogTitle: "Mount to unknown network elements",
- dialogDescription: "Mount this network element:",
- applyButtonText: "Mount network element",
- cancelButtonText: "Cancel",
- enableMountIdEditor: true,
- enableUsernameEditor: true,
- enableExtendedEditor: true,
- },
- [EditNetworkElementDialogMode.MountNetworkElementToRequiredNetworkElements]: {
- dialogTitle: "Mount to required network elements",
- dialogDescription: "Mount this network element:",
- applyButtonText: "Mount network element",
- cancelButtonText: "Cancel",
- enableMountIdEditor: true,
- enableUsernameEditor: true,
- enableExtendedEditor: true,
- },
- [EditNetworkElementDialogMode.MountNetworkElement]: {
- dialogTitle: "Mount network element",
- dialogDescription: "mount this network element:",
- applyButtonText: "mount network element",
- cancelButtonText: "Cancel",
- enableMountIdEditor: false,
- enableUsernameEditor: false,
- enableExtendedEditor: false,
- },
- [EditNetworkElementDialogMode.UnmountNetworkElement]: {
- dialogTitle: "Unmount network element",
- dialogDescription: "unmount this network element:",
- applyButtonText: "Unmount network element",
- cancelButtonText: "Cancel",
- enableMountIdEditor: false,
- enableUsernameEditor: false,
- enableExtendedEditor: false,
- },
-}
-
-type EditNetworkElementDialogComponentProps = Connect<undefined,typeof mapDispatch> & {
- mode: EditNetworkElementDialogMode;
- initialNetworkElement: RequiredNetworkElementType;
- onClose: () => void;
-};
-
-type EditNetworkElementDialogComponentState = RequiredNetworkElementType & {
- required: boolean;
-};
-
-class EditNetworkElementDialogComponent extends React.Component<EditNetworkElementDialogComponentProps, EditNetworkElementDialogComponentState> {
- constructor(props: EditNetworkElementDialogComponentProps) {
- super(props);
-
- this.state = {
- mountId: this.props.initialNetworkElement.mountId,
- host: this.props.initialNetworkElement.host,
- port: this.props.initialNetworkElement.port,
- password: this.props.initialNetworkElement.password,
- username: this.props.initialNetworkElement.username,
- required: false
- };
- }
-
- render(): JSX.Element {
- const setting = settings[this.props.mode];
- return (
- <Dialog open={ this.props.mode !== EditNetworkElementDialogMode.None }>
- <DialogTitle id="form-dialog-title">{ setting.dialogTitle }</DialogTitle>
- <DialogContent>
- <DialogContentText>
- { setting.dialogDescription }
- </DialogContentText>
- <TextField disabled={ !setting.enableMountIdEditor } spellCheck={false} autoFocus margin="dense" id="name" label="Name" type="text" fullWidth value={ this.state.mountId } onChange={(event)=>{ this.setState({mountId: event.target.value}); } } />
- <TextField disabled={ !setting.enableMountIdEditor } spellCheck={false} margin="dense" id="ipaddress" label="IP address" type="text" fullWidth value={ this.state.host } onChange={(event)=>{ this.setState({host: event.target.value}); } }/>
- <TextField disabled={ !setting.enableMountIdEditor } spellCheck={false} margin="dense" id="netconfport" label="NetConf port" type="number" fullWidth value={ this.state.port.toString() } onChange={(event)=>{ this.setState({port: +event.target.value}); } }/>
- { setting.enableUsernameEditor && <TextField disabled={ !setting.enableUsernameEditor } spellCheck={ false } margin="dense" id="username" label="Username" type="text" fullWidth value={ this.state.username } onChange={ (event) => { this.setState({ username: event.target.value }); } } /> || null }
- { setting.enableUsernameEditor && <TextField disabled={ !setting.enableUsernameEditor } spellCheck={ false } margin="dense" id="password" label="Password" type="password" fullWidth value={ this.state.password } onChange={ (event) => { this.setState({ password: event.target.value }); } } /> || null }
- </DialogContent>
- <DialogActions>
- <Button onClick={ (event) => {
- this.onApply({
- mountId: this.state.mountId,
- host: this.state.host,
- port: this.state.port,
- username: this.state.username,
- password: this.state.password
- });
- event.preventDefault();
- event.stopPropagation();
- } } > { setting.applyButtonText } </Button>
- <Button onClick={ (event) => {
- this.onCancel();
- event.preventDefault();
- event.stopPropagation();
- } } color="secondary"> { setting.cancelButtonText } </Button>
- </DialogActions>
- </Dialog>
- )
- }
-
- private onApply = (element: RequiredNetworkElementType) => {
- this.props.onClose && this.props.onClose();
- switch (this.props.mode) {
- case EditNetworkElementDialogMode.UnknownNetworkElementToRequiredNetworkElements:
- element && this.props.addToRequiredNetworkElements(element);
- break;
- case EditNetworkElementDialogMode.RequiredNetworkElementToUnknownNetworkElements:
- element && this.props.removeFromRequiredNetworkElements(element);
- break;
- case EditNetworkElementDialogMode.MountNetworkElementToUnknonwNetworkElements:
- element && this.props.mountNetworkElement(element);
- break;
- case EditNetworkElementDialogMode.MountNetworkElementToRequiredNetworkElements:
- element && this.props.mountAndRquireNetworkElement(element);
- break;
- case EditNetworkElementDialogMode.MountNetworkElement:
- element && this.props.mountNetworkElement(element);
- break;
- case EditNetworkElementDialogMode.UnmountNetworkElement:
- element && this.props.unmountNetworkElement(element);
- break;
- }
- };
-
- private onCancel = () => {
- this.props.onClose && this.props.onClose();
- }
-
- static getDerivedStateFromProps(props: EditNetworkElementDialogComponentProps, state: EditNetworkElementDialogComponentState & { _initialNetworkElement: RequiredNetworkElementType }): EditNetworkElementDialogComponentState & { _initialNetworkElement: RequiredNetworkElementType } {
- if (props.initialNetworkElement !== state._initialNetworkElement) {
- state = {
- ...state,
- ...props.initialNetworkElement,
- _initialNetworkElement: props.initialNetworkElement,
- };
- }
- return state;
- }
-}
-
-export const EditNetworkElementDialog = connect(undefined, mapDispatch)(EditNetworkElementDialogComponent);
-export default EditNetworkElementDialog; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/connectApp/src/components/requiredNetworkElements.tsx b/sdnr/wt/odlux/apps/connectApp/src/components/requiredNetworkElements.tsx
deleted file mode 100644
index 2fb7594aa..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/components/requiredNetworkElements.tsx
+++ /dev/null
@@ -1,210 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-import { Theme, createStyles, withStyles, WithStyles } from '@material-ui/core/styles';
-
-import AddIcon from '@material-ui/icons/Add';
-import LinkIcon from '@material-ui/icons/Link';
-import LinkOffIcon from '@material-ui/icons/LinkOff';
-import RemoveIcon from '@material-ui/icons/RemoveCircleOutline';
-
-import Button from '@material-ui/core/Button';
-import IconButton from '@material-ui/core/IconButton';
-
-import { MaterialTable, ColumnType, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import { connect, Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-import { NavigateToApplication } from '../../../../framework/src/actions/navigationActions';
-
-import { RequiredNetworkElementType } from '../models/requiredNetworkElements';
-import { createRequiredNetworkElementsActions, createRequiredNetworkElementsProperties } from '../handlers/requiredNetworkElementsHandler';
-
-import EditNetworkElementDialog, { EditNetworkElementDialogMode } from './editNetworkElementDialog';
-import { Tooltip } from '@material-ui/core';
-import { NetworkElementBaseType } from 'models/networkElementBase';
-
-const styles = (theme: Theme) => createStyles({
- connectionStatusConnected: {
- color: 'darkgreen',
- },
- connectionStatusConnecting: {
- color: 'blue',
- },
- connectionStatusDisconnected: {
- color: 'red',
- },
- button: {
- margin: 0,
- padding: "6px 6px",
- minWidth: 'unset'
- },
- spacer: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- display: "inline"
- }
-});
-
-const mapProps = (state: IApplicationStoreState) => ({
- requiredNetworkElementsProperties: createRequiredNetworkElementsProperties(state),
- mountedNetworkElements: state.connect.mountedNetworkElements
-});
-
-const mapDispatch = (dispatcher: IDispatcher) => ({
- requiredNetworkElementsActions: createRequiredNetworkElementsActions(dispatcher.dispatch),
- navigateToApplication: (applicationName: string, path?: string) => dispatcher.dispatch(new NavigateToApplication(applicationName, path)),
-});
-
-type RequiredNetworkElementsListComponentProps = WithStyles<typeof styles> & Connect<typeof mapProps, typeof mapDispatch>;
-type RequiredNetworkElementsListComponentState = {
- networkElementToEdit: RequiredNetworkElementType,
- networkElementEditorMode: EditNetworkElementDialogMode
-}
-
-const emptyRequireNetworkElement = { mountId: '', host: '', port: 0 };
-
-const RequiredNetworkElementTable = MaterialTable as MaterialTableCtorType<RequiredNetworkElementType>;
-
-export class RequiredNetworkElementsListComponent extends React.Component<RequiredNetworkElementsListComponentProps, RequiredNetworkElementsListComponentState> {
-
- constructor(props: RequiredNetworkElementsListComponentProps) {
- super(props);
-
- this.state = {
- networkElementToEdit: emptyRequireNetworkElement,
- networkElementEditorMode: EditNetworkElementDialogMode.None
- };
- }
-
- // private navigationCreator
-
- render(): JSX.Element {
- const { classes } = this.props;
- const { networkElementToEdit } = this.state;
- const addRequireNetworkElementAction = {
- icon: AddIcon, tooltip: 'Add', onClick: () => {
- this.setState({
- networkElementEditorMode: EditNetworkElementDialogMode.MountNetworkElementToRequiredNetworkElements,
- networkElementToEdit: emptyRequireNetworkElement,
- });
- }
- };
- return (
- <>
- <RequiredNetworkElementTable customActionButtons={ [addRequireNetworkElementAction] } columns={ [
- { property: "mountId", title: "Name", type: ColumnType.text },
- {
- property: "connectionStatus", title: "Connection Status", type: ColumnType.custom, disableFilter: true, disableSorting: true, customControl: ({ rowData }) => {
- const unknownNetworkElement = this.props.mountedNetworkElements.elements.find(el => el.mountId === rowData.mountId);
- const connectionStatus = unknownNetworkElement && unknownNetworkElement.connectionStatus || 'disconnected';
- const cssClasses = connectionStatus === "connected"
- ? classes.connectionStatusConnected
- : connectionStatus === "disconnected"
- ? classes.connectionStatusDisconnected
- : classes.connectionStatusConnecting
- return <div className={ cssClasses } >{ connectionStatus } </div>
-
- }
- },
- { property: "host", title: "Host", type: ColumnType.text },
- { property: "port", title: "Port", type: ColumnType.text },
- // { property: "username", title: "Username", type: ColumnType.text },
- // { property: "password", title: "Password", type: ColumnType.text },
- {
- property: "actions", title: "Actions", type: ColumnType.custom, customControl: ({ rowData }) => {
- const unknownNetworkElement = this.props.mountedNetworkElements.elements.find(el => el.mountId === rowData.mountId);
- const connectionStatus = unknownNetworkElement && unknownNetworkElement.connectionStatus || 'disconnected';
- return (
- <>
- <div className={ classes.spacer }>
- <Tooltip title={ "Mount" } ><IconButton className={ classes.button } onClick={ event => this.onOpenMountdNetworkElementsDialog(event, rowData) }><LinkIcon /></IconButton></Tooltip>
- <Tooltip title={ "Unmount" } ><IconButton className={ classes.button } onClick={ event => this.onOpenUnmountdNetworkElementsDialog(event, rowData) }><LinkOffIcon /></IconButton></Tooltip>
- <Tooltip title={ "Remove" } ><IconButton className={ classes.button } onClick={ event => this.onOpenRemoveRequiredNetworkElementDialog(event, rowData) } ><RemoveIcon /></IconButton></Tooltip>
- </div>
- <div className={ classes.spacer }>
- <Tooltip title={ "Info" } ><Button className={ classes.button } >I</Button></Tooltip>
- </div>
- <div className={ classes.spacer }>
- <Tooltip title={ "Fault" } ><Button className={ classes.button } onClick={ this.navigateToApplicationHandlerCreator("fault", rowData) } >F</Button></Tooltip>
- <Tooltip title={"Configure"} ><Button className={classes.button} onClick={this.navigateToApplicationHandlerCreator("configuration", rowData)} >C</Button></Tooltip>
- <Tooltip title={ "Accounting " } ><Button className={ classes.button } onClick={ this.navigateToApplicationHandlerCreator("accounting", rowData) }>A</Button></Tooltip>
- <Tooltip title={ "Performance" } ><Button className={ classes.button } onClick={ this.navigateToApplicationHandlerCreator("performance", rowData) }>P</Button></Tooltip>
- <Tooltip title={ "Security" } ><Button className={ classes.button } onClick={ this.navigateToApplicationHandlerCreator("security", rowData) }>S</Button></Tooltip>
- </div>
- </>
- )
- }
- },
- ] } idProperty="mountId" { ...this.props.requiredNetworkElementsActions } { ...this.props.requiredNetworkElementsProperties } asynchronus >
- </RequiredNetworkElementTable>
- <EditNetworkElementDialog
- initialNetworkElement={ networkElementToEdit }
- mode={ this.state.networkElementEditorMode }
- onClose={ this.onCloseEditNetworkElementDialog }
- />
- </>
- );
- };
-
- public componentDidMount() {
- this.props.requiredNetworkElementsActions.onRefresh();
- }
-
- private onOpenRemoveRequiredNetworkElementDialog = (event: React.MouseEvent<HTMLElement>, element: RequiredNetworkElementType) => {
- this.setState({
- networkElementToEdit: element,
- networkElementEditorMode: EditNetworkElementDialogMode.RequiredNetworkElementToUnknownNetworkElements
- });
- event.preventDefault();
- event.stopPropagation();
- }
-
- private onOpenUnmountdNetworkElementsDialog = (event: React.MouseEvent<HTMLElement>, element: RequiredNetworkElementType) => {
- this.setState({
- networkElementToEdit: element,
- networkElementEditorMode: EditNetworkElementDialogMode.UnmountNetworkElement
- });
- event.preventDefault();
- event.stopPropagation();
- }
-
- private onOpenMountdNetworkElementsDialog = (event: React.MouseEvent<HTMLElement>, element: RequiredNetworkElementType) => {
- this.setState({
- networkElementToEdit: element,
- networkElementEditorMode: EditNetworkElementDialogMode.MountNetworkElement
- });
- event.preventDefault();
- event.stopPropagation();
- }
-
- private onCloseEditNetworkElementDialog = () => {
- this.setState({
- networkElementEditorMode: EditNetworkElementDialogMode.None,
- networkElementToEdit: emptyRequireNetworkElement,
- });
- }
-
- private navigateToApplicationHandlerCreator = (applicationName: string, element: NetworkElementBaseType) => (event: React.MouseEvent<HTMLElement>) => {
- this.props.navigateToApplication(applicationName, element.mountId);
- event.preventDefault();
- event.stopPropagation();
- }
-}
-
-export const RequiredNetworkElementsList = withStyles(styles)(connect(mapProps, mapDispatch)(RequiredNetworkElementsListComponent));
-export default RequiredNetworkElementsList; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/connectApp/src/components/unknownNetworkElements.tsx b/sdnr/wt/odlux/apps/connectApp/src/components/unknownNetworkElements.tsx
deleted file mode 100644
index 62b969575..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/components/unknownNetworkElements.tsx
+++ /dev/null
@@ -1,211 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-import { Theme, createStyles, WithStyles, withStyles, Tooltip } from '@material-ui/core';
-
-import AddIcon from '@material-ui/icons/Add';
-import LinkOffIcon from '@material-ui/icons/LinkOff';
-import AddCircleIcon from '@material-ui/icons/AddCircleOutline';
-
-import Button from '@material-ui/core/Button';
-import IconButton from '@material-ui/core/IconButton';
-
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import { MaterialTable, ColumnType, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-import { Connect, connect, IDispatcher } from '../../../../framework/src/flux/connect';
-import { NavigateToApplication } from '../../../../framework/src/actions/navigationActions';
-
-import { RequiredNetworkElementType } from '../models/requiredNetworkElements';
-import { IMountedNetworkElementsState } from '../handlers/mountedNetworkElementsHandler';
-import EditNetworkElementDialog, { EditNetworkElementDialogMode } from './editNetworkElementDialog';
-import { NetworkElementBaseType } from 'models/networkElementBase';
-
-
-const styles = (theme: Theme) => createStyles({
- button: {
- margin: 0,
- padding: "6px 6px",
- minWidth: 'unset'
- },
- spacer: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- display: "inline"
- }
-});
-
-const mapProps = ({ connect: state }: IApplicationStoreState) => ({
- mountedNetworkElements: state.mountedNetworkElements
-});
-
-const mapDispatch = (dispatcher: IDispatcher) => ({
- navigateToApplication: (applicationName: string, path?: string) => dispatcher.dispatch(new NavigateToApplication(applicationName, path)),
-});
-type UnknownNetworkElementDisplayType = NetworkElementBaseType & {
- connectionStatus: string,
- coreModelRev: string,
- airInterfaceRev: string
-}
-
-type UnknownNetworkElementsListProps = WithStyles<typeof styles> & Connect<typeof mapProps, typeof mapDispatch> & {}
-
-type UnknownNetworkElementsListState = {
-
- unknownNetworkElements: UnknownNetworkElementDisplayType[];
-
- networkElementToEdit: RequiredNetworkElementType;
- networkElementEditorMode: EditNetworkElementDialogMode;
-}
-
-
-const emptyRequireNetworkElement = { mountId: '', host: '', port: 0 };
-const UnknownNetworkElementTable = MaterialTable as MaterialTableCtorType<UnknownNetworkElementDisplayType>;
-export class UnknownNetworkElementsListComponent extends React.Component<UnknownNetworkElementsListProps, UnknownNetworkElementsListState> {
-
- constructor(props: UnknownNetworkElementsListProps) {
- super(props);
-
- this.state = {
- unknownNetworkElements: [],
- networkElementToEdit: emptyRequireNetworkElement,
- networkElementEditorMode: EditNetworkElementDialogMode.None,
- };
- }
-
- static getDerivedStateFromProps(props: UnknownNetworkElementsListProps, state: UnknownNetworkElementsListState & { _mountedNetworkElements: IMountedNetworkElementsState }) {
- if (props.mountedNetworkElements != state._mountedNetworkElements) {
- state.unknownNetworkElements = props.mountedNetworkElements.elements.filter(element => !element.required).map(element => {
-
- // handle onfCoreModelRevision
- const onfCoreModelRevision = element.capabilities.find((cap) => {
- return cap.module === 'core-model' || cap.module === 'CoreModel-CoreNetworkModule-ObjectClasses' ;
- });
- const onfAirInterfaceRevision = element.capabilities.find((cap) => {
- return cap.module === 'microwave-model' || cap.module === 'MicrowaveModel-ObjectClasses-AirInterface' ;
- });
- return {
- mountId: element.mountId,
- host: element.host,
- port: element.port,
- connectionStatus: element.connectionStatus,
- coreModelRev: onfCoreModelRevision && onfCoreModelRevision.revision || 'unknown',
- airInterfaceRev: onfAirInterfaceRevision && onfAirInterfaceRevision.revision || 'unknown'
- }
- }
- );
- }
- return state;
- }
-
- render(): JSX.Element {
- const { classes } = this.props;
- const { networkElementToEdit, networkElementEditorMode, unknownNetworkElements } = this.state;
- const addRequireNetworkElementAction = {
- icon: AddIcon, tooltip: 'Add', onClick: () => {
- this.setState({
- networkElementEditorMode: EditNetworkElementDialogMode.MountNetworkElementToUnknonwNetworkElements,
- networkElementToEdit: emptyRequireNetworkElement,
- });
- }
- };
- return (
- <>
- <UnknownNetworkElementTable customActionButtons={ [addRequireNetworkElementAction] } asynchronus rows={ unknownNetworkElements } columns={ [
- { property: "mountId", title: "Name", type: ColumnType.text },
- { property: "connectionStatus", title: "Connection Status", type: ColumnType.text },
- { property: "host", title: "Host", type: ColumnType.text },
- { property: "port", title: "Port", type: ColumnType.text },
- { property: "coreModelRev", title: "Core Model", type: ColumnType.text },
- { property: "airInterfaceRev", title: "Air interface", type: ColumnType.text },
- {
- property: "actions", title: "Actions", type: ColumnType.custom, customControl: ({ rowData }) => (
- <>
- <div className={ classes.spacer }>
- <Tooltip title={ "Unmount" } ><IconButton className={ classes.button } onClick={ event => this.onOpenUnmountdNetworkElementsDialog(event, rowData) } ><LinkOffIcon /></IconButton></Tooltip>
- <Tooltip title={ "Add to required" } ><IconButton className={ classes.button } onClick={ event => this.onOpenAddToRequiredNetworkElementsDialog(event, rowData) } ><AddCircleIcon /></IconButton></Tooltip>
- </div>
- <div className={ classes.spacer }>
- <Tooltip title={ "Info" } ><Button className={ classes.button } >I</Button></Tooltip>
- </div>
- <div className={ classes.spacer }>
- <Tooltip title={ "Fault" } ><Button className={ classes.button } onClick={ this.navigateToApplicationHandlerCreator("fault", rowData) } >F</Button></Tooltip>
- <Tooltip title={ "Configure" } ><Button className={ classes.button } onClick={ this.navigateToApplicationHandlerCreator("configuration", rowData) } >C</Button></Tooltip>
- <Tooltip title={ "Accounting " } ><Button className={ classes.button } onClick={ this.navigateToApplicationHandlerCreator("accounting", rowData) }>A</Button></Tooltip>
- <Tooltip title={ "Performance" } ><Button className={ classes.button } onClick={ this.navigateToApplicationHandlerCreator("performance", rowData) }>P</Button></Tooltip>
- <Tooltip title={ "Security" } ><Button className={ classes.button } onClick={ this.navigateToApplicationHandlerCreator("security", rowData) }>S</Button></Tooltip>
- </div>
- </>
- )
- },
- ] } idProperty="mountId" >
- </UnknownNetworkElementTable>
-
- <EditNetworkElementDialog
- mode={ networkElementEditorMode }
- initialNetworkElement={ networkElementToEdit }
- onClose={ this.onCloseEditNetworkElementDialog }
- />
- </>
- );
- };
-
- private onOpenAddToRequiredNetworkElementsDialog = (event: React.MouseEvent<HTMLElement>, element: UnknownNetworkElementDisplayType) => {
- this.setState({
- networkElementToEdit: {
- mountId: element.mountId,
- host: element.host,
- port: element.port,
- username: 'admin',
- password: 'admin',
- },
- networkElementEditorMode: EditNetworkElementDialogMode.UnknownNetworkElementToRequiredNetworkElements
- });
- event.preventDefault();
- event.stopPropagation();
- }
-
- private onOpenUnmountdNetworkElementsDialog = (event: React.MouseEvent<HTMLElement>, element: UnknownNetworkElementDisplayType) => {
- this.setState({
- networkElementToEdit: {
- mountId: element.mountId,
- host: element.host,
- port: element.port
- },
- networkElementEditorMode: EditNetworkElementDialogMode.UnmountNetworkElement
- });
- event.preventDefault();
- event.stopPropagation();
- }
-
- private onCloseEditNetworkElementDialog = () => {
- this.setState({
- networkElementEditorMode: EditNetworkElementDialogMode.None,
- networkElementToEdit: emptyRequireNetworkElement,
- });
- }
-
- private navigateToApplicationHandlerCreator = (applicationName: string, element: NetworkElementBaseType) => (event: React.MouseEvent<HTMLElement>) => {
- this.props.navigateToApplication(applicationName, element.mountId);
- event.preventDefault();
- event.stopPropagation();
- }
-
-}
-
-export const UnknownNetworkElementsList = withStyles(styles)(connect(mapProps, mapDispatch)(UnknownNetworkElementsListComponent));
-export default UnknownNetworkElementsList;
diff --git a/sdnr/wt/odlux/apps/connectApp/src/handlers/connectAppRootHandler.tsx b/sdnr/wt/odlux/apps/connectApp/src/handlers/connectAppRootHandler.tsx
deleted file mode 100644
index 1c27f4b32..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/handlers/connectAppRootHandler.tsx
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { combineActionHandler } from '../../../../framework/src/flux/middleware';
-import { IRequiredNetworkElementsState, requiredNetworkElementsActionHandler } from './requiredNetworkElementsHandler';
-import { IMountedNetworkElementsState, mountedNetworkElementsActionHandler } from './mountedNetworkElementsHandler';
-import { IConnectionStatusLogState, connectionStatusLogActionHandler } from './connectionStatusLogHandler';
-
-export interface IConnectAppStoreState {
- requiredNetworkElements: IRequiredNetworkElementsState;
- mountedNetworkElements: IMountedNetworkElementsState;
- connectionStatusLog: IConnectionStatusLogState;
-}
-
-declare module '../../../../framework/src/store/applicationStore' {
- interface IApplicationStoreState {
- connect: IConnectAppStoreState
- }
-}
-
-const actionHandlers = {
- requiredNetworkElements: requiredNetworkElementsActionHandler,
- mountedNetworkElements: mountedNetworkElementsActionHandler,
- connectionStatusLog: connectionStatusLogActionHandler
-};
-
-export const connectAppRootHandler = combineActionHandler <IConnectAppStoreState>(actionHandlers);
-export default connectAppRootHandler;
diff --git a/sdnr/wt/odlux/apps/connectApp/src/handlers/connectionStatusLogHandler.tsx b/sdnr/wt/odlux/apps/connectApp/src/handlers/connectionStatusLogHandler.tsx
deleted file mode 100644
index 57e1930ed..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/handlers/connectionStatusLogHandler.tsx
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal,IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { ConnectionStatusLogType } from '../models/connectionStatusLog';
-export interface IConnectionStatusLogState extends IExternalTableState<ConnectionStatusLogType> { }
-
-// create eleactic search material data fetch handler
-const connectionStatusLogSearchHandler = createSearchDataHandler<{ event: ConnectionStatusLogType }, ConnectionStatusLogType>('sdnevents_v1/eventlog', null,
- (event) => ({
- _id: event._id,
- timeStamp: event._source.event.timeStamp,
- objectId: event._source.event.objectId,
- type: event._source.event.type,
- elementStatus: event._source.event.type === 'ObjectCreationNotificationXml'
- ? 'mounted'
- : event._source.event.type === 'ObjectDeletionNotificationXml'
- ? 'unmounted'
- : event._source.event.type === 'AttributeValueChangedNotificationXml'
- ? event._source.event.newValue
- : 'unknown',
- newValue: ''
-
- }),
- (name) => `event.${ name }`);
-
-export const {
- actionHandler: connectionStatusLogActionHandler,
- createActions: createConnectionStatusLogActions,
- createProperties: createConnectionStatusLogProperties,
- reloadAction: connectionStatusLogReloadAction,
-
- // set value action, to change a value
-} = createExternal<ConnectionStatusLogType>(connectionStatusLogSearchHandler, appState => appState.connect.connectionStatusLog);
-
diff --git a/sdnr/wt/odlux/apps/connectApp/src/handlers/mountedNetworkElementsHandler.tsx b/sdnr/wt/odlux/apps/connectApp/src/handlers/mountedNetworkElementsHandler.tsx
deleted file mode 100644
index 089268946..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/handlers/mountedNetworkElementsHandler.tsx
+++ /dev/null
@@ -1,111 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { IActionHandler } from '../../../../framework/src/flux/action';
-
-import {
- AddOrUpdateMountedNetworkElement,
- AllMountedNetworkElementsLoadedAction,
- LoadAllMountedNetworkElementsAction,
- RemoveMountedNetworkElement,
- UpdateConnectionStateMountedNetworkElement,
- UpdateRequiredMountedNetworkElement
-} from '../actions/mountedNetworkElementsActions';
-
-import { MountedNetworkElementType } from '../models/mountedNetworkElements';
-
-export interface IMountedNetworkElementsState {
- elements: MountedNetworkElementType[];
- busy: boolean;
-}
-
-const mountedNetworkElementsStateInit: IMountedNetworkElementsState = {
- elements: [],
- busy: false
-};
-
-export const mountedNetworkElementsActionHandler: IActionHandler<IMountedNetworkElementsState> = (state = mountedNetworkElementsStateInit, action) => {
- if (action instanceof LoadAllMountedNetworkElementsAction) {
-
- state = {
- ...state,
- busy: true
- };
-
- } else if (action instanceof AllMountedNetworkElementsLoadedAction) {
- if (!action.error && action.mountedNetworkElements) {
- state = {
- ...state,
- elements: action.mountedNetworkElements,
- busy: false
- };
- } else {
- state = {
- ...state,
- busy: false
- };
- }
- } else if (action instanceof AddOrUpdateMountedNetworkElement) {
- if (!action.mountedNetworkElement) return state; // should handle error here
- const index = state.elements.findIndex(el => el.mountId === (action.mountedNetworkElement && action.mountedNetworkElement.mountId));
- if (index > -1) {
- state = {
- ...state,
- elements: [
- ...state.elements.slice(0, index),
- action.mountedNetworkElement,
- ...state.elements.slice(index + 1)
- ]
- }
- } else {
- state = {
- ...state,
- elements: [...state.elements, action.mountedNetworkElement],
- }
- };
- } else if (action instanceof RemoveMountedNetworkElement) {
- state = {
- ...state,
- elements: state.elements.filter(e => e.mountId !== action.mountId),
- };
- } else if (action instanceof UpdateConnectionStateMountedNetworkElement) {
- const index = state.elements.findIndex(el => el.mountId === action.mountId);
- if (index > -1) {
- state = {
- ...state,
- elements: [
- ...state.elements.slice(0, index),
- { ...state.elements[index], connectionStatus: action.mountId },
- ...state.elements.slice(index + 1)
- ]
- }
- }
- } else if (action instanceof UpdateRequiredMountedNetworkElement) {
- const index = state.elements.findIndex(el => el.mountId === action.mountId);
- if (index > -1 && (state.elements[index].required !== action.required)) {
- state = {
- ...state,
- elements: [
- ...state.elements.slice(0, index),
- { ...state.elements[index], required: action.required },
- ...state.elements.slice(index + 1)
- ]
- }
- }
- };
- return state;
-}; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/connectApp/src/handlers/requiredNetworkElementsHandler.tsx b/sdnr/wt/odlux/apps/connectApp/src/handlers/requiredNetworkElementsHandler.tsx
deleted file mode 100644
index 10b3b1b07..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/handlers/requiredNetworkElementsHandler.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal,IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { RequiredNetworkElementType } from '../models/requiredNetworkElements';
-export interface IRequiredNetworkElementsState extends IExternalTableState<RequiredNetworkElementType> { }
-
-// create eleactic search material data fetch handler
-const requiredNetworkElementsSearchHandler = createSearchDataHandler<RequiredNetworkElementType>('mwtn/required-networkelement');
-
-export const {
- actionHandler: requiredNetworkElementsActionHandler,
- createActions: createRequiredNetworkElementsActions,
- createProperties: createRequiredNetworkElementsProperties,
- reloadAction: requiredNetworkElementsReloadAction,
-
- // set value action, to change a value
-} = createExternal<RequiredNetworkElementType>(requiredNetworkElementsSearchHandler, appState => appState.connect.requiredNetworkElements);
-
diff --git a/sdnr/wt/odlux/apps/connectApp/src/index.html b/sdnr/wt/odlux/apps/connectApp/src/index.html
deleted file mode 100644
index 0f95005de..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/index.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <link rel="stylesheet" href="./vendor.css" >
- <title>connectApp</title>
-</head>
-
-<body>
- <div id="app"></div>
- <script type="text/javascript" src="./require.js"></script>
- <script type="text/javascript" src="./config.js"></script>
- <script>
- // run the application
- require(["app","connectApp", "faultApp"], function (app, connectApp, faultApp) {
- connectApp.register();
- faultApp.register();
- app("./app.tsx").runApplication();
- });
- </script>
-</body>
-
-</html> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/connectApp/src/models/connectionStatusLog.ts b/sdnr/wt/odlux/apps/connectApp/src/models/connectionStatusLog.ts
deleted file mode 100644
index df43c217a..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/models/connectionStatusLog.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-
-export type ConnectionStatusLogType = {
- _id: string;
- elementStatus: string;
- timeStamp: string;
- objectId: string;
- type: string;
- newValue: string;
-}
-
diff --git a/sdnr/wt/odlux/apps/connectApp/src/models/mountedNetworkElements.ts b/sdnr/wt/odlux/apps/connectApp/src/models/mountedNetworkElements.ts
deleted file mode 100644
index 0be38a615..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/models/mountedNetworkElements.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { NetworkElementBaseType } from "./networkElementBase";
-
-/**
-* Represents data of an mounted network elements.
-*/
-export type MountedNetworkElementType = NetworkElementBaseType & {
- connectionStatus: string;
- required: boolean;
- capabilities: { module: string, revision: string }[];
-};
-
diff --git a/sdnr/wt/odlux/apps/connectApp/src/models/networkElementBase.ts b/sdnr/wt/odlux/apps/connectApp/src/models/networkElementBase.ts
deleted file mode 100644
index 39278a8e1..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/models/networkElementBase.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export type NetworkElementBaseType = {
- mountId: string,
- host: string,
- port: number,
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/connectApp/src/models/requiredNetworkElements.ts b/sdnr/wt/odlux/apps/connectApp/src/models/requiredNetworkElements.ts
deleted file mode 100644
index 42d22afc0..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/models/requiredNetworkElements.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { NetworkElementBaseType } from "./networkElementBase";
-
-/**
-* Represents data of Required Network Elements.
-*/
-export type RequiredNetworkElementType = NetworkElementBaseType & {
- username?: string;
- password?: string;
-}
-
diff --git a/sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts b/sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts
deleted file mode 100644
index 357245d46..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export interface UnavailableCapability {
- capability: string;
- "failure-reason": string;
-}
-
-export interface NetconfNodeTopologyUnavailableCapabilities {
- "unavailable-capability": UnavailableCapability[];
-}
-
-export interface AvailableCapability {
- "capability-origin": string;
- capability: string;
-}
-
-export interface NetconfNodeTopologyAvailableCapabilities {
- "available-capability": AvailableCapability[];
-}
-
-export interface NetconfNodeTopologyClusteredConnectionStatus {
- "netconf-master-node": string
-}
-
-export interface TopologyNode {
- "node-id": string;
- "netconf-node-topology:clustered-connection-status": NetconfNodeTopologyClusteredConnectionStatus;
- "netconf-node-topology:unavailable-capabilities": NetconfNodeTopologyUnavailableCapabilities;
- "netconf-node-topology:available-capabilities": NetconfNodeTopologyAvailableCapabilities;
- "netconf-node-topology:host": string;
- "netconf-node-topology:connection-status": string;
- "netconf-node-topology:port": number;
-}
-
-export interface Topology {
- "topology-id": string;
- node: TopologyNode[];
-}
diff --git a/sdnr/wt/odlux/apps/connectApp/src/plugin.tsx b/sdnr/wt/odlux/apps/connectApp/src/plugin.tsx
deleted file mode 100644
index aa08e7b15..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/plugin.tsx
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-
-import { faPlug } from '@fortawesome/free-solid-svg-icons';
-
-import applicationManager from '../../../framework/src/services/applicationManager';
-import { subscribe, IFormatedMessage } from '../../../framework/src/services/notificationService';
-
-import connectAppRootHandler from './handlers/connectAppRootHandler';
-import ConnectApplication from './views/connectView';
-
-import {
- addMountedNetworkElementAsyncActionCreator,
- updateMountedNetworkElementAsyncActionCreator,
- loadAllMountedNetworkElementsAsync
-} from './actions/mountedNetworkElementsActions';
-
-import { AddSnackbarNotification } from '../../../framework/src/actions/snackbarActions';
-
-type ObjectNotification = {
- counter: string;
- nodeName: string;
- objectId: string;
- timeStamp: string;
-}
-
-export function register() {
- const applicationApi = applicationManager.registerApplication({
- name: "connect",
- icon: faPlug,
- rootComponent: ConnectApplication,
- rootActionHandler: connectAppRootHandler,
- menuEntry: "Connect"
- });
-
- const updateAllMountedNetworkElements = () => {
- applicationApi.applicationStoreInitialized.then(applicationStore => { applicationStore.dispatch(loadAllMountedNetworkElementsAsync); })
- };
-
- applicationApi.loginEvent.addHandler(updateAllMountedNetworkElements);
- updateAllMountedNetworkElements();
-
- // subscribe to the websocket notifications
- subscribe<ObjectNotification & IFormatedMessage>(["ObjectCreationNotification", "ObjectDeletionNotification", "AttributeValueChangedNotification"], (msg => {
- const store = applicationApi.applicationStore;
- if (msg && msg.notifType === "ObjectCreationNotification" && store) {
- store.dispatch(addMountedNetworkElementAsyncActionCreator(msg.objectId));
- store.dispatch(new AddSnackbarNotification({ message: `Adding network element [${msg.objectId}]`, options: { variant: 'info' } }));
- } else if (msg && (msg.notifType === "ObjectDeletionNotification" || msg.notifType === "AttributeValueChangedNotification") && store) {
- store.dispatch(new AddSnackbarNotification({ message: `Updating network element [${msg.objectId}]`, options: { variant: 'info' } }));
- store.dispatch(updateMountedNetworkElementAsyncActionCreator(msg.objectId));
- }
- }));
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/connectApp/src/services/connectService.ts b/sdnr/wt/odlux/apps/connectApp/src/services/connectService.ts
deleted file mode 100644
index b50a06ee1..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/services/connectService.ts
+++ /dev/null
@@ -1,214 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { RequiredNetworkElementType } from '../models/requiredNetworkElements';
-import { MountedNetworkElementType } from '../models/mountedNetworkElements';
-import { Topology, TopologyNode } from '../models/topologyNetconf';
-
-import { requestRest } from '../../../../framework/src/services/restService';
-import { Result, HitEntry } from '../../../../framework/src/models/elasticSearch';
-
-
-/**
- * Represents a web api accessor service for all Network Elements actions.
- */
-class ConnectService {
- /**
- * Gets all known required network elements from the backend.
- */
- public async getAllRequiredNetworkElements(): Promise<(RequiredNetworkElementType & { _id: string })[] | null> {
- const path = 'database/mwtn/required-networkelement/_search';
- const query = { "query": { "match_all": {} } };
-
- const result = await requestRest<Result<RequiredNetworkElementType>>(path, { method: "POST", body: JSON.stringify(query) });
- return result && result.hits && result.hits.hits && result.hits.hits.map(ne => ({
- _id: ne._id,
- mountId: ne._source && ne._source.mountId,
- host: ne._source && ne._source.host,
- port: ne._source && ne._source.port,
- username: ne._source && ne._source.username,
- password: ne._source && ne._source.password,
- })) || null;
- }
-
- public async getRequiredNetworkElementByMountId(mountId:string): Promise<(RequiredNetworkElementType & { _id: string }) | null> {
- const path = `database/mwtn/required-networkelement/${mountId}`;
-
- const result = await requestRest<HitEntry<RequiredNetworkElementType> & { found: boolean }>(path, { method: "GET" });
- return result && result.found && result._source && {
- _id: result._id,
- mountId: result._source.mountId,
- host: result._source.host,
- port: result._source.port,
- username: result._source.username,
- password: result._source.password,
- } || null;
- }
-
- /**
- * Inserts data into the required network elements table.
- */
- public async insertRequiredNetworkElement(element: RequiredNetworkElementType): Promise<RequiredNetworkElementType | null> {
- const path = `database/mwtn/required-networkelement/${ element.mountId }`;
- const result = await requestRest<RequiredNetworkElementType>(path, { method: "POST", body: JSON.stringify(element) });
- return result || null;
- }
-
- /**
- * Deletes data from the Required Network Elements backend.
- */
- public async deleteRequiredNetworkElement(element: RequiredNetworkElementType): Promise<RequiredNetworkElementType | null> {
- const path = `database/mwtn/required-networkelement/${ element.mountId }`;
- const result = await requestRest<RequiredNetworkElementType>(path, { method: "DELETE", body: JSON.stringify(element) });
- return result || null;
- }
-
- private static mapTopologyNode = (mountPoint: TopologyNode, required: boolean ) => {
- // handle onfCapabilities
- let onfCapabilities: { module: string, revision: string }[] | undefined = undefined;
-
- const capId = 'netconf-node-topology:available-capabilities';
- if (mountPoint[capId] && mountPoint[capId]['available-capability']) {
- onfCapabilities = mountPoint[capId]['available-capability'].filter((cap) => {
- return cap.capability.includes('?revision=');
- }).map((cap) => {
- return {
- module: cap.capability.split(')')[1],
- revision: cap.capability.split('?revision=')[1].substring(0, 10)
- };
- }).sort((a, b) => {
- if (a.module < b.module) return -1;
- if (a.module > b.module) return 1;
- return 0;
- });
- }
-
- // handle clustered-connection-status
- const statusId = 'netconf-node-topology:clustered-connection-status';
- let client = 'localhost';
-
- if (mountPoint[statusId] && mountPoint[statusId]['netconf-master-node']) {
- let node = mountPoint[statusId]['netconf-master-node'];
- node = node.substring(node.indexOf('@'));
- client = node.substring(1, node.indexOf(':'));
- }
- const mountId = mountPoint["node-id"];
- return {
- mountId: mountId,
- host: mountPoint["netconf-node-topology:host"],
- port: mountPoint["netconf-node-topology:port"],
- connectionStatus: mountPoint['netconf-node-topology:connection-status'],
- capabilities: onfCapabilities || [],
- required: required,
- client
- }
- }
-
- /** Get all mounted network elements and fills the property required according to the database contents. */
- public async getMountedNetworkElementsList(): Promise<MountedNetworkElementType[] | null> {
- const path = 'restconf/operational/network-topology:network-topology/topology/topology-netconf';
-
- const topologyRequestPomise = requestRest<{ topology: Topology[] | null }>(path, { method: "GET" });
- const requiredNetworkElementsPromise = this.getAllRequiredNetworkElements();
-
- const [netconfResponse, requiredNetworkElements] = await Promise.all([topologyRequestPomise, requiredNetworkElementsPromise]);
-
- // process topologyNetconf (get all known network elements)
- const topologyNetconf = netconfResponse && netconfResponse.topology && netconfResponse.topology.find(topology => topology["topology-id"] === 'topology-netconf');
- let mountPoints = topologyNetconf && topologyNetconf.node && topologyNetconf.node.filter(
- mountPoint => mountPoint['node-id'] !== 'controller-config').map(mountedElement => {
- const required = requiredNetworkElements && requiredNetworkElements.some(
- requiredElement => requiredElement.mountId === mountedElement["node-id"]);
- return ConnectService.mapTopologyNode(mountedElement, !!required);
- });
-
- return mountPoints || [];
- }
-
- /** Get one mounted network element. */
- public async getMountedNetworkElementByMountId(mountId: string): Promise<MountedNetworkElementType | null> {
- const path = 'restconf/operational/network-topology:network-topology/topology/topology-netconf/node/' + mountId;
- const getMountedNetworkElementByMountIdPromise = requestRest<{ node: TopologyNode[] | null }>(path, { method: "GET" });
- const getRequiredNetworkElementByMountIdPromise = this.getRequiredNetworkElementByMountId(mountId);
-
- const [mountedNetworkElement, requiredNetworkElement] = await Promise.all([getMountedNetworkElementByMountIdPromise, getRequiredNetworkElementByMountIdPromise]);
- return mountedNetworkElement && mountedNetworkElement.node && ConnectService.mapTopologyNode(mountedNetworkElement.node[0], requiredNetworkElement && requiredNetworkElement.mountId === mountedNetworkElement.node[0]["node-id"] || false) || null;
- }
-
- /** Mounts an required network element. */
- public async mountNetworkElement(networkElement: RequiredNetworkElementType): Promise<boolean> {
- const path = 'restconf/config/network-topology:network-topology/topology/topology-netconf/node/' + networkElement.mountId;
- const mountXml = [
- '<node xmlns="urn:TBD:params:xml:ns:yang:network-topology">',
- `<node-id>${ networkElement.mountId }</node-id>`,
- `<host xmlns="urn:opendaylight:netconf-node-topology">${ networkElement.host }</host>`,
- `<port xmlns="urn:opendaylight:netconf-node-topology">${ networkElement.port }</port>`,
- `<username xmlns="urn:opendaylight:netconf-node-topology">${ networkElement.username }</username>`,
- `<password xmlns="urn:opendaylight:netconf-node-topology">${ networkElement.password }</password>`,
- ' <tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only>',
-
- ' <!-- non-mandatory fields with default values, you can safely remove these if you do not wish to override any of these values-->',
- ' <reconnect-on-changed-schema xmlns="urn:opendaylight:netconf-node-topology">false</reconnect-on-changed-schema>',
- ' <connection-timeout-millis xmlns="urn:opendaylight:netconf-node-topology">20000</connection-timeout-millis>',
- ' <max-connection-attempts xmlns="urn:opendaylight:netconf-node-topology">100</max-connection-attempts>',
- ' <between-attempts-timeout-millis xmlns="urn:opendaylight:netconf-node-topology">2000</between-attempts-timeout-millis>',
- ' <sleep-factor xmlns="urn:opendaylight:netconf-node-topology">1.5</sleep-factor>',
-
- ' <!-- keepalive-delay set to 0 turns off keepalives-->',
- ' <keepalive-delay xmlns="urn:opendaylight:netconf-node-topology">120</keepalive-delay>',
- '</node>'].join('');
-
- try {
- const result = await requestRest<string>(path, {
- method: 'PUT',
- headers: {
- 'Content-Type': 'application/xml',
- 'Accept': 'application/xml'
- },
- body: mountXml
- });
- // expect an empty answer
- return result !== null;
- } catch {
- return false;
- }
- };
-
- /** Unmounts a network element by its id. */
- public async unmountNetworkElement(mountId: string): Promise<boolean> {
- const path = 'restconf/config/network-topology:network-topology/topology/topology-netconf/node/' + mountId;
-
- try {
- const result = await requestRest<string>(path, {
- method: 'DELETE',
- headers: {
- 'Content-Type': 'application/xml',
- 'Accept': 'application/xml'
- },
- });
- // expect an empty answer
- return result !== null;
-
- } catch {
- return false;
- }
- };
-
-
-}
-export const connectService = new ConnectService();
-export default connectService;
diff --git a/sdnr/wt/odlux/apps/connectApp/src/views/connectView.tsx b/sdnr/wt/odlux/apps/connectApp/src/views/connectView.tsx
deleted file mode 100644
index c86b384e1..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src/views/connectView.tsx
+++ /dev/null
@@ -1,116 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import connect, { IDispatcher, Connect } from '../../../../framework/src/flux/connect';
-import { Panel } from '../../../../framework/src/components/material-ui';
-
-import { requiredNetworkElementsReloadAction, createRequiredNetworkElementsActions } from '../handlers/requiredNetworkElementsHandler';
-import { loadAllMountedNetworkElementsAsync } from '../actions/mountedNetworkElementsActions';
-import { connectionStatusLogReloadAction, createConnectionStatusLogActions } from '../handlers/connectionStatusLogHandler';
-
-import { RequiredNetworkElementsList } from '../components/requiredNetworkElements';
-import { ConnectionStatusLog } from '../components/connectionStatusLog';
-import { UnknownNetworkElementsList } from '../components/unknownNetworkElements';
-
-const mapDispatcher = (dispatcher: IDispatcher) => ({
- requiredNetworkElementsActions: createRequiredNetworkElementsActions(dispatcher.dispatch),
- connectionStatusLogActions: createConnectionStatusLogActions(dispatcher.dispatch),
- onLoadUnknownNetworkElements: () => {
- dispatcher.dispatch(loadAllMountedNetworkElementsAsync);
- },
- onLoadRequiredNetworkElements: () => {
- dispatcher.dispatch(requiredNetworkElementsReloadAction);
- },
- onLoadConnectionStatusLog: () => {
- dispatcher.dispatch(connectionStatusLogReloadAction);
- }
-});
-
-type PanelId = null | "RequiredNetworkElements" | "UnknownNetworkElements" | "ConnectionStatusLog";
-
-type ConnectApplicationComponentProps = Connect<undefined, typeof mapDispatcher> ;
-
-type ConnectApplicationComponentState = {
- activePanel: PanelId;
-};
-
-class ConnectApplicationComponent extends React.Component<ConnectApplicationComponentProps, ConnectApplicationComponentState>{
- /**
- * Initialises this instance
- */
- constructor(props: ConnectApplicationComponentProps) {
- super(props);
-
- this.state = {
- activePanel: null
- };
- }
-
- private onTogglePanel = (panelId: PanelId) => {
- const nextActivePanel = panelId === this.state.activePanel ? null : panelId;
- this.setState({
- activePanel: nextActivePanel
- }, () => {
- switch (nextActivePanel) {
- case 'RequiredNetworkElements':
- this.props.onLoadRequiredNetworkElements();
- break;
- case 'UnknownNetworkElements':
- // todo: should we update the application state ?
- break;
- case 'ConnectionStatusLog':
- this.props.onLoadConnectionStatusLog();
- break;
- case null:
- // do nothing if all panels are closed
- break;
- default:
- console.warn("Unknown nextActivePanel [" + nextActivePanel + "] in connectView");
- break;
- }
- });
- };
-
- render(): JSX.Element {
- const { activePanel } = this.state;
-
- return (
- <>
- <Panel activePanel={ activePanel } panelId={ 'RequiredNetworkElements' } onToggle={ this.onTogglePanel } title={ "Required Network Elements" }>
- <RequiredNetworkElementsList />
- </Panel>
- <Panel activePanel={ activePanel } panelId={ 'UnknownNetworkElements' } onToggle={ this.onTogglePanel } title={ "Unknown Network Elements" }>
- <UnknownNetworkElementsList />
- </Panel>
- <Panel activePanel={ activePanel } panelId={ 'ConnectionStatusLog' } onToggle={ this.onTogglePanel } title={ "Connection Status Log" }>
- <ConnectionStatusLog />
- </Panel>
- </>
- );
- };
- public componentDidMount() {
- this.onTogglePanel("RequiredNetworkElements");
- this.props.onLoadUnknownNetworkElements();
- this.props.requiredNetworkElementsActions.onToggleFilter();
- this.props.connectionStatusLogActions.onToggleFilter();
- }
-}
-
-export const ConnectApplication = (connect(undefined, mapDispatcher)(ConnectApplicationComponent));
-export default ConnectApplication; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/connectApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java b/sdnr/wt/odlux/apps/connectApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
deleted file mode 100644
index 1e882fc69..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles;
-
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class MyOdluxBundle extends OdluxBundle {
-
- @Override
- public void initialize() {
- super.initialize();
- }
-
- @Override
- public void clean() {
- super.clean();
- }
-
- @Override
- public String getResourceFileContent(String filename) {
- return super.getResourceFileContent(filename);
- }
-
- @Override
- public boolean hasResource(String filename) {
- return super.hasResource(filename);
- }
-
- @Override
- public void setBundleName(String bundleName) {
- super.setBundleName(bundleName);
- }
-
- @Override
- public void setLoader(OdluxBundleLoader loader) {
- super.setLoader(loader);
- }
-
- @Override
- public String getBundleName() {
- return super.getBundleName();
- }
-
- @Override
- public OdluxBundleLoader getLoader() {
- return super.getLoader();
- }
-
- public MyOdluxBundle() {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/connectApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wt/odlux/apps/connectApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100644
index adc9b777b..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <reference id="loadersvc" availability="mandatory" activation="eager" interface="org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader"/>
-
- <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle">
- <property name="loader" ref="loadersvc"/>
- <property name="bundleName" value="connectApp"/>
- <property name="index" value="0"/>
- </bean>
-</blueprint> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/connectApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java b/sdnr/wt/odlux/apps/connectApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
deleted file mode 100644
index edf68e096..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles.test;
-
-import static org.junit.Assert.*;
-
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.odlux.OdluxBundleLoaderImpl;
-import org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle;
-
-public class TestBundleRes {
-
- @Test
- public void test() {
- OdluxBundleLoaderImpl loader = OdluxBundleLoaderImpl.getInstance();
- MyOdluxBundle b = new MyOdluxBundle();
- b.setLoader(loader);
- b.setIndex(0);
- b.setBundleName("abc");
- b.initialize();
- assertTrue(loader.getNumberOfBundles()==1);
- assertNotNull(b.getLoader());
- assertEquals("abc",b.getBundleName());
- assertTrue(b.hasResource("test.js"));
- assertNotNull(b.getResourceFileContent("test.js"));
- b.clean();
- assertTrue(loader.getNumberOfBundles()==0);
- }
-
-}
diff --git a/sdnr/wt/odlux/apps/connectApp/src2/test/resources/test.js b/sdnr/wt/odlux/apps/connectApp/src2/test/resources/test.js
deleted file mode 100644
index b47fdc39f..000000000
--- a/sdnr/wt/odlux/apps/connectApp/src2/test/resources/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-asdac sad
-as
-d
-sad
- sadfa \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/connectApp/tsconfig.json b/sdnr/wt/odlux/apps/connectApp/tsconfig.json
deleted file mode 100644
index a66b5d828..000000000
--- a/sdnr/wt/odlux/apps/connectApp/tsconfig.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./src",
- "outDir": "./dist",
- "sourceMap": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": false,
- "allowUnreachableCode": false,
- "allowUnusedLabels": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "pretty": true,
- "newLine": "LF",
- "module": "es2015",
- "target": "es2016",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "jsx": "preserve",
- "lib": [
- "dom",
- "es2015",
- "es2016"
- ],
- "types": [
- "prop-types",
- "react",
- "react-dom"
- ]
- },
- "exclude": [
- "dist",
- "node_modules"
- ]
-}
diff --git a/sdnr/wt/odlux/apps/connectApp/webpack.config.js b/sdnr/wt/odlux/apps/connectApp/webpack.config.js
deleted file mode 100644
index a70e62976..000000000
--- a/sdnr/wt/odlux/apps/connectApp/webpack.config.js
+++ /dev/null
@@ -1,139 +0,0 @@
-/**
- * Webpack 4 configuration file
- * see https://webpack.js.org/configuration/
- * see https://webpack.js.org/configuration/dev-server/
- */
-
-"use strict";
-
-const path = require("path");
-const webpack = require("webpack");
-const CopyWebpackPlugin = require("copy-webpack-plugin");
-const TerserPlugin = require('terser-webpack-plugin');
-
-// const __dirname = (path => path.replace(/^([a-z]\:)/, c => c.toUpperCase()))(process.__dirname());
-
-module.exports = (env) => {
- const distPath = path.resolve(__dirname, env === "release" ? "." : "../..", "dist");
- const frameworkPath = path.resolve(__dirname, env === "release" ? "../../framework" : "../..", "dist");
- return [{
- name: "App",
-
- mode: "none", //disable default behavior
-
- target: "web",
-
- context: path.resolve(__dirname, "src"),
-
- entry: {
- connectApp: ["./plugin.tsx"]
- },
-
- devtool: env === "release" ? false : "source-map",
-
- resolve: {
- extensions: [".ts", ".tsx", ".js", ".jsx"]
- },
-
- output: {
- path: distPath,
- filename: "[name].js",
- library: "[name]",
- libraryTarget: "umd2",
- chunkFilename: "[name].js"
- },
- module: {
- rules: [{
- test: /\.tsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }, {
- loader: "ts-loader"
- }]
- }, {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }]
- }]
- },
-
- optimization: {
- noEmitOnErrors: true,
- namedModules: env !== "release",
- minimize: env === "release",
- minimizer: env !== "release" ? [] : [new TerserPlugin({
- terserOptions: {
- warnings: false, // false, true, "verbose"
- compress: {
- drop_console: true,
- drop_debugger: true,
- }
- }
- })],
- },
- plugins: [
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
- ...(env === "release") ? [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'production'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- ] : [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'development'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- new CopyWebpackPlugin([{
- from: 'index.html',
- to: distPath
- }]),
- ]
- ],
-
- devServer: {
- public: "http://localhost:3100",
- contentBase: frameworkPath,
-
- compress: true,
- headers: {
- "Access-Control-Allow-Origin": "*"
- },
- host: "0.0.0.0",
- port: 3100,
- disableHostCheck: true,
- historyApiFallback: true,
- inline: true,
- hot: false,
- quiet: false,
- stats: {
- colors: true
- },
- proxy: {
- "/restconf": {
- target: "http://localhost:8181",
- secure: false
- },
- "/database": {
- target: "http://localhost:8181",
- secure: false
- }
- }
- }
- }];
-}
diff --git a/sdnr/wt/odlux/apps/demoApp/.babelrc b/sdnr/wt/odlux/apps/demoApp/.babelrc
deleted file mode 100644
index 3d8cd1260..000000000
--- a/sdnr/wt/odlux/apps/demoApp/.babelrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "presets": [
- ["@babel/preset-react"],
- ["@babel/preset-env", {
- "targets": {
- "chrome": "66"
- },
- "spec": true,
- "loose": false,
- "modules": false,
- "debug": false,
- "useBuiltIns": "usage",
- "forceAllTransforms": true
- }]
- ],
- "plugins": []
-}
diff --git a/sdnr/wt/odlux/apps/demoApp/package.json b/sdnr/wt/odlux/apps/demoApp/package.json
deleted file mode 100644
index 4cf46b9e1..000000000
--- a/sdnr/wt/odlux/apps/demoApp/package.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "name": "@odlux/demo-app",
- "version": "0.1.0",
- "description": "A react based modular UI framework",
- "main": "index.js",
- "scripts": {
- "start": "webpack-dev-server --env debug",
- "build": "webpack --env release --config webpack.config.js",
- "build:dev": "webpack --env debug --config webpack.config.js"
- },
- "repository": {
- "type": "git",
- "url": "https://git.mfico.de/highstreet-technologies/odlux.git"
- },
- "keywords": [
- "reactjs",
- "redux",
- "ui",
- "framework"
- ],
- "author": "Matthias Fischer",
- "license": "Apache-2.0",
- "dependencies": {
- "@odlux/framework": "*"
- },
- "peerDependencies": {
- "@types/react": "16.4.14",
- "@types/react-dom": "16.0.8",
- "@types/react-router-dom": "4.3.1",
- "@material-ui/core": "3.8.3",
- "@material-ui/icons": "3.0.2",
- "@types/classnames": "2.2.6",
- "@types/flux": "3.1.8",
- "@types/jquery": "3.3.10",
- "jquery": "3.3.1",
- "react": "16.5.2",
- "react-dom": "16.5.2",
- "react-router-dom": "4.3.1"
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/demoApp/pom.xml b/sdnr/wt/odlux/apps/demoApp/pom.xml
deleted file mode 100644
index 32c8cc2c5..000000000
--- a/sdnr/wt/odlux/apps/demoApp/pom.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-app-demoApp</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnr-wt-odlux-app-demoApp</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-provider</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <pluginRepositories>
- <pluginRepository>
- <id>highstreet repo</id>
- <url>https://cloud-highstreet-technologies.com/mvn/</url>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <sourceDirectory>src2/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>dist</directory>
- <targetPath>odlux</targetPath>
- </resource>
- <resource>
- <directory>src2/main/resources</directory>
- </resource>
- <resource>
- <directory>src2/test/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>../node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <!-- eclipse bug build bin folder in basedir -->
- <fileset>
- <directory>bin</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src2/test/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>de.jacksitlab</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <!-- optional: default phase is "generate-resources" -->
- <phase>initialize</phase>
- <configuration>
- <nodeVersion>v8.10.0</nodeVersion>
- <yarnVersion>v1.12.3</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>run build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
- <Private-Package/>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/demoApp/src/actions/authorActions.ts b/sdnr/wt/odlux/apps/demoApp/src/actions/authorActions.ts
deleted file mode 100644
index f75075192..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src/actions/authorActions.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { Dispatch } from '../../../../framework/src/flux/store';
-import { AddErrorInfoAction } from '../../../../framework/src/actions/errorActions';
-
-import { IAuthor } from '../models/author';
-import { authorService } from '../services/authorService';
-
-export class ApplicationBaseAction extends Action { }
-
-
-export class LoadAllAuthorsAction extends ApplicationBaseAction {
- constructor() {
- super();
- }
-}
-
-// in React Action is most times a Message
-export class AllAuthorsLoadedAction extends ApplicationBaseAction {
- constructor(public authors: IAuthor[] | null, public error?: string) {
- super();
-
- }
-}
-
-export const loadAllAuthorsAsync = (dispatch: Dispatch) => {
- dispatch(new LoadAllAuthorsAction());
- authorService.getAllAuthors().then(authors => {
- dispatch(new AllAuthorsLoadedAction(authors));
- }, error => {
- dispatch(new AllAuthorsLoadedAction(null, error));
- dispatch(new AddErrorInfoAction(error));
- });
-}
-
diff --git a/sdnr/wt/odlux/apps/demoApp/src/components/counter.tsx b/sdnr/wt/odlux/apps/demoApp/src/components/counter.tsx
deleted file mode 100644
index b47fa4507..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src/components/counter.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-export class Counter extends React.Component<{}, { counter: number }> {
- constructor(props: {}) {
- super(props);
-
- this.state = {
- counter: 0
- };
- }
-
- render() {
- return (
- <button onClick={ () => this.setState({ counter: this.state.counter + 1 }) }>{ this.state.counter }</button>
- )
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/demoApp/src/handlers/demoAppRootHandler.ts b/sdnr/wt/odlux/apps/demoApp/src/handlers/demoAppRootHandler.ts
deleted file mode 100644
index 9ff8450c8..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src/handlers/demoAppRootHandler.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-
-import { combineActionHandler } from '../../../../framework/src/flux/middleware';
-
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-import { listAuthorsHandler, IListAuthors } from './listAuthorsHandler';
-import { editAuthorHandler, IEditAuthor } from './editAuthorHandler';
-
-export interface IDemoAppStoreState {
- listAuthors: IListAuthors;
- editAuthor: IEditAuthor;
-}
-
-declare module '../../../../framework/src/store/applicationStore' {
- interface IApplicationStoreState {
- demo: IDemoAppStoreState
- }
-}
-
-const actionHandlers = {
- listAuthors: listAuthorsHandler,
- editAuthor: editAuthorHandler,
-};
-
-export const demoAppRootHandler = combineActionHandler <IDemoAppStoreState>(actionHandlers);
-export default demoAppRootHandler;
diff --git a/sdnr/wt/odlux/apps/demoApp/src/handlers/editAuthorHandler.ts b/sdnr/wt/odlux/apps/demoApp/src/handlers/editAuthorHandler.ts
deleted file mode 100644
index 34b533cb1..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src/handlers/editAuthorHandler.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { IActionHandler } from '../../../../framework/src/flux/action';
-
-import { IAuthor } from '../models/author';
-export interface IEditAuthor {
- author: IAuthor | null;
- isDirty: boolean;
-}
-
-const editAuthorInit: IEditAuthor = {
- author: null,
- isDirty: false
-};
-
-export const editAuthorHandler: IActionHandler<IEditAuthor> = (state = editAuthorInit, action) => {
- return state;
-};
diff --git a/sdnr/wt/odlux/apps/demoApp/src/handlers/listAuthorsHandler.ts b/sdnr/wt/odlux/apps/demoApp/src/handlers/listAuthorsHandler.ts
deleted file mode 100644
index ca2b6d3c6..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src/handlers/listAuthorsHandler.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { IActionHandler } from '../../../../framework/src/flux/action';
-
-import { IAuthor } from '../models/author';
-import { LoadAllAuthorsAction, AllAuthorsLoadedAction } from '../actions/authorActions';
-
-export interface IListAuthors {
- authors: IAuthor[];
- busy: boolean;
-}
-
-const listAuthorsInit: IListAuthors = {
- authors: [],
- busy: false
-};
-
-export const listAuthorsHandler: IActionHandler<IListAuthors> = (state = listAuthorsInit, action) => {
- if (action instanceof LoadAllAuthorsAction) {
-
- state = {
- ...state,
- busy: true
- };
-
- } else if (action instanceof AllAuthorsLoadedAction) {
- if (!action.error && action.authors) {
- state = {
- ...state,
- authors: action.authors,
- busy: false
- };
- } else {
- state = {
- ...state,
- busy: false
- };
- }
- }
-
- return state;
-}; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/demoApp/src/index.html b/sdnr/wt/odlux/apps/demoApp/src/index.html
deleted file mode 100644
index e85bcbb03..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src/index.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <!-- <link rel="stylesheet" href="./vendor.css" > -->
- <title>Demo App</title>
-</head>
-
-<body>
- <div id="app"></div>
- <script type="text/javascript" src="./require.js"></script>
- <script type="text/javascript" src="./config.js"></script>
- <script>
- // run the application
- require(["app","demoApp"], function (app, demoApp) {
- demoApp.register();
- app("./app.tsx");
- });
- </script>
-</body>
-
-</html> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/demoApp/src/models/author.ts b/sdnr/wt/odlux/apps/demoApp/src/models/author.ts
deleted file mode 100644
index 7e28ae8aa..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src/models/author.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Represents an author.
- */
-export interface IAuthor {
- /**
- * Defines the unique id of the autor.
- */
- id: number;
-
- /**
- * Defines the first name of this author.
- */
- firstName: string;
-
- /**
- * Defines the last name of this author.
- */
- lastName: string;
-}
diff --git a/sdnr/wt/odlux/apps/demoApp/src/plugin.tsx b/sdnr/wt/odlux/apps/demoApp/src/plugin.tsx
deleted file mode 100644
index 4d67c28ac..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src/plugin.tsx
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from "react";
-import { withRouter, RouteComponentProps, Route, Switch, Redirect } from 'react-router-dom';
-
-import { faAddressBook, faRegistered } from '@fortawesome/free-solid-svg-icons';
-
-import applicationManager from '../../../framework/src/services/applicationManager';
-import connect, { Connect } from '../../../framework/src/flux/connect';
-
-import { demoAppRootHandler } from './handlers/demoAppRootHandler';
-
-import AuthorsList from './views/authorsList';
-import EditAuthor from './views/editAuthor';
-
-import { Counter } from './components/counter';
-
-type AppProps = RouteComponentProps & Connect;
-
-const App = (props: AppProps) => (
- <Switch>
- <Route exact path={ `${ props.match.path }/authors` } component={AuthorsList} />
- <Route path={ `${ props.match.path }/authors/:authorId` } component={EditAuthor } />
- <Redirect to={ `${ props.match.path }/authors` } />
- </Switch>
-);
-
-const FinalApp = withRouter(connect()(App));
-
-export function register() {
- const applicationApi = applicationManager.registerApplication({
- name: "demo",
- icon: faAddressBook,
- rootComponent: FinalApp,
- rootActionHandler: demoAppRootHandler,
- exportedComponents: { counter: Counter },
- menuEntry: "Demo"
- });
-}
diff --git a/sdnr/wt/odlux/apps/demoApp/src/services/authorService.ts b/sdnr/wt/odlux/apps/demoApp/src/services/authorService.ts
deleted file mode 100644
index 13e4b316c..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src/services/authorService.ts
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { IAuthor } from '../models/author';
-
-import * as $ from 'jquery';
-
-const base_url = 'https://api.mfico.de/v1/authors';
-
-/**
- * Represents a web api accessor service for all author related actions.
- */
-class AuthorService {
-
- /**
- * Gets all known authors from the backend.
- * @returns A promise of the type array of @see {@link IAuthor} containing all known authors.
- */
- public getAllAuthors(): Promise<IAuthor[]> {
- return new Promise((resolve: (value: IAuthor[]) => void, reject: (err: any) => void) => {
- $.ajax({ method: "GET", url: base_url })
- .then((data) => { resolve(data); }, (err) => { reject(err) });
- });
- }
-
- /**
- * Gets an author by its id from the backend.
- * @returns A promise of the type @see {@link IAuthor} containing the author to get.
- */
- public getAuthorById(id: string | number): Promise<IAuthor> {
- return new Promise((resolve: (value: IAuthor) => void, reject: (err: any) => void) => {
- $.ajax({ method: "GET", url: base_url + "/" + id })
- .then((data) => { resolve(data); }, (err) => { reject(err) });
- });
- }
-
-
-/**
- * Saves the given author to the backend api.
- * @returns A promise of the type @see {@link IAuthor} containing the autor returned by the backend api.
- */
- public saveAuthor(author: IAuthor): Promise<IAuthor> {
- return new Promise((resolve: (value: IAuthor) => void, reject: (err: any) => void) => {
- // simulate server save
- window.setTimeout(() => {
- if (Math.random() > 0.8) {
- reject("Could not save author.");
- } else {
- resolve(author);
- }
- }, 800); // simulate a short network delay
- });
- }
-}
-
-// return as a singleton
-export const authorService = new AuthorService();
-export default authorService;
diff --git a/sdnr/wt/odlux/apps/demoApp/src/views/authorsList.tsx b/sdnr/wt/odlux/apps/demoApp/src/views/authorsList.tsx
deleted file mode 100644
index b461aa7bd..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src/views/authorsList.tsx
+++ /dev/null
@@ -1,87 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-import { withRouter, RouteComponentProps } from 'react-router-dom';
-
-import Table from '@material-ui/core/Table';
-import TableBody from '@material-ui/core/TableBody';
-import TableCell from '@material-ui/core/TableCell';
-import TableHead from '@material-ui/core/TableHead';
-import TableRow from '@material-ui/core/TableRow';
-import Paper from '@material-ui/core/Paper'; // means border
-
-import connect from '../../../../framework/src/flux/connect';
-
-import { loadAllAuthorsAsync } from '../actions/authorActions';
-import { IAuthor } from '../models/author';
-
-interface IAuthorsListProps {
- authors: IAuthor[],
- busy: boolean,
- onLoadAllAuthors: () => void
-}
-
-class AuthorsListComponent extends React.Component<RouteComponentProps & IAuthorsListProps> {
-
- render(): JSX.Element {
- const { authors, busy } = this.props;
- return (
- <Paper>
- <Table >
- <TableHead>
- <TableRow>
- <TableCell numeric>Id</TableCell>
- <TableCell >First Name</TableCell>
- <TableCell >Last Name</TableCell>
- </TableRow>
- </TableHead>
- <TableBody>
- { authors.map(author => (
- <TableRow key={ author.id } onClick={ (e) => this.editAuthor(author) }>
- <TableCell>{ author.id }</TableCell>
- <TableCell>{ author.firstName }</TableCell>
- <TableCell>{ author.lastName }</TableCell>
- </TableRow>
- )) }
- </TableBody>
- </Table>
- </Paper>
- );
- };
-
- public componentDidMount() {
- this.props.onLoadAllAuthors();
- }
-
- private editAuthor = (author: IAuthor) => {
- author && this.props.history.push(this.props.match.path + '/' + author.id);
- };
-}
-
-export const AuthorsList = withRouter(
- connect(
- ({ demo: state }) => ({
- authors: state.listAuthors.authors,
- busy: state.listAuthors.busy
- }),
- (dispatcher) => ({
- onLoadAllAuthors: () => {
- dispatcher.dispatch(loadAllAuthorsAsync)
- }
- }))(AuthorsListComponent));
-export default AuthorsList;
diff --git a/sdnr/wt/odlux/apps/demoApp/src/views/editAuthor.tsx b/sdnr/wt/odlux/apps/demoApp/src/views/editAuthor.tsx
deleted file mode 100644
index 92f671234..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src/views/editAuthor.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-import { withRouter, RouteComponentProps } from 'react-router-dom';
-
-type EditAuthorProps = RouteComponentProps<{ authorId: string}>;
-
-class EditAuthorComponent extends React.Component<EditAuthorProps> {
- render(): JSX.Element {
- return (
- <div>
- <h2>Edit Author { this.props.match.params.authorId }</h2>
- </div>
- )
- }
-}
-
-export const EditAuthor = withRouter(EditAuthorComponent);
-export default EditAuthor; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/demoApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java b/sdnr/wt/odlux/apps/demoApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
deleted file mode 100644
index 1e882fc69..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles;
-
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class MyOdluxBundle extends OdluxBundle {
-
- @Override
- public void initialize() {
- super.initialize();
- }
-
- @Override
- public void clean() {
- super.clean();
- }
-
- @Override
- public String getResourceFileContent(String filename) {
- return super.getResourceFileContent(filename);
- }
-
- @Override
- public boolean hasResource(String filename) {
- return super.hasResource(filename);
- }
-
- @Override
- public void setBundleName(String bundleName) {
- super.setBundleName(bundleName);
- }
-
- @Override
- public void setLoader(OdluxBundleLoader loader) {
- super.setLoader(loader);
- }
-
- @Override
- public String getBundleName() {
- return super.getBundleName();
- }
-
- @Override
- public OdluxBundleLoader getLoader() {
- return super.getLoader();
- }
-
- public MyOdluxBundle() {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/demoApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wt/odlux/apps/demoApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100644
index 91f6002ac..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <reference id="loadersvc" availability="mandatory" activation="eager" interface="org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader"/>
-
- <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle">
- <property name="loader" ref="loadersvc"/>
- <property name="bundleName" value="demoApp"/>
- <property name="index" value="999"/>
- </bean>
-</blueprint> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/demoApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java b/sdnr/wt/odlux/apps/demoApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
deleted file mode 100644
index edf68e096..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles.test;
-
-import static org.junit.Assert.*;
-
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.odlux.OdluxBundleLoaderImpl;
-import org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle;
-
-public class TestBundleRes {
-
- @Test
- public void test() {
- OdluxBundleLoaderImpl loader = OdluxBundleLoaderImpl.getInstance();
- MyOdluxBundle b = new MyOdluxBundle();
- b.setLoader(loader);
- b.setIndex(0);
- b.setBundleName("abc");
- b.initialize();
- assertTrue(loader.getNumberOfBundles()==1);
- assertNotNull(b.getLoader());
- assertEquals("abc",b.getBundleName());
- assertTrue(b.hasResource("test.js"));
- assertNotNull(b.getResourceFileContent("test.js"));
- b.clean();
- assertTrue(loader.getNumberOfBundles()==0);
- }
-
-}
diff --git a/sdnr/wt/odlux/apps/demoApp/src2/test/resources/test.js b/sdnr/wt/odlux/apps/demoApp/src2/test/resources/test.js
deleted file mode 100644
index b47fdc39f..000000000
--- a/sdnr/wt/odlux/apps/demoApp/src2/test/resources/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-asdac sad
-as
-d
-sad
- sadfa \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/demoApp/tsconfig.json b/sdnr/wt/odlux/apps/demoApp/tsconfig.json
deleted file mode 100644
index a66b5d828..000000000
--- a/sdnr/wt/odlux/apps/demoApp/tsconfig.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./src",
- "outDir": "./dist",
- "sourceMap": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": false,
- "allowUnreachableCode": false,
- "allowUnusedLabels": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "pretty": true,
- "newLine": "LF",
- "module": "es2015",
- "target": "es2016",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "jsx": "preserve",
- "lib": [
- "dom",
- "es2015",
- "es2016"
- ],
- "types": [
- "prop-types",
- "react",
- "react-dom"
- ]
- },
- "exclude": [
- "dist",
- "node_modules"
- ]
-}
diff --git a/sdnr/wt/odlux/apps/demoApp/webpack.config.js b/sdnr/wt/odlux/apps/demoApp/webpack.config.js
deleted file mode 100644
index 61dd8f6f6..000000000
--- a/sdnr/wt/odlux/apps/demoApp/webpack.config.js
+++ /dev/null
@@ -1,134 +0,0 @@
-/**
- * Webpack 4 configuration file
- * see https://webpack.js.org/configuration/
- * see https://webpack.js.org/configuration/dev-server/
- */
-
-"use strict";
-
-const path = require("path");
-const webpack = require("webpack");
-const CopyWebpackPlugin = require("copy-webpack-plugin");
-const TerserPlugin = require('terser-webpack-plugin');
-
-// const __dirname = (path => path.replace(/^([a-z]\:)/, c => c.toUpperCase()))(process.__dirname());
-
-module.exports = (env) => {
- const distPath = path.resolve(__dirname, env === "release" ? "." : "../..", "dist");
- const frameworkPath = path.resolve(__dirname, env === "release" ? "../../framework" : "../..", "dist");
- return [{
- name: "App",
-
- mode: "none", //disable default behavior
-
- target: "web",
-
- context: path.resolve(__dirname, "src"),
-
- entry: {
- demoApp: ["./plugin.tsx"]
- },
-
- devtool: env === "release" ? false : "source-map",
-
- resolve: {
- extensions: [".ts", ".tsx", ".js", ".jsx"]
- },
-
- output: {
- path: distPath,
- filename: "[name].js",
- library: "[name]",
- libraryTarget: "umd2",
- chunkFilename: "[name].js"
- },
- module: {
- rules: [{
- test: /\.tsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }, {
- loader: "ts-loader"
- }]
- }, {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }]
- }]
- },
- optimization: {
- noEmitOnErrors: true,
- namedModules: env !== "release",
- minimize: env === "release",
- minimizer: env !== "release" ? [] : [new TerserPlugin({
- terserOptions: {
- warnings: false, // false, true, "verbose"
- compress: {
- drop_console: true,
- drop_debugger: true,
- }
- }
- })],
- },
- plugins: [
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
- ...(env === "release") ? [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'production'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- ] : [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'development'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- new CopyWebpackPlugin([{
- from: 'index.html',
- to: distPath
- }]),
- ]
- ],
-
- devServer: {
- public: "http://localhost:3100",
- contentBase: frameworkPath,
-
- compress: true,
- headers: {
- "Access-Control-Allow-Origin": "*"
- },
- host: "0.0.0.0",
- port: 3100,
- disableHostCheck: true,
- historyApiFallback: true,
- inline: true,
- hot: false,
- quiet: false,
- stats: {
- colors: true
- },
- proxy: {
- "/api": {
- target: "http://localhost:3001",
- secure: false
- }
- }
- }
- }];
-}
diff --git a/sdnr/wt/odlux/apps/faultApp/.babelrc b/sdnr/wt/odlux/apps/faultApp/.babelrc
deleted file mode 100644
index 3d8cd1260..000000000
--- a/sdnr/wt/odlux/apps/faultApp/.babelrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "presets": [
- ["@babel/preset-react"],
- ["@babel/preset-env", {
- "targets": {
- "chrome": "66"
- },
- "spec": true,
- "loose": false,
- "modules": false,
- "debug": false,
- "useBuiltIns": "usage",
- "forceAllTransforms": true
- }]
- ],
- "plugins": []
-}
diff --git a/sdnr/wt/odlux/apps/faultApp/package.json b/sdnr/wt/odlux/apps/faultApp/package.json
deleted file mode 100644
index be7bf6d02..000000000
--- a/sdnr/wt/odlux/apps/faultApp/package.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "name": "@odlux/fault-app",
- "version": "0.1.0",
- "description": "A react based modular UI to demo the fault management.",
- "main": "index.js",
- "scripts": {
- "start": "webpack-dev-server --env debug",
- "build": "webpack --env release --config webpack.config.js",
- "build:dev": "webpack --env debug --config webpack.config.js"
- },
- "repository": {
- "type": "git",
- "url": "https://git.mfico.de/highstreet-technologies/odlux.git"
- },
- "keywords": [
- "reactjs",
- "redux",
- "ui",
- "framework"
- ],
- "author": "Matthias Fischer",
- "license": "Apache-2.0",
- "dependencies": {
- "@odlux/framework": "*"
- },
- "peerDependencies": {
- "@types/react": "16.4.14",
- "@types/react-dom": "16.0.8",
- "@types/react-router-dom": "4.3.1",
- "@material-ui/core": "3.8.3",
- "@material-ui/icons": "3.0.2",
- "@types/classnames": "2.2.6",
- "@types/flux": "3.1.8",
- "@types/jquery": "3.3.10",
- "jquery": "3.3.1",
- "react": "16.5.2",
- "react-dom": "16.5.2",
- "react-router-dom": "4.3.1"
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/faultApp/pom.xml b/sdnr/wt/odlux/apps/faultApp/pom.xml
deleted file mode 100644
index fc9e9762b..000000000
--- a/sdnr/wt/odlux/apps/faultApp/pom.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-app-faultApp</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnr-wt-odlux-app-faultApp</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-provider</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <pluginRepositories>
- <pluginRepository>
- <id>highstreet repo</id>
- <url>https://cloud-highstreet-technologies.com/mvn/</url>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <sourceDirectory>src2/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>dist</directory>
- <targetPath>odlux</targetPath>
- </resource>
- <resource>
- <directory>src2/main/resources</directory>
- </resource>
- <resource>
- <directory>src2/test/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>../node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <!-- eclipse bug build bin folder in basedir -->
- <fileset>
- <directory>bin</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src2/test/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>de.jacksitlab</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <!-- optional: default phase is "generate-resources" -->
- <phase>initialize</phase>
- <configuration>
- <nodeVersion>v8.10.0</nodeVersion>
- <yarnVersion>v1.12.3</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>run build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
- <Private-Package/>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/faultApp/src/actions/notificationActions.ts b/sdnr/wt/odlux/apps/faultApp/src/actions/notificationActions.ts
deleted file mode 100644
index b990536e4..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/actions/notificationActions.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-
-import { Fault } from '../models/fault';
-
-export class FaultApplicationBaseAction extends Action { }
-
-
-export class AddFaultNotificationAction extends FaultApplicationBaseAction {
- constructor(public fault:Fault) {
- super();
- }
-}
-
-export class ResetFaultNotificationsAction extends FaultApplicationBaseAction {
-
-}
diff --git a/sdnr/wt/odlux/apps/faultApp/src/actions/panelChangeActions.ts b/sdnr/wt/odlux/apps/faultApp/src/actions/panelChangeActions.ts
deleted file mode 100644
index f032c139a..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/actions/panelChangeActions.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { PanelId } from '../models/panelId';
-
-export class SetPanelAction extends Action {
- constructor(public panelId: PanelId) {
- super();
- }
-}
-
diff --git a/sdnr/wt/odlux/apps/faultApp/src/actions/statusActions.ts b/sdnr/wt/odlux/apps/faultApp/src/actions/statusActions.ts
deleted file mode 100644
index 8a3633243..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/actions/statusActions.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { FaultApplicationBaseAction } from './notificationActions';
-import { getFaultStateFromDatabase } from '../services/faultStatusService';
-import { Dispatch } from '../../../../framework/src/flux/store';
-
-
-export class SetFaultStatusAction extends FaultApplicationBaseAction {
- constructor (public criticalFaults: number, public majorFaults: number, public minorFaults: number, public warnings: number) {
- super();
- }
-}
-
-
-export const refreshFaultStatusAsyncAction = async (dispatch: Dispatch ) => {
- const result = await getFaultStateFromDatabase().catch(_=>null);
- if (result) {
- const statusAction = new SetFaultStatusAction(
- result["Critical"] || 0,
- result["Major"] || 0,
- result["Minor"] || 0,
- result["Warning"] || 0
- );
- dispatch(statusAction);
- return;
- }
- dispatch(new SetFaultStatusAction(0, 0, 0, 0));
-}
diff --git a/sdnr/wt/odlux/apps/faultApp/src/components/faultStatus.tsx b/sdnr/wt/odlux/apps/faultApp/src/components/faultStatus.tsx
deleted file mode 100644
index 780e61d7a..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/components/faultStatus.tsx
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { withStyles, WithStyles, createStyles, Theme } from '@material-ui/core/styles';
-import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons'; // select app icon
-
-import connect, { Connect } from '../../../../framework/src/flux/connect';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-import Typography from '@material-ui/core/Typography';
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-
-const styles = (theme: Theme) => createStyles({
- icon: {
- marginLeft: 8,
- marginRight: 8
- },
- critical: {
- color: "red"
- },
- major: {
- color: "orange"
- },
- minor: {
- color: "#f7f700"
- },
- warning: {
- color: "#428bca"
- }
-});
-
-const mapProps = (state: IApplicationStoreState) => ({
- faultStatus: state.fault.faultStatus,
-});
-
-
-type FaultStatusComponentProps = & WithStyles<typeof styles> & Connect<typeof mapProps>;
-
-class FaultStatusComponent extends React.Component<FaultStatusComponentProps> {
- render(): JSX.Element {
- const { classes, faultStatus } = this.props;
-
- return (
- <Typography variant="body1" color="inherit" >
- Alarm status: <FontAwesomeIcon className={`${classes.icon} ${classes.critical}`} icon={faExclamationTriangle} /> { faultStatus.critical } |
- <FontAwesomeIcon className={`${classes.icon} ${classes.major}`} icon={faExclamationTriangle} /> { faultStatus.major } |
- <FontAwesomeIcon className={`${classes.icon} ${classes.minor}`} icon={faExclamationTriangle} /> { faultStatus.minor } |
- <FontAwesomeIcon className={`${classes.icon} ${classes.warning}`} icon={faExclamationTriangle} /> { faultStatus.warning } |
- </Typography>
- );
- };
-}
-
-export const FaultStatus = withStyles(styles)(connect(mapProps)(FaultStatusComponent));
-export default FaultStatus; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/faultApp/src/handlers/alarmLogEntriesHandler.ts b/sdnr/wt/odlux/apps/faultApp/src/handlers/alarmLogEntriesHandler.ts
deleted file mode 100644
index be41a51b2..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/handlers/alarmLogEntriesHandler.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal,IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { Fault, FaultLog } from '../models/fault';
-
-export interface IAlarmLogEntriesState extends IExternalTableState<Fault> { }
-
-// create eleactic search material data fetch handler
-const alarmLogEntriesSearchHandler = createSearchDataHandler<FaultLog, Fault>(
- 'sdnevents/faultlog',
- null,
- (hit) => ({ _id: hit._id, ...hit._source.fault }),
- (name) => `fault.${ name }`
-);
-
-export const {
- actionHandler: alarmLogEntriesActionHandler,
- createActions: createAlarmLogEntriesActions,
- createProperties: createAlarmLogEntriesProperties,
- reloadAction: alarmLogEntriesReloadAction,
-
- // set value action, to change a value
-} = createExternal<Fault>(alarmLogEntriesSearchHandler, appState => appState.fault.alarmLogEntries);
-
diff --git a/sdnr/wt/odlux/apps/faultApp/src/handlers/currentProblemsHandler.ts b/sdnr/wt/odlux/apps/faultApp/src/handlers/currentProblemsHandler.ts
deleted file mode 100644
index 760dbeadc..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/handlers/currentProblemsHandler.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal,IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { FaultResult, Fault } from '../models/fault';
-
-export interface ICurrentProblemsState extends IExternalTableState<Fault> { }
-
-// create eleactic search material data fetch handler
-const currentProblemsSearchHandler = createSearchDataHandler<FaultResult, Fault>(
- 'sdnevents/faultcurrent',
- null,
- (hit) => ({ _id: hit._id, ...hit._source.faultCurrent }),
- (name) => `faultCurrent.${name}`
- );
-
-export const {
- actionHandler: currentProblemsActionHandler,
- createActions: createCurrentProblemsActions,
- createProperties: createCurrentProblemsProperties,
- reloadAction: currentProblemsReloadAction,
-
- // set value action, to change a value
-} = createExternal<Fault>(currentProblemsSearchHandler, appState => appState.fault.currentProblems);
-
diff --git a/sdnr/wt/odlux/apps/faultApp/src/handlers/faultAppRootHandler.ts b/sdnr/wt/odlux/apps/faultApp/src/handlers/faultAppRootHandler.ts
deleted file mode 100644
index 22a9a58a2..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/handlers/faultAppRootHandler.ts
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// main state handler
-
-import { combineActionHandler } from '../../../../framework/src/flux/middleware';
-
-// ** do not remove **
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import { IActionHandler } from '../../../../framework/src/flux/action';
-
-import { IFaultNotifications, faultNotificationsHandler } from './notificationsHandler';
-import { ICurrentProblemsState, currentProblemsActionHandler } from './currentProblemsHandler';
-import { IAlarmLogEntriesState, alarmLogEntriesActionHandler } from './alarmLogEntriesHandler';
-import { SetPanelAction } from '../actions/panelChangeActions';
-import { IFaultStatus, faultStatusHandler } from './faultStatusHandler';
-
-export interface IFaultAppStoreState {
- currentProblems: ICurrentProblemsState;
- faultNotifications: IFaultNotifications;
- alarmLogEntries: IAlarmLogEntriesState;
- currentOpenPanel: string|null;
- faultStatus: IFaultStatus;
-}
-
-const currentOpenPanelHandler: IActionHandler<string | null> = (state = null, action) => {
- if (action instanceof SetPanelAction) {
- state = action.panelId;
- }
- return state;
-}
-
-declare module '../../../../framework/src/store/applicationStore' {
- interface IApplicationStoreState {
- fault: IFaultAppStoreState;
- }
-}
-
-const actionHandlers = {
- currentProblems: currentProblemsActionHandler,
- faultNotifications: faultNotificationsHandler,
- alarmLogEntries: alarmLogEntriesActionHandler,
- currentOpenPanel: currentOpenPanelHandler,
- faultStatus: faultStatusHandler
-};
-
-export const faultAppRootHandler = combineActionHandler<IFaultAppStoreState>(actionHandlers);
-export default faultAppRootHandler;
diff --git a/sdnr/wt/odlux/apps/faultApp/src/handlers/faultStatusHandler.ts b/sdnr/wt/odlux/apps/faultApp/src/handlers/faultStatusHandler.ts
deleted file mode 100644
index 1c76a4b1a..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/handlers/faultStatusHandler.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { IActionHandler } from "../../../../framework/src/flux/action";
-import { SetFaultStatusAction } from "../actions/statusActions";
-
-export interface IFaultStatus {
- critical: number,
- major: number,
- minor: number,
- warning: number
-}
-
-const faultStatusInit: IFaultStatus = {
- critical: 0,
- major: 0,
- minor: 0,
- warning: 0
-};
-
-export const faultStatusHandler: IActionHandler<IFaultStatus> = (state = faultStatusInit, action) => {
- if (action instanceof SetFaultStatusAction) {
- state = {
- critical: action.criticalFaults,
- major: action.majorFaults,
- minor: action.minorFaults,
- warning: action.warnings
- }
- }
-
- return state;
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/faultApp/src/handlers/notificationsHandler.ts b/sdnr/wt/odlux/apps/faultApp/src/handlers/notificationsHandler.ts
deleted file mode 100644
index 4377a1b0a..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/handlers/notificationsHandler.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { IActionHandler } from '../../../../framework/src/flux/action';
-import { AddFaultNotificationAction, ResetFaultNotificationsAction } from '../actions/notificationActions';
-import { Fault } from '../models/fault';
-
-export interface IFaultNotifications {
- faults: Fault[];
- since: Date;
-}
-
-const faultNotoficationsInit: IFaultNotifications = {
- faults: [],
- since: new Date()
-};
-
-export const faultNotificationsHandler: IActionHandler<IFaultNotifications> = (state = faultNotoficationsInit, action) => {
- if (action instanceof AddFaultNotificationAction) {
- state = {
- ...state,
- faults: [...state.faults, action.fault]
- };
- } else if (action instanceof ResetFaultNotificationsAction){
- state = {
- ...state,
- faults: [],
- since: new Date()
- };
- }
-
- return state;
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/faultApp/src/index.html b/sdnr/wt/odlux/apps/faultApp/src/index.html
deleted file mode 100644
index a2a0830b3..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/index.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <!-- <link rel="stylesheet" href="./vendor.css"> -->
- <title>Minimal App</title>
-</head>
-
-<body>
- <div id="app"></div>
- <script type="text/javascript" src="./require.js"></script>
- <script type="text/javascript" src="./config.js"></script>
- <script>
- // run the application
- require(["app", "connectApp", "faultApp", "maintenanceApp", "configurationApp", "helpApp"], function (app, connectApp, faultApp, maintenanceApp, configurationApp, helpApp) {
- connectApp.register();
- faultApp.register();
- configurationApp.register();
- maintenanceApp.register();
- helpApp.register();
- app("./app.tsx").runApplication();
- });
- </script>
-</body>
-
-</html> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/faultApp/src/models/fault.ts b/sdnr/wt/odlux/apps/faultApp/src/models/fault.ts
deleted file mode 100644
index 153e8def3..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/models/fault.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export type FaultType = {
- nodeName: string;
- counter: string;
- timeStamp: string;
- objectId: string;
- problem: string;
- severity: null | 'Warning' | 'Minor' | 'Major' | 'Critical' ;
- type: string;
-}
-export type FaultResult = { faultCurrent: FaultType };
-
-export type FaultLog = { fault: FaultType };
-
-export type Fault = FaultType & { _id: string };
diff --git a/sdnr/wt/odlux/apps/faultApp/src/models/panelId.ts b/sdnr/wt/odlux/apps/faultApp/src/models/panelId.ts
deleted file mode 100644
index 186aa53d9..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/models/panelId.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export type PanelId = null | "CurrentProblem" | "AlarmNotifications" | "AlarmLog"; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/faultApp/src/plugin.tsx b/sdnr/wt/odlux/apps/faultApp/src/plugin.tsx
deleted file mode 100644
index eec8c0821..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/plugin.tsx
+++ /dev/null
@@ -1,112 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// app configuration and main entry point for the app
-
-
-import * as React from "react";
-import { withRouter, RouteComponentProps, Route, Switch, Redirect } from 'react-router-dom';
-
-import connect, { Connect, IDispatcher } from '../../../framework/src/flux/connect';
-
-import { faBell } from '@fortawesome/free-solid-svg-icons'; // select app icon
-import applicationManager from '../../../framework/src/services/applicationManager';
-import { subscribe, IFormatedMessage } from '../../../framework/src/services/notificationService';
-import { IApplicationStoreState } from "../../../framework/src/store/applicationStore";
-
-import { faultAppRootHandler } from './handlers/faultAppRootHandler';
-import { FaultApplication } from "./views/faultApplication";
-
-import { Fault } from "./models/fault";
-import { PanelId } from "./models/panelId";
-
-import { SetPanelAction } from "./actions/panelChangeActions";
-import { AddFaultNotificationAction } from "./actions/notificationActions";
-
-import { createCurrentProblemsProperties, createCurrentProblemsActions, currentProblemsReloadAction } from "./handlers/currentProblemsHandler";
-import { FaultStatus } from "./components/faultStatus";
-import { refreshFaultStatusAsyncAction } from "./actions/statusActions";
-
-let currentMountId: string | undefined = undefined;
-
-const mapProps = (state: IApplicationStoreState) => ({
- currentProblemsProperties: createCurrentProblemsProperties(state),
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- currentProblemsActions: createCurrentProblemsActions(dispatcher.dispatch, true),
- setCurrentPanel: (panelId: PanelId) => dispatcher.dispatch(new SetPanelAction(panelId))
-});
-
-const FaultApplicationRouteAdapter = connect(mapProps, mapDisp)((props: RouteComponentProps<{ mountId?: string }> & Connect<typeof mapProps, typeof mapDisp>) => {
- if (currentMountId !== props.match.params.mountId) {
- // route parameter has changed
- currentMountId = props.match.params.mountId || undefined;
- // Hint: This timeout is need, since it is not recommended to change the state while rendering is in progress !
- window.setTimeout(() => {
- if (currentMountId) {
- props.setCurrentPanel("CurrentProblem");
- props.currentProblemsActions.onFilterChanged("objectId", currentMountId);
- props.currentProblemsProperties.showFilter || (props.currentProblemsActions.onToggleFilter());
- props.currentProblemsActions.onRefresh();
- }
- });
- }
- return (
- <FaultApplication />
- )
-});
-
-const App = withRouter((props: RouteComponentProps) => (
- <Switch>
- <Route path={ `${ props.match.path }/:mountId?` } component={ FaultApplicationRouteAdapter } />
- <Redirect to={ `${ props.match.path }` } />
- </Switch>
-));
-
-export function register() {
- const applicationApi = applicationManager.registerApplication({
- name: "fault",
- icon: faBell,
- rootComponent: App,
- rootActionHandler: faultAppRootHandler,
- statusBarElement: FaultStatus,
- menuEntry: "Fault"
- });
-
- // subscribe to the websocket notifications
- subscribe<Fault & IFormatedMessage>("ProblemNotification", (fault => {
- const store = applicationApi && applicationApi.applicationStore;
- if (fault && store) {
- store.dispatch(new AddFaultNotificationAction(fault));
- }
- }));
-
- applicationApi.applicationStoreInitialized.then(store => {
- store.dispatch(currentProblemsReloadAction);
- });
-
- applicationApi.applicationStoreInitialized.then(store => {
- store.dispatch(refreshFaultStatusAsyncAction);
- });
- window.setInterval(() => {
- applicationApi.applicationStoreInitialized.then(store => {
- store.dispatch(refreshFaultStatusAsyncAction);
- });
- }, 15000);
-
-}
diff --git a/sdnr/wt/odlux/apps/faultApp/src/services/faultStatusService.ts b/sdnr/wt/odlux/apps/faultApp/src/services/faultStatusService.ts
deleted file mode 100644
index ed1f3f919..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/services/faultStatusService.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { requestRest } from "../../../../framework/src/services/restService";
-import { Result } from "../../../../framework/src/models/elasticSearch";
-
-export const getFaultStateFromDatabase = async (): Promise < { [key: string]: number } | null > => {
- const path = 'database/sdnevents/faultcurrent/_search';
- const query = {
- "size": 0,
- "aggregations": {
- "severity": {
- "terms": {
- "field": "faultCurrent.severity"
- }
- }
- }
- };
-
- const result = await requestRest<Result<{ severity: { buckets: { key: string, doc_count: number }[] } }>>(path, { method: "POST", body: JSON.stringify(query) });
- return result && result.aggregations && result.aggregations["severity"].buckets.reduce<{ [key: string]: number }>((acc, cur) => {
- acc[cur.key] = cur.doc_count;
- return acc;
- }, {}) || null;
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/faultApp/src/views/faultApplication.tsx b/sdnr/wt/odlux/apps/faultApp/src/views/faultApplication.tsx
deleted file mode 100644
index 9faa3566b..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src/views/faultApplication.tsx
+++ /dev/null
@@ -1,135 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { withRouter, RouteComponentProps } from 'react-router-dom';
-
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
-
-import { MaterialTable, ColumnType, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-import { Panel } from '../../../../framework/src/components/material-ui';
-
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-
-import { Fault } from '../models/fault';
-import { PanelId } from '../models/panelId';
-
-import { createCurrentProblemsProperties, createCurrentProblemsActions, currentProblemsReloadAction } from '../handlers/currentProblemsHandler';
-import { createAlarmLogEntriesProperties, createAlarmLogEntriesActions, alarmLogEntriesReloadAction } from '../handlers/alarmLogEntriesHandler';
-import { SetPanelAction } from '../actions/panelChangeActions';
-
-const mapProps = (state: IApplicationStoreState) => ({
- activePanel: state.fault.currentOpenPanel,
- currentProblemsProperties: createCurrentProblemsProperties(state),
- faultNotifications: state.fault.faultNotifications,
- alarmLogEntriesProperties: createAlarmLogEntriesProperties(state)
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- currentProblemsActions: createCurrentProblemsActions(dispatcher.dispatch),
- alarmLogEntriesActions: createAlarmLogEntriesActions(dispatcher.dispatch),
- reloadCurrentProblems: () => dispatcher.dispatch(currentProblemsReloadAction),
- reloadAlarmLogEntries: () => dispatcher.dispatch(alarmLogEntriesReloadAction),
- setCurrentPanel: (panelId: PanelId) => dispatcher.dispatch(new SetPanelAction(panelId))
-});
-
-type FaultApplicationComponentProps = RouteComponentProps & Connect<typeof mapProps, typeof mapDisp>;
-
-
-const FaultTable = MaterialTable as MaterialTableCtorType<Fault>;
-
-class FaultApplicationComponent extends React.Component<FaultApplicationComponentProps>{
-
- render(): JSX.Element {
-
- const { activePanel } = this.props;
-
- const onTogglePanel = (panelId: PanelId) => {
- const nextActivePanel = panelId === this.props.activePanel ? null : panelId;
- this.props.setCurrentPanel(nextActivePanel);
-
- switch (nextActivePanel) {
- case 'CurrentProblem':
- this.props.reloadCurrentProblems();
- break;
- case 'AlarmLog':
- this.props.reloadAlarmLogEntries();
- break;
- case 'AlarmNotifications':
- case null:
- default:
- // nothing to do
- break;
- }
- };
-
- return (
- <>
- <Panel activePanel={ activePanel } panelId={ 'CurrentProblem' } onToggle={ onTogglePanel } title={ 'Current Problem List' }>
- <FaultTable idProperty={ '_id' } columns={ [
- { property: "icon", title: "", type: ColumnType.custom, customControl: this.renderIcon },
- { property: "timeStamp", type: ColumnType.text, title: "Time Stamp" },
- { property: "nodeName", title: "Node Name", type: ColumnType.text },
- { property: "counter", title: "Count", type: ColumnType.numeric, width: "100px" },
- { property: "objectId", title: "Object Id", type: ColumnType.text } ,
- { property: "problem", title: "Alarm Type", type: ColumnType.text },
- { property: "severity", title: "Severity", type: ColumnType.text, width: "140px" },
- ] } { ...this.props.currentProblemsProperties } { ...this.props.currentProblemsActions } />
- </Panel>
- <Panel activePanel={ activePanel } panelId={ 'AlarmNotifications' } onToggle={ onTogglePanel } title={ `Alarm Notifications ${this.props.faultNotifications.faults.length} since ${this.props.faultNotifications.since}` }>
- <FaultTable rows={ this.props.faultNotifications.faults } asynchronus columns={ [
- { property: "icon", title: "", type: ColumnType.custom, customControl: this.renderIcon },
- { property: "timeStamp", title: "Time Stamp" },
- { property: "nodeName", title: "Node Name" },
- { property: "counter", title: "Count", width: "100px" },
- { property: "objectId", title: "Object Id" },
- { property: "problem", title: "Alarm Type" },
- { property: "severity", title: "Severity", width: "140px" },
- ] } idProperty={ '_id' } />
- </Panel>
- <Panel activePanel={ activePanel } panelId={ 'AlarmLog' } onToggle={ onTogglePanel } title={ 'Alarm Log' }>
- <FaultTable idProperty={ '_id' } columns={ [
- { property: "icon", title: "", type: ColumnType.custom, customControl: this.renderIcon },
- { property: "timeStamp", title: "Time Stamp" },
- { property: "nodeName", title: "Node Name" },
- { property: "counter", title: "Count", type: ColumnType.numeric, width: "100px" },
- { property: "objectId", title: "Object Id" },
- { property: "problem", title: "Alarm Type" },
- { property: "severity", title: "Severity", width: "140px" },
- ] } { ...this.props.alarmLogEntriesProperties } { ...this.props.alarmLogEntriesActions }/>
- </Panel>
- </>
- );
- };
-
- public componentDidMount() {
- this.props.alarmLogEntriesActions.onToggleFilter();
- this.props.currentProblemsActions.onToggleFilter();
- }
- private renderIcon = (props: { rowData: Fault }) => {
- return (
- <FontAwesomeIcon icon={ faExclamationTriangle } />
- );
- };
-
-}
-
-export const FaultApplication = withRouter(connect(mapProps, mapDisp)(FaultApplicationComponent));
-export default FaultApplication;
diff --git a/sdnr/wt/odlux/apps/faultApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java b/sdnr/wt/odlux/apps/faultApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
deleted file mode 100644
index 1e882fc69..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles;
-
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class MyOdluxBundle extends OdluxBundle {
-
- @Override
- public void initialize() {
- super.initialize();
- }
-
- @Override
- public void clean() {
- super.clean();
- }
-
- @Override
- public String getResourceFileContent(String filename) {
- return super.getResourceFileContent(filename);
- }
-
- @Override
- public boolean hasResource(String filename) {
- return super.hasResource(filename);
- }
-
- @Override
- public void setBundleName(String bundleName) {
- super.setBundleName(bundleName);
- }
-
- @Override
- public void setLoader(OdluxBundleLoader loader) {
- super.setLoader(loader);
- }
-
- @Override
- public String getBundleName() {
- return super.getBundleName();
- }
-
- @Override
- public OdluxBundleLoader getLoader() {
- return super.getLoader();
- }
-
- public MyOdluxBundle() {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/faultApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wt/odlux/apps/faultApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100644
index e7c262bc0..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <reference id="loadersvc" availability="mandatory" activation="eager" interface="org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader"/>
-
- <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle">
- <property name="loader" ref="loadersvc"/>
- <property name="bundleName" value="faultApp"/>
- <property name="index" value="10"/>
- </bean>
-</blueprint> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/faultApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java b/sdnr/wt/odlux/apps/faultApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
deleted file mode 100644
index edf68e096..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles.test;
-
-import static org.junit.Assert.*;
-
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.odlux.OdluxBundleLoaderImpl;
-import org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle;
-
-public class TestBundleRes {
-
- @Test
- public void test() {
- OdluxBundleLoaderImpl loader = OdluxBundleLoaderImpl.getInstance();
- MyOdluxBundle b = new MyOdluxBundle();
- b.setLoader(loader);
- b.setIndex(0);
- b.setBundleName("abc");
- b.initialize();
- assertTrue(loader.getNumberOfBundles()==1);
- assertNotNull(b.getLoader());
- assertEquals("abc",b.getBundleName());
- assertTrue(b.hasResource("test.js"));
- assertNotNull(b.getResourceFileContent("test.js"));
- b.clean();
- assertTrue(loader.getNumberOfBundles()==0);
- }
-
-}
diff --git a/sdnr/wt/odlux/apps/faultApp/src2/test/resources/test.js b/sdnr/wt/odlux/apps/faultApp/src2/test/resources/test.js
deleted file mode 100644
index b47fdc39f..000000000
--- a/sdnr/wt/odlux/apps/faultApp/src2/test/resources/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-asdac sad
-as
-d
-sad
- sadfa \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/faultApp/tsconfig.json b/sdnr/wt/odlux/apps/faultApp/tsconfig.json
deleted file mode 100644
index a66b5d828..000000000
--- a/sdnr/wt/odlux/apps/faultApp/tsconfig.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./src",
- "outDir": "./dist",
- "sourceMap": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": false,
- "allowUnreachableCode": false,
- "allowUnusedLabels": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "pretty": true,
- "newLine": "LF",
- "module": "es2015",
- "target": "es2016",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "jsx": "preserve",
- "lib": [
- "dom",
- "es2015",
- "es2016"
- ],
- "types": [
- "prop-types",
- "react",
- "react-dom"
- ]
- },
- "exclude": [
- "dist",
- "node_modules"
- ]
-}
diff --git a/sdnr/wt/odlux/apps/faultApp/webpack.config.js b/sdnr/wt/odlux/apps/faultApp/webpack.config.js
deleted file mode 100644
index bbf33ea2f..000000000
--- a/sdnr/wt/odlux/apps/faultApp/webpack.config.js
+++ /dev/null
@@ -1,152 +0,0 @@
-/**
- * Webpack 4 configuration file
- * see https://webpack.js.org/configuration/
- * see https://webpack.js.org/configuration/dev-server/
- */
-
-"use strict";
-
-const path = require("path");
-const webpack = require("webpack");
-const CopyWebpackPlugin = require("copy-webpack-plugin");
-const TerserPlugin = require('terser-webpack-plugin');
-
-// const __dirname = (path => path.replace(/^([a-z]\:)/, c => c.toUpperCase()))(process.__dirname());
-
-module.exports = (env) => {
- const distPath = path.resolve(__dirname, env === "release" ? "." : "../..", "dist");
- const frameworkPath = path.resolve(__dirname, env === "release" ? "../../framework" : "../..", "dist");
- return [{
- name: "App",
-
- mode: "none", //disable default behavior
-
- target: "web",
-
- context: path.resolve(__dirname, "src"),
-
- entry: {
- faultApp: ["./plugin.tsx"]
- },
-
- devtool: env === "release" ? false : "source-map",
-
- resolve: {
- extensions: [".ts", ".tsx", ".js", ".jsx"]
- },
-
- output: {
- path: distPath,
- filename: "[name].js",
- library: "[name]",
- libraryTarget: "umd2",
- chunkFilename: "[name].js"
- },
- module: {
- rules: [{
- test: /\.tsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }, {
- loader: "ts-loader"
- }]
- }, {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }]
- }]
- },
- optimization: {
- noEmitOnErrors: true,
- namedModules: env !== "release",
- minimize: env === "release",
- minimizer: env !== "release" ? [] : [new TerserPlugin({
- terserOptions: {
- warnings: false, // false, true, "verbose"
- compress: {
- drop_console: true,
- drop_debugger: true,
- }
- }
- })],
- },
- plugins: [
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
- ...(env === "release") ? [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'production'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- })
- ] : [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'development'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- new CopyWebpackPlugin([{
- from: 'index.html',
- to: distPath
- }]),
- ]
- ],
-
- devServer: {
- public: "http://localhost:3100",
- contentBase: frameworkPath,
-
- compress: true,
- headers: {
- "Access-Control-Allow-Origin": "*"
- },
- host: "0.0.0.0",
- port: 3100,
- disableHostCheck: true,
- historyApiFallback: true,
- inline: true,
- hot: false,
- quiet: false,
- stats: {
- colors: true
- },
- proxy: {
- "/oauth2/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/database/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/restconf/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/help/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/websocket/": {
- target: "http://localhost:3000",
- ws: true,
- changeOrigin: true,
- secure: false
- }
- }
- }
- }];
-}
diff --git a/sdnr/wt/odlux/apps/helpApp/.babelrc b/sdnr/wt/odlux/apps/helpApp/.babelrc
deleted file mode 100644
index 3d8cd1260..000000000
--- a/sdnr/wt/odlux/apps/helpApp/.babelrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "presets": [
- ["@babel/preset-react"],
- ["@babel/preset-env", {
- "targets": {
- "chrome": "66"
- },
- "spec": true,
- "loose": false,
- "modules": false,
- "debug": false,
- "useBuiltIns": "usage",
- "forceAllTransforms": true
- }]
- ],
- "plugins": []
-}
diff --git a/sdnr/wt/odlux/apps/helpApp/package.json b/sdnr/wt/odlux/apps/helpApp/package.json
deleted file mode 100644
index 0445046a8..000000000
--- a/sdnr/wt/odlux/apps/helpApp/package.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "name": "@odlux/help-app",
- "version": "0.1.0",
- "description": "A react based modular UI providing the help functionaliy.",
- "main": "index.js",
- "scripts": {
- "start": "webpack-dev-server --env debug",
- "build": "webpack --env release --config webpack.config.js",
- "build:dev": "webpack --env debug --config webpack.config.js"
- },
- "repository": {
- "type": "git",
- "url": "https://git.mfico.de/highstreet-technologies/odlux.git"
- },
- "keywords": [
- "reactjs",
- "redux",
- "ui",
- "framework"
- ],
- "author": "Matthias Fischer",
- "license": "Apache-2.0",
- "dependencies": {
- "@odlux/framework": "*",
- "marked" : "0.6.0",
- "@types/marked": "0.6.0",
- "highlight.js" : "9.13.1",
- "@types/highlight.js": "9.12.3",
- "github-markdown-css": "2.10.0"
- },
- "peerDependencies": {
- "@types/react": "16.4.14",
- "@types/react-dom": "16.0.8",
- "@types/react-router-dom": "4.3.1",
- "@material-ui/core": "3.8.3",
- "@material-ui/icons": "3.0.2",
- "@types/classnames": "2.2.6",
- "@types/flux": "3.1.8",
- "@types/jquery": "3.3.10",
- "jquery": "3.3.1",
- "react": "16.5.2",
- "react-dom": "16.5.2",
- "react-router-dom": "4.3.1"
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/helpApp/pom.xml b/sdnr/wt/odlux/apps/helpApp/pom.xml
deleted file mode 100644
index a4d2ebdbc..000000000
--- a/sdnr/wt/odlux/apps/helpApp/pom.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-app-helpApp</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnr-wt-odlux-app-helpApp</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-provider</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <pluginRepositories>
- <pluginRepository>
- <id>highstreet repo</id>
- <url>https://cloud-highstreet-technologies.com/mvn/</url>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <sourceDirectory>src2/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>dist</directory>
- <targetPath>odlux</targetPath>
- </resource>
- <resource>
- <directory>src2/main/resources</directory>
- </resource>
- <resource>
- <directory>src2/test/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>../node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <!-- eclipse bug build bin folder in basedir -->
- <fileset>
- <directory>bin</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src2/test/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>de.jacksitlab</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <!-- optional: default phase is "generate-resources" -->
- <phase>initialize</phase>
- <configuration>
- <nodeVersion>v8.10.0</nodeVersion>
- <yarnVersion>v1.12.3</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>run build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
- <Private-Package/>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/helpApp/src/actions/helpActions.ts b/sdnr/wt/odlux/apps/helpApp/src/actions/helpActions.ts
deleted file mode 100644
index 3cebfd61d..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src/actions/helpActions.ts
+++ /dev/null
@@ -1,78 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { Dispatch } from '../../../../framework/src/flux/store';
-
-import { TocTreeNode } from '../models/tocNode';
-import helpService from '../services/helpService';
-
-export class LoadTocAction extends Action {
- constructor() {
- super();
-
- }
-}
-
-export class TocLoadedAction extends Action {
- constructor(public toc?: TocTreeNode[], error?: string) {
- super();
-
- }
-}
-
-export const requestTocAsyncAction = async (dispatch: Dispatch) => {
- dispatch(new LoadTocAction);
- try {
- const toc = await helpService.getTableOfContents();
- if (toc) {
- dispatch(new TocLoadedAction(toc));
- } else {
- dispatch(new TocLoadedAction(undefined, "Could not load TOC."));
- }
- } catch (err) {
- dispatch(new TocLoadedAction(undefined, err));
- }
-}
-
-export class LoadDocumentAction extends Action {
- constructor() {
- super();
-
- }
-}
-
-export class DocumentLoadedAction extends Action {
- constructor(public document?: string, public documentPath?: string, error?: string) {
- super();
-
- }
-}
-
-export const requestDocumentAsyncActionCreator = (path: string) => async (dispatch: Dispatch) => {
- dispatch(new LoadDocumentAction);
- try {
- const doc = await helpService.getDocument(path);
- if (doc) {
- dispatch(new DocumentLoadedAction(doc, path));
- } else {
- dispatch(new DocumentLoadedAction(undefined, undefined, "Could not load document."));
- }
- } catch (err) {
- dispatch(new DocumentLoadedAction(undefined, undefined, err));
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/helpApp/src/components/helpStatus.tsx b/sdnr/wt/odlux/apps/helpApp/src/components/helpStatus.tsx
deleted file mode 100644
index c4a531837..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src/components/helpStatus.tsx
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { withStyles, WithStyles, createStyles, Theme } from '@material-ui/core/styles';
-import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons'; // select app icon
-
-import connect, { Connect } from '../../../../framework/src/flux/connect';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-import Typography from '@material-ui/core/Typography';
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import { faQuestionCircle } from '@fortawesome/free-solid-svg-icons';
-import { withRouter, RouteComponentProps } from 'react-router';
-
-const styles = (theme: Theme) => createStyles({
- icon: {
- marginLeft: 8,
- marginRight: 8
- },
- disabled: {
- color: theme.palette.grey[400]
- },
- link: {
- cursor: "pointer",
- '&:hover': {
- textDecoration: "underline"
- }
- }
-});
-
-const mapProps = (state: IApplicationStoreState) => ({
- appId: state.framework.applicationState.appId,
- toc: state.help.toc
-});
-
-
-type HelpStatusComponentProps = & RouteComponentProps & WithStyles<typeof styles> & Connect<typeof mapProps>;
-
-class HelpStatusComponent extends React.Component<HelpStatusComponentProps> {
- render() {
- const { classes, history, toc, appId } = this.props;
- const rootNode = toc && toc.find(t => t.id === "sdnr");
- const helpNode = appId
- ? rootNode && rootNode.nodes && rootNode.nodes.find(n => n.id === appId || n.id === appId+"App")
- : rootNode;
- return helpNode
- ? (
- <Typography variant="body1" color="inherit" className={classes.link} onClick={(event) => { event.stopPropagation(); history.push(`/help/${helpNode.uri}`) }} >
- <FontAwesomeIcon className={classes.icon} icon={faQuestionCircle} />
- Help
- </Typography>
- )
- : (
- <Typography variant="body1" className={classes.disabled}>
- <FontAwesomeIcon className={classes.icon} icon={faQuestionCircle} />
- Help
- </Typography>
- );
- };
-
-}
-
-export const HelpStatus = withRouter(withStyles(styles)(connect(mapProps)(HelpStatusComponent)));
-export default HelpStatus; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/helpApp/src/components/markdown.tsx b/sdnr/wt/odlux/apps/helpApp/src/components/markdown.tsx
deleted file mode 100644
index a7137836e..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src/components/markdown.tsx
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import * as marked from 'marked';
-import * as hljs from 'highlight.js';
-
-type MarkdownComponentProps = {
- text: string;
- className?: string;
- markedOptions?: marked.MarkedOptions;
- style?: React.CSSProperties
-}
-
-const defaultRenderer = new marked.Renderer();
-defaultRenderer.link = (href, title, text) => (
- `<a target="_blank" rel="noopener noreferrer" href="${ href }" title="${ title }">${ text }</a>`
-);
-
-
-class MarkdownComponent extends React.Component<MarkdownComponentProps> {
- constructor(props: MarkdownComponentProps) {
- super(props);
-
- const markedOptions: marked.MarkedOptions = {
- gfm: true,
- tables: true,
- breaks: false,
- pedantic: false,
- sanitize: true,
- smartLists: true,
- smartypants: false,
- langPrefix: 'hljs ',
- ...(this.props.markedOptions || {}),
- highlight: (code, lang) => {
- if (!!(lang && hljs.getLanguage(lang))) {
- return hljs.highlight(lang, code).value;
- }
- return code;
- }
- };
-
- marked.setOptions(markedOptions);
- }
- render() {
- const { text, className, style } = this.props;
-
-
- const html = (marked(text || '', { renderer: this.props.markedOptions && this.props.markedOptions.renderer || defaultRenderer }));
-
- return (
- <div
- dangerouslySetInnerHTML={ { __html: html } }
- className={ className }
- style={ style }
- />
- );
- }
-}
-
-export const Markdown = MarkdownComponent;
-
diff --git a/sdnr/wt/odlux/apps/helpApp/src/components/subMenuEntry.tsx b/sdnr/wt/odlux/apps/helpApp/src/components/subMenuEntry.tsx
deleted file mode 100644
index e4e37290c..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src/components/subMenuEntry.tsx
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { IApplicationStoreState } from "../../../../framework/src/store/applicationStore";
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-import { TreeView, TreeViewCtorType } from '../../../../framework/src/components/material-ui/treeView';
-
-import { ListItemText } from '@material-ui/core';
-
-import { NavigateToApplication } from '../../../../framework/src/actions/navigationActions';
-
-import { TocTreeNode } from '../models/tocNode';
-
-const TocTree = TreeView as any as TreeViewCtorType<TocTreeNode>;
-
-const mapProps = (state: IApplicationStoreState) => ({
- helpToc: state.help.toc,
- helpBusy: state.help.busy
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- requestDocument: (node: TocTreeNode) => dispatcher.dispatch(new NavigateToApplication("help", node.uri))
-});
-
-const SubMenuEntryComponent: React.SFC<Connect<typeof mapProps, typeof mapDisp>> = (props) => {
- return props.helpToc
- ? (
- <TocTree items={ props.helpToc } contentProperty={ "label" } childrenProperty={ "nodes" } depthOffset={ 1 }
- useFolderIcons={ false } enableSearchBar={ false } onItemClick={ props.requestDocument } />
- )
- : (
- <ListItemText >Loading ...</ListItemText>
- )
-};
-
-export const SubMenuEntry = connect(mapProps, mapDisp)(SubMenuEntryComponent);
-export default SubMenuEntry;
-
diff --git a/sdnr/wt/odlux/apps/helpApp/src/handlers/helpAppRootHandler.ts b/sdnr/wt/odlux/apps/helpApp/src/handlers/helpAppRootHandler.ts
deleted file mode 100644
index 9c58238f8..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src/handlers/helpAppRootHandler.ts
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// main state handler
-
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import { TocTreeNode } from 'models/tocNode';
-import { IActionHandler } from '../../../../framework/src/flux/action';
-import { LoadTocAction, TocLoadedAction, LoadDocumentAction, DocumentLoadedAction } from '../actions/helpActions';
-
-export interface IHelpAppStoreState {
- busy: boolean;
- toc: TocTreeNode[] | undefined;
- content: string | undefined;
- currentPath: string | undefined;
-}
-
-declare module '../../../../framework/src/store/applicationStore' {
- interface IApplicationStoreState {
- help: IHelpAppStoreState
- }
-}
-
-const helpAppStoreStateInit: IHelpAppStoreState = {
- busy: false,
- toc: undefined,
- content: undefined,
- currentPath: undefined
-};
-
-export const helpAppRootHandler: IActionHandler<IHelpAppStoreState> = (state = helpAppStoreStateInit, action) => {
- if (action instanceof LoadTocAction) {
- state = {
- ...state,
- busy: true
- };
- } else if (action instanceof TocLoadedAction) {
- state = {
- ...state,
- busy: false,
- toc: action.toc
- };
- } else if (action instanceof LoadDocumentAction) {
- state = {
- ...state,
- busy: true
- };
- } else if (action instanceof DocumentLoadedAction) {
- state = {
- ...state,
- busy: false,
- content: action.document,
- currentPath: action.documentPath
- };
- }
-
- return state;
-}
-
-
-export default helpAppRootHandler;
diff --git a/sdnr/wt/odlux/apps/helpApp/src/index.html b/sdnr/wt/odlux/apps/helpApp/src/index.html
deleted file mode 100644
index e76109fd8..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src/index.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <!-- <link rel="stylesheet" href="./vendor.css"> -->
- <title>Minimal App</title>
-</head>
-
-<body>
- <div id="app"></div>
- <script type="text/javascript" src="./require.js"></script>
- <script type="text/javascript" src="./config.js"></script>
- <script>
- // run the application
- require(["app", "connectApp", "faultApp", "maintenanceApp", "configurationApp", "helpApp"], function (app, connectApp, faultApp, maintenanceApp, configurationApp, helpApp) {
- connectApp.register();
- faultApp.register();
- configurationApp.register();
- maintenanceApp.register();
- helpApp.register();
- app("./app.tsx").runApplication();
- });
- </script>
-</body>
-
-</html> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/helpApp/src/models/tocNode.ts b/sdnr/wt/odlux/apps/helpApp/src/models/tocNode.ts
deleted file mode 100644
index dbefeec77..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src/models/tocNode.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export type VersionInfo = {
- label: string,
- path: string,
- date: string
-}
-
-export type TocNode = {
- label: string;
- versions: {
- [versionKey: string]: VersionInfo,
- current: VersionInfo
- };
- nodes?: TocNodeCollection;
-}
-
-export type TocNodeCollection = { [tocNodeKey: string]: TocNode };
-
-
-export type TocTreeNode = {
- id: string;
- label: string;
- uri: string;
- nodes?: TocTreeNode[];
- disabled?: boolean;
-}
diff --git a/sdnr/wt/odlux/apps/helpApp/src/plugin.tsx b/sdnr/wt/odlux/apps/helpApp/src/plugin.tsx
deleted file mode 100644
index 77c2992c4..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src/plugin.tsx
+++ /dev/null
@@ -1,88 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// app configuration and main entry point for the app
-
-import * as React from "react";
-import { withRouter, RouteComponentProps, Route, Switch, Redirect } from 'react-router-dom';
-
-import { faFirstAid } from '@fortawesome/free-solid-svg-icons'; // select app icon
-
-import applicationManager from '../../../framework/src/services/applicationManager';
-import { IApplicationStoreState } from "../../../framework/src/store/applicationStore";
-import connect, { Connect, IDispatcher } from '../../../framework/src/flux/connect';
-
-import { requestTocAsyncAction, requestDocumentAsyncActionCreator } from "./actions/helpActions";
-import { helpAppRootHandler } from './handlers/helpAppRootHandler';
-
-import { HelpApplication } from './views/helpApplication';
-import { SubMenuEntry } from "./components/subMenuEntry";
-import { HelpStatus } from "./components/helpStatus";
-
-import '!style-loader!css-loader!highlight.js/styles/default.css';
-
-const mapProps = (state: IApplicationStoreState) => ({
-
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- requestDocument: (path: string) => {
- dispatcher.dispatch(requestDocumentAsyncActionCreator(path));
- }
-});
-
-let currentHelpPath: string | undefined = undefined;
-
-const HelpApplicationRouteAdapter = connect(mapProps, mapDisp)((props: RouteComponentProps<{ '0'?: string }> & Connect<typeof mapProps, typeof mapDisp>) => {
- if (currentHelpPath !== props.match.params["0"]) {
- // route parameter has changed
- currentHelpPath = props.match.params["0"] || undefined;
- // Hint: This timeout is need, since it is not recommended to change the state while rendering is in progress !
- window.setTimeout(() => {
- if (currentHelpPath) {
- props.requestDocument(currentHelpPath);
- }
- });
- }
- return (
- <HelpApplication />
- )
-});
-
-const App = withRouter((props: RouteComponentProps) => (
- <Switch>
- <Route path={ `${ props.match.path }/*` } component={ HelpApplicationRouteAdapter } />
- <Redirect to={ `${ props.match.path }` } />
- </Switch>
-));
-
-export async function register() {
- const applicationApi = applicationManager.registerApplication({
- name: "help",
- icon: faFirstAid,
- rootComponent: App,
- rootActionHandler: helpAppRootHandler,
- statusBarElement: HelpStatus,
- menuEntry: "Help",
- subMenuEntry: SubMenuEntry
- });
-
- // start the initial toc request after the application store is initalized
- const store = await applicationApi.applicationStoreInitialized;
- store.dispatch(requestTocAsyncAction);
-
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts b/sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts
deleted file mode 100644
index 43c483fe8..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { requestRest } from '../../../../framework/src/services/restService';
-import { TocTreeNode, TocNodeCollection } from '../models/tocNode';
-
-class HelpService {
-
- private tocNodeCollection: TocTreeNode[] | null = null;
- private documents: { [path: string]: string | null } = {};
-
- public async getDocument(path: string): Promise<string | null> {
- // check if the result is allready in the cache
- if (this.documents[path]) return Promise.resolve(this.documents[path]);
-
- // request the document
- const result = await requestRest<string>(`/help/${ path }`.replace(/\/{2,}/i, '/'));
- if (result) {
- this.documents[path] = result;
- }
- return this.documents[path] || null;
- }
-
- public async getTableOfContents(): Promise<TocTreeNode[] | null> {
- // check if the result is allready in the cache
- if (this.tocNodeCollection) return Promise.resolve(this.tocNodeCollection);
-
- // request the table of contents
- const result = await requestRest<TocNodeCollection>('/help/?meta', undefined, false);
- if (result !== false) {
- const mapNodesCollection = (col: TocNodeCollection): TocTreeNode[] => {
- return Object.keys(col).reduce <TocTreeNode[]>((acc, key) => {
- const current = col[key];
- acc.push({
- id: key,
- label: current.label,
- uri: current.versions.current.path,
- nodes: current.nodes && mapNodesCollection(current.nodes) || undefined
- });
- return acc;
- }, []);
- }
-
- this.tocNodeCollection = result && mapNodesCollection(result);
- }
- return this.tocNodeCollection || null;
- }
-}
-
-export const helpService = new HelpService();
-export default helpService; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/helpApp/src/utilities/path.ts b/sdnr/wt/odlux/apps/helpApp/src/utilities/path.ts
deleted file mode 100644
index 412bdfb1e..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src/utilities/path.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export const resolvePath = (...paths: string[]): string => {
- function resolve(pathA: string, pathB: string) {
- // ‘a’ => ['a']
- // 'a/b' => ['a', 'b']
- // '/a/b' => ['', 'a', 'b']
- // '/a/b/' => ['', 'a', 'b', '']
- const pathBParts = pathB.split('/');
- if (pathBParts[0] === '') {
- return pathBParts.join('/');
- }
- const pathAParts = pathA.split('/');
- const aLastIndex = pathAParts.length - 1;
- if (pathAParts[aLastIndex] !== '') {
- pathAParts[aLastIndex] = '';
- }
-
- let part: string;
- let i = 0;
- while (typeof (part = pathBParts[i]) === 'string') {
- switch (part) {
- case '..':
- pathAParts.pop();
- pathAParts.pop();
- pathAParts.push('');
- break;
- case '.':
- pathAParts.pop();
- pathAParts.push('');
- break;
- default:
- pathAParts.pop();
- pathAParts.push(part);
- pathAParts.push('');
- break;
- }
- i++;
- }
- if (pathBParts[pathBParts.length - 1] !== '') pathAParts.pop();
- return pathAParts.join('/');
- }
-
- let i = 0;
- let path: string;
- let r = location.pathname;
-
- const urlRegex = /^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i;
- const multiSlashReg = /\/\/+/g;
-
- while (typeof (path = paths[i]) === 'string') {
- debugger;
- const matches = path && path.match(urlRegex);
- if (matches || !i) {
- r = path;
- } else {
- path = path.replace(multiSlashReg, '/');
- r = resolve(r, path);
- }
- i++;
- }
-
- return r;
-}; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/helpApp/src/views/helpApplication.tsx b/sdnr/wt/odlux/apps/helpApp/src/views/helpApplication.tsx
deleted file mode 100644
index 6cc89fb85..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src/views/helpApplication.tsx
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-import * as marked from 'marked';
-
-import { resolvePath } from '../utilities/path';
-
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import connect, { Connect } from '../../../../framework/src/flux/connect';
-
-import { Markdown } from "../components/markdown";
-
-import '!style-loader!css-loader!github-markdown-css/github-markdown.css'
-
-const mapProps = (state: IApplicationStoreState) => ({
- content: state.help.content,
- currentPath: state.help.currentPath
-});
-
-type HelpApplicationComponentProps = Connect<typeof mapProps>;
-
-class HelpApplicationComponent extends React.Component<HelpApplicationComponentProps> {
-
- /**
- * Initializes a new instance.
- */
- constructor (props: HelpApplicationComponentProps) {
- super(props);
-
- this.renderer = new marked.Renderer();
-
- this.renderer.link = (href: string, title: string, text: string) => {
- // check if href is rel or abs
- const absUrlMatch = href.trim().match(/^https?:\/\//i);
- return `<a href="${absUrlMatch ? href : resolvePath('#/help/', this.props.currentPath || '/', href)}" title="${title}" >${text}</a>`
- };
-
- this.renderer.image = (href: string, title: string) => {
- return `<img src="${resolvePath('/help/', this.props.currentPath || '/', href)}" alt="${title}" />`
- };
-
- }
-
- render(): JSX.Element {
- return this.props.content ? (
- <Markdown text={this.props.content} markedOptions={{ renderer: this.renderer }} className="markdown-body"
- style={{ maxWidth: "960px", margin: "1.5em auto" }} />
- ) : (<h2>Loading ...</h2>)
- }
-
- private renderer: marked.Renderer;
-}
-
-export const HelpApplication = connect(mapProps)(HelpApplicationComponent);
-export default HelpApplication; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/helpApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java b/sdnr/wt/odlux/apps/helpApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
deleted file mode 100644
index 1e882fc69..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles;
-
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class MyOdluxBundle extends OdluxBundle {
-
- @Override
- public void initialize() {
- super.initialize();
- }
-
- @Override
- public void clean() {
- super.clean();
- }
-
- @Override
- public String getResourceFileContent(String filename) {
- return super.getResourceFileContent(filename);
- }
-
- @Override
- public boolean hasResource(String filename) {
- return super.hasResource(filename);
- }
-
- @Override
- public void setBundleName(String bundleName) {
- super.setBundleName(bundleName);
- }
-
- @Override
- public void setLoader(OdluxBundleLoader loader) {
- super.setLoader(loader);
- }
-
- @Override
- public String getBundleName() {
- return super.getBundleName();
- }
-
- @Override
- public OdluxBundleLoader getLoader() {
- return super.getLoader();
- }
-
- public MyOdluxBundle() {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/helpApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wt/odlux/apps/helpApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100644
index a0e3dac11..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <reference id="loadersvc" availability="mandatory" activation="eager" interface="org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader"/>
-
- <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle">
- <property name="loader" ref="loadersvc"/>
- <property name="bundleName" value="helpApp"/>
- <property name="index" value="100"/>
- </bean>
-</blueprint> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/helpApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java b/sdnr/wt/odlux/apps/helpApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
deleted file mode 100644
index d0fbe63c0..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles.test;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.odlux.OdluxBundleLoaderImpl;
-import org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle;
-
-public class TestBundleRes {
-
- @Test
- public void test() {
- OdluxBundleLoaderImpl loader = OdluxBundleLoaderImpl.getInstance();
- MyOdluxBundle b = new MyOdluxBundle();
- b.setLoader(loader);
- b.setIndex(0);
- b.setBundleName("abc");
- b.initialize();
- assertTrue(loader.getNumberOfBundles()==1);
- assertNotNull(b.getLoader());
- assertEquals("abc",b.getBundleName());
- assertTrue(b.hasResource("test.js"));
- assertNotNull(b.getResourceFileContent("test.js"));
- b.clean();
- assertTrue(loader.getNumberOfBundles()==0);
- }
-
-}
diff --git a/sdnr/wt/odlux/apps/helpApp/src2/test/resources/test.js b/sdnr/wt/odlux/apps/helpApp/src2/test/resources/test.js
deleted file mode 100644
index b47fdc39f..000000000
--- a/sdnr/wt/odlux/apps/helpApp/src2/test/resources/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-asdac sad
-as
-d
-sad
- sadfa \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/helpApp/tsconfig.json b/sdnr/wt/odlux/apps/helpApp/tsconfig.json
deleted file mode 100644
index a66b5d828..000000000
--- a/sdnr/wt/odlux/apps/helpApp/tsconfig.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./src",
- "outDir": "./dist",
- "sourceMap": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": false,
- "allowUnreachableCode": false,
- "allowUnusedLabels": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "pretty": true,
- "newLine": "LF",
- "module": "es2015",
- "target": "es2016",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "jsx": "preserve",
- "lib": [
- "dom",
- "es2015",
- "es2016"
- ],
- "types": [
- "prop-types",
- "react",
- "react-dom"
- ]
- },
- "exclude": [
- "dist",
- "node_modules"
- ]
-}
diff --git a/sdnr/wt/odlux/apps/helpApp/webpack.config.js b/sdnr/wt/odlux/apps/helpApp/webpack.config.js
deleted file mode 100644
index 3a56d8bea..000000000
--- a/sdnr/wt/odlux/apps/helpApp/webpack.config.js
+++ /dev/null
@@ -1,170 +0,0 @@
-/**
- * Webpack 4 configuration file
- * see https://webpack.js.org/configuration/
- * see https://webpack.js.org/configuration/dev-server/
- */
-
-"use strict";
-
-const path = require("path");
-const webpack = require("webpack");
-const autoprefixer = require('autoprefixer');
-const CopyWebpackPlugin = require("copy-webpack-plugin");
-const TerserPlugin = require('terser-webpack-plugin');
-
-// const __dirname = (path => path.replace(/^([a-z]\:)/, c => c.toUpperCase()))(process.__dirname());
-
-module.exports = (env) => {
- const distPath = path.resolve(__dirname, env === "release" ? "." : "../..", "dist");
- const frameworkPath = path.resolve(__dirname, env === "release" ? "../../framework" : "../..", "dist");
- return [{
- name: "App",
-
- mode: "none", //disable default behavior
-
- target: "web",
-
- context: path.resolve(__dirname, "src"),
-
- entry: {
- helpApp: ["./plugin.tsx"]
- },
-
- devtool: env === "release" ? false : "source-map",
-
- resolve: {
- extensions: [".ts", ".tsx", ".js", ".jsx"]
- },
-
- output: {
- path: distPath,
- filename: "[name].js",
- library: "[name]",
- libraryTarget: "umd2",
- chunkFilename: "[name].js"
- },
- module: {
- rules: [{
- test: /\.tsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }, {
- loader: "ts-loader"
- }]
- }, {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }]
- }, {
- test: /\.css$/,
- use: [{
- loader: 'style-loader'
- }, {
- loader: 'css-loader',
- options: {
- modules: true,
- localIdentName: env !== "release" ? '[name]_[local]_[hash:base64:5]' : '[hash]'
- }
- }, {
- loader: 'postcss-loader',
- options: {
- plugins: () => [autoprefixer]
- }
- }]
- }]
- },
-
- optimization: {
- noEmitOnErrors: true,
- namedModules: env !== "release",
- minimize: env === "release",
- minimizer: env !== "release" ? [] : [new TerserPlugin({
- terserOptions: {
- warnings: false, // false, true, "verbose"
- compress: {
- drop_console: true,
- drop_debugger: true,
- }
- }
- })],
- },
-
- plugins: [
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
- ...(env === "release") ? [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'production'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- ] : [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'development'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- new CopyWebpackPlugin([{
- from: 'index.html',
- to: distPath
- }]),
- ]
- ],
- devServer: {
- public: "http://localhost:3100",
- contentBase: frameworkPath,
-
- compress: true,
- headers: {
- "Access-Control-Allow-Origin": "*"
- },
- host: "0.0.0.0",
- port: 3100,
- disableHostCheck: true,
- historyApiFallback: true,
- inline: true,
- hot: false,
- quiet: false,
- stats: {
- colors: true
- },
- proxy: {
- "/oauth2/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/database/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/restconf/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/help/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/websocket/": {
- target: "http://localhost:3000",
- ws: true,
- changeOrigin: true,
- secure: false
- }
- }
- }
- }];
-}
diff --git a/sdnr/wt/odlux/apps/inventoryApp/.babelrc b/sdnr/wt/odlux/apps/inventoryApp/.babelrc
deleted file mode 100644
index 3d8cd1260..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/.babelrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "presets": [
- ["@babel/preset-react"],
- ["@babel/preset-env", {
- "targets": {
- "chrome": "66"
- },
- "spec": true,
- "loose": false,
- "modules": false,
- "debug": false,
- "useBuiltIns": "usage",
- "forceAllTransforms": true
- }]
- ],
- "plugins": []
-}
diff --git a/sdnr/wt/odlux/apps/inventoryApp/package.json b/sdnr/wt/odlux/apps/inventoryApp/package.json
deleted file mode 100644
index 79308234e..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/package.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "name": "@odlux/inventory-app",
- "version": "0.1.0",
- "description": "A react based modular UI to display network inventory data from a database.",
- "main": "index.js",
- "scripts": {
- "start": "webpack-dev-server --env debug",
- "build": "webpack --env release --config webpack.config.js",
- "build:dev": "webpack --env debug --config webpack.config.js"
- },
- "repository": {
- "type": "git",
- "url": "https://git.mfico.de/highstreet-technologies/odlux.git"
- },
- "keywords": [
- "reactjs",
- "redux",
- "ui",
- "framework"
- ],
- "author": "Matthias Fischer",
- "license": "Apache-2.0",
- "dependencies": {
- "@odlux/framework": "*"
- },
- "peerDependencies": {
- "@types/react": "16.4.14",
- "@types/react-dom": "16.0.8",
- "@types/react-router-dom": "4.3.1",
- "@material-ui/core": "3.8.3",
- "@material-ui/icons": "3.0.2",
- "@types/classnames": "2.2.6",
- "@types/flux": "3.1.8",
- "@types/jquery": "3.3.10",
- "jquery": "3.3.1",
- "react": "16.5.2",
- "react-dom": "16.5.2",
- "react-router-dom": "4.3.1"
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/inventoryApp/pom.xml b/sdnr/wt/odlux/apps/inventoryApp/pom.xml
deleted file mode 100644
index 4fa2073a8..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/pom.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-app-inventoryApp</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnr-wt-odlux-app-inventoryApp</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-provider</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <pluginRepositories>
- <pluginRepository>
- <id>highstreet repo</id>
- <url>https://cloud-highstreet-technologies.com/mvn/</url>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <sourceDirectory>src2/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>dist</directory>
- <targetPath>odlux</targetPath>
- </resource>
- <resource>
- <directory>src2/main/resources</directory>
- </resource>
- <resource>
- <directory>src2/test/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>../node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <!-- eclipse bug build bin folder in basedir -->
- <fileset>
- <directory>bin</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src2/test/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>de.jacksitlab</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <!-- optional: default phase is "generate-resources" -->
- <phase>initialize</phase>
- <configuration>
- <nodeVersion>v8.10.0</nodeVersion>
- <yarnVersion>v1.12.3</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>run build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
- <Private-Package/>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/inventoryApp/src/handlers/inventoryAppRootHandler.ts b/sdnr/wt/odlux/apps/inventoryApp/src/handlers/inventoryAppRootHandler.ts
deleted file mode 100644
index 2ab0cebe4..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/src/handlers/inventoryAppRootHandler.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// main state handler
-
-import { combineActionHandler } from '../../../../framework/src/flux/middleware';
-
-// ** do not remove **
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import { IActionHandler } from '../../../../framework/src/flux/action';
-import { IInventoryElementsState, inventoryElementsActionHandler } from './inventoryElementsHandler';
-
-
-export interface IInventoryAppStateState {
- inventoryElements: IInventoryElementsState
-}
-
-
-declare module '../../../../framework/src/store/applicationStore' {
- interface IApplicationStoreState {
- inventory: IInventoryAppStateState;
- }
-}
-
-const actionHandlers = {
- inventoryElements: inventoryElementsActionHandler
-};
-
-export const faultAppRootHandler = combineActionHandler<IInventoryAppStateState>(actionHandlers);
-export default faultAppRootHandler;
diff --git a/sdnr/wt/odlux/apps/inventoryApp/src/handlers/inventoryElementsHandler.tsx b/sdnr/wt/odlux/apps/inventoryApp/src/handlers/inventoryElementsHandler.tsx
deleted file mode 100644
index 7766634fb..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/src/handlers/inventoryElementsHandler.tsx
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal,IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { InventoryType } from '../models/inventory';
-
-export interface IInventoryElementsState extends IExternalTableState<InventoryType> { }
-
-// create eleactic search material data fetch handler
-const inventoryElementsSearchHandler = createSearchDataHandler<InventoryType>("sdnevents/inventoryequipment");
-
-export const {
- actionHandler: inventoryElementsActionHandler,
- createActions: createInventoryElementsActions,
- createProperties: createInventoryElementsProperties,
- reloadAction: inventoryElementsReloadAction,
-
- // set value action, to change a value
-} = createExternal<InventoryType>(inventoryElementsSearchHandler, appState => appState.inventory.inventoryElements);
-
diff --git a/sdnr/wt/odlux/apps/inventoryApp/src/index.html b/sdnr/wt/odlux/apps/inventoryApp/src/index.html
deleted file mode 100644
index 0cdb9e93b..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/src/index.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <!-- <link rel="stylesheet" href="./vendor.css" > -->
- <title>Inventory App</title>
-</head>
-
-<body>
- <div id="app"></div>
- <script type="text/javascript" src="./require.js"></script>
- <script type="text/javascript" src="./config.js"></script>
- <script>
- // run the application
- require(["app", "inventoryApp"], function (app, inventoryApp) {
- inventoryApp.register();
- app("./app.tsx").runApplication();
- });
- </script>
-</body>
-
-</html> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/inventoryApp/src/models/inventory.ts b/sdnr/wt/odlux/apps/inventoryApp/src/models/inventory.ts
deleted file mode 100644
index 8c70acbf3..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/src/models/inventory.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export { HitEntry, Result } from '../../../../framework/src/models';
-export type InventoryType = {
- treeLevel: number;
- parentUuid: string;
- mountpoint: string;
- uuid: string;
- containedHolder?: (string)[] | null;
- manufacturerName?: string ;
- manufacturerIdentifier: string;
- serial: string;
- date: string;
- version: string;
- description: string;
- partTypeId: string;
- modelIdentifier: string;
- typeName: string;
-}
diff --git a/sdnr/wt/odlux/apps/inventoryApp/src/plugin.tsx b/sdnr/wt/odlux/apps/inventoryApp/src/plugin.tsx
deleted file mode 100644
index 2a53203c8..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/src/plugin.tsx
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// app configuration and main entry point for the app
-
-
-import { faShoppingBag } from '@fortawesome/free-solid-svg-icons'; // select app icon
-
-import applicationManager from '../../../framework/src/services/applicationManager';
-
-import { Dashboard } from './views/dashboard';
-import faultAppRootHandler from './handlers/inventoryAppRootHandler';
-
-export function register() {
- applicationManager.registerApplication({
- name: "inventory",
- icon: faShoppingBag,
- rootActionHandler: faultAppRootHandler,
- rootComponent: Dashboard,
- menuEntry: "Inventory"
- });
-}
diff --git a/sdnr/wt/odlux/apps/inventoryApp/src/views/dashboard.tsx b/sdnr/wt/odlux/apps/inventoryApp/src/views/dashboard.tsx
deleted file mode 100644
index 0d7244e4d..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/src/views/dashboard.tsx
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from "react";
-
-import { Connect, connect, IDispatcher } from '../../../../framework/src/flux/connect';
-import { MaterialTable, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-
-import { InventoryType } from '../models/inventory';
-import { IApplicationStoreState } from "../../../../framework/src/store/applicationStore";
-import { createInventoryElementsProperties, createInventoryElementsActions } from "../handlers/inventoryElementsHandler";
-
-const InventoryTable = MaterialTable as MaterialTableCtorType<InventoryType & {_id: string}>;
-
-const mapProps = (state: IApplicationStoreState) => ({
- inventoryElementsProperties: createInventoryElementsProperties(state),
- inventoryElements: state.inventory.inventoryElements
-});
-
-const mapDispatch = (dispatcher: IDispatcher) => ({
- inventoryElementsActions: createInventoryElementsActions(dispatcher.dispatch)
-});
-
-class DashboardComponent extends React.Component<Connect<typeof mapProps, typeof mapDispatch>> {
- render() {
- return <InventoryTable title="Inventory" idProperty="_id" columns={[
- { property: "mountpoint", title: "Mountpoint" },
- { property: "manufacturerIdentifier", title: "Manufacturer" },
- { property: "parentUuid", title: "Parent" },
- { property: "uuid", title: "Name" },
- { property: "serial", title: "Serial" },
- { property: "version", title: "Version" },
- { property: "date", title: "Date" },
- { property: "description", title: "Description" },
- { property: "partTypeId", title: "Part Type Id" },
- { property: "modelIdentifier", title: "Model Identifier" },
- { property: "typeName", title: "Type" },
- { property: "treeLevel", title: "Containment Level" },
- ]} {...this.props.inventoryElementsActions} {...this.props.inventoryElementsProperties} >
- </InventoryTable>
- }
-
- componentDidMount() {
- this.props.inventoryElementsActions.onToggleFilter();
- this.props.inventoryElementsActions.onHandleRequestSort("mountpoint");
- }
-}
-
-export const Dashboard = connect(mapProps, mapDispatch)(DashboardComponent);
-export default Dashboard; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/inventoryApp/src/views/detail.tsx b/sdnr/wt/odlux/apps/inventoryApp/src/views/detail.tsx
deleted file mode 100644
index f03b30cdd..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/src/views/detail.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from "react";
-import { withRouter, RouteComponentProps } from 'react-router-dom';
-
-import Button from '@material-ui/core/Button';
-import { WithStyles, withStyles, createStyles, Theme } from '@material-ui/core/styles'; // infra for styling
-
-const styles = (theme: Theme) => createStyles({
- warnButton: {
- backgroundColor: theme.palette.primary.dark
- }
-});
-
-type DetailProps = RouteComponentProps<{ id: string }> & WithStyles<typeof styles>;
-
-export const Detail = withStyles( styles )( withRouter( (props: DetailProps) => (
- <div>
- <h1>Detail {props.match.params.id}</h1>
- <p>This are the information about {props.staticContext}.</p>
- <Button color={"secondary"} variant={"contained"}>Start</Button>
- <Button className={ props.classes.warnButton } variant={"contained"}>Stop</Button>
- </div>
-)));
-
-export default Detail; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/inventoryApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java b/sdnr/wt/odlux/apps/inventoryApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
deleted file mode 100644
index 1e882fc69..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles;
-
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class MyOdluxBundle extends OdluxBundle {
-
- @Override
- public void initialize() {
- super.initialize();
- }
-
- @Override
- public void clean() {
- super.clean();
- }
-
- @Override
- public String getResourceFileContent(String filename) {
- return super.getResourceFileContent(filename);
- }
-
- @Override
- public boolean hasResource(String filename) {
- return super.hasResource(filename);
- }
-
- @Override
- public void setBundleName(String bundleName) {
- super.setBundleName(bundleName);
- }
-
- @Override
- public void setLoader(OdluxBundleLoader loader) {
- super.setLoader(loader);
- }
-
- @Override
- public String getBundleName() {
- return super.getBundleName();
- }
-
- @Override
- public OdluxBundleLoader getLoader() {
- return super.getLoader();
- }
-
- public MyOdluxBundle() {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/inventoryApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wt/odlux/apps/inventoryApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100644
index f0bf05483..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <reference id="loadersvc" availability="mandatory" activation="eager" interface="org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader"/>
-
- <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle">
- <property name="loader" ref="loadersvc"/>
- <property name="bundleName" value="inventoryApp"/>
- <property name="index" value="70"/>
- </bean>
-</blueprint> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/inventoryApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java b/sdnr/wt/odlux/apps/inventoryApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
deleted file mode 100644
index d0fbe63c0..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles.test;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.odlux.OdluxBundleLoaderImpl;
-import org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle;
-
-public class TestBundleRes {
-
- @Test
- public void test() {
- OdluxBundleLoaderImpl loader = OdluxBundleLoaderImpl.getInstance();
- MyOdluxBundle b = new MyOdluxBundle();
- b.setLoader(loader);
- b.setIndex(0);
- b.setBundleName("abc");
- b.initialize();
- assertTrue(loader.getNumberOfBundles()==1);
- assertNotNull(b.getLoader());
- assertEquals("abc",b.getBundleName());
- assertTrue(b.hasResource("test.js"));
- assertNotNull(b.getResourceFileContent("test.js"));
- b.clean();
- assertTrue(loader.getNumberOfBundles()==0);
- }
-
-}
diff --git a/sdnr/wt/odlux/apps/inventoryApp/src2/test/resources/test.js b/sdnr/wt/odlux/apps/inventoryApp/src2/test/resources/test.js
deleted file mode 100644
index b47fdc39f..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/src2/test/resources/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-asdac sad
-as
-d
-sad
- sadfa \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/inventoryApp/tsconfig.json b/sdnr/wt/odlux/apps/inventoryApp/tsconfig.json
deleted file mode 100644
index a66b5d828..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/tsconfig.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./src",
- "outDir": "./dist",
- "sourceMap": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": false,
- "allowUnreachableCode": false,
- "allowUnusedLabels": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "pretty": true,
- "newLine": "LF",
- "module": "es2015",
- "target": "es2016",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "jsx": "preserve",
- "lib": [
- "dom",
- "es2015",
- "es2016"
- ],
- "types": [
- "prop-types",
- "react",
- "react-dom"
- ]
- },
- "exclude": [
- "dist",
- "node_modules"
- ]
-}
diff --git a/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js b/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js
deleted file mode 100644
index 2af2bdb95..000000000
--- a/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js
+++ /dev/null
@@ -1,156 +0,0 @@
-/**
- * Webpack 4 configuration file
- * see https://webpack.js.org/configuration/
- * see https://webpack.js.org/configuration/dev-server/
- */
-
-"use strict";
-
-const path = require("path");
-const webpack = require("webpack");
-const CopyWebpackPlugin = require("copy-webpack-plugin");
-const TerserPlugin = require('terser-webpack-plugin');
-
-// const __dirname = (path => path.replace(/^([a-z]\:)/, c => c.toUpperCase()))(process.__dirname());
-
-module.exports = (env) => {
- const distPath = path.resolve(__dirname, env === "release" ? "." : "../..", "dist");
- const frameworkPath = path.resolve(__dirname, env === "release" ? "../../framework" : "../..", "dist");
- return [{
- name: "App",
-
- mode: "none", //disable default behavior
-
- target: "web",
-
- context: path.resolve(__dirname, "src"),
-
- entry: {
- inventoryApp: ["./plugin.tsx"]
- },
-
- devtool: env === "release" ? false : "source-map",
-
- resolve: {
- extensions: [".ts", ".tsx", ".js", ".jsx"]
- },
-
- output: {
- path: distPath,
- filename: "[name].js",
- library: "[name]",
- libraryTarget: "umd2",
- chunkFilename: "[name].js"
- },
- module: {
- rules: [{
- test: /\.tsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }, {
- loader: "ts-loader"
- }]
- }, {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }]
- }]
- },
-
- optimization: {
- noEmitOnErrors: true,
- namedModules: env !== "release",
- minimize: env === "release",
- minimizer: env !== "release" ? [] : [new TerserPlugin({
- terserOptions: {
- warnings: false, // false, true, "verbose"
- compress: {
- drop_console: true,
- drop_debugger: true,
- }
- }
- })],
- },
-
- plugins: [
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
- ...(env === "release") ? [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'production'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- ] : [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'development'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- new CopyWebpackPlugin([{
- from: 'index.html',
- to: distPath
- }]),
- ]
- ],
-
- devServer: {
- public: "http://localhost:3100",
- contentBase: frameworkPath,
-
- compress: true,
- headers: {
- "Access-Control-Allow-Origin": "*"
- },
- host: "0.0.0.0",
- port: 3100,
- disableHostCheck: true,
- historyApiFallback: true,
- inline: true,
- hot: false,
- quiet: false,
- stats: {
- colors: true
- },
- proxy: {
-
- "/oauth2/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/database/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/restconf/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/help/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/websocket/": {
- target: "http://localhost:3000",
- ws: true,
- changeOrigin: true,
- secure: false
- }
- }
-
- }
- }];
-}
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/.babelrc b/sdnr/wt/odlux/apps/maintenanceApp/.babelrc
deleted file mode 100644
index 3d8cd1260..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/.babelrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "presets": [
- ["@babel/preset-react"],
- ["@babel/preset-env", {
- "targets": {
- "chrome": "66"
- },
- "spec": true,
- "loose": false,
- "modules": false,
- "debug": false,
- "useBuiltIns": "usage",
- "forceAllTransforms": true
- }]
- ],
- "plugins": []
-}
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/package.json b/sdnr/wt/odlux/apps/maintenanceApp/package.json
deleted file mode 100644
index 175fce4d5..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/package.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "@odlux/maintenance-app",
- "version": "0.1.0",
- "description": "A react based modular UI for the maintenance app.",
- "main": "index.js",
- "scripts": {
- "start": "webpack-dev-server --env debug",
- "build": "webpack --env release --config webpack.config.js",
- "build:dev": "webpack --env debug --config webpack.config.js"
- },
- "repository": {
- "type": "git",
- "url": "https://git.mfico.de/highstreet-technologies/odlux.git"
- },
- "keywords": [
- "reactjs",
- "redux",
- "ui",
- "framework"
- ],
- "author": "Matthias Fischer",
- "license": "Apache-2.0",
- "dependencies": {
- "@odlux/framework": "*",
- "@odlux/connect-app": "*"
- },
- "peerDependencies": {
- "@types/react": "16.4.14",
- "@types/react-dom": "16.0.8",
- "@types/react-router-dom": "4.3.1",
- "@material-ui/core": "3.8.3",
- "@material-ui/icons": "3.0.2",
- "@types/classnames": "2.2.6",
- "@types/flux": "3.1.8",
- "@types/jquery": "3.3.10",
- "jquery": "3.3.1",
- "react": "16.5.2",
- "react-dom": "16.5.2",
- "react-router-dom": "4.3.1"
- }
-}
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/pom.xml b/sdnr/wt/odlux/apps/maintenanceApp/pom.xml
deleted file mode 100644
index 71a8aefaf..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/pom.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-app-maintenanceApp</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnr-wt-odlux-app-maintenanceApp</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-provider</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <pluginRepositories>
- <pluginRepository>
- <id>highstreet repo</id>
- <url>https://cloud-highstreet-technologies.com/mvn/</url>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <sourceDirectory>src2/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>dist</directory>
- <targetPath>odlux</targetPath>
- </resource>
- <resource>
- <directory>src2/main/resources</directory>
- </resource>
- <resource>
- <directory>src2/test/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>../node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <!-- eclipse bug build bin folder in basedir -->
- <fileset>
- <directory>bin</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src2/test/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>de.jacksitlab</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <!-- optional: default phase is "generate-resources" -->
- <phase>initialize</phase>
- <configuration>
- <nodeVersion>v8.10.0</nodeVersion>
- <yarnVersion>v1.12.3</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>run build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
- <Private-Package/>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/actions/maintenenceActions.ts b/sdnr/wt/odlux/apps/maintenanceApp/src/actions/maintenenceActions.ts
deleted file mode 100644
index 15ac64721..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/actions/maintenenceActions.ts
+++ /dev/null
@@ -1,112 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { Dispatch } from '../../../../framework/src/flux/store';
-import { MaintenenceEntry, spoofSymbol } from '../models/maintenenceEntryType';
-
-import { AddSnackbarNotification } from '../../../../framework/src/actions/snackbarActions';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-import { maintenenceService } from '../services/maintenenceService';
-
-export class BaseAction extends Action { }
-
-export class LoadAllMainteneceEntriesAction extends BaseAction { }
-
-export class AllMainteneceEntriesLoadedAction extends BaseAction {
-
- constructor (public maintenenceEntries: MaintenenceEntry[] | null, error?:string) {
- super();
-
- }
-}
-
-
-export const loadAllMainteneceEntriesAsyncAction = (dispatch: Dispatch , getState: () => IApplicationStoreState) => {
- dispatch(new LoadAllMainteneceEntriesAction());
- // frist get all entries from the maintenance index
- maintenenceService.getAllMaintenenceEntries().then(entries => {
- if (!entries) {
- dispatch(new AddSnackbarNotification({ message: `Error reading maintenece sessings.`, options: { variant: 'error' } }));
- return;
- }
-
- // combine ell entries from the maintenance index with all networkelements
- const networkElements = getState().connect.mountedNetworkElements;
- const maintenenceEntries = networkElements.elements.reduce((acc, cur) => {
- const entry = entries.find(e => e.mountId === cur.mountId);
- acc.push(entry || {
- [spoofSymbol]: true,
- _id: cur.mountId,
- mountId: cur.mountId,
- description : "",
- start: "",
- end: "",
- active: false
- });
- return acc;
- }, [] as MaintenenceEntry[]);
-
- // all all entries from the maintenance index which are not in all networkelements
- entries.forEach(entry => {
- if (maintenenceEntries.findIndex(e => e.mountId === entry.mountId) < 0) {
- maintenenceEntries.push(entry);
- };
- });
-
- dispatch(new AllMainteneceEntriesLoadedAction(maintenenceEntries));
- }).catch(error => dispatch(new AllMainteneceEntriesLoadedAction(null, error)));
-}
-
-export class UpdateMaintenanceEntry extends BaseAction {
- constructor(public maintenenceEntry: MaintenenceEntry) {
- super();
- }
-}
-
-/** Represents an async thunk action creator to add an element to the maintenence entries. */
-export const addOrUpdateMaintenenceEntryAsyncActionCreator = (entry: MaintenenceEntry) => (dispatch: Dispatch) => {
- maintenenceService.writeMaintenenceEntry(entry).then(result => {
- result && window.setTimeout(() => {
- // dispatch(loadAllMountedNetworkElementsAsync);
- dispatch(new UpdateMaintenanceEntry(entry));
- dispatch(new AddSnackbarNotification({ message: `Successfully ${result && result.created ? "created" : "updated"} maintenece sessings for [${entry.mountId}]`, options: { variant: 'success' } }));
- }, 900);
- });
-};
-
-/** Represents an async thunk action creator to delete an element from the maintenence entries. */
-export const removeFromMaintenenceEntrysAsyncActionCreator = (entry: MaintenenceEntry) => (dispatch: Dispatch) => {
- maintenenceService.deleteMaintenenceEntry(entry).then(result => {
- result && window.setTimeout(() => {
- //dispatch(loadAllMountedNetworkElementsAsync);
- dispatch(new UpdateMaintenanceEntry({
- [spoofSymbol]: true,
- _id: entry._id,
- mountId: entry.mountId,
- description : "",
- start: "",
- end: "",
- active: false
- }));
- dispatch(new AddSnackbarNotification({ message: `Successfully removed [${entry.mountId}]`, options: { variant: 'success' } }));
- }, 900);
- });
-};
-
-// Hint: since there is no notification of changed required network elements, this code is not aware of changes caused outiside of this browser. \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/components/editMaintenenceEntryDialog.tsx b/sdnr/wt/odlux/apps/maintenanceApp/src/components/editMaintenenceEntryDialog.tsx
deleted file mode 100644
index 55953f497..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/components/editMaintenenceEntryDialog.tsx
+++ /dev/null
@@ -1,194 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import Button from '@material-ui/core/Button';
-import TextField from '@material-ui/core/TextField';
-import Dialog from '@material-ui/core/Dialog';
-import DialogActions from '@material-ui/core/DialogActions';
-import DialogContent from '@material-ui/core/DialogContent';
-import DialogContentText from '@material-ui/core/DialogContentText';
-import DialogTitle from '@material-ui/core/DialogTitle';
-
-import { IDispatcher, connect, Connect } from '../../../../framework/src/flux/connect';
-
-import {
- addOrUpdateMaintenenceEntryAsyncActionCreator,
- removeFromMaintenenceEntrysAsyncActionCreator
-} from '../actions/maintenenceActions';
-
-import { MaintenenceEntry } from '../models/maintenenceEntryType';
-import { FormControl, InputLabel, Select, MenuItem } from '@material-ui/core';
-
-export enum EditMaintenenceEntryDialogMode {
- None = "none",
- AddMaintenenceEntry = "addMaintenenceEntry",
- EditMaintenenceEntry = "editMaintenenceEntry",
- RemoveMaintenenceEntry = "removeMaintenenceEntry"
-}
-
-const mapDispatch = (dispatcher: IDispatcher) => ({
- addOrUpdateMaintenenceEntry: (entry: MaintenenceEntry) => {
- dispatcher.dispatch(addOrUpdateMaintenenceEntryAsyncActionCreator(entry));
- },
- removeMaintenenceEntry: (entry: MaintenenceEntry) => {
- dispatcher.dispatch(removeFromMaintenenceEntrysAsyncActionCreator(entry));
- },
-});
-
-type DialogSettings = {
- dialogTitle: string,
- dialogDescription: string,
- applyButtonText: string,
- cancelButtonText: string,
- enableMountIdEditor: boolean,
- enableTimeEditor: boolean,
-}
-
-const settings: { [key: string]: DialogSettings } = {
- [EditMaintenenceEntryDialogMode.None]: {
- dialogTitle: "",
- dialogDescription: "",
- applyButtonText: "",
- cancelButtonText: "",
- enableMountIdEditor: false,
- enableTimeEditor: false,
- },
- [EditMaintenenceEntryDialogMode.AddMaintenenceEntry]: {
- dialogTitle: "Add new maintenence entry",
- dialogDescription: "",
- applyButtonText: "Add",
- cancelButtonText: "Cancel",
- enableMountIdEditor: true,
- enableTimeEditor: true,
- },
- [EditMaintenenceEntryDialogMode.EditMaintenenceEntry]: {
- dialogTitle: "Edit maintenence entry",
- dialogDescription: "",
- applyButtonText: "Save",
- cancelButtonText: "Cancel",
- enableMountIdEditor: false,
- enableTimeEditor: true,
- },
- [EditMaintenenceEntryDialogMode.RemoveMaintenenceEntry]: {
- dialogTitle: "Remove maintenence entry",
- dialogDescription: "",
- applyButtonText: "Remove",
- cancelButtonText: "Cancel",
- enableMountIdEditor: false,
- enableTimeEditor: false,
- },
-}
-
-type EditMaintenenceEntryDIalogComponentProps = Connect<undefined, typeof mapDispatch> & {
- mode: EditMaintenenceEntryDialogMode;
- initialMaintenenceEntry: MaintenenceEntry;
- onClose: () => void;
-};
-
-type EditMaintenenceEntryDIalogComponentState = MaintenenceEntry;
-
-class EditMaintenenceEntryDIalogComponent extends React.Component<EditMaintenenceEntryDIalogComponentProps, EditMaintenenceEntryDIalogComponentState> {
- constructor (props: EditMaintenenceEntryDIalogComponentProps) {
- super(props);
-
- this.state = {
- ...this.props.initialMaintenenceEntry
- };
- }
-
- render(): JSX.Element {
- const setting = settings[this.props.mode];
- return (
- <Dialog open={this.props.mode !== EditMaintenenceEntryDialogMode.None}>
- <DialogTitle id="form-dialog-title">{setting.dialogTitle}</DialogTitle>
- <DialogContent>
- <DialogContentText>
- {setting.dialogDescription}
- </DialogContentText>
- <TextField disabled={!setting.enableMountIdEditor} spellCheck={false} autoFocus margin="dense" id="name" label="Name" type="text" fullWidth value={this.state.mountId} onChange={(event) => { this.setState({ mountId: event.target.value }); }} />
- <TextField disabled={!setting.enableTimeEditor} spellCheck={false} autoFocus margin="dense" id="start" label="Start" type="datetime-local" fullWidth value={this.state.start} onChange={(event) => { this.setState({ start: event.target.value }); }} />
- <TextField disabled={!setting.enableTimeEditor} spellCheck={false} autoFocus margin="dense" id="end" label="End" type="datetime-local" fullWidth value={this.state.end} onChange={(event) => { this.setState({ end: event.target.value }); }} />
- <FormControl fullWidth disabled={!setting.enableTimeEditor}>
- <InputLabel htmlFor="active">Active</InputLabel>
- <Select value={ this.state.active || false } onChange={(event) => {
- this.setState({ active: event.target.value as any as boolean });
- }} inputProps={{ name: 'active', id: 'active' }} fullWidth >
- <MenuItem value={true as any as string}>active</MenuItem>
- <MenuItem value={false as any as string}>not active</MenuItem>
- </Select>
- </FormControl>
- </DialogContent>
- <DialogActions>
- <Button onClick={(event) => {
- this.onApply({
- _id: this.state._id || this.state.mountId,
- mountId: this.state.mountId,
- description: this.state.description,
- start: this.state.start,
- end: this.state.end,
- active: this.state.active
- });
- event.preventDefault();
- event.stopPropagation();
- }} > {setting.applyButtonText} </Button>
- <Button onClick={(event) => {
- this.onCancel();
- event.preventDefault();
- event.stopPropagation();
- }} color="secondary"> {setting.cancelButtonText} </Button>
- </DialogActions>
- </Dialog>
- )
- }
-
- private onApply = (entry: MaintenenceEntry) => {
- this.props.onClose && this.props.onClose();
- switch (this.props.mode) {
- case EditMaintenenceEntryDialogMode.AddMaintenenceEntry:
- entry && this.props.addOrUpdateMaintenenceEntry(entry);
- break;
- case EditMaintenenceEntryDialogMode.EditMaintenenceEntry:
- entry && this.props.addOrUpdateMaintenenceEntry(entry);
- break;
- case EditMaintenenceEntryDialogMode.RemoveMaintenenceEntry:
- entry && this.props.removeMaintenenceEntry(entry);
- break;
- }
- };
-
-
- private onCancel = () => {
- this.props.onClose && this.props.onClose();
- }
-
- static getDerivedStateFromProps(props: EditMaintenenceEntryDIalogComponentProps, state: EditMaintenenceEntryDIalogComponentState & { _initialMaintenenceEntry: MaintenenceEntry }): EditMaintenenceEntryDIalogComponentState & { _initialMaintenenceEntry: MaintenenceEntry } {
- if (props.initialMaintenenceEntry !== state._initialMaintenenceEntry) {
- state = {
- ...state,
- ...props.initialMaintenenceEntry,
- _initialMaintenenceEntry: props.initialMaintenenceEntry,
- };
- }
- return state;
- }
-
-}
-
-export const EditMaintenenceEntryDIalog = connect(undefined, mapDispatch)(EditMaintenenceEntryDIalogComponent);
-export default EditMaintenenceEntryDIalog; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenanceAppRootHandler.ts b/sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenanceAppRootHandler.ts
deleted file mode 100644
index aa0fb758b..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenanceAppRootHandler.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// main state handler
-
-import { combineActionHandler } from '../../../../framework/src/flux/middleware';
-
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-import { IConnectAppStoreState } from '../../../connectApp/src/handlers/connectAppRootHandler';
-
-import { IMaintenenceEntriesState, maintenenceEntriesActionHandler } from './maintenenceEntriesHandler';
-
-export interface IMaintenanceAppStoreState {
- maintenenceEntries : IMaintenenceEntriesState
-}
-
-declare module '../../../../framework/src/store/applicationStore' {
- interface IApplicationStoreState {
- maintenance: IMaintenanceAppStoreState,
- connect: IConnectAppStoreState
- }
-}
-
-const actionHandlers = {
- maintenenceEntries: maintenenceEntriesActionHandler
-};
-
-export const maintenanceAppRootHandler = combineActionHandler<IMaintenanceAppStoreState>(actionHandlers);
-export default maintenanceAppRootHandler;
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenenceEntriesHandler.ts b/sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenenceEntriesHandler.ts
deleted file mode 100644
index 4ae8baa38..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenenceEntriesHandler.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { IActionHandler } from '../../../../framework/src/flux/action';
-
-import { MaintenenceEntry } from '../models/maintenenceEntryType';
-import { LoadAllMainteneceEntriesAction, AllMainteneceEntriesLoadedAction, UpdateMaintenanceEntry } from '../actions/maintenenceActions';
-
-export interface IMaintenenceEntriesState {
- entries: MaintenenceEntry[];
- busy: boolean;
-}
-
-const maintenanceEntriesStateInit: IMaintenenceEntriesState = {
- entries: [],
- busy: false
-};
-
-export const maintenenceEntriesActionHandler: IActionHandler<IMaintenenceEntriesState> = (state = maintenanceEntriesStateInit, action) => {
- if (action instanceof LoadAllMainteneceEntriesAction){
- state = {
- ...state,
- busy: true,
- }
- } else if (action instanceof AllMainteneceEntriesLoadedAction){
- state = {
- ...state,
- entries: action.maintenenceEntries || [],
- busy: false,
- }
- } else if (action instanceof UpdateMaintenanceEntry) {
- const index = state.entries.findIndex(e => action.maintenenceEntry.mountId === e.mountId);
- state = {
- ...state,
- entries: index > -1 ? [
- ...state.entries.slice(0, index),
- action.maintenenceEntry,
- ...state.entries.slice(index+1),
- ] : [...state.entries, action.maintenenceEntry]
- }
- }
- return state;
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/index.html b/sdnr/wt/odlux/apps/maintenanceApp/src/index.html
deleted file mode 100644
index c84aecee1..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/index.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <!-- <link rel="stylesheet" href="./vendor.css"> -->
- <title>Minimal App</title>
-</head>
-
-<body>
- <div id="app"></div>
- <script type="text/javascript" src="./require.js"></script>
- <script type="text/javascript" src="./config.js"></script>
- <script>
- // run the application
- require(["app","connectApp", "maintenanceApp"], function (app, connectApp, maintenanceApp) {
- connectApp.register();
- maintenanceApp.register();
- app("./app.tsx").runApplication();
- });
- </script>
-</body>
-
-</html> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/models/maintenenceEntryType.ts b/sdnr/wt/odlux/apps/maintenanceApp/src/models/maintenenceEntryType.ts
deleted file mode 100644
index f90d300be..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/models/maintenenceEntryType.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-/** Represents the elestic search db type for maintenence enrties */
-export type MaintenenceEntryType = {
- node: string;
- // According to the arrangement from 2019.02.15 there will be currently only one element in the filters array.
- filter: [{
- definition: { "object-id-ref": string ,problem: string},
- description: string,
- /** The end date for the maintenence mode formated as ISO date string in UTC. */
- end: string,
- /** The start date for the maintenence mode formated as ISO date string in UTC. */
- start: string
- }],
- /** Determines if the filter set is activated or not. */
- active: boolean;
-}
-
-export const spoofSymbol = Symbol("Spoof");
-
-/** Represents the type for an maintenence entry. */
-export type MaintenenceEntry = {
- [spoofSymbol]?: boolean;
- _id: string;
- mountId: string;
- description: string;
- start: string;
- end: string;
- active: boolean;
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/plugin.tsx b/sdnr/wt/odlux/apps/maintenanceApp/src/plugin.tsx
deleted file mode 100644
index e6ab977b3..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/plugin.tsx
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// app configuration and main entry point for the app
-
-import * as React from "react";
-
-import { faLock } from '@fortawesome/free-solid-svg-icons'; // select app icon
-
-import applicationManager from '../../../framework/src/services/applicationManager';
-
-import { maintenanceAppRootHandler } from './handlers/maintenanceAppRootHandler';
-
-import MaintenenceView from "./views/maintenenceView";
-
-const App : React.SFC = (props) => {
- return <MaintenenceView />
-};
-
-export function register() {
- applicationManager.registerApplication({
- name: "maintenance",
- icon: faLock,
- rootComponent: App,
- rootActionHandler: maintenanceAppRootHandler,
- menuEntry: "Maintenance"
- });
-}
-
-
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/services/maintenenceService.ts b/sdnr/wt/odlux/apps/maintenanceApp/src/services/maintenenceService.ts
deleted file mode 100644
index 7da5e912b..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/services/maintenenceService.ts
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { requestRest } from '../../../../framework/src/services/restService';
-import { Result, HitEntry, PostResponse, DeleteResponse } from '../../../../framework/src/models/elasticSearch';
-
-import { MaintenenceEntryType, MaintenenceEntry } from '../models/maintenenceEntryType';
-import { convertToLocaleString, convertToGMTString } from '../utils/timeUtils';
-
-export const maintenenceEntryDatabasePath = "mwtn/maintenancemode";
-
-/**
- * Represents a web api accessor service for all maintenence entries related actions.
- */
-class MaintenenceService {
- /**
- * Gets all maintenence entries from the backend.
- */
- public async getAllMaintenenceEntries(): Promise<(MaintenenceEntry[]) | null> {
- const path = `database/${maintenenceEntryDatabasePath}/_search`;
- const query = { "query": { "match_all": {} } };
-
- const result = await requestRest<Result<MaintenenceEntryType>>(path, { method: "POST", body: JSON.stringify(query) });
- return result && result.hits && result.hits.hits && result.hits.hits.map(me => me._source && me._source.filter[0] && ({
- _id: me._id,
- mountId: me._source.node,
- description: me._source.filter[0].description,
- start: me._source.filter[0].start && convertToLocaleString(me._source.filter[0].start),
- end: me._source.filter[0].end && convertToLocaleString(me._source.filter[0].end),
- active: me._source.active
- })) || null;
- }
-
- /**
- * Gets one maintenence entry by its mountId from the backend.
- */
- public async getMaintenenceEntryByMountId(mountId: string): Promise<(MaintenenceEntry) | null> {
- const path = `database/${maintenenceEntryDatabasePath}/${mountId}`;
-
- const result = await requestRest<HitEntry<MaintenenceEntryType> & { found: boolean }>(path, { method: "GET" });
- return result && result.found && result._source && result._source.filter[0] && {
- _id: result._id,
- mountId: result._source.node,
- description: result._source.filter[0].description,
- start: result._source.filter[0].start && convertToLocaleString(result._source.filter[0].start),
- end: result._source.filter[0].end && convertToLocaleString(result._source.filter[0].end),
- active: result._source.active
- } || null;
- }
-
- /**
- * Adds or updates one maintenence entry to the backend.
- */
- public async writeMaintenenceEntry(maintenenceEntry: MaintenenceEntry): Promise<PostResponse | null> {
- const path = `database/${maintenenceEntryDatabasePath}/${maintenenceEntry._id}`;
- const data: MaintenenceEntryType = {
- node: maintenenceEntry.mountId,
- filter: [
- {
- definition: { "object-id-ref": "", problem: "" },
- description: "",
- start: convertToGMTString(maintenenceEntry.start),
- end: convertToGMTString(maintenenceEntry.end)
- }
- ],
- active: maintenenceEntry.active
- };
-
- const result = await requestRest<PostResponse>(path, { method: "POST", body: JSON.stringify(data) });
- return result || null;
- }
-
- /**
- * Deletes one maintenence entry by its mountId from the backend.
- */
- public async deleteMaintenenceEntry(maintenenceEntry: MaintenenceEntry): Promise<(DeleteResponse) | null> {
- const path = `database/${maintenenceEntryDatabasePath}/${maintenenceEntry._id}`;
-
- const result = await requestRest<DeleteResponse>(path, { method: "DELETE" });
- return result || null;
- }
-}
-
-export const maintenenceService = new MaintenenceService();
-export default maintenenceService; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/utils/timeUtils.ts b/sdnr/wt/odlux/apps/maintenanceApp/src/utils/timeUtils.ts
deleted file mode 100644
index cdb31e698..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/utils/timeUtils.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export function convertToGMTString(dateString: string): string {
- const date = new Date(dateString);
- const pad = (n: number) => (n < 10) ? '0' + n : n;
-
- return date.getUTCFullYear() +
- '-' + pad(date.getUTCMonth() + 1) +
- '-' + pad(date.getUTCDate()) +
- 'T' + pad(date.getUTCHours()) +
- ':' + pad(date.getUTCMinutes()) +
- '+00:00';
-}
-
-export function convertToLocaleString(rawDate: string| number): string {
- const date = new Date(rawDate);
- const pad = (n: number) => (n < 10) ? '0' + n : n;
-
- return date.getFullYear() +
- '-' + pad(date.getMonth() + 1) +
- '-' + pad(date.getDate()) +
- 'T' + pad(date.getHours()) +
- ':' + pad(date.getMinutes());
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/views/maintenenceView.tsx b/sdnr/wt/odlux/apps/maintenanceApp/src/views/maintenenceView.tsx
deleted file mode 100644
index d68205cd8..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/views/maintenenceView.tsx
+++ /dev/null
@@ -1,226 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { Theme, createStyles, WithStyles, withStyles, Tooltip } from '@material-ui/core';
-
-import { faBan } from '@fortawesome/free-solid-svg-icons';
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-
-import AddIcon from '@material-ui/icons/Add';
-import EditIcon from '@material-ui/icons/Edit';
-import RemoveIcon from '@material-ui/icons/RemoveCircleOutline';
-
-import Button from '@material-ui/core/Button';
-import IconButton from '@material-ui/core/IconButton';
-
-import connect, { IDispatcher, Connect } from '../../../../framework/src/flux/connect';
-import MaterialTable, { MaterialTableCtorType, ColumnType } from '../../../../framework/src/components/material-table';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-import { loadAllMountedNetworkElementsAsync } from '../../../connectApp/src/actions/mountedNetworkElementsActions';
-
-import { loadAllMainteneceEntriesAsyncAction } from '../actions/maintenenceActions';
-import { MaintenenceEntry, spoofSymbol } from '../models/maintenenceEntryType';
-
-import EditMaintenenceEntryDialog, { EditMaintenenceEntryDialogMode } from '../components/editMaintenenceEntryDialog';
-import { convertToLocaleString } from '../utils/timeUtils';
-
-const styles = (theme: Theme) => createStyles({
- button: {
- margin: 0,
- padding: "6px 6px",
- minWidth: 'unset'
- },
- spacer: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- display: "inline"
- }
-});
-
-const MaintenenceEntriesTable = MaterialTable as MaterialTableCtorType<MaintenenceEntry>;
-
-const mapProps = (state: IApplicationStoreState) => ({
- maintenenceEntries: state.maintenance.maintenenceEntries.entries,
- busy: state.maintenance.maintenenceEntries.busy
-});
-
-const mapDispatcher = (dispatcher: IDispatcher) => ({
- onLoadMenteneceEntries: async () => {
- await dispatcher.dispatch(loadAllMountedNetworkElementsAsync)
- dispatcher.dispatch(loadAllMainteneceEntriesAsyncAction);
- }
-});
-
-const emptyMaintenenceEntry: MaintenenceEntry = {
- _id: '',
- mountId: '',
- description: '',
- start: convertToLocaleString(new Date().valueOf()),
- end: convertToLocaleString(new Date().valueOf()),
- active: false,
-};
-
-type MaintenenceViewComponentProps = Connect<typeof mapProps, typeof mapDispatcher> & WithStyles<typeof styles> & {
-
-}
-
-type MaintenenceViewComponentState = {
- maintenenceEntryToEdit: MaintenenceEntry;
- maintenenceEntryEditorMode: EditMaintenenceEntryDialogMode;
-}
-
-class MaintenenceViewComponent extends React.Component<MaintenenceViewComponentProps, MaintenenceViewComponentState> {
-
- constructor (props: MaintenenceViewComponentProps) {
- super(props);
-
- this.state = {
- maintenenceEntryToEdit: emptyMaintenenceEntry,
- maintenenceEntryEditorMode: EditMaintenenceEntryDialogMode.None,
- };
-
- }
-
- render() {
- const { classes } = this.props;
- const addMaintenenceEntryAction = {
- icon: AddIcon, tooltip: 'Add', onClick: () => {
- const startTime = (new Date().valueOf());
- const endTime = startTime;
- this.setState({
- maintenenceEntryToEdit: {
- ...emptyMaintenenceEntry,
- start: convertToLocaleString(startTime),
- end: convertToLocaleString(endTime),
- },
- maintenenceEntryEditorMode: EditMaintenenceEntryDialogMode.AddMaintenenceEntry
- });
- }
- };
- const now = new Date().valueOf();
- return (
- <>
- <MaintenenceEntriesTable asynchronus rows={this.props.maintenenceEntries} customActionButtons={[ addMaintenenceEntryAction ]} columns={
- [
- { property: "mountId", title: "Mount Id", type: ColumnType.text },
- {
- property: "notifications", title: "Notification", width: 50, align: "center", type: ColumnType.custom, customControl: ({ rowData }) => (
- rowData.active && (Date.parse(rowData.start).valueOf() <= now) && (Date.parse(rowData.end).valueOf() >= now) && <FontAwesomeIcon icon={faBan} /> || null
- )
- },
- { property: "active", title: "Activation State", type: ColumnType.boolean, labels: { "true": "active", "false": "not active" }, },
- { property: "start", title: "Start Date", type: ColumnType.text },
- { property: "end", title: "End Date", type: ColumnType.text },
- { property: "actions", title: "Actions", type: ColumnType.custom, customControl : ({ rowData })=>(
- <>
- <div className={classes.spacer}>
- <Tooltip title={"1h from now"} ><Button className={classes.button} onClick={ (event) => this.onOpenPlus1hEditMaintenenceEntryDialog(event, rowData)} >+1h</Button></Tooltip>
- <Tooltip title={"8h from now"} ><Button className={classes.button} onClick={(event) => this.onOpenPlus8hEditMaintenenceEntryDialog(event, rowData)} >+8h</Button></Tooltip>
- </div>
- <div className={classes.spacer}>
- <Tooltip title={"Edit"} ><IconButton className={classes.button} onClick={(event) => this.onOpenEditMaintenenceEntryDialog(event, rowData)} ><EditIcon /></IconButton></Tooltip>
- <Tooltip title={"Remove"} ><IconButton disabled={ !!rowData[spoofSymbol] } className={classes.button} onClick={(event) => this.onOpenRemoveMaintenenceEntryDialog(event, rowData)} ><RemoveIcon /></IconButton></Tooltip>
- </div>
- </>
- ) },
- ]
- } idProperty={'_id'}> </MaintenenceEntriesTable>
- <EditMaintenenceEntryDialog initialMaintenenceEntry={this.state.maintenenceEntryToEdit} mode={this.state.maintenenceEntryEditorMode}
- onClose={ this.onCloseEditMaintenenceEntryDialog } />
- </>
- );
- }
-
- componentDidMount(){
- this.props.onLoadMenteneceEntries();
- }
-
- private onOpenPlus1hEditMaintenenceEntryDialog = (event: React.MouseEvent<HTMLElement>, entry: MaintenenceEntry) => {
- event.preventDefault();
- event.stopPropagation();
- const startTime = (new Date().valueOf());
- const endTime = startTime + (1 * 60 * 60 * 1000);
- this.setState({
- maintenenceEntryToEdit: {
- ...entry,
- start: convertToLocaleString(startTime),
- end: convertToLocaleString(endTime),
- },
- maintenenceEntryEditorMode: EditMaintenenceEntryDialogMode.EditMaintenenceEntry
- });
- }
-
- private onOpenPlus8hEditMaintenenceEntryDialog = (event: React.MouseEvent<HTMLElement>, entry: MaintenenceEntry) => {
- event.preventDefault();
- event.stopPropagation();
- const startTime = (new Date().valueOf());
- const endTime = startTime + (8 * 60 * 60 * 1000);
- this.setState({
- maintenenceEntryToEdit: {
- ...entry,
- start: convertToLocaleString(startTime),
- end: convertToLocaleString(endTime),
- },
- maintenenceEntryEditorMode: EditMaintenenceEntryDialogMode.EditMaintenenceEntry
- });
- }
-
- private onOpenEditMaintenenceEntryDialog = (event: React.MouseEvent<HTMLElement>, entry: MaintenenceEntry) => {
- event.preventDefault();
- event.stopPropagation();
- const startTime = (new Date().valueOf());
- const endTime = startTime ;
- this.setState({
- maintenenceEntryToEdit: {
- ...entry,
- ...(entry.start && endTime)
- ? { start: entry.start, end: entry.end }
- : { start: convertToLocaleString(startTime), end: convertToLocaleString(endTime)}
- },
- maintenenceEntryEditorMode: EditMaintenenceEntryDialogMode.EditMaintenenceEntry
- });
- }
-
- private onOpenRemoveMaintenenceEntryDialog = (event: React.MouseEvent<HTMLElement>, entry: MaintenenceEntry) => {
- event.preventDefault();
- event.stopPropagation();
- const startTime = (new Date().valueOf());
- const endTime = startTime;
- this.setState({
- maintenenceEntryToEdit: {
- ...entry,
- ...(entry.start && endTime)
- ? { start: entry.start, end: entry.end }
- : { start: convertToLocaleString(startTime), end: convertToLocaleString(endTime) }
- },
- maintenenceEntryEditorMode: EditMaintenenceEntryDialogMode.RemoveMaintenenceEntry
- });
- }
-
- private onCloseEditMaintenenceEntryDialog = () => {
- this.setState({
- maintenenceEntryToEdit: emptyMaintenenceEntry,
- maintenenceEntryEditorMode: EditMaintenenceEntryDialogMode.None,
- });
- }
-}
-
-export const MaintenenceView = withStyles(styles)(connect(mapProps, mapDispatcher)(MaintenenceViewComponent));
-export default MaintenenceView; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java b/sdnr/wt/odlux/apps/maintenanceApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
deleted file mode 100644
index 1e882fc69..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles;
-
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class MyOdluxBundle extends OdluxBundle {
-
- @Override
- public void initialize() {
- super.initialize();
- }
-
- @Override
- public void clean() {
- super.clean();
- }
-
- @Override
- public String getResourceFileContent(String filename) {
- return super.getResourceFileContent(filename);
- }
-
- @Override
- public boolean hasResource(String filename) {
- return super.hasResource(filename);
- }
-
- @Override
- public void setBundleName(String bundleName) {
- super.setBundleName(bundleName);
- }
-
- @Override
- public void setLoader(OdluxBundleLoader loader) {
- super.setLoader(loader);
- }
-
- @Override
- public String getBundleName() {
- return super.getBundleName();
- }
-
- @Override
- public OdluxBundleLoader getLoader() {
- return super.getLoader();
- }
-
- public MyOdluxBundle() {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wt/odlux/apps/maintenanceApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100644
index 2dd79d781..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <reference id="loadersvc" availability="mandatory" activation="eager" interface="org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader"/>
-
- <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle">
- <property name="loader" ref="loadersvc"/>
- <property name="bundleName" value="maintenanceApp"/>
- <property name="index" value="20" />
- </bean>
-</blueprint>
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java b/sdnr/wt/odlux/apps/maintenanceApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
deleted file mode 100644
index d0fbe63c0..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles.test;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.odlux.OdluxBundleLoaderImpl;
-import org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle;
-
-public class TestBundleRes {
-
- @Test
- public void test() {
- OdluxBundleLoaderImpl loader = OdluxBundleLoaderImpl.getInstance();
- MyOdluxBundle b = new MyOdluxBundle();
- b.setLoader(loader);
- b.setIndex(0);
- b.setBundleName("abc");
- b.initialize();
- assertTrue(loader.getNumberOfBundles()==1);
- assertNotNull(b.getLoader());
- assertEquals("abc",b.getBundleName());
- assertTrue(b.hasResource("test.js"));
- assertNotNull(b.getResourceFileContent("test.js"));
- b.clean();
- assertTrue(loader.getNumberOfBundles()==0);
- }
-
-}
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src2/test/resources/test.js b/sdnr/wt/odlux/apps/maintenanceApp/src2/test/resources/test.js
deleted file mode 100644
index b47fdc39f..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/src2/test/resources/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-asdac sad
-as
-d
-sad
- sadfa \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/tsconfig.json b/sdnr/wt/odlux/apps/maintenanceApp/tsconfig.json
deleted file mode 100644
index a66b5d828..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/tsconfig.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./src",
- "outDir": "./dist",
- "sourceMap": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": false,
- "allowUnreachableCode": false,
- "allowUnusedLabels": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "pretty": true,
- "newLine": "LF",
- "module": "es2015",
- "target": "es2016",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "jsx": "preserve",
- "lib": [
- "dom",
- "es2015",
- "es2016"
- ],
- "types": [
- "prop-types",
- "react",
- "react-dom"
- ]
- },
- "exclude": [
- "dist",
- "node_modules"
- ]
-}
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js b/sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js
deleted file mode 100644
index 325e70380..000000000
--- a/sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js
+++ /dev/null
@@ -1,140 +0,0 @@
-/**
- * Webpack 4 configuration file
- * see https://webpack.js.org/configuration/
- * see https://webpack.js.org/configuration/dev-server/
- */
-
-"use strict";
-
-const path = require("path");
-const webpack = require("webpack");
-const CopyWebpackPlugin = require("copy-webpack-plugin");
-const TerserPlugin = require('terser-webpack-plugin');
-
-// const __dirname = (path => path.replace(/^([a-z]\:)/, c => c.toUpperCase()))(process.__dirname());
-
-module.exports = (env) => {
- const distPath = path.resolve(__dirname, env === "release" ? "." : "../..", "dist");
- const frameworkPath = path.resolve(__dirname, env === "release" ? "../../framework" : "../..", "dist");
- return [{
- name: "App",
-
- mode: "none", //disable default behavior
-
- target: "web",
-
- context: path.resolve(__dirname, "src"),
-
- entry: {
- maintenanceApp: ["./plugin.tsx"]
- },
-
- devtool: env === "release" ? false : "source-map",
-
- resolve: {
- extensions: [".ts", ".tsx", ".js", ".jsx"]
- },
-
- output: {
- path: distPath,
- filename: "[name].js",
- library: "[name]",
- libraryTarget: "umd2",
- chunkFilename: "[name].js"
- },
- module: {
- rules: [{
- test: /\.tsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }, {
- loader: "ts-loader"
- }]
- }, {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }]
- }]
- },
-
- optimization: {
- noEmitOnErrors: true,
- namedModules: env !== "release",
- minimize: env === "release",
- minimizer: env !== "release" ? [] : [new TerserPlugin({
- terserOptions: {
- warnings: false, // false, true, "verbose"
- compress: {
- drop_console: true,
- drop_debugger: true,
- }
- }
- })],
- },
-
- plugins: [
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
- ...(env === "release") ? [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'production'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- ] : [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'development'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- new CopyWebpackPlugin([{
- from: 'index.html',
- to: distPath
- }]),
- ]
- ],
-
- devServer: {
- public: "http://localhost:3100",
- contentBase: frameworkPath,
-
- compress: true,
- headers: {
- "Access-Control-Allow-Origin": "*"
- },
- host: "0.0.0.0",
- port: 3100,
- disableHostCheck: true,
- historyApiFallback: true,
- inline: true,
- hot: false,
- quiet: false,
- stats: {
- colors: true
- },
- proxy: {
- "/restconf": {
- target: "http://localhost:3000",
- secure: false
- },
- "/database": {
- target: "http://localhost:3000",
- secure: false
- }
- }
- }
- }];
-}
diff --git a/sdnr/wt/odlux/apps/mediatorApp/.babelrc b/sdnr/wt/odlux/apps/mediatorApp/.babelrc
deleted file mode 100644
index 3d8cd1260..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/.babelrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "presets": [
- ["@babel/preset-react"],
- ["@babel/preset-env", {
- "targets": {
- "chrome": "66"
- },
- "spec": true,
- "loose": false,
- "modules": false,
- "debug": false,
- "useBuiltIns": "usage",
- "forceAllTransforms": true
- }]
- ],
- "plugins": []
-}
diff --git a/sdnr/wt/odlux/apps/mediatorApp/package.json b/sdnr/wt/odlux/apps/mediatorApp/package.json
deleted file mode 100644
index cf9cb040d..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/package.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "@odlux/mediator-app",
- "version": "0.1.0",
- "description": "A react based modular UI to demo the mediator possible app.",
- "main": "index.js",
- "scripts": {
- "start": "webpack-dev-server --env debug",
- "build": "webpack --env release --config webpack.config.js",
- "build:dev": "webpack --env debug --config webpack.config.js"
- },
- "repository": {
- "type": "git",
- "url": "https://git.mfico.de/highstreet-technologies/odlux.git"
- },
- "keywords": [
- "reactjs",
- "redux",
- "ui",
- "framework"
- ],
- "author": "Matthias Fischer",
- "license": "Apache-2.0",
- "dependencies": {
- "@odlux/framework": "*"
- },
- "peerDependencies": {
- "@fortawesome/free-solid-svg-icons": "5.6.3",
- "@types/react": "16.4.14",
- "@types/react-dom": "16.0.8",
- "@types/react-router-dom": "4.3.1",
- "@material-ui/core": "3.8.3",
- "@material-ui/icons": "3.0.2",
- "@types/classnames": "2.2.6",
- "@types/flux": "3.1.8",
- "@types/jquery": "3.3.10",
- "jquery": "3.3.1",
- "react": "16.5.2",
- "react-dom": "16.5.2",
- "react-router-dom": "4.3.1"
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/pom.xml b/sdnr/wt/odlux/apps/mediatorApp/pom.xml
deleted file mode 100644
index 81f1798ad..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/pom.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-app-mediatorApp</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnr-wt-odlux-app-mediatorApp</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-provider</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <pluginRepositories>
- <pluginRepository>
- <id>highstreet repo</id>
- <url>https://cloud-highstreet-technologies.com/mvn/</url>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <sourceDirectory>src2/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>dist</directory>
- <targetPath>odlux</targetPath>
- </resource>
- <resource>
- <directory>src2/main/resources</directory>
- </resource>
- <resource>
- <directory>src2/test/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>../node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <!-- eclipse bug build bin folder in basedir -->
- <fileset>
- <directory>bin</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src2/test/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>de.jacksitlab</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <!-- optional: default phase is "generate-resources" -->
- <phase>initialize</phase>
- <configuration>
- <nodeVersion>v8.10.0</nodeVersion>
- <yarnVersion>v1.12.3</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>run build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
- <Private-Package/>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/actions/avaliableMediatorServersActions.ts b/sdnr/wt/odlux/apps/mediatorApp/src/actions/avaliableMediatorServersActions.ts
deleted file mode 100644
index 3f56b05e1..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/actions/avaliableMediatorServersActions.ts
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { Dispatch } from '../../../../framework/src/flux/store';
-import { AddSnackbarNotification } from '../../../../framework/src/actions/snackbarActions';
-
-import { MediatorServer } from '../models/mediatorServer';
-import { avaliableMediatorServersReloadAction } from '../handlers/avaliableMediatorServersHandler';
-import mediatorService from '../services/mediatorService';
-
-/** Represents the base action. */
-export class BaseAction extends Action { }
-
-/** Represents an async thunk action that will add a server to the avaliable mediator servers. */
-export const addAvaliableMediatorServerAsyncActionCreator = (server: MediatorServer) => (dispatch: Dispatch) => {
- mediatorService.insertMediatorServer(server).then(_ => {
- window.setTimeout(() => {
- dispatch(avaliableMediatorServersReloadAction);
- dispatch(new AddSnackbarNotification({ message: `Successfully added [${ server.name }]`, options: { variant: 'success' } }));
- }, 900);
- });
- };
-
- /** Represents an async thunk action that will add a server to the avaliable mediator servers. */
-export const updateAvaliableMediatorServerAsyncActionCreator = (server: MediatorServer) => (dispatch: Dispatch) => {
- mediatorService.updateMediatorServer(server).then(_ => {
- window.setTimeout(() => {
- dispatch(avaliableMediatorServersReloadAction);
- dispatch(new AddSnackbarNotification({ message: `Successfully updated [${ server.name }]`, options: { variant: 'success' } }));
- }, 900);
- });
-};
-
- /** Represents an async thunk action that will delete a server from the avaliable mediator servers. */
- export const removeAvaliableMediatorServerAsyncActionCreator = (server: MediatorServer) => (dispatch: Dispatch) => {
- mediatorService.deleteMediatorServer(server).then(_ => {
- window.setTimeout(() => {
- dispatch(avaliableMediatorServersReloadAction);
- dispatch(new AddSnackbarNotification({ message: `Successfully removed [${ server.name }]`, options: { variant: 'success' } }));
- }, 900);
- });
- };
- \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/actions/mediatorConfigActions.ts b/sdnr/wt/odlux/apps/mediatorApp/src/actions/mediatorConfigActions.ts
deleted file mode 100644
index 516515ab2..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/actions/mediatorConfigActions.ts
+++ /dev/null
@@ -1,154 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-
-import { Action } from '../../../../framework/src/flux/action';
-import { Dispatch } from '../../../../framework/src/flux/store';
-
-import { AddSnackbarNotification } from '../../../../framework/src/actions/snackbarActions';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-import mediatorService from '../services/mediatorService';
-import { MediatorConfig, MediatorConfigResponse } from '../models/mediatorServer';
-
-/** Represents the base action. */
-export class BaseAction extends Action { }
-
-export class SetMediatorBusyByName extends BaseAction {
- constructor(public name: string, public isBusy: boolean) {
- super();
- }
-}
-
-export class AddMediatorConfig extends BaseAction {
- constructor(public mediatorConfig: MediatorConfigResponse) {
- super();
- }
-}
-
-export class UpdateMediatorConfig extends BaseAction {
- constructor(public name: string, public mediatorConfig: MediatorConfigResponse) {
- super();
- }
-}
-
-export class RemoveMediatorConfig extends BaseAction {
- constructor(public name: string) {
- super();
- }
-}
-
-
-export const startMediatorByNameAsyncActionCreator = (name: string) => (dispatch: Dispatch, getState: () => IApplicationStoreState) => {
- dispatch(new SetMediatorBusyByName(name, true));
- const { mediator: { mediatorServerState: { id } } } = getState();
- if (id) {
- mediatorService.startMediatorByName(id, name).then(msg => {
- dispatch(new AddSnackbarNotification({ message: msg + ' ' + name, options: { variant: 'info' } }));
- // since there is no notification, a timeout will be need here
- window.setTimeout(() => {
- mediatorService.getMediatorServerConfigByName(id, name).then(config => {
- if (config) {
- dispatch(new UpdateMediatorConfig(name, config));
- } else {
- dispatch(new AddSnackbarNotification({ message: `Error: reading mediator config for ${name}.`, options: { variant: 'error' } }));
- }
- dispatch(new SetMediatorBusyByName(name, false));
- });
- }, 2100);
- });
- } else {
- dispatch(new AddSnackbarNotification({ message: `Error: currently no mediator server selected.`, options: { variant: 'error' } }));
- dispatch(new SetMediatorBusyByName(name, false));
- }
-};
-
-export const stopMediatorByNameAsyncActionCreator = (name: string) => (dispatch: Dispatch, getState: () => IApplicationStoreState) => {
- dispatch(new SetMediatorBusyByName(name, true));
- const { mediator: { mediatorServerState: { id } } } = getState();
- if (id) {
- mediatorService.stopMediatorByName(id, name).then(msg => {
- dispatch(new AddSnackbarNotification({ message: msg + ' ' + name, options: { variant: 'info' } }));
- // since there is no notification, a timeout will be need here
- window.setTimeout(() => {
- mediatorService.getMediatorServerConfigByName(id, name).then(config => {
- if (config) {
- dispatch(new UpdateMediatorConfig(name, config));
- } else {
- dispatch(new AddSnackbarNotification({ message: `Error: reading mediator config for ${name}.`, options: { variant: 'error' } }));
- }
- dispatch(new SetMediatorBusyByName(name, false));
- });
- }, 2100);
- });
- } else {
- dispatch(new AddSnackbarNotification({ message: `Error: currently no mediator server selected.`, options: { variant: 'error' } }));
- dispatch(new SetMediatorBusyByName(name, false));
- }
-};
-
-export const addMediatorConfigAsyncActionCreator = (config: MediatorConfig) => (dispatch: Dispatch, getState: () => IApplicationStoreState) => {
- const { Name: name } = config;
- const { mediator: { mediatorServerState: { id } } } = getState();
- if (id) {
- mediatorService.createMediatorConfig(id, config).then(msg => {
- dispatch(new AddSnackbarNotification({ message: msg + ' ' + name, options: { variant: 'info' } }));
- // since there is no notification, a timeout will be need here
- window.setTimeout(() => {
- mediatorService.getMediatorServerConfigByName(id, name).then(config => {
- if (config) {
- dispatch(new AddMediatorConfig(config));
- } else {
- dispatch(new AddSnackbarNotification({ message: `Error: reading mediator config for ${name}.`, options: { variant: 'error' } }));
- }
- });
- }, 2100);
- });
- } else {
- dispatch(new AddSnackbarNotification({ message: `Error: currently no mediator server selected.`, options: { variant: 'error' } }));
- }
-};
-
-export const updateMediatorConfigAsyncActionCreator = (config: MediatorConfig) => (dispatch: Dispatch) => {
- // currently not supported be backend
-};
-
-export const removeMediatorConfigAsyncActionCreator = (config: MediatorConfig) => (dispatch: Dispatch, getState: () => IApplicationStoreState) => {
- const { Name: name } = config;
- const { mediator: { mediatorServerState: { id } } } = getState();
- if (id) {
- mediatorService.deleteMediatorConfigByName(id, name).then(msg => {
- dispatch(new AddSnackbarNotification({ message: msg + ' ' + name, options: { variant: 'info' } }));
- // since there is no notification, a timeout will be need here
- window.setTimeout(() => {
- mediatorService.getMediatorServerConfigByName(id, config.Name).then(config => {
- if (!config) {
- dispatch(new RemoveMediatorConfig(name));
- } else {
- dispatch(new AddSnackbarNotification({ message: `Error: deleting mediator config for ${name}.`, options: { variant: 'error' } }));
- }
- });
- }, 2100);
- });
- } else {
- dispatch(new AddSnackbarNotification({ message: `Error: currently no mediator server selected.`, options: { variant: 'error' } }));
- dispatch(new SetMediatorBusyByName(name, false));
- }
-};
-
-
-
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/actions/mediatorServerActions.ts b/sdnr/wt/odlux/apps/mediatorApp/src/actions/mediatorServerActions.ts
deleted file mode 100644
index 143dd7d4a..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/actions/mediatorServerActions.ts
+++ /dev/null
@@ -1,101 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { Dispatch } from '../../../../framework/src/flux/store';
-
-import { MediatorServerVersionInfo, MediatorConfig, MediatorConfigResponse, MediatorServerDevice } from '../models/mediatorServer';
-import mediatorService from '../services/mediatorService';
-import { AddSnackbarNotification } from '../../../../framework/src/actions/snackbarActions';
-import { NavigateToApplication } from '../../../../framework/src/actions/navigationActions';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-/** Represents the base action. */
-export class BaseAction extends Action { }
-
-export class SetMediatorServerBusy extends BaseAction {
- constructor(public isBusy: boolean) {
- super();
- }
-}
-
-export class SetMediatorServerInfo extends BaseAction {
- /**
- * Initializes a new instance of this class.
- */
- constructor(public id: string | null, public name: string | null, public url: string | null) {
- super();
-
- }
-}
-
-export class SetMediatorServerVersion extends BaseAction {
- /**
- * Initializes a new instance of this class.
- */
- constructor(public versionInfo: MediatorServerVersionInfo | null) {
- super();
-
- }
-}
-
-export class SetAllMediatorServerConfigurations extends BaseAction {
- /**
- * Initializes a new instance of this class.
- */
- constructor(public allConfigurations: MediatorConfigResponse[] | null) {
- super();
-
- }
-}
-
-export class SetMediatorServerSupportedDevices extends BaseAction {
- /**
- * Initializes a new instance of this class.
- */
- constructor(public devices: MediatorServerDevice[] | null) {
- super();
-
- }
-}
-
-export const initializeMediatorServerAsyncActionCreator = (serverId: string) => (dispatch: Dispatch) => {
- dispatch(new SetMediatorServerBusy(true));
- mediatorService.getMediatorServerById(serverId).then(mediatorServer => {
- if (!mediatorServer) {
- dispatch(new SetMediatorServerBusy(false));
- dispatch(new AddSnackbarNotification({ message: `Error loading mediator server [${serverId}]`, options: { variant: 'error' } }));
- dispatch(new NavigateToApplication("mediator"));
- return;
- }
- dispatch(new SetMediatorServerInfo(mediatorServer._id, mediatorServer.name, mediatorServer.url));
-
- mediatorService.getMediatorServerVersion(mediatorServer._id).then(versionInfo => {
- dispatch(new SetMediatorServerVersion(versionInfo));
- });
-
- Promise.all([
- mediatorService.getMediatorServerAllConfigs(mediatorServer._id),
- mediatorService.getMediatorServerSupportedDevices(mediatorServer._id)
- ]).then(([configurations, supportedDevices]) => {
- dispatch(new SetAllMediatorServerConfigurations(configurations));
- dispatch(new SetMediatorServerSupportedDevices(supportedDevices));
- dispatch(new SetMediatorServerBusy(false));
- });
- });
-};
-
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/components/editMediatorConfigDialog.tsx b/sdnr/wt/odlux/apps/mediatorApp/src/components/editMediatorConfigDialog.tsx
deleted file mode 100644
index 20ece4c22..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/components/editMediatorConfigDialog.tsx
+++ /dev/null
@@ -1,330 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-import { Theme, createStyles, WithStyles, withStyles, Typography, FormControlLabel, Checkbox } from '@material-ui/core';
-
-import Button from '@material-ui/core/Button';
-import TextField from '@material-ui/core/TextField';
-import Select from '@material-ui/core/Select';
-import Dialog from '@material-ui/core/Dialog';
-import DialogActions from '@material-ui/core/DialogActions';
-import DialogContent from '@material-ui/core/DialogContent';
-import DialogContentText from '@material-ui/core/DialogContentText';
-import DialogTitle from '@material-ui/core/DialogTitle';
-
-import Tabs from '@material-ui/core/Tabs';
-import Tab from '@material-ui/core/Tab';
-
-import Fab from '@material-ui/core/Fab';
-import AddIcon from '@material-ui/icons/Add';
-import DeleteIcon from '@material-ui/icons/Delete';
-import IconButton from '@material-ui/core/IconButton';
-
-import { addMediatorConfigAsyncActionCreator, updateMediatorConfigAsyncActionCreator, removeMediatorConfigAsyncActionCreator } from '../actions/mediatorConfigActions';
-import { MediatorConfig, ODLConfig } from '../models/mediatorServer';
-import FormControl from '@material-ui/core/FormControl';
-import InputLabel from '@material-ui/core/InputLabel';
-import MenuItem from '@material-ui/core/MenuItem';
-
-import { Panel } from '../../../../framework/src/components/material-ui/panel';
-
-import { IDispatcher, connect, Connect } from '../../../../framework/src/flux/connect';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-
-const styles = (theme: Theme) => createStyles({
- root: {
- display: 'flex',
- flexDirection: 'column',
- flex: '1',
- },
- fab: {
- position: 'absolute',
- bottom: theme.spacing.unit,
- right: theme.spacing.unit,
- },
- title: {
- fontSize: 14,
- },
- center: {
- flex: "1",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- },
- alignInOneLine: {
- display: 'flex',
- flexDirection: 'row'
- },
- left: {
- marginRight: theme.spacing.unit,
- },
- right: {
- marginLeft: 0,
- }
-});
-
-const TabContainer: React.SFC = ({ children }) => {
- return (
- <div style={{ width: "430px", height: "530px", position: "relative", display: 'flex', flexDirection: 'column' }}>
- {children}
- </div>
- );
-}
-
-export enum EditMediatorConfigDialogMode {
- None = "none",
- AddMediatorConfig = "addMediatorConfig",
- EditMediatorConfig = "editMediatorConfig",
- RemoveMediatorConfig = "removeMediatorConfig",
-}
-
-const mapProps = (state: IApplicationStoreState) => ({
- supportedDevices: state.mediator.mediatorServerState.supportedDevices
-});
-
-const mapDispatch = (dispatcher: IDispatcher) => ({
- addMediatorConfig: (config: MediatorConfig) => {
- dispatcher.dispatch(addMediatorConfigAsyncActionCreator(config));
- },
- updateMediatorConfig: (config: MediatorConfig) => {
- dispatcher.dispatch(updateMediatorConfigAsyncActionCreator(config));
- },
- removeMediatorConfig: (config: MediatorConfig) => {
- dispatcher.dispatch(removeMediatorConfigAsyncActionCreator(config));
- },
-});
-
-type DialogSettings = {
- dialogTitle: string;
- dialogDescription: string;
- applyButtonText: string;
- cancelButtonText: string;
- readonly: boolean;
- readonlyName: boolean;
-};
-
-const settings: { [key: string]: DialogSettings } = {
- [EditMediatorConfigDialogMode.None]: {
- dialogTitle: "",
- dialogDescription: "",
- applyButtonText: "",
- cancelButtonText: "",
- readonly: true,
- readonlyName: true,
- },
- [EditMediatorConfigDialogMode.AddMediatorConfig]: {
- dialogTitle: "Add Mediator Configuration",
- dialogDescription: "",
- applyButtonText: "Add",
- cancelButtonText: "Cancel",
- readonly: false,
- readonlyName: false,
- },
- [EditMediatorConfigDialogMode.EditMediatorConfig]: {
- dialogTitle: "Edit Mediator Configuration",
- dialogDescription: "",
- applyButtonText: "Update",
- cancelButtonText: "Cancel",
- readonly: false,
- readonlyName: true,
- },
- [EditMediatorConfigDialogMode.RemoveMediatorConfig]: {
- dialogTitle: "Remove Mediator Configuration",
- dialogDescription: "",
- applyButtonText: "Remove",
- cancelButtonText: "Cancel",
- readonly: true,
- readonlyName: true,
- },
-};
-
-type EditMediatorConfigDialogComponentProps = WithStyles<typeof styles> & Connect<typeof mapProps, typeof mapDispatch> & {
- mode: EditMediatorConfigDialogMode;
- mediatorConfig: MediatorConfig;
- onClose: () => void;
-};
-
-type EditMediatorConfigDialogComponentState = MediatorConfig & { activeTab: number; activeOdlConfig: string };
-
-class EditMediatorConfigDialogComponent extends React.Component<EditMediatorConfigDialogComponentProps, EditMediatorConfigDialogComponentState> {
- constructor (props: EditMediatorConfigDialogComponentProps) {
- super(props);
-
- this.state = {
- ...this.props.mediatorConfig,
- activeTab: 0,
- activeOdlConfig: ""
- };
- }
-
- private odlConfigValueChangeHandlerCreator = <THtmlElement extends HTMLElement, TKey extends keyof ODLConfig>(index: number, property: TKey, mapValue: (event: React.ChangeEvent<THtmlElement>) => any) => (event: React.ChangeEvent<THtmlElement>) => {
- event.stopPropagation();
- event.preventDefault();
- this.setState({
- ODLConfig: [
- ...this.state.ODLConfig.slice(0, index),
- { ...this.state.ODLConfig[index], [property]: mapValue(event) },
- ...this.state.ODLConfig.slice(index + 1)
- ]
- });
- }
-
- render(): JSX.Element {
- const setting = settings[this.props.mode];
- const { classes } = this.props;
- return (
- <Dialog open={this.props.mode !== EditMediatorConfigDialogMode.None}>
- <DialogTitle id="form-dialog-title">{setting.dialogTitle}</DialogTitle>
- <DialogContent>
- <DialogContentText>
- {setting.dialogDescription}
- </DialogContentText>
- <Tabs value={this.state.activeTab} indicatorColor="primary" textColor="primary" onChange={(event, value) => this.setState({ activeTab: value })} >
- <Tab label="Config" />
- <Tab label="ODL AutoConnect" />
- </Tabs>
- {this.state.activeTab === 0 ? <TabContainer >
- <TextField disabled={setting.readonly || setting.readonlyName} spellCheck={false} autoFocus margin="dense" id="name" label="Name" type="text" fullWidth value={this.state.Name} onChange={(event) => { this.setState({ Name: event.target.value }); }} />
- <FormControl fullWidth disabled={setting.readonly}>
- <InputLabel htmlFor="deviceType">Device</InputLabel>
- <Select value={this.state.DeviceType} onChange={(event) => {
- const device = this.props.supportedDevices.find(device => device.id === +event.target.value);
- if (device) {
- this.setState({
- DeviceType: device.id,
- NeXMLFile: device.xml
- });
- } else {
- this.setState({
- DeviceType: -1,
- NeXMLFile: ""
- });
- }
- }} inputProps={{ name: 'deviceType', id: 'deviceType' }} fullWidth >
- <MenuItem value={-1}><em>None</em></MenuItem>
- {this.props.supportedDevices.map(device => (<MenuItem key={device.id} value={device.id} >{`${device.vendor} - ${device.device} (${device.version || '0.0.0'}) `}</MenuItem>))}
- </Select>
- </FormControl>
- <TextField disabled={setting.readonly} spellCheck={false} autoFocus margin="dense" id="ipAddress" label="Device IP" type="text" fullWidth value={this.state.DeviceIp} onChange={(event) => { this.setState({ DeviceIp: event.target.value }); }} />
- <TextField disabled={setting.readonly} spellCheck={false} autoFocus margin="dense" id="devicePort" label="Device SNMP Port" type="number" fullWidth value={this.state.DevicePort || ""} onChange={(event) => { this.setState({ DevicePort: +event.target.value }); }} />
- <TextField disabled={setting.readonly} spellCheck={false} autoFocus margin="dense" id="trapsPort" label="TrapsPort" type="number" fullWidth value={this.state.TrapPort || ""} onChange={(event) => { this.setState({ TrapPort: +event.target.value }); }} />
- <TextField disabled={setting.readonly} spellCheck={false} autoFocus margin="dense" id="ncUser" label="Netconf User" type="text" fullWidth value={this.state.NcUsername} onChange={(event) => { this.setState({ NcUsername: event.target.value }); }} />
- <TextField disabled={setting.readonly} spellCheck={false} autoFocus margin="dense" id="ncPassword" label="Netconf Password" type="password" fullWidth value={this.state.NcPassword} onChange={(event) => { this.setState({ NcPassword: event.target.value }); }} />
- <TextField disabled={setting.readonly} spellCheck={false} autoFocus margin="dense" id="ncPort" label="Netconf Port" type="number" fullWidth value={this.state.NcPort || ""} onChange={(event) => { this.setState({ NcPort: +event.target.value }); }} />
- </TabContainer> : null}
- {this.state.activeTab === 1 ? <TabContainer >
- {this.state.ODLConfig && this.state.ODLConfig.length > 0
- ? this.state.ODLConfig.map((cfg, ind) => {
- const panelId = `panel-${ind}`;
- const deleteButton = (<IconButton onClick={() => {
- this.setState({
- ODLConfig: [
- ...this.state.ODLConfig.slice(0, ind),
- ...this.state.ODLConfig.slice(ind + 1)
- ]
- });
- }} ><DeleteIcon /></IconButton>)
- return (
- <Panel title={cfg.Server && `${cfg.User ? `${cfg.User}@` : ''}${cfg.Protocol}://${cfg.Server}:${cfg.Port}` || "new odl config"} key={panelId} panelId={panelId} activePanel={this.state.activeOdlConfig} customActionButtons={[deleteButton]}
- onToggle={(id) => this.setState({ activeOdlConfig: (this.state.activeOdlConfig === id) ? "" : (id || "") })} >
- <div className={classes.alignInOneLine}>
- <FormControl className={classes.left} margin={"dense"} >
- <InputLabel htmlFor={`protocol-${ind}`}>Protocoll</InputLabel>
- <Select value={cfg.Protocol} onChange={this.odlConfigValueChangeHandlerCreator(ind, "Protocol", e => (e.target.value))} inputProps={{ name: `protocol-${ind}`, id: `protocol-${ind}` }} fullWidth >
- <MenuItem value={"http"}>http</MenuItem>
- <MenuItem value={"https"}>https</MenuItem>
- </Select>
- </FormControl>
- <TextField className={classes.left} spellCheck={false} margin="dense" id="hostname" label="Hostname" type="text" value={cfg.Server} onChange={this.odlConfigValueChangeHandlerCreator(ind, "Server", e => e.target.value)} />
- <TextField className={classes.right} style={{ maxWidth: "65px" }} spellCheck={false} margin="dense" id="port" label="Port" type="number" value={cfg.Port || ""} onChange={this.odlConfigValueChangeHandlerCreator(ind, "Port", e => +e.target.value)} />
- </div>
- <div className={classes.alignInOneLine}>
- <TextField className={classes.left} spellCheck={false} margin="dense" id="username" label="Username" type="text" value={cfg.User} onChange={this.odlConfigValueChangeHandlerCreator(ind, "User", e => e.target.value)} />
- <TextField className={classes.right} spellCheck={false} margin="dense" id="password" label="Password" type="password" value={cfg.Password} onChange={this.odlConfigValueChangeHandlerCreator(ind, "Password", e => e.target.value)} />
- </div>
- <div className={classes.alignInOneLine}>
- <FormControlLabel className={classes.right} control={<Checkbox checked={cfg.Trustall} onChange={this.odlConfigValueChangeHandlerCreator(ind, "Trustall", e => e.target.checked)} />} label="Trustall" />
- </div>
- </Panel>
- );
- })
- : <div className={classes.center} >
- <Typography component={"div"} className={classes.title} color="textSecondary" gutterBottom>Please add an ODL auto connect configuration.</Typography>
- </div>
- }
- <Fab className={classes.fab} color="primary" aria-label="Add" onClick={() => this.setState({
- ODLConfig: [...this.state.ODLConfig, { Server: '', Port: 8181, Protocol: 'https', User: 'admin', Password: 'admin', Trustall: false }]
- })} > <AddIcon /> </Fab>
-
- </TabContainer> : null}
-
- </DialogContent>
- <DialogActions>
- <Button onClick={(event) => {
- this.onApply(Object.keys(this.state).reduce<MediatorConfig & { [kex: string]: any }>((acc, key) => {
- // do not copy activeTab and activeOdlConfig
- if (key !== "activeTab" && key !== "activeOdlConfig" && key !== "_initialMediatorConfig") acc[key] = (this.state as any)[key];
- return acc;
- }, {} as MediatorConfig));
- event.preventDefault();
- event.stopPropagation();
- }} > {setting.applyButtonText} </Button>
- <Button onClick={(event) => {
- this.onCancel();
- event.preventDefault();
- event.stopPropagation();
- }} color="secondary"> {setting.cancelButtonText} </Button>
- </DialogActions>
- </Dialog>
- )
- }
-
- private onApply = (config: MediatorConfig) => {
- this.props.onClose && this.props.onClose();
- switch (this.props.mode) {
- case EditMediatorConfigDialogMode.AddMediatorConfig:
- config && this.props.addMediatorConfig(config);
- break;
- case EditMediatorConfigDialogMode.EditMediatorConfig:
- config && this.props.updateMediatorConfig(config);
- break;
- case EditMediatorConfigDialogMode.RemoveMediatorConfig:
- config && this.props.removeMediatorConfig(config);
- break;
- }
- };
-
- private onCancel = () => {
- this.props.onClose && this.props.onClose();
- }
-
- static getDerivedStateFromProps(props: EditMediatorConfigDialogComponentProps, state: EditMediatorConfigDialogComponentState & { _initialMediatorConfig: MediatorConfig }): EditMediatorConfigDialogComponentState & { _initialMediatorConfig: MediatorConfig } {
- if (props.mediatorConfig !== state._initialMediatorConfig) {
- state = {
- ...state,
- ...props.mediatorConfig,
- _initialMediatorConfig: props.mediatorConfig,
- };
- }
- return state;
- }
-}
-
-export const EditMediatorConfigDialog = withStyles(styles)(connect(mapProps, mapDispatch)(EditMediatorConfigDialogComponent));
-export default EditMediatorConfigDialog; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/components/editMediatorServerDialog.tsx b/sdnr/wt/odlux/apps/mediatorApp/src/components/editMediatorServerDialog.tsx
deleted file mode 100644
index d38fb0b6e..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/components/editMediatorServerDialog.tsx
+++ /dev/null
@@ -1,173 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import Button from '@material-ui/core/Button';
-import TextField from '@material-ui/core/TextField';
-import Dialog from '@material-ui/core/Dialog';
-import DialogActions from '@material-ui/core/DialogActions';
-import DialogContent from '@material-ui/core/DialogContent';
-import DialogContentText from '@material-ui/core/DialogContentText';
-import DialogTitle from '@material-ui/core/DialogTitle';
-
-import { IDispatcher, connect, Connect } from '../../../../framework/src/flux/connect';
-
-import { addAvaliableMediatorServerAsyncActionCreator, removeAvaliableMediatorServerAsyncActionCreator, updateAvaliableMediatorServerAsyncActionCreator } from '../actions/avaliableMediatorServersActions';
-import { MediatorServer } from '../models/mediatorServer';
-
-export enum EditMediatorServerDialogMode {
- None = "none",
- AddMediatorServer = "addMediatorServer",
- EditMediatorServer = "editMediatorServer",
- RemoveMediatorServer = "removeMediatorServer",
-}
-
-const mapDispatch = (dispatcher: IDispatcher) => ({
- addMediatorServer: (element: MediatorServer) => {
- dispatcher.dispatch(addAvaliableMediatorServerAsyncActionCreator(element));
- },
- updateMediatorServer: (element: MediatorServer) => {
- dispatcher.dispatch(updateAvaliableMediatorServerAsyncActionCreator(element));
- },
- removeMediatorServer: (element: MediatorServer) => {
- dispatcher.dispatch(removeAvaliableMediatorServerAsyncActionCreator(element));
- },
-});
-
-type DialogSettings = {
- dialogTitle: string;
- dialogDescription: string;
- applyButtonText: string;
- cancelButtonText: string;
- readonly: boolean;
-};
-
-const settings: { [key: string]: DialogSettings } = {
- [EditMediatorServerDialogMode.None]: {
- dialogTitle: "",
- dialogDescription: "",
- applyButtonText: "",
- cancelButtonText: "",
- readonly: true,
- },
- [EditMediatorServerDialogMode.AddMediatorServer]: {
- dialogTitle: "Add Mediator Server",
- dialogDescription: "",
- applyButtonText: "Add",
- cancelButtonText: "Cancel",
- readonly: false,
- },
- [EditMediatorServerDialogMode.EditMediatorServer]: {
- dialogTitle: "Edit Mediator Server",
- dialogDescription: "",
- applyButtonText: "Update",
- cancelButtonText: "Cancel",
- readonly: false,
- },
- [EditMediatorServerDialogMode.RemoveMediatorServer]: {
- dialogTitle: "Remove Mediator Server",
- dialogDescription: "",
- applyButtonText: "Remove",
- cancelButtonText: "Cancel",
- readonly: true,
- },
-};
-
-type EditMediatorServerDialogComponentProps = Connect<undefined, typeof mapDispatch> & {
- mode: EditMediatorServerDialogMode;
- mediatorServer: MediatorServer;
- onClose: () => void;
-};
-
-type EditMediatorServerDialogComponentState = MediatorServer;
-
-class EditMediatorServerDialogComponent extends React.Component<EditMediatorServerDialogComponentProps, EditMediatorServerDialogComponentState> {
- constructor (props: EditMediatorServerDialogComponentProps) {
- super(props);
-
- this.state = {
- ...this.props.mediatorServer
- };
- }
-
- render(): JSX.Element {
- const setting = settings[this.props.mode];
- return (
- <Dialog open={this.props.mode !== EditMediatorServerDialogMode.None}>
- <DialogTitle id="form-dialog-title">{setting.dialogTitle}</DialogTitle>
- <DialogContent>
- <DialogContentText>
- {setting.dialogDescription}
- </DialogContentText>
- {/* <TextField disabled spellCheck={false} autoFocus margin="dense" id="id" label="Id" type="text" fullWidth value={ this.state._id } onChange={(event)=>{ this.setState({_id: event.target.value}); } } /> */}
- <TextField disabled={setting.readonly} spellCheck={false} margin="dense" id="name" label="Name" type="text" fullWidth value={this.state.name} onChange={(event) => { this.setState({ name: event.target.value }); }} />
- <TextField disabled={setting.readonly} spellCheck={false} margin="dense" id="url" label="Url" type="text" fullWidth value={this.state.url} onChange={(event) => { this.setState({ url: event.target.value }); }} />
- </DialogContent>
- <DialogActions>
- <Button onClick={(event) => {
- this.onApply({
- _id: this.state._id,
- name: this.state.name,
- url: this.state.url,
- });
- event.preventDefault();
- event.stopPropagation();
- }} > {setting.applyButtonText} </Button>
- <Button onClick={(event) => {
- this.onCancel();
- event.preventDefault();
- event.stopPropagation();
- }} color="secondary"> {setting.cancelButtonText} </Button>
- </DialogActions>
- </Dialog>
- )
- }
-
- private onApply = (element: MediatorServer) => {
- this.props.onClose && this.props.onClose();
- switch (this.props.mode) {
- case EditMediatorServerDialogMode.AddMediatorServer:
- element && this.props.addMediatorServer(element);
- break;
- case EditMediatorServerDialogMode.EditMediatorServer:
- element && this.props.updateMediatorServer(element);
- break;
- case EditMediatorServerDialogMode.RemoveMediatorServer:
- element && this.props.removeMediatorServer(element);
- break;
- }
- };
-
- private onCancel = () => {
- this.props.onClose && this.props.onClose();
- }
-
- static getDerivedStateFromProps(props: EditMediatorServerDialogComponentProps, state: EditMediatorServerDialogComponentState & { _initialMediatorServer: MediatorServer }): EditMediatorServerDialogComponentState & { _initialMediatorServer: MediatorServer } {
- if (props.mediatorServer !== state._initialMediatorServer) {
- state = {
- ...state,
- ...props.mediatorServer,
- _initialMediatorServer: props.mediatorServer,
- };
- }
- return state;
- }
-}
-
-export const EditMediatorServerDialog = connect(undefined, mapDispatch)(EditMediatorServerDialogComponent);
-export default EditMediatorServerDialog; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/handlers/avaliableMediatorServersHandler.ts b/sdnr/wt/odlux/apps/mediatorApp/src/handlers/avaliableMediatorServersHandler.ts
deleted file mode 100644
index c22252d20..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/handlers/avaliableMediatorServersHandler.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal,IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { MediatorServer } from '../models/mediatorServer';
-import { mediatorServerResourcePath } from '../services/mediatorService';
-
-export interface IAvaliableMediatorServersState extends IExternalTableState<MediatorServer> { }
-
-// create eleactic search material data fetch handler
-const avaliableMediatorServersSearchHandler = createSearchDataHandler<MediatorServer>(mediatorServerResourcePath);
-
-export const {
- actionHandler: avaliableMediatorServersActionHandler,
- createActions: createAvaliableMediatorServersActions,
- createProperties: createAvaliableMediatorServersProperties,
- reloadAction: avaliableMediatorServersReloadAction,
-
- // set value action, to change a value
-} = createExternal<MediatorServer>(avaliableMediatorServersSearchHandler, appState => appState.mediator.avaliableMediatorServers); \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/handlers/mediatorAppRootHandler.ts b/sdnr/wt/odlux/apps/mediatorApp/src/handlers/mediatorAppRootHandler.ts
deleted file mode 100644
index 2642ec8cd..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/handlers/mediatorAppRootHandler.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// main state handler
-
-import { combineActionHandler } from '../../../../framework/src/flux/middleware';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-import { IAvaliableMediatorServersState, avaliableMediatorServersActionHandler } from './avaliableMediatorServersHandler' ;
-import { MediatorServerState, mediatorServerHandler } from './mediatorServerHandler';
-
-export interface IMediatorAppStoreState {
- avaliableMediatorServers: IAvaliableMediatorServersState,
- mediatorServerState: MediatorServerState,
-}
-
-declare module '../../../../framework/src/store/applicationStore' {
- interface IApplicationStoreState {
- mediator: IMediatorAppStoreState
- }
-}
-
-const actionHandlers = {
- avaliableMediatorServers: avaliableMediatorServersActionHandler,
- mediatorServerState: mediatorServerHandler,
-};
-
-export const mediatorAppRootHandler = combineActionHandler<IMediatorAppStoreState>(actionHandlers);
-export default mediatorAppRootHandler;
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/handlers/mediatorServerHandler.ts b/sdnr/wt/odlux/apps/mediatorApp/src/handlers/mediatorServerHandler.ts
deleted file mode 100644
index 0d137b396..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/handlers/mediatorServerHandler.ts
+++ /dev/null
@@ -1,116 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { XmlFileInfo, MediatorConfig, BusySymbol, MediatorConfigResponse, MediatorServerDevice } from "../models/mediatorServer";
-import { IActionHandler } from "../../../../framework/src/flux/action";
-import { SetMediatorServerVersion, SetMediatorServerInfo, SetAllMediatorServerConfigurations, SetMediatorServerBusy, SetMediatorServerSupportedDevices } from "../actions/mediatorServerActions";
-import { SetMediatorBusyByName, UpdateMediatorConfig, AddMediatorConfig, RemoveMediatorConfig } from "../actions/mediatorConfigActions";
-
-export type MediatorServerState = {
- busy: boolean;
- name: string | null;
- url: string | null;
- id: string | null;
- serverVersion: string | null;
- mediatorVersion: string | null;
- nexmls: XmlFileInfo[];
- configurations: MediatorConfigResponse[];
- supportedDevices: MediatorServerDevice[];
-}
-
-const mediatorServerInit: MediatorServerState = {
- busy: false,
- name: null,
- url: null,
- id: null,
- serverVersion: null,
- mediatorVersion: null,
- nexmls: [],
- configurations: [],
- supportedDevices: []
-}
-
-export const mediatorServerHandler: IActionHandler<MediatorServerState> = (state = mediatorServerInit, action) => {
- if (action instanceof SetMediatorServerBusy) {
- state = {
- ...state,
- busy: action.isBusy
- };
- } else if (action instanceof SetMediatorServerInfo) {
- state = {
- ...state,
- name: action.name,
- url: action.url,
- id: action.id,
- };
- } else if (action instanceof SetMediatorServerVersion) {
- state = {
- ...state,
- serverVersion: action.versionInfo && action.versionInfo.server,
- mediatorVersion: action.versionInfo && action.versionInfo.mediator,
- nexmls: action.versionInfo && [...action.versionInfo.nexmls] || [],
- };
- } else if (action instanceof SetAllMediatorServerConfigurations) {
- state = {
- ...state,
- configurations: action.allConfigurations && action.allConfigurations.map(config => ({ ...config, busy: false })) || [],
- };
- } else if (action instanceof SetMediatorServerSupportedDevices) {
- state = {
- ...state,
- supportedDevices: action.devices || [],
- };
- } else if (action instanceof SetMediatorBusyByName) {
- const index = state.configurations.findIndex(config => config.Name === action.name);
- if (index > -1) state = {
- ...state,
- configurations: [
- ...state.configurations.slice(0, index),
- { ...state.configurations[index], [BusySymbol]: action.isBusy },
- ...state.configurations.slice(index + 1)
- ]
- };
- } else if (action instanceof AddMediatorConfig) {
- state = {
- ...state,
- configurations: [
- ...state.configurations,
- action.mediatorConfig
- ]
- };
- } else if (action instanceof UpdateMediatorConfig) {
- const index = state.configurations.findIndex(config => config.Name === action.name);
- if (index > -1) state = {
- ...state,
- configurations: [
- ...state.configurations.slice(0, index),
- { ...action.mediatorConfig, [BusySymbol]: state.configurations[index][BusySymbol] },
- ...state.configurations.slice(index + 1)
- ]
- };
- } else if (action instanceof RemoveMediatorConfig) {
- const index = state.configurations.findIndex(config => config.Name === action.name);
- if (index > -1) state = {
- ...state,
- configurations: [
- ...state.configurations.slice(0, index),
- ...state.configurations.slice(index + 1)
- ]
- };
- }
- return state;
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/index.html b/sdnr/wt/odlux/apps/mediatorApp/src/index.html
deleted file mode 100644
index 95bf9ec6b..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/index.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <!-- <link rel="stylesheet" href="./vendor.css"> -->
- <title>Mediator App</title>
-</head>
-
-<body>
- <div id="app"></div>
- <script type="text/javascript" src="./require.js"></script>
- <script type="text/javascript" src="./config.js"></script>
- <script>
- // run the application
- require(["app", "mediatorApp" ,"connectApp","inventoryApp","faultApp","helpApp"], function (app, mediatorApp, connectApp,inventoryApp,faultApp,helpApp) {
- mediatorApp.register();
- connectApp.register();
- inventoryApp.register();
- faultApp.register();
- helpApp.register();
- app("./app.tsx").runApplication();
- });
- </script>
-</body>
-
-</html> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/models/mediatorServer.ts b/sdnr/wt/odlux/apps/mediatorApp/src/models/mediatorServer.ts
deleted file mode 100644
index a2b54599c..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/models/mediatorServer.ts
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export type MediatorServer = {
- _id: string;
- name: string;
- url: string;
-}
-
-export type XmlFileInfo = {
- filename: string;
- version: string;
-}
-
-export type MediatorServerVersionInfo = {
- mediator: string;
- server: string;
- nexmls: XmlFileInfo[];
-}
-
-export type ODLConfig = {
- User: string;
- Password: string;
- Port: number;
- Protocol: "http" | "https";
- Server: string;
- Trustall: boolean;
-};
-
-export const BusySymbol = Symbol("Busy");
-
-export type MediatorConfig = {
- Name: string;
- DeviceIp: string;
- DevicePort: number;
- DeviceType: number;
- TrapPort: number;
- NcUsername: string;
- NcPassword: string;
- NcPort: number;
- NeXMLFile: string;
- ODLConfig: ODLConfig[];
-}
-
-export type MediatorConfigResponse = MediatorConfig & {
- IsNCConnected: boolean;
- IsNeConnected: boolean;
- autorun: boolean;
- fwactive: boolean;
- islocked: boolean;
- ncconnections:{}[];
- pid: number;
- // extended properties
- [BusySymbol]: boolean;
-}
-
-export type MediatorServerDevice = {
- id: number; // DeviceType
- device: string;
- vendor: string;
- version: string;
- xml: string; // NeXMLFile
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/plugin.tsx b/sdnr/wt/odlux/apps/mediatorApp/src/plugin.tsx
deleted file mode 100644
index 5ffd0124b..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/plugin.tsx
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// app configuration and main entry point for the app
-
-import * as React from "react";
-import { withRouter, RouteComponentProps, Route, Switch, Redirect } from 'react-router-dom';
-
-import { faGlobe } from '@fortawesome/free-solid-svg-icons'; // select app icon
-
-import applicationManager from '../../../framework/src/services/applicationManager';
-import { IApplicationStoreState } from "../../../framework/src/store/applicationStore";
-import connect, { Connect, IDispatcher } from '../../../framework/src/flux/connect';
-
-import { mediatorAppRootHandler } from './handlers/mediatorAppRootHandler';
-import { avaliableMediatorServersReloadAction } from "./handlers/avaliableMediatorServersHandler";
-
-import { MediatorApplication } from "./views/mediatorApplication";
-import { MediatorServerSelection } from "./views/mediatorServerSelection";
-import { initializeMediatorServerAsyncActionCreator } from "./actions/mediatorServerActions";
-
-let currentMediatorServerId: string | undefined = undefined;
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- loadMediatorServer : (mediatorServerId: string) => dispatcher.dispatch(initializeMediatorServerAsyncActionCreator(mediatorServerId)),
-});
-
-const MediatorServerRouteAdapter = connect(undefined, mapDisp)((props: RouteComponentProps<{ mediatorServerId: string }> & Connect<undefined, typeof mapDisp>) => {
- if (currentMediatorServerId !== props.match.params.mediatorServerId) {
- // route parameter has changed
- currentMediatorServerId = props.match.params.mediatorServerId || undefined;
- // Hint: This timeout is need, since it is not recommended to change the state while rendering is in progress !
- window.setTimeout(() => {
- if (currentMediatorServerId) {
- props.loadMediatorServer(currentMediatorServerId);
- }
- });
- }
- return (
- <MediatorApplication />
- )
-});
-
-type AppProps = RouteComponentProps & Connect;
-
-const App = (props: AppProps) => (
- <Switch>
- <Route exact path={ `${ props.match.path }` } component={ MediatorServerSelection } />
- <Route path={ `${ props.match.path }/:mediatorServerId` } component={ MediatorServerRouteAdapter } />
- <Redirect to={ `${ props.match.path }` } />
- </Switch>
-);
-
-const FinalApp = withRouter(connect()(App));
-
-export function register() {
- const applicationApi = applicationManager.registerApplication({
- name: "mediator",
- icon: faGlobe,
- rootComponent: FinalApp,
- rootActionHandler: mediatorAppRootHandler,
- menuEntry: "Mediator"
- });
-
- // prefetch all avaliable mediator servers
- applicationApi.applicationStoreInitialized.then(applicationStore => {
- applicationStore.dispatch(avaliableMediatorServersReloadAction)
- });
-};
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/services/mediatorService.ts b/sdnr/wt/odlux/apps/mediatorApp/src/services/mediatorService.ts
deleted file mode 100644
index b257fa92c..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/services/mediatorService.ts
+++ /dev/null
@@ -1,182 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as $ from 'jquery';
-
-import { requestRest, formEncode } from '../../../../framework/src/services/restService';
-import { MediatorServer, MediatorServerVersionInfo, MediatorConfig, MediatorServerDevice, MediatorConfigResponse } from '../models/mediatorServer';
-import { HitEntry } from '../../../../framework/src/models';
-
-export const mediatorServerResourcePath = "mwtn/mediator-server";
-
-type MediatorServerResponse<TData> = { code: number, data: TData };
-type IndexableMediatorServer = MediatorServer & { [key: string]: any; };
-
-/**
- * Represents a web api accessor service for all mediator server actions.
- */
-class MediatorService {
- /**
- * Inserts data into the mediator servers table.
- */
- public async insertMediatorServer(server: IndexableMediatorServer): Promise<MediatorServer | null> {
- const path = `database/${mediatorServerResourcePath}`;
- const data = Object.keys(server).reduce((acc, cur) => {
- if (cur !== "_id") acc[cur] = server[cur];
- return acc;
- }, {} as IndexableMediatorServer);
- const result = await requestRest<MediatorServer>(path, { method: "POST", body: JSON.stringify(data) });
- return result || null;
- }
-
- /**
- * Updates data into the mediator servers table.
- */
- public async updateMediatorServer(server: IndexableMediatorServer): Promise<MediatorServer | null> {
- const path = `database/${mediatorServerResourcePath}/${server._id}`;
- const data = Object.keys(server).reduce((acc, cur) => {
- if (cur !== "_id") { acc[cur] = server[cur] } else { acc["id"] = 0 };
- return acc;
- }, {} as IndexableMediatorServer);
- const result = await requestRest<MediatorServer>(path, { method: "PUT", body: JSON.stringify(data) });
- return result || null;
- }
-
- /**
- * Deletes data from the mediator servers table.
- */
- public async deleteMediatorServer(server: MediatorServer): Promise<MediatorServer | null> {
- const path = `database/${mediatorServerResourcePath}/${server._id}`;
- const result = await requestRest<MediatorServer>(path, { method: "DELETE" });
- return result || null;
- }
-
- public async getMediatorServerById(serverId: string): Promise<MediatorServer | null> {
- const path = `database/${mediatorServerResourcePath}/${serverId}`;
- const result = await requestRest<HitEntry<MediatorServer> & { found: boolean }>(path, { method: "GET" });
- return result && result.found && result._source && {
- _id: result._id,
- name: result._source.name,
- url: result._source.url,
- } || null;
- }
-
- // https://cloud-highstreet-technologies.com/wiki/doku.php?id=att:ms:api
-
- private async accassMediatorServer<TData = {}>(mediatorServerId: string, task: string, data?: {}): Promise<MediatorServerResponse<TData> | null> {
- const path = `ms/${mediatorServerId}/api/'?task=${task}`;
- const result = (await requestRest<string>(path, {
- method: data ? "POST" : "GET",
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded'
- },
- body: data ? formEncode({
- ...data,
- ...{ task: task }
- }) : null
- }, true)) || null;
-
- return result ? JSON.parse(result) as { code: number, data: TData } : null;
- }
- /*
- private accassMediatorServer<TData = {}>(mediatorServerId: string, task: string, data?: {}): Promise<MediatorServerResponse<TData> | null> {
- const path = `ms/${mediatorServerId}/api/?task=${task}`;
- return new Promise<{ code: number, data: TData }>((resolve, reject) => {
- $.ajax({
- method: data ? 'POST' : 'GET',
- url: path,
- data: { ...{ task: task }, ...data },
- //contentType: 'application/json'
- }).then((result: any) => {
- if (typeof result === "string") {
- resolve(JSON.parse(result));
- } else {
- resolve(result);
- };
- });
- });
- }*/
-
- public async getMediatorServerVersion(mediatorServerId: string): Promise<MediatorServerVersionInfo | null> {
- const result = await this.accassMediatorServer<MediatorServerVersionInfo>(mediatorServerId, 'version');
- if (result && result.code === 1) return result.data;
- return null;
- }
-
- public async getMediatorServerAllConfigs(mediatorServerId: string): Promise<MediatorConfigResponse[] | null> {
- const result = await this.accassMediatorServer<MediatorConfigResponse[]>(mediatorServerId, 'getconfig');
- if (result && result.code === 1) return result.data;
- return null;
- }
-
- public async getMediatorServerConfigByName(mediatorServerId: string, name: string): Promise<MediatorConfigResponse | null> {
- const result = await this.accassMediatorServer<MediatorConfigResponse[]>(mediatorServerId, `getconfig&name=${name}`);
- if (result && result.code === 1 && result.data && result.data.length === 1) return result.data[0];
- return null;
- }
-
- public async getMediatorServerSupportedDevices(mediatorServerId: string): Promise<MediatorServerDevice[] | null> {
- const result = await this.accassMediatorServer<MediatorServerDevice[]>(mediatorServerId, 'getdevices');
- if (result && result.code === 1) return result.data;
- return null;
- }
-
- public async startMediatorByName(mediatorServerId: string, name: string): Promise<string | null> {
- const result = await this.accassMediatorServer<string>(mediatorServerId, `start&name=${name}`);
- if (result && result.code === 1) return result.data;
- return null;
- }
-
- public async stopMediatorByName(mediatorServerId: string, name: string): Promise<string | null> {
- const result = await this.accassMediatorServer<string>(mediatorServerId, `stop&name=${name}`);
- if (result && result.code === 1) return result.data;
- return null;
- }
-
- public async createMediatorConfig(mediatorServerId: string, config: MediatorConfig): Promise<string | null> {
- const result = await this.accassMediatorServer<string>(mediatorServerId, 'create', { config: JSON.stringify(config) });
- if (result && result.code === 1) return result.data;
- return null;
- }
-
- public async updateMediatorConfigByName(mediatorServerId: string, config: MediatorConfig): Promise<string | null> {
- const result = await this.accassMediatorServer<string>(mediatorServerId, 'update', { config: JSON.stringify(config) });
- if (result && result.code === 1) return result.data;
- return null;
- }
-
- public async deleteMediatorConfigByName(mediatorServerId: string, name: string): Promise<string | null> {
- const result = await this.accassMediatorServer<string>(mediatorServerId, `delete&name=${name}`);
- if (result && result.code === 1) return result.data;
- return null;
- }
-
- public async getMediatorServerFreeNcPorts(mediatorServerId: string, limit?: number): Promise<number[] | null> {
- const result = await this.accassMediatorServer<number[]>(mediatorServerId, 'getncports', { limit });
- if (result && result.code === 1) return result.data;
- return null;
- }
-
- public async getMediatorServerFreeSnmpPorts(mediatorServerId: string, limit?: number): Promise<number[] | null> {
- const result = await this.accassMediatorServer<number[]>(mediatorServerId, 'getsnmpports', { limit });
- if (result && result.code === 1) return result.data;
- return null;
- }
-}
-
-export const mediatorService = new MediatorService;
-export default mediatorService; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorApplication.tsx b/sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorApplication.tsx
deleted file mode 100644
index fcb3fe46f..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorApplication.tsx
+++ /dev/null
@@ -1,238 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-import { Theme, createStyles, WithStyles, withStyles, Tooltip } from '@material-ui/core';
-
-import AddIcon from '@material-ui/icons/Add';
-import IconButton from '@material-ui/core/IconButton';
-import EditIcon from '@material-ui/icons/Edit';
-import DeleteIcon from '@material-ui/icons/Delete';
-import InfoIcon from '@material-ui/icons/Info';
-import StartIcon from '@material-ui/icons/PlayArrow';
-import StopIcon from '@material-ui/icons/Stop';
-
-import CircularProgress from '@material-ui/core/CircularProgress'
-
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-import MaterialTable, { MaterialTableCtorType, ColumnType } from '../../../../framework/src/components/material-table';
-
-import { MediatorConfig, BusySymbol, MediatorConfigResponse } from '../models/mediatorServer';
-import EditMediatorConfigDialog, { EditMediatorConfigDialogMode } from '../components/editMediatorConfigDialog';
-import { startMediatorByNameAsyncActionCreator, stopMediatorByNameAsyncActionCreator } from '../actions/mediatorConfigActions';
-import mediatorService from '../services/mediatorService';
-
-const styles = (theme: Theme) => createStyles({
- root: {
- display: 'flex',
- flexDirection: 'column',
- flex: '1',
- },
- formControl: {
- margin: theme.spacing.unit,
- minWidth: 300,
- },
- button: {
- margin: 0,
- padding: "6px 6px",
- minWidth: 'unset'
- },
- spacer: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- display: "inline"
- },
- progress: {
- flex: '1 1 100%',
- display: 'flex',
- alignItems: 'center',
- justifyContent: 'center',
- pointerEvents: 'none'
- }
-});
-
-const mapProps = (state: IApplicationStoreState) => ({
- serverName: state.mediator.mediatorServerState.name,
- serverUrl: state.mediator.mediatorServerState.url,
- serverId: state.mediator.mediatorServerState.id,
- serverVersion: state.mediator.mediatorServerState.serverVersion,
- mediatorVersion: state.mediator.mediatorServerState.mediatorVersion,
- configurations: state.mediator.mediatorServerState.configurations,
- supportedDevices: state.mediator.mediatorServerState.supportedDevices,
- busy: state.mediator.mediatorServerState.busy,
-});
-
-const mapDispatch = (dispatcher: IDispatcher) => ({
- startMediator: (name: string) => dispatcher.dispatch(startMediatorByNameAsyncActionCreator(name)),
- stopMediator: (name: string) => dispatcher.dispatch(stopMediatorByNameAsyncActionCreator(name)),
-});
-
-const emptyMediatorConfig: MediatorConfig = {
- Name: "",
- DeviceIp: "127.0.0.1",
- DevicePort: 161,
- NcUsername: "admin",
- NcPassword: "admin",
- DeviceType: -1,
- NcPort: 4020,
- TrapPort: 10020,
- NeXMLFile: "",
- ODLConfig: []
-};
-
-const MediatorServerConfigurationsTable = MaterialTable as MaterialTableCtorType<MediatorConfigResponse>;
-
-type MediatorApplicationComponentProps = Connect<typeof mapProps, typeof mapDispatch> & WithStyles<typeof styles>;
-
-type MediatorServerSelectionComponentState = {
- busy: boolean,
- mediatorConfigToEdit: MediatorConfig,
- mediatorConfigEditorMode: EditMediatorConfigDialogMode
-}
-
-class MediatorApplicationComponent extends React.Component<MediatorApplicationComponentProps, MediatorServerSelectionComponentState> {
-
- constructor(props: MediatorApplicationComponentProps) {
- super(props);
-
- this.state = {
- busy: false,
- mediatorConfigToEdit: emptyMediatorConfig,
- mediatorConfigEditorMode: EditMediatorConfigDialogMode.None,
- }
- }
-
- render() {
- const { classes } = this.props;
-
- const renderActions = (rowData: MediatorConfigResponse) => (
- <>
- <div className={classes.spacer}>
- <Tooltip title={"Start"} >
- <IconButton disabled={rowData[BusySymbol]} className={classes.button}>
- <StartIcon onClick={(event) => { event.preventDefault(); event.stopPropagation(); this.props.startMediator(rowData.Name); }} />
- </IconButton>
- </Tooltip>
- <Tooltip title={"Stop"} >
- <IconButton disabled={rowData[BusySymbol]} className={classes.button}>
- <StopIcon onClick={(event) => { event.preventDefault(); event.stopPropagation(); this.props.stopMediator(rowData.Name); }} />
- </IconButton>
- </Tooltip>
- </div>
- <div className={classes.spacer}>
- <Tooltip title={"Info"} ><IconButton className={classes.button}><InfoIcon /></IconButton></Tooltip>
- </div>
- <div className={classes.spacer}>
- {process.env.NODE_ENV === "development" ? <Tooltip title={"Edit"} ><IconButton disabled={rowData[BusySymbol]} className={classes.button} onClick={event => this.onOpenEditConfigurationDialog(event, rowData)}><EditIcon /></IconButton></Tooltip> : null}
- <Tooltip title={"Remove"} ><IconButton disabled={rowData[BusySymbol]} className={classes.button} onClick={event => this.onOpenRemoveConfigutationDialog(event, rowData)}><DeleteIcon /></IconButton></Tooltip>
- </div>
- </>
- );
-
- const addMediatorConfigAction = { icon: AddIcon, tooltip: 'Add', onClick: this.onOpenAddConfigurationDialog };
- return (
- <div className={classes.root}>
- {this.props.busy || this.state.busy
- ? <div className={classes.progress}> <CircularProgress color={"secondary"} size={48} /> </div>
- : <MediatorServerConfigurationsTable title={this.props.serverName || ''} customActionButtons={[addMediatorConfigAction]} idProperty={"Name"} rows={this.props.configurations} asynchronus columns={[
- { property: "Name", title: "Mediator", type: ColumnType.text },
- { property: "Status", title: "Status", type: ColumnType.custom, customControl: ({ rowData }) => rowData.pid ? (<span>Running</span>) : (<span>Stopped</span>) },
- { property: "DeviceIp", title: "IP Adress", type: ColumnType.text },
- {
- property: "Device", title: "Device", type: ColumnType.custom, customControl: ({ rowData }) => {
- const dev = this.props.supportedDevices && this.props.supportedDevices.find(dev => dev.id === rowData.DeviceType);
- return (
- <span> {dev && `${dev.vendor} - ${dev.device} (${dev.version || '0.0.0'})`} </span>
- )
- }
- },
- { property: "actions", title: "Actions", type: ColumnType.custom, customControl: ({ rowData }) => renderActions(rowData) },
- ]} />
- }
-
- <EditMediatorConfigDialog
- mediatorConfig={this.state.mediatorConfigToEdit}
- mode={this.state.mediatorConfigEditorMode}
- onClose={this.onCloseEditMediatorConfigDialog} />
-
- </div>
- );
- }
-
- private onOpenAddConfigurationDialog = () => {
- // Tries to determine a free port for netconf listener and snpm listener
- // it it could not determine free ports the dialog will open any way
- // those ports should not be configured from the fontend, furthermore
- // the backend should auto configure them and tell the user the result
- // after the creation process.
-
- this.setState({
- busy: true,
- });
- this.props.serverId && Promise.all([
- mediatorService.getMediatorServerFreeNcPorts(this.props.serverId, 1),
- mediatorService.getMediatorServerFreeSnmpPorts(this.props.serverId, 1),
- ]).then(([freeNcPorts, freeSnmpPorts]) => {
- if (freeNcPorts && freeSnmpPorts && freeNcPorts.length > 0 && freeSnmpPorts.length > 0) {
- this.setState({
- busy: false,
- mediatorConfigEditorMode: EditMediatorConfigDialogMode.AddMediatorConfig,
- mediatorConfigToEdit: {
- ...emptyMediatorConfig,
- NcPort: freeNcPorts[0],
- TrapPort: freeSnmpPorts[0],
- },
- });
- } else {
- this.setState({
- busy: false,
- mediatorConfigEditorMode: EditMediatorConfigDialogMode.AddMediatorConfig,
- mediatorConfigToEdit: { ...emptyMediatorConfig },
- });
- }
- })
-
- }
-
- private onOpenEditConfigurationDialog = (event: React.MouseEvent<HTMLElement>, configEntry: MediatorConfig) => {
- event.preventDefault();
- event.stopPropagation();
- this.setState({
- mediatorConfigEditorMode: EditMediatorConfigDialogMode.EditMediatorConfig,
- mediatorConfigToEdit: configEntry,
- });
- }
-
- private onOpenRemoveConfigutationDialog = (event: React.MouseEvent<HTMLElement>, configEntry: MediatorConfig) => {
- event.preventDefault();
- event.stopPropagation();
- this.setState({
- mediatorConfigEditorMode: EditMediatorConfigDialogMode.RemoveMediatorConfig,
- mediatorConfigToEdit: configEntry,
- });
- }
-
- private onCloseEditMediatorConfigDialog = () => {
- this.setState({
- mediatorConfigEditorMode: EditMediatorConfigDialogMode.None,
- mediatorConfigToEdit: emptyMediatorConfig,
- });
- }
-}
-
-export const MediatorApplication = withStyles(styles)(connect(mapProps, mapDispatch)(MediatorApplicationComponent));
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorServerSelection.tsx b/sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorServerSelection.tsx
deleted file mode 100644
index a23afb5f6..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src/views/mediatorServerSelection.tsx
+++ /dev/null
@@ -1,153 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-import { WithStyles, withStyles, createStyles, Theme, Tooltip } from '@material-ui/core';
-
-import AddIcon from '@material-ui/icons/Add';
-import IconButton from '@material-ui/core/IconButton';
-import EditIcon from '@material-ui/icons/Edit';
-import DeleteIcon from '@material-ui/icons/Delete';
-
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import connect, { IDispatcher, Connect } from '../../../../framework/src/flux/connect';
-import MaterialTable, { MaterialTableCtorType, ColumnType } from '../../../../framework/src/components/material-table';
-
-import { createAvaliableMediatorServersProperties, createAvaliableMediatorServersActions } from '../handlers/avaliableMediatorServersHandler';
-
-import { MediatorServer } from '../models/mediatorServer';
-import EditMediatorServerDialog, { EditMediatorServerDialogMode } from '../components/editMediatorServerDialog';
-import { NavigateToApplication } from '../../../../framework/src/actions/navigationActions';
-
-const MediatorServersTable = MaterialTable as MaterialTableCtorType<MediatorServer>;
-
-const styles = (theme: Theme) => createStyles({
- button: {
- margin: 0,
- padding: "6px 6px",
- minWidth: 'unset',
- },
- spacer: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- display: "inline",
- },
-});
-
-const mapProps = (state: IApplicationStoreState) => ({
- mediatorServersProperties: createAvaliableMediatorServersProperties(state),
-});
-
-const mapDispatch = (dispatcher: IDispatcher) => ({
- mediatorServersActions: createAvaliableMediatorServersActions(dispatcher.dispatch),
- selectMediatorServer: (mediatorServerId: string) => mediatorServerId && dispatcher.dispatch(new NavigateToApplication("mediator", mediatorServerId)),
-});
-
-const emptyMediatorServer: MediatorServer = {
- _id: "",
- name: "",
- url: ""
-};
-
-type MediatorServerSelectionComponentProps = Connect<typeof mapProps, typeof mapDispatch> & WithStyles<typeof styles>;
-
-type MediatorServerSelectionComponentState = {
- mediatorServerToEdit: MediatorServer,
- mediatorServerEditorMode: EditMediatorServerDialogMode
-}
-
-class MediatorServerSelectionComponent extends React.Component<MediatorServerSelectionComponentProps, MediatorServerSelectionComponentState> {
-
- constructor (props: MediatorServerSelectionComponentProps) {
- super(props);
-
- this.state = {
- mediatorServerEditorMode: EditMediatorServerDialogMode.None,
- mediatorServerToEdit: emptyMediatorServer,
- }
- }
-
- render() {
- const { classes } = this.props;
-
- const addMediatorServerActionButton = {
- icon: AddIcon, tooltip: 'Add', onClick: () => {
- this.setState({
- mediatorServerEditorMode: EditMediatorServerDialogMode.AddMediatorServer,
- mediatorServerToEdit: emptyMediatorServer,
- });
- }
- };
- return (
- <>
- <MediatorServersTable customActionButtons={[addMediatorServerActionButton]} idProperty={"_id"}
- {...this.props.mediatorServersActions} {...this.props.mediatorServersProperties} columns={[
- { property: "name", title: "Name", type: ColumnType.text },
- { property: "url", title: "Url", type: ColumnType.text },
- {
- property: "actions", title: "Actions", type: ColumnType.custom, customControl: ({ rowData }) => (
- <div className={classes.spacer}>
- <Tooltip title={"Edit"} ><IconButton className={classes.button} onClick={event => { this.onEditMediatorServer(event, rowData); }}><EditIcon /></IconButton></Tooltip>
- <Tooltip title={"Remove"} ><IconButton className={classes.button} onClick={event => { this.onRemoveMediatorServer(event, rowData); }}><DeleteIcon /></IconButton></Tooltip>
- </div>
- )
- }
- ]} onHandleClick={ this.onSelectMediatorServer } />
- <EditMediatorServerDialog
- mediatorServer={ this.state.mediatorServerToEdit }
- mode={ this.state.mediatorServerEditorMode }
- onClose={ this.onCloseEditMediatorServerDialog } />
- </>
- );
- }
-
- private onSelectMediatorServer = (event: React.MouseEvent<HTMLElement>, server: MediatorServer) =>{
- event.preventDefault();
- event.stopPropagation();
- this.props.selectMediatorServer(server && server._id);
-
- }
-
- private onEditMediatorServer = (event: React.MouseEvent<HTMLElement>, server: MediatorServer) => {
- event.preventDefault();
- event.stopPropagation();
- this.setState({
- mediatorServerEditorMode: EditMediatorServerDialogMode.EditMediatorServer,
- mediatorServerToEdit: server,
- });
- }
-
- private onRemoveMediatorServer = (event: React.MouseEvent<HTMLElement>, server: MediatorServer) => {
- event.preventDefault();
- event.stopPropagation();
- this.setState({
- mediatorServerEditorMode: EditMediatorServerDialogMode.RemoveMediatorServer,
- mediatorServerToEdit: server,
- });
- }
-
- private onCloseEditMediatorServerDialog = () => {
- this.setState({
- mediatorServerEditorMode: EditMediatorServerDialogMode.None,
- mediatorServerToEdit: emptyMediatorServer,
- });
- }
-}
-
-
-export const MediatorServerSelection = withStyles(styles)(connect(mapProps, mapDispatch)(MediatorServerSelectionComponent));
-export default MediatorServerSelection; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java b/sdnr/wt/odlux/apps/mediatorApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
deleted file mode 100644
index 1e882fc69..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles;
-
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class MyOdluxBundle extends OdluxBundle {
-
- @Override
- public void initialize() {
- super.initialize();
- }
-
- @Override
- public void clean() {
- super.clean();
- }
-
- @Override
- public String getResourceFileContent(String filename) {
- return super.getResourceFileContent(filename);
- }
-
- @Override
- public boolean hasResource(String filename) {
- return super.hasResource(filename);
- }
-
- @Override
- public void setBundleName(String bundleName) {
- super.setBundleName(bundleName);
- }
-
- @Override
- public void setLoader(OdluxBundleLoader loader) {
- super.setLoader(loader);
- }
-
- @Override
- public String getBundleName() {
- return super.getBundleName();
- }
-
- @Override
- public OdluxBundleLoader getLoader() {
- return super.getLoader();
- }
-
- public MyOdluxBundle() {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wt/odlux/apps/mediatorApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100644
index c11492bc4..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <reference id="loadersvc" availability="mandatory" activation="eager" interface="org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader"/>
-
- <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle">
- <property name="loader" ref="loadersvc"/>
- <property name="bundleName" value="mediatorApp"/>
- <property name="index" value="90"/>
- </bean>
-</blueprint> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java b/sdnr/wt/odlux/apps/mediatorApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
deleted file mode 100644
index d0fbe63c0..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles.test;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.odlux.OdluxBundleLoaderImpl;
-import org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle;
-
-public class TestBundleRes {
-
- @Test
- public void test() {
- OdluxBundleLoaderImpl loader = OdluxBundleLoaderImpl.getInstance();
- MyOdluxBundle b = new MyOdluxBundle();
- b.setLoader(loader);
- b.setIndex(0);
- b.setBundleName("abc");
- b.initialize();
- assertTrue(loader.getNumberOfBundles()==1);
- assertNotNull(b.getLoader());
- assertEquals("abc",b.getBundleName());
- assertTrue(b.hasResource("test.js"));
- assertNotNull(b.getResourceFileContent("test.js"));
- b.clean();
- assertTrue(loader.getNumberOfBundles()==0);
- }
-
-}
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src2/test/resources/test.js b/sdnr/wt/odlux/apps/mediatorApp/src2/test/resources/test.js
deleted file mode 100644
index b47fdc39f..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/src2/test/resources/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-asdac sad
-as
-d
-sad
- sadfa \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/tsconfig.json b/sdnr/wt/odlux/apps/mediatorApp/tsconfig.json
deleted file mode 100644
index b0c9b424d..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/tsconfig.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./src",
- "outDir": "./dist",
- "sourceMap": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": false,
- "allowUnreachableCode": false,
- "allowUnusedLabels": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "pretty": true,
- "newLine": "LF",
- "module": "es2015",
- "target": "es2016",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "jsx": "preserve",
- "lib": [
- "dom",
- "es2015",
- "es2016"
- ],
- "types": [
- "node",
- "prop-types",
- "react",
- "react-dom"
- ]
- },
- "exclude": [
- "dist",
- "node_modules"
- ]
-}
diff --git a/sdnr/wt/odlux/apps/mediatorApp/tslint.json b/sdnr/wt/odlux/apps/mediatorApp/tslint.json
deleted file mode 100644
index b5143e92c..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/tslint.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "rules":{
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js b/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
deleted file mode 100644
index 94943ecd5..000000000
--- a/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
+++ /dev/null
@@ -1,148 +0,0 @@
-/**
- * Webpack 4 configuration file
- * see https://webpack.js.org/configuration/
- * see https://webpack.js.org/configuration/dev-server/
- */
-
-"use strict";
-
-const path = require("path");
-const webpack = require("webpack");
-const CopyWebpackPlugin = require("copy-webpack-plugin");
-const TerserPlugin = require('terser-webpack-plugin');
-
-// const __dirname = (path => path.replace(/^([a-z]\:)/, c => c.toUpperCase()))(process.__dirname());
-
-module.exports = (env) => {
- const distPath = path.resolve(__dirname, env === "release" ? "." : "../..", "dist");
- const frameworkPath = path.resolve(__dirname, env === "release" ? "../../framework" : "../..", "dist");
- return [{
- name: "App",
-
- mode: "none", //disable default behavior
-
- target: "web",
-
- context: path.resolve(__dirname, "src"),
-
- entry: {
- mediatorApp: ["./plugin.tsx"]
- },
-
- devtool: env === "release" ? false : "source-map",
-
- resolve: {
- extensions: [".ts", ".tsx", ".js", ".jsx"]
- },
-
- output: {
- path: distPath,
- filename: "[name].js",
- library: "[name]",
- libraryTarget: "umd2",
- chunkFilename: "[name].js"
- },
- module: {
- rules: [{
- test: /\.tsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }, {
- loader: "ts-loader"
- }]
- }, {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }]
- }]
- },
-
- optimization: {
- noEmitOnErrors: true,
- namedModules: env !== "release",
- minimize: env === "release",
- minimizer: env !== "release" ? [] : [new TerserPlugin({
- terserOptions: {
- warnings: false, // false, true, "verbose"
- compress: {
- drop_console: true,
- drop_debugger: true,
- }
- }
- })],
- },
-
- plugins: [
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
- ...(env === "release") ? [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'production'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- ] : [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'development'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- new CopyWebpackPlugin([{
- from: 'index.html',
- to: distPath
- }]),
- ]
- ],
-
- devServer: {
- public: "http://localhost:3100",
- contentBase: frameworkPath,
-
- compress: true,
- headers: {
- "Access-Control-Allow-Origin": "*"
- },
- host: "0.0.0.0",
- port: 3100,
- disableHostCheck: true,
- historyApiFallback: true,
- inline: true,
- hot: false,
- quiet: false,
- stats: {
- colors: true
- },
- proxy: {
- "/oauth2/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/database/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/restconf/": {
- target: "http://localhost:3000",
- secure: false
- },
- "/help/": {
- target: "http://localhost:3000",
- secure: false
- }
- }
- }
- }];
-}
diff --git a/sdnr/wt/odlux/apps/minimumApp/.babelrc b/sdnr/wt/odlux/apps/minimumApp/.babelrc
deleted file mode 100644
index 3d8cd1260..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/.babelrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "presets": [
- ["@babel/preset-react"],
- ["@babel/preset-env", {
- "targets": {
- "chrome": "66"
- },
- "spec": true,
- "loose": false,
- "modules": false,
- "debug": false,
- "useBuiltIns": "usage",
- "forceAllTransforms": true
- }]
- ],
- "plugins": []
-}
diff --git a/sdnr/wt/odlux/apps/minimumApp/.fbExcludeFilterFile b/sdnr/wt/odlux/apps/minimumApp/.fbExcludeFilterFile
deleted file mode 100644
index 3cd2303d3..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/.fbExcludeFilterFile
+++ /dev/null
@@ -1,25 +0,0 @@
-<FindBugsFilter>
- <Match>
- <Or>
- <Package name="~.*protobuff\.messages.*" />
- <Package name="~org\.opendaylight\.yang\.gen\..*" />
- <Package name="~org\.opendaylight\.controller\.config\.yang\.config\..*" />
- </Or>
- </Match>
-
- <Match>
- <Or>
- <!-- Anonymous inner classes are very common in ODL. -->
- <Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON" />
-
- <!-- We use static slf4j Logger (this rule is from KengoTODA/findbugs-slf4j jp.skypencil.findbugs.slf4:bug-pattern) -->
- <Bug pattern="SLF4J_LOGGER_SHOULD_BE_NON_STATIC" />
-
- <!-- Guava 23.6+ uses @NullableDecl which FindBugs doesn't know about; fixed in SpotBugs 3.1.2+ -->
- <Bug pattern="NP_NONNULL_PARAM_VIOLATION" />
- <Bug pattern="NP_NULL_PARAM_DEREF" />
- <Bug pattern="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" />
- <Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
- </Or>
- </Match>
-</FindBugsFilter>
diff --git a/sdnr/wt/odlux/apps/minimumApp/package.json b/sdnr/wt/odlux/apps/minimumApp/package.json
deleted file mode 100644
index f738c6354..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/package.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "name": "@odlux/minimum-app",
- "version": "0.1.0",
- "description": "A react based modular UI to demo the minimum possible app.",
- "main": "index.js",
- "scripts": {
- "start": "webpack-dev-server --env debug",
- "build": "webpack --env release --config webpack.config.js",
- "build:dev": "webpack --env debug --config webpack.config.js"
- },
- "repository": {
- "type": "git",
- "url": "https://git.mfico.de/highstreet-technologies/odlux.git"
- },
- "keywords": [
- "reactjs",
- "redux",
- "ui",
- "framework"
- ],
- "author": "Matthias Fischer",
- "license": "Apache-2.0",
- "dependencies": {
- "@odlux/framework": "*"
- },
- "peerDependencies": {
- "@types/react": "16.4.14",
- "@types/react-dom": "16.0.8",
- "@types/react-router-dom": "4.3.1",
- "@material-ui/core": "3.8.3",
- "@material-ui/icons": "3.0.2",
- "@types/classnames": "2.2.6",
- "@types/flux": "3.1.8",
- "@types/jquery": "3.3.10",
- "jquery": "3.3.1",
- "react": "16.5.2",
- "react-dom": "16.5.2",
- "react-router-dom": "4.3.1"
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/minimumApp/pom.xml b/sdnr/wt/odlux/apps/minimumApp/pom.xml
deleted file mode 100644
index 529daa544..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/pom.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-app-minimumApp</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnr-wt-odlux-app-minimumApp</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-provider</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <pluginRepositories>
- <pluginRepository>
- <id>highstreet repo</id>
- <url>https://cloud-highstreet-technologies.com/mvn/</url>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <sourceDirectory>src2/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>dist</directory>
- <targetPath>odlux</targetPath>
- </resource>
- <resource>
- <directory>src2/main/resources</directory>
- </resource>
- <resource>
- <directory>src2/test/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>../node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <!-- eclipse bug build bin folder in basedir -->
- <fileset>
- <directory>bin</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src2/test/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>de.jacksitlab</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <!-- optional: default phase is "generate-resources" -->
- <phase>initialize</phase>
- <configuration>
- <nodeVersion>v8.10.0</nodeVersion>
- <yarnVersion>v1.12.3</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>run build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
- <Private-Package/>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/minimumApp/src/handlers/minimumAppRootHandler.ts b/sdnr/wt/odlux/apps/minimumApp/src/handlers/minimumAppRootHandler.ts
deleted file mode 100644
index 463ad21e2..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/src/handlers/minimumAppRootHandler.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// main state handler
-
-import { combineActionHandler } from '../../../../framework/src/flux/middleware';
-
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-export interface IMinimumAppStoreState {
-}
-
-declare module '../../../../framework/src/store/applicationStore' {
- interface IApplicationStoreState {
- minimum: IMinimumAppStoreState
- }
-}
-
-const actionHandlers = {
-};
-
-export const minimumAppRootHandler = combineActionHandler<IMinimumAppStoreState>(actionHandlers);
-export default minimumAppRootHandler;
diff --git a/sdnr/wt/odlux/apps/minimumApp/src/index.html b/sdnr/wt/odlux/apps/minimumApp/src/index.html
deleted file mode 100644
index 58865edc1..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/src/index.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <!-- <link rel="stylesheet" href="./vendor.css"> -->
- <title>Minimal App</title>
-</head>
-
-<body>
- <div id="app"></div>
- <script type="text/javascript" src="./require.js"></script>
- <script type="text/javascript" src="./config.js"></script>
- <script>
- // run the application
- require(["app", "minimumApp"], function (app) {
- app("./app.tsx")
- });
- </script>
-</body>
-
-</html> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/minimumApp/src/plugin.tsx b/sdnr/wt/odlux/apps/minimumApp/src/plugin.tsx
deleted file mode 100644
index 3095ba783..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/src/plugin.tsx
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// app configuration and main entry point for the app
-
-import * as React from "react";
-import { withRouter, RouteComponentProps, Route, Switch, Redirect } from 'react-router-dom';
-
-import { faLock } from '@fortawesome/free-solid-svg-icons'; // select app icon
-
-import applicationManager from '../../../framework/src/services/applicationManager';
-import connect, { Connect } from '../../../framework/src/flux/connect';
-
-import { minimumAppRootHandler } from './handlers/minimumAppRootHandler';
-
-type AppProps = RouteComponentProps & Connect;
-
-const App = (props: AppProps) => (
- <div>Start your app here!!</div>
-);
-
-const FinalApp = withRouter(connect()(App));
-
-export function register() {
- applicationManager.registerApplication({
- name: "minimum",
- icon: faLock,
- rootComponent: FinalApp,
- rootActionHandler: minimumAppRootHandler,
- menuEntry: "Minimum"
- });
-}
-
-
diff --git a/sdnr/wt/odlux/apps/minimumApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java b/sdnr/wt/odlux/apps/minimumApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
deleted file mode 100644
index 1e882fc69..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles;
-
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class MyOdluxBundle extends OdluxBundle {
-
- @Override
- public void initialize() {
- super.initialize();
- }
-
- @Override
- public void clean() {
- super.clean();
- }
-
- @Override
- public String getResourceFileContent(String filename) {
- return super.getResourceFileContent(filename);
- }
-
- @Override
- public boolean hasResource(String filename) {
- return super.hasResource(filename);
- }
-
- @Override
- public void setBundleName(String bundleName) {
- super.setBundleName(bundleName);
- }
-
- @Override
- public void setLoader(OdluxBundleLoader loader) {
- super.setLoader(loader);
- }
-
- @Override
- public String getBundleName() {
- return super.getBundleName();
- }
-
- @Override
- public OdluxBundleLoader getLoader() {
- return super.getLoader();
- }
-
- public MyOdluxBundle() {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/minimumApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wt/odlux/apps/minimumApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100644
index 4c8ed1343..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <reference id="loadersvc" availability="mandatory" activation="eager" interface="org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader"/>
-
- <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle">
- <property name="loader" ref="loadersvc"/>
- <property name="bundleName" value="minimumApp"/>
- <property name="index" value="999" />
- </bean>
-</blueprint> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/minimumApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java b/sdnr/wt/odlux/apps/minimumApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
deleted file mode 100644
index d0fbe63c0..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles.test;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.odlux.OdluxBundleLoaderImpl;
-import org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle;
-
-public class TestBundleRes {
-
- @Test
- public void test() {
- OdluxBundleLoaderImpl loader = OdluxBundleLoaderImpl.getInstance();
- MyOdluxBundle b = new MyOdluxBundle();
- b.setLoader(loader);
- b.setIndex(0);
- b.setBundleName("abc");
- b.initialize();
- assertTrue(loader.getNumberOfBundles()==1);
- assertNotNull(b.getLoader());
- assertEquals("abc",b.getBundleName());
- assertTrue(b.hasResource("test.js"));
- assertNotNull(b.getResourceFileContent("test.js"));
- b.clean();
- assertTrue(loader.getNumberOfBundles()==0);
- }
-
-}
diff --git a/sdnr/wt/odlux/apps/minimumApp/src2/test/resources/test.js b/sdnr/wt/odlux/apps/minimumApp/src2/test/resources/test.js
deleted file mode 100644
index b47fdc39f..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/src2/test/resources/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-asdac sad
-as
-d
-sad
- sadfa \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/minimumApp/tsconfig.json b/sdnr/wt/odlux/apps/minimumApp/tsconfig.json
deleted file mode 100644
index a66b5d828..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/tsconfig.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./src",
- "outDir": "./dist",
- "sourceMap": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": false,
- "allowUnreachableCode": false,
- "allowUnusedLabels": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "pretty": true,
- "newLine": "LF",
- "module": "es2015",
- "target": "es2016",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "jsx": "preserve",
- "lib": [
- "dom",
- "es2015",
- "es2016"
- ],
- "types": [
- "prop-types",
- "react",
- "react-dom"
- ]
- },
- "exclude": [
- "dist",
- "node_modules"
- ]
-}
diff --git a/sdnr/wt/odlux/apps/minimumApp/webpack.config.js b/sdnr/wt/odlux/apps/minimumApp/webpack.config.js
deleted file mode 100644
index 64a534464..000000000
--- a/sdnr/wt/odlux/apps/minimumApp/webpack.config.js
+++ /dev/null
@@ -1,136 +0,0 @@
-/**
- * Webpack 4 configuration file
- * see https://webpack.js.org/configuration/
- * see https://webpack.js.org/configuration/dev-server/
- */
-
-"use strict";
-
-const path = require("path");
-const webpack = require("webpack");
-const CopyWebpackPlugin = require("copy-webpack-plugin");
-const TerserPlugin = require('terser-webpack-plugin');
-
-// const __dirname = (path => path.replace(/^([a-z]\:)/, c => c.toUpperCase()))(process.__dirname());
-
-module.exports = (env) => {
- const distPath = path.resolve(__dirname, env === "release" ? "." : "../..", "dist");
- const frameworkPath = path.resolve(__dirname, env === "release" ? "../../framework" : "../..", "dist");
- return [{
- name: "App",
-
- mode: "none", //disable default behavior
-
- target: "web",
-
- context: path.resolve(__dirname, "src"),
-
- entry: {
- minimumApp: ["./plugin.tsx"]
- },
-
- devtool: env === "release" ? false : "source-map",
-
- resolve: {
- extensions: [".ts", ".tsx", ".js", ".jsx"]
- },
-
- output: {
- path: distPath,
- filename: "[name].js",
- library: "[name]",
- libraryTarget: "umd2",
- chunkFilename: "[name].js"
- },
- module: {
- rules: [{
- test: /\.tsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }, {
- loader: "ts-loader"
- }]
- }, {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }]
- }]
- },
-
- optimization: {
- noEmitOnErrors: true,
- namedModules: env !== "release",
- minimize: env === "release",
- minimizer: env !== "release" ? [] : [new TerserPlugin({
- terserOptions: {
- warnings: false, // false, true, "verbose"
- compress: {
- drop_console: true,
- drop_debugger: true,
- }
- }
- })],
- },
-
- plugins: [
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
- ...(env === "release") ? [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'production'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- ] : [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'development'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- new CopyWebpackPlugin([{
- from: 'index.html',
- to: distPath
- }]),
- ]
- ],
-
- devServer: {
- public: "http://localhost:3100",
- contentBase: frameworkPath,
-
- compress: true,
- headers: {
- "Access-Control-Allow-Origin": "*"
- },
- host: "0.0.0.0",
- port: 3100,
- disableHostCheck: true,
- historyApiFallback: true,
- inline: true,
- hot: false,
- quiet: false,
- stats: {
- colors: true
- },
- proxy: {
- "/api": {
- target: "http://localhost:3001",
- secure: false
- }
- }
- }
- }];
-}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/.babelrc b/sdnr/wt/odlux/apps/performanceHistoryApp/.babelrc
deleted file mode 100644
index 3d8cd1260..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/.babelrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "presets": [
- ["@babel/preset-react"],
- ["@babel/preset-env", {
- "targets": {
- "chrome": "66"
- },
- "spec": true,
- "loose": false,
- "modules": false,
- "debug": false,
- "useBuiltIns": "usage",
- "forceAllTransforms": true
- }]
- ],
- "plugins": []
-}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/package.json b/sdnr/wt/odlux/apps/performanceHistoryApp/package.json
deleted file mode 100644
index 290046ef5..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/package.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "name": "@odlux/performancehistory-app",
- "version": "0.1.1",
- "description": "A react based modular UI to display performance history data from a database.",
- "main": "index.js",
- "scripts": {
- "start": "webpack-dev-server --env debug",
- "build": "webpack --env release --config webpack.config.js",
- "build:dev": "webpack --env debug --config webpack.config.js"
- },
- "repository": {
- "type": "git",
- "url": "https://git.mfico.de/highstreet-technologies/odlux.git"
- },
- "keywords": [
- "reactjs",
- "redux",
- "ui",
- "framework"
- ],
- "author": "Sai Neetha Phulmali",
- "license": "Apache-2.0",
- "dependencies": {
- "@odlux/framework" : "*",
- "@odlux/connect-app": "*",
- "react-chartjs-2":"2.7.6",
- "chart.js":"2.8.0"
- },
- "peerDependencies": {
- "@types/react": "16.4.14",
- "@types/react-dom": "16.0.8",
- "@types/react-router-dom": "4.3.1",
- "@material-ui/core": "3.8.3",
- "@material-ui/icons": "3.0.2",
- "@types/classnames": "2.2.6",
- "@types/flux": "3.1.8",
- "@types/jquery": "3.3.10",
- "jquery": "3.3.1",
- "react": "16.5.2",
- "react-dom": "16.5.2",
- "react-router-dom": "4.3.1"
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/pom.xml b/sdnr/wt/odlux/apps/performanceHistoryApp/pom.xml
deleted file mode 100644
index 2a172f7a0..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/pom.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent</artifactId>
- <version>1.5.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-odlux-app-performanceHistoryApp</artifactId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnr-wt-odlux-app-performanceHistoryApp</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-odlux-core-provider</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <pluginRepositories>
- <pluginRepository>
- <id>highstreet repo</id>
- <url>https://cloud-highstreet-technologies.com/mvn/</url>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <sourceDirectory>src2/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>dist</directory>
- <targetPath>odlux</targetPath>
- </resource>
- <resource>
- <directory>src2/main/resources</directory>
- </resource>
- <resource>
- <directory>src2/test/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>dist</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <fileset>
- <directory>../node_modules</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- <!-- eclipse bug build bin folder in basedir -->
- <fileset>
- <directory>bin</directory>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src2/test/java</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>de.jacksitlab</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <!-- optional: default phase is "generate-resources" -->
- <phase>initialize</phase>
- <configuration>
- <nodeVersion>v8.10.0</nodeVersion>
- <yarnVersion>v1.12.3</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>run build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
- <Private-Package/>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/connectedNetworkElementsActions.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/connectedNetworkElementsActions.ts
deleted file mode 100644
index 97d531608..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/connectedNetworkElementsActions.ts
+++ /dev/null
@@ -1,85 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { Dispatch } from '../../../../framework/src/flux/store';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-
-import { ConnectedNetworkElementIds } from '../models/connectedNetworkElements';
-
-/**
- * Represents the base action.
- */
-export class BaseAction extends Action { }
-
-/**
- * Represents an action causing the store to load all connected network element Ids.
- */
-export class LoadAllConnectedNetworkElementsAction extends BaseAction { }
-
-/**
- * Represents an action causing the store to update all connected network element Ids.
- */
-export class AllConnectedNetworkElementsLoadedAction extends BaseAction {
- /**
- * Initialize this instance.
- *
- * @param connectedNetworkElements The connected network element Ids which are loaded from the state of connectApp.
- */
- constructor(public connectedNetworkElementIds: ConnectedNetworkElementIds[] | null, public error?: string) {
- super();
- }
-}
-
-/**
- * Represents an asynchronous thunk action to load all connected network element Ids.
- */
-export const loadAllConnectedNetworkElementsAsync = (dispatch: Dispatch, getState: () => IApplicationStoreState) => {
- window.setTimeout(() => {
- dispatch(new LoadAllConnectedNetworkElementsAction());
- const connectedNetworkElementsIds = getState().connect.mountedNetworkElements;
- let mountIdList: ConnectedNetworkElementIds[] = [];
- connectedNetworkElementsIds.elements.forEach(element => {
- const connectedNetworkElement = {
- mountId: element.mountId
- }
- mountIdList.push(connectedNetworkElement);
- });
- mountIdList.sort((a, b) => {
- if (a.mountId < b.mountId) return -1;
- if (a.mountId > b.mountId) return 1;
- return 0;
- });
- dispatch(new AllConnectedNetworkElementsLoadedAction(mountIdList));
- }, 500);
-};
-
-/**
- * Represents an action causing the store to update mountId.
- */
-export class UpdateMountId extends BaseAction {
- constructor (public nodeId?: string) {
- super();
- }
-}
-
-/**
- * Represents an asynchronous thunk action to load updated mountId.
- */
-export const updateMountIdActionCreator = (nodeId: string ) => async (dispatch: Dispatch) => {
- return dispatch(new UpdateMountId(nodeId));
-}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/ltpAction.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/ltpAction.ts
deleted file mode 100644
index 2741d889a..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/ltpAction.ts
+++ /dev/null
@@ -1,78 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { Dispatch } from '../../../../framework/src/flux/store';
-
-import { LtpIds } from '../models/availableLtps';
-import { PerformanceHistoryService } from '../services/performanceHistoryService';
-
-/**
- * Represents the base action.
- */
-export class BaseAction extends Action { }
-
-/**
- * Represents an action causing the store to load available ltps.
- */
-export class LoadAllAvailableLtpsAction extends BaseAction { }
-
-/**
- * Represents an action causing the store to update available ltps.
- */
-export class AllAvailableLtpsLoadedAction extends BaseAction {
- /**
- * Initialize this instance.
- * @param availableLtps The available ltps which are returned from the database.
- */
- constructor(public availableLtps: LtpIds[] | null, public error?: string) {
- super();
- }
-}
-
-
-/**
- * Represents an asynchronous thunk action to load available distinctLtps by networkElement from the database and set the returned first Ltp as default.
- * @param networkElement The network element sent to database to get its available distinct Ltps.
- * @param selectedTimePeriod The time period selected sent to database to get the distinct Ltps of the selected network element.
- * @param selectedLtp The Ltp which is selected in the dropdown.
- * @param selectFirstLtp The function to get the first ltp returned from the database to be selected as default on selection upon network element.
- * @param resetLtp The function to verify if the selected ltp is also available in the selected time period database else reset the Ltp dropdown to select.
- */
-export const loadDistinctLtpsbyNetworkElementAsync = (networkElement: string, selectedTimePeriod: string, selectedLtp: string, selectFirstLtp?: Function, resetLtp?: Function) => (dispatch: Dispatch) => {
- dispatch(new LoadAllAvailableLtpsAction());
- PerformanceHistoryService.getDistinctLtpsFromDatabase(networkElement, selectedTimePeriod).then(distinctLtps => {
- if (distinctLtps) {
- const ltps = getDistinctLtps(distinctLtps, selectedLtp, selectFirstLtp, resetLtp);
- dispatch(new AllAvailableLtpsLoadedAction(ltps));
- }
- }).catch(error => {
- dispatch(new AllAvailableLtpsLoadedAction(null, error));
- });
-};
-
-const getDistinctLtps = (distinctLtps: LtpIds[], selectedLtp: string, selectFirstLtp?: Function, resetLtp?: Function) => {
- let ltpNotSelected: boolean = true;
- selectFirstLtp && selectFirstLtp(distinctLtps[0].key);
- distinctLtps.forEach((value: LtpIds) => {
- if (value.key === selectedLtp) {
- ltpNotSelected = false;
- }
- });
- resetLtp && resetLtp(ltpNotSelected);
- return distinctLtps;
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/panelChangeActions.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/panelChangeActions.ts
deleted file mode 100644
index 8b77cb3b0..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/panelChangeActions.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { PanelId } from '../models/panelId';
-
-/**
- * Represents an action causing the store to update the panel.
- */
-export class SetPanelAction extends Action {
- /**
- * Initialize this instance.
- * @param panelId Action to set the current panel by its Id.
- */
- constructor(public panelId: PanelId) {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/timeChangeAction.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/timeChangeAction.ts
deleted file mode 100644
index a069af13c..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/actions/timeChangeAction.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Action } from '../../../../framework/src/flux/action';
-import { PmDataInterval } from '../models/performanceDataType';
-
-export class TimeChangeAction extends Action {
- /**
- * Initialize this instance.
- * @param time Action to set the time interval in dropdown.
- */
- constructor(public time: PmDataInterval) {
- super();
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/adaptiveModulation.tsx b/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/adaptiveModulation.tsx
deleted file mode 100644
index 2564d574a..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/adaptiveModulation.tsx
+++ /dev/null
@@ -1,433 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { withRouter, RouteComponentProps } from 'react-router-dom';
-
-import { MaterialTable, ColumnType, ColumnModel, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-
-import { AdaptiveModulationDataType } from '../models/adaptiveModulationDataType';
-import { IDataSet, IDataSetsObject } from '../models/chartTypes';
-import { createAdaptiveModulationProperties, createAdaptiveModulationActions } from '../handlers/adaptiveModulationHandler';
-import { lineChart, sortDataByTimeStamp } from '../utils/chartUtils';
-import { addColumnLabels } from '../utils/tableUtils';
-
-const mapProps = (state: IApplicationStoreState) => ({
- adaptiveModulationProperties: createAdaptiveModulationProperties(state),
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- adaptiveModulationActions: createAdaptiveModulationActions(dispatcher.dispatch),
-});
-
-type AdaptiveModulationComponentProps = RouteComponentProps & Connect<typeof mapProps, typeof mapDisp> & {
- selectedTimePeriod: string
-};
-
-const AdaptiveModulationTable = MaterialTable as MaterialTableCtorType<AdaptiveModulationDataType>;
-
-/**
- * The Component which gets the adaptiveModulation data from the database based on the selected time period.
- */
-class AdaptiveModulationComponent extends React.Component<AdaptiveModulationComponentProps>{
- render(): JSX.Element {
- const properties = this.props.adaptiveModulationProperties;
- const actions = this.props.adaptiveModulationActions;
-
- const chartPagedData = this.getChartDataValues(properties.rows);
- const adaptiveModulationColumns: ColumnModel<AdaptiveModulationDataType>[] = [
- { property: "radioSignalId", title: "Radio signal", type: ColumnType.text },
- { property: "scannerId", title: "Scanner ID", type: ColumnType.text },
- { property: "utcTimeStamp", title: "End Time", type: ColumnType.text, disableFilter: true },
- {
- property: "suspectIntervalFlag", title: "Suspect Interval", type: ColumnType.custom, customControl: ({ rowData }) => {
- const suspectIntervalFlag = rowData["suspectIntervalFlag"].toString();
- return <div >{suspectIntervalFlag} </div>
- }
- }];
-
- chartPagedData.datasets.forEach(ds => {
- adaptiveModulationColumns.push(addColumnLabels<AdaptiveModulationDataType>(ds.name, ds.columnLabel));
- });
-
- return (
- <>
- {lineChart(chartPagedData)}
- <AdaptiveModulationTable idProperty={"_id"} columns={adaptiveModulationColumns} {...properties} {...actions} />
- </>
- );
- };
-
- /**
- * This function gets the performance values for Adaptive modulation according on the chartjs dataset structure
- * which is to be sent to the chart.
- */
-
- private getChartDataValues = (rows: AdaptiveModulationDataType[]): IDataSetsObject => {
- const _rows = [...rows];
- sortDataByTimeStamp(_rows);
-
- const datasets: IDataSet[] = [{
- name: "time2StatesS",
- label: "QAM2S",
- borderColor: '#62a309fc',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM2S",
- }, {
- name: "time2States",
- label: "QAM2",
- borderColor: '#62a309fc',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM2",
- }, {
- name: "time2StatesL",
- label: "QAM2L",
- borderColor: '#62a309fc',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM2L",
- }, {
- name: "time4StatesS",
- label: "QAM4S",
- borderColor: '#b308edde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM4S",
- }, {
- name: "time4States",
- label: "QAM4",
- borderColor: '#b308edde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM4",
- }, {
- name: "time4StatesL",
- label: "QAM4L",
- borderColor: '#b308edde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM4L",
- }, {
- name: "time16StatesS",
- label: "QAM16S",
- borderColor: '#9b15e2',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM16S",
- }, {
- name: "time16States",
- label: "QAM16",
- borderColor: '#9b15e2',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM16",
- }, {
- name: "time16StatesL",
- label: "QAM16L",
- borderColor: '#9b15e2',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM16L",
- }, {
- name: "time32StatesS",
- label: "QAM32S",
- borderColor: '#2704f5f0',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM32S",
- }, {
- name: "time32States",
- label: "QAM32",
- borderColor: '#2704f5f0',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM32",
- }, {
- name: "time32StatesL",
- label: "QAM32L",
- borderColor: '#2704f5f0',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM32L",
- }, {
- name: "time64StatesS",
- label: "QAM64S",
- borderColor: '#347692',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM64S",
- }, {
- name: "time64States",
- label: "QAM64",
- borderColor: '#347692',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM64",
- }, {
- name: "time64StatesL",
- label: "QAM64L",
- borderColor: '#347692',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM64L",
- }, {
- name: "time128StatesS",
- label: "QAM128S",
- borderColor: '#885e22',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM128S",
- }, {
- name: "time128States",
- label: "QAM128",
- borderColor: '#885e22',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM128",
- }, {
- name: "time128StatesL",
- label: "QAM128L",
- borderColor: '#885e22',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM128L",
- }, {
- name: "time256StatesS",
- label: "QAM256S",
- borderColor: '#de07807a',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM256S",
- }, {
- name: "time256States",
- label: "QAM256",
- borderColor: '#de07807a',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM256",
- }, {
- name: "time256StatesL",
- label: "QAM256L",
- borderColor: '#de07807a',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM256L",
- }, {
- name: "time512StatesS",
- label: "QAM512S",
- borderColor: '#8fdaacde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM512S",
- }, {
- name: "time512States",
- label: "QAM512",
- borderColor: '#8fdaacde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM512",
- }, {
-
- name: "time512StatesL",
- label: "QAM512L",
- borderColor: '#8fdaacde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM512L",
- }, {
-
- name: "time1024StatesS",
- label: "QAM1024S",
- borderColor: '#435b22',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM1024S",
- }, {
-
- name: "time1024States",
- label: "QAM1024",
- borderColor: '#435b22',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM1024",
- }, {
-
- name: "time1024StatesL",
- label: "QAM1024L",
- borderColor: '#435b22',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM1024L",
- }, {
- name: "time2048StatesS",
- label: "QAM2048S",
- borderColor: '#e87a5b',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM2048S",
- }, {
- name: "time2048States",
- label: "QAM2048",
- borderColor: '#e87a5b',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM2048",
- }, {
- name: "time2048StatesL",
- label: "QAM2048L",
- borderColor: '#e87a5b',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM2048L",
- }, {
- name: "time4096StatesS",
- label: "QAM4096S",
- borderColor: '#5be878',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM4096S",
- }, {
- name: "time4096States",
- label: "QAM4096",
- borderColor: '#5be878',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM4096",
- }, {
- name: "time4096StatesL",
- label: "QAM4096L",
- borderColor: '#5be878',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM4096L",
- }, {
- name: "time8192StatesS",
- label: "QAM8192s",
- borderColor: '#cb5be8',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM8192S",
- }, {
- name: "time8192States",
- label: "QAM8192",
- borderColor: '#cb5be8',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM8192",
- }, {
- name: "time8192StatesL",
- label: "QAM8192L",
- borderColor: '#cb5be8',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "QAM8192L",
- }
- ];
-
- _rows.forEach(row => {
- datasets.forEach(ds => {
- ds.data.push({
- x: row["utcTimeStamp" as keyof AdaptiveModulationDataType] as string,
- y: row[ds.name as keyof AdaptiveModulationDataType] as string
- });
- });
- });
-
- return {
- datasets: datasets
- };
- }
-}
-const AdaptiveModulation = withRouter(connect(mapProps, mapDisp)(AdaptiveModulationComponent));
-export default AdaptiveModulation;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/crossPolarDiscrimination.tsx b/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/crossPolarDiscrimination.tsx
deleted file mode 100644
index 8718171f7..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/crossPolarDiscrimination.tsx
+++ /dev/null
@@ -1,130 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { withRouter, RouteComponentProps } from 'react-router-dom';
-
-import { MaterialTable, ColumnType, MaterialTableCtorType, ColumnModel } from '../../../../framework/src/components/material-table';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-
-import { CrossPolarDiscriminationDataType } from '../models/crossPolarDiscriminationDataType';
-import { IDataSet, IDataSetsObject } from '../models/chartTypes';
-import { createCrossPolarDiscriminationProperties, createCrossPolarDiscriminationActions } from '../handlers/crossPolarDiscriminationHandler';
-import { lineChart, sortDataByTimeStamp } from '../utils/chartUtils';
-import { addColumnLabels } from '../utils/tableUtils';
-
-const mapProps = (state: IApplicationStoreState) => ({
- crossPolarDiscriminationProperties: createCrossPolarDiscriminationProperties(state),
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- crossPolarDiscriminationActions: createCrossPolarDiscriminationActions(dispatcher.dispatch),
-});
-
-type CrossPolarDiscriminationComponentProps = RouteComponentProps & Connect<typeof mapProps, typeof mapDisp> & {
- selectedTimePeriod: string
-};
-
-const CrossPolarDiscriminationTable = MaterialTable as MaterialTableCtorType<CrossPolarDiscriminationDataType>;
-
-/**
- * The Component which gets the crossPolarDiscrimination data from the database based on the selected time period.
- */
-class CrossPolarDiscriminationComponent extends React.Component<CrossPolarDiscriminationComponentProps>{
- render(): JSX.Element {
- const properties = this.props.crossPolarDiscriminationProperties;
- const actions = this.props.crossPolarDiscriminationActions;
-
- const chartPagedData = this.getChartDataValues(properties.rows);
-
- const cpdColumns: ColumnModel<CrossPolarDiscriminationDataType>[] = [
- { property: "radioSignalId", title: "Radio signal", type: ColumnType.text },
- { property: "scannerId", title: "Scanner ID", type: ColumnType.text },
- { property: "utcTimeStamp", title: "End Time", type: ColumnType.text, disableFilter: true },
- {
- property: "suspectIntervalFlag", title: "Suspect Interval", type: ColumnType.custom, customControl: ({ rowData }) => {
- const suspectIntervalFlag = rowData["suspectIntervalFlag"].toString();
- return <div >{suspectIntervalFlag} </div>
- }
- }
- ];
-
- chartPagedData.datasets.forEach(ds => {
- cpdColumns.push(addColumnLabels<CrossPolarDiscriminationDataType>(ds.name, ds.columnLabel));
- });
- return (
- <>
- {lineChart(chartPagedData)}
- <CrossPolarDiscriminationTable idProperty={"_id"} columns={cpdColumns} {...properties} {...actions} />
- </>
- );
- };
-
- /**
- * This function gets the performance values for CPD according on the chartjs dataset structure
- * which is to be sent to the chart.
- */
- private getChartDataValues = (rows: CrossPolarDiscriminationDataType[]): IDataSetsObject => {
- const _rows = [...rows];
- sortDataByTimeStamp(_rows);
-
- const datasets: IDataSet[] = [{
- name: "xpdMin",
- label: "xpd-min",
- borderColor: '#0e17f3de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "CPD (min)[db]"
- }, {
- name: "xpdAvg",
- label: "xpd-avg",
- borderColor: '#08edb6de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "CPD (avg)[db]"
- }, {
- name: "xpdMax",
- label: "xpd-max",
- borderColor: '#b308edde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "CPD (max)[db]"
- }];
-
- _rows.forEach(row => {
- datasets.forEach(ds => {
- ds.data.push({
- x: row["utcTimeStamp" as keyof CrossPolarDiscriminationDataType] as string,
- y: row[ds.name as keyof CrossPolarDiscriminationDataType] as string
- });
- });
- });
- return {
- datasets: datasets
- };
- }
-}
-const CrossPolarDiscrimination = withRouter(connect(mapProps, mapDisp)(CrossPolarDiscriminationComponent));
-export default CrossPolarDiscrimination;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/performanceData.tsx b/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/performanceData.tsx
deleted file mode 100644
index fc44879dc..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/performanceData.tsx
+++ /dev/null
@@ -1,129 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { withRouter, RouteComponentProps } from 'react-router-dom';
-
-import { MaterialTable, ColumnType, ColumnModel, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-import { PerformanceDataType } from '../models/performanceDataType';
-import { IDataSet, IDataSetsObject } from '../models/chartTypes';
-import { createPerformanceDataProperties, createPerformanceDataActions } from '../handlers/performanceDataHandler';
-import { lineChart, sortDataByTimeStamp } from '../utils/chartUtils';
-import { addColumnLabels } from '../utils/tableUtils';
-
-const mapProps = (state: IApplicationStoreState) => ({
- performanceDataProperties: createPerformanceDataProperties(state),
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- performanceDataActions: createPerformanceDataActions(dispatcher.dispatch),
-});
-
-type PerformanceDataComponentProps = RouteComponentProps & Connect<typeof mapProps, typeof mapDisp> & {
- selectedTimePeriod: string
-};
-
-const PerformanceDataTable = MaterialTable as MaterialTableCtorType<PerformanceDataType>;
-
-/**
- * The Component which gets the performance data from the database based on the selected time period.
- */
-class PerformanceDataComponent extends React.Component<PerformanceDataComponentProps>{
- render(): JSX.Element {
- const properties = this.props.performanceDataProperties;
- const actions = this.props.performanceDataActions;
-
- const chartPagedData = this.getChartDataValues(properties.rows);
- const performanceColumns: ColumnModel<PerformanceDataType>[] = [
- { property: "radioSignalId", title: "Radio signal", type: ColumnType.text },
- { property: "scannerId", title: "Scanner ID", type: ColumnType.text },
- { property: "utcTimeStamp", title: "End Time", type: ColumnType.text, disableFilter: true },
- {
- property: "suspectIntervalFlag", title: "Suspect Interval", type: ColumnType.custom, customControl: ({ rowData }) => {
- const suspectIntervalFlag = rowData["suspectIntervalFlag"].toString();
- return <div >{suspectIntervalFlag} </div>
- }
- }
- ];
-
- chartPagedData.datasets.forEach(ds => {
- performanceColumns.push(addColumnLabels<PerformanceDataType>(ds.name, ds.columnLabel));
- });
- return (
- <>
- {lineChart(chartPagedData)}
- <PerformanceDataTable idProperty={"_id"} columns={performanceColumns} {...properties} {...actions} />
- </>
- );
- };
-
- /**
- * This function gets the performance values for PerformanceData according on the chartjs dataset structure
- * which is to be sent to the chart.
- */
- private getChartDataValues = (rows: PerformanceDataType[]): IDataSetsObject => {
- const _rows = [...rows];
- sortDataByTimeStamp(_rows);
-
- const datasets: IDataSet[] = [{
- name: "es",
- label: "es",
- borderColor: '#0e17f3de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "ES"
- }, {
- name: "ses",
- label: "ses",
- borderColor: '#08edb6de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "SES"
- }, {
- name: "unavailability",
- label: "unavailability",
- borderColor: '#b308edde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "Unavailability"
- }];
-
- _rows.forEach(row => {
- datasets.forEach(ds => {
- ds.data.push({
- x: row["utcTimeStamp" as keyof PerformanceDataType] as string,
- y: row[ds.name as keyof PerformanceDataType] as string
- });
- });
- });
- return {
- datasets: datasets
- };
- }
-}
-
-const PerformanceData = withRouter(connect(mapProps, mapDisp)(PerformanceDataComponent));
-export default PerformanceData;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/receiveLevel.tsx b/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/receiveLevel.tsx
deleted file mode 100644
index 9992f5bd8..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/receiveLevel.tsx
+++ /dev/null
@@ -1,131 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { withRouter, RouteComponentProps } from 'react-router-dom';
-
-import { MaterialTable, ColumnType, ColumnModel, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-
-import { ReceiveLevelDataType } from '../models/receiveLevelDataType';
-import { IDataSet, IDataSetsObject } from '../models/chartTypes';
-import { createReceiveLevelProperties, createReceiveLevelActions } from '../handlers/receiveLevelHandler';
-import { lineChart, sortDataByTimeStamp } from '../utils/chartUtils';
-import { addColumnLabels } from '../utils/tableUtils';
-
-const mapProps = (state: IApplicationStoreState) => ({
- receiveLevelProperties: createReceiveLevelProperties(state),
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- receiveLevelActions: createReceiveLevelActions(dispatcher.dispatch),
-});
-
-type ReceiveLevelComponentProps = RouteComponentProps & Connect<typeof mapProps, typeof mapDisp> & {
- selectedTimePeriod: string
-};
-
-const ReceiveLevelTable = MaterialTable as MaterialTableCtorType<ReceiveLevelDataType>;
-
-/**
- * The Component which gets the receiveLevel data from the database based on the selected time period.
- */
-class ReceiveLevelComponent extends React.Component<ReceiveLevelComponentProps>{
- render(): JSX.Element {
- const properties = this.props.receiveLevelProperties;
- const actions = this.props.receiveLevelActions;
-
- const chartPagedData = this.getChartDataValues(properties.rows);
- const receiveLevelColumns: ColumnModel<ReceiveLevelDataType>[] = [
- { property: "radioSignalId", title: "Radio signal", type: ColumnType.text },
- { property: "scannerId", title: "Scanner ID", type: ColumnType.text },
- { property: "utcTimeStamp", title: "End Time", type: ColumnType.text, disableFilter: true },
- {
- property: "suspectIntervalFlag", title: "Suspect Interval", type: ColumnType.custom, customControl: ({ rowData }) => {
- const suspectIntervalFlag = rowData["suspectIntervalFlag"].toString();
- return <div >{suspectIntervalFlag} </div>
- }
- }
- ];
-
- chartPagedData.datasets.forEach(ds => {
- receiveLevelColumns.push(addColumnLabels<ReceiveLevelDataType>(ds.name, ds.columnLabel));
- });
-
- return (
- <>
- {lineChart(chartPagedData)}
- <ReceiveLevelTable idProperty={"_id"} columns={receiveLevelColumns} {...properties} {...actions} />
- </>
- );
- };
-
- /**
- * This function gets the performance values for ReceiveLevel according on the chartjs dataset structure
- * which is to be sent to the chart.
- */
- private getChartDataValues = (rows: ReceiveLevelDataType[]): IDataSetsObject => {
- const _rows = [...rows];
- sortDataByTimeStamp(_rows);
-
- const datasets: IDataSet[] = [{
- name: "rxLevelMin",
- label: "rx-level-min",
- borderColor: '#0e17f3de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "Rx min"
- }, {
- name: "rxLevelAvg",
- label: "rx-level-avg",
- borderColor: '#08edb6de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "Rx avg"
- }, {
- name: "rxLevelMax",
- label: "rx-level-max",
- borderColor: '#b308edde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "Rx max"
- }];
-
- _rows.forEach(row => {
- datasets.forEach(ds => {
- ds.data.push({
- x: row["utcTimeStamp" as keyof ReceiveLevelDataType] as string,
- y: row[ds.name as keyof ReceiveLevelDataType] as string
- });
- });
- });
- return {
- datasets: datasets
- };
- }
-}
-
-const ReceiveLevel = withRouter(connect(mapProps, mapDisp)(ReceiveLevelComponent));
-export default ReceiveLevel;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/signalToInterference.tsx b/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/signalToInterference.tsx
deleted file mode 100644
index 98017ae2f..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/signalToInterference.tsx
+++ /dev/null
@@ -1,133 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { withRouter, RouteComponentProps } from 'react-router-dom';
-
-import { MaterialTable, ColumnType, ColumnModel, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-
-import { SignalToInterferenceDataType } from '../models/signalToInteferenceDataType';
-import { IDataSet, IDataSetsObject } from '../models/chartTypes';
-import { createSignalToInterferenceProperties, createSignalToInterferenceActions } from '../handlers/signalToInterferenceHandler';
-import { lineChart, sortDataByTimeStamp } from '../utils/chartUtils';
-import { addColumnLabels } from '../utils/tableUtils';
-
-const mapProps = (state: IApplicationStoreState) => ({
- signalToInterferenceProperties: createSignalToInterferenceProperties(state),
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- signalToInterferenceActions: createSignalToInterferenceActions(dispatcher.dispatch),
-});
-
-type SignalToInterferenceComponentProps = RouteComponentProps & Connect<typeof mapProps, typeof mapDisp> & {
- selectedTimePeriod: string
-};
-
-const SignalToInterferenceTable = MaterialTable as MaterialTableCtorType<SignalToInterferenceDataType>;
-
-/**
- * The Component which gets the signal to interference data from the database based on the selected time period.
- */
-class SignalToInterferenceComponent extends React.Component<SignalToInterferenceComponentProps>{
- render(): JSX.Element {
- const properties = this.props.signalToInterferenceProperties;
- const actions = this.props.signalToInterferenceActions;
-
- const chartPagedData = this.getChartDataValues(properties.rows);
-
- const sinrColumns: ColumnModel<SignalToInterferenceDataType>[] = [
- { property: "radioSignalId", title: "Radio signal", type: ColumnType.text },
- { property: "scannerId", title: "Scanner ID", type: ColumnType.text },
- { property: "utcTimeStamp", title: "End Time", type: ColumnType.text, disableFilter: true },
- {
- property: "suspectIntervalFlag", title: "Suspect Interval", type: ColumnType.custom, customControl: ({ rowData }) => {
- const suspectIntervalFlag = rowData["suspectIntervalFlag"].toString();
- return <div >{suspectIntervalFlag} </div>
- }
- }
- ];
-
- chartPagedData.datasets.forEach(ds => {
- sinrColumns.push(addColumnLabels<SignalToInterferenceDataType>(ds.name, ds.columnLabel));
- });
- return (
- <>
- {lineChart(chartPagedData)}
- <SignalToInterferenceTable idProperty={"_id"} columns={sinrColumns} {...properties} {...actions}
- />
- </>
- );
- };
-
- /**
- * This function gets the performance values for SINR according on the chartjs dataset structure
- * which is to be sent to the chart.
- */
-
- private getChartDataValues = (rows: SignalToInterferenceDataType[]): IDataSetsObject => {
- const _rows = [...rows];
- sortDataByTimeStamp(_rows);
-
- const datasets: IDataSet[] = [{
- name: "snirMin",
- label: "snir-min",
- borderColor: '#0e17f3de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "SINR (min)[db]"
- }, {
- name: "snirAvg",
- label: "snir-avg",
- borderColor: '#08edb6de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "SINR (avg)[db]"
- }, {
- name: "snirMax",
- label: "snir-max",
- borderColor: '#b308edde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "SINR (max)[db]"
- }];
-
- _rows.forEach(row => {
- datasets.forEach(ds => {
- ds.data.push({
- x: row["utcTimeStamp" as keyof SignalToInterferenceDataType] as string,
- y: row[ds.name as keyof SignalToInterferenceDataType] as string
- });
- });
- });
- return {
- datasets: datasets
- };
- }
-}
-
-const SignalToInterference = withRouter(connect(mapProps, mapDisp)(SignalToInterferenceComponent));
-export default SignalToInterference;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/temperature.tsx b/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/temperature.tsx
deleted file mode 100644
index f1e62cf33..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/temperature.tsx
+++ /dev/null
@@ -1,131 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { withRouter, RouteComponentProps } from 'react-router-dom';
-
-import { MaterialTable, ColumnType, ColumnModel, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-
-import { TemperatureDataType } from '../models/temperatureDataType';
-import { IDataSet, IDataSetsObject } from '../models/chartTypes';
-import { createTemperatureProperties, createTemperatureActions } from '../handlers/temperatureHandler';
-import { lineChart, sortDataByTimeStamp } from '../utils/chartUtils';
-import { addColumnLabels } from '../utils/tableUtils';
-
-const mapProps = (state: IApplicationStoreState) => ({
- temperatureProperties: createTemperatureProperties(state),
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- temperatureActions: createTemperatureActions(dispatcher.dispatch),
-});
-
-type TemperatureComponentProps = RouteComponentProps & Connect<typeof mapProps, typeof mapDisp> & {
- selectedTimePeriod: string
-};
-
-const TemperatureTable = MaterialTable as MaterialTableCtorType<TemperatureDataType>;
-
-/**
- * The Component which gets the temperature data from the database based on the selected time period.
- */
-class TemperatureComponent extends React.Component<TemperatureComponentProps>{
- render(): JSX.Element {
- const properties = this.props.temperatureProperties;
- const actions = this.props.temperatureActions;
-
- const chartPagedData = this.getChartDataValues(properties.rows);
- const temperatureColumns: ColumnModel<TemperatureDataType>[] = [
- { property: "radioSignalId", title: "Radio signal", type: ColumnType.text },
- { property: "scannerId", title: "Scanner ID", type: ColumnType.text },
- { property: "utcTimeStamp", title: "End Time", type: ColumnType.text, disableFilter: true },
- {
- property: "suspectIntervalFlag", title: "Suspect Interval", type: ColumnType.custom, customControl: ({ rowData }) => {
- const suspectIntervalFlag = rowData["suspectIntervalFlag"].toString();
- return <div >{suspectIntervalFlag} </div>
- }
- }
- ];
-
- chartPagedData.datasets.forEach(ds => {
- temperatureColumns.push(addColumnLabels<TemperatureDataType>(ds.name, ds.columnLabel));
- });
- return (
- <>
- {lineChart(chartPagedData)}
- <TemperatureTable idProperty={"_id"} columns={temperatureColumns} {...properties} {...actions} />
- </>
- );
- };
-
- /**
- * This function gets the performance values for Temperature according on the chartjs dataset structure
- * which is to be sent to the chart.
- */
-
- private getChartDataValues = (rows: TemperatureDataType[]): IDataSetsObject => {
- const _rows = [...rows];
- sortDataByTimeStamp(_rows);
-
- const datasets: IDataSet[] = [{
- name: "rfTempMin",
- label: "rf-temp-min",
- borderColor: '#0e17f3de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "Rf Temp Min[deg C]"
- }, {
- name: "rfTempAvg",
- label: "rf-temp-avg",
- borderColor: '#08edb6de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "Rf Temp Avg[deg C]"
- }, {
- name: "rfTempMax",
- label: "rf-temp-max",
- borderColor: '#b308edde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "Rf Temp Max[deg C]"
- }];
-
- _rows.forEach(row => {
- datasets.forEach(ds => {
- ds.data.push({
- x: row["utcTimeStamp" as keyof TemperatureDataType] as string,
- y: row[ds.name as keyof TemperatureDataType] as string
- });
- });
- });
- return {
- datasets: datasets
- };
- }
-}
-
-const Temperature = withRouter(connect(mapProps, mapDisp)(TemperatureComponent));
-export default Temperature;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/transmissionPower.tsx b/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/transmissionPower.tsx
deleted file mode 100644
index 8ec4561a4..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/components/transmissionPower.tsx
+++ /dev/null
@@ -1,133 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { withRouter, RouteComponentProps } from 'react-router-dom';
-
-import { MaterialTable, ColumnType, ColumnModel, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-
-import { TransmissionPowerDataType } from '../models/transmissionPowerDataType';
-import { IDataSet, IDataSetsObject } from '../models/chartTypes';
-import { createTransmissionPowerProperties, createTransmissionPowerActions } from '../handlers/transmissionPowerHandler';
-import { lineChart, sortDataByTimeStamp } from '../utils/chartUtils';
-import { addColumnLabels } from '../utils/tableUtils';
-
-const mapProps = (state: IApplicationStoreState) => ({
- transmissionPowerProperties: createTransmissionPowerProperties(state),
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- transmissionPowerActions: createTransmissionPowerActions(dispatcher.dispatch),
-});
-
-type TransmissionPowerComponentProps = RouteComponentProps & Connect<typeof mapProps, typeof mapDisp> & {
- selectedTimePeriod: string
-}
-
-const TransmissionPowerTable = MaterialTable as MaterialTableCtorType<TransmissionPowerDataType>;
-
-/**
- * The Component which gets the transmission power data from the database based on the selected time period.
- */
-class TransmissionPowerComponent extends React.Component<TransmissionPowerComponentProps>{
- render(): JSX.Element {
- const properties = this.props.transmissionPowerProperties
- const actions = this.props.transmissionPowerActions
-
- const chartPagedData = this.getChartDataValues(properties.rows);
-
- const transmissionColumns: ColumnModel<TransmissionPowerDataType>[] = [
- { property: "radioSignalId", title: "Radio signal", type: ColumnType.text },
- { property: "scannerId", title: "Scanner ID", type: ColumnType.text },
- { property: "utcTimeStamp", title: "End Time", type: ColumnType.text, disableFilter: true },
- {
- property: "suspectIntervalFlag", title: "Suspect Interval", type: ColumnType.custom, customControl: ({ rowData }) => {
- const suspectIntervalFlag = rowData["suspectIntervalFlag"].toString();
- return <div >{suspectIntervalFlag} </div>
- }
- }
- ];
-
- chartPagedData.datasets.forEach(ds => {
- transmissionColumns.push(addColumnLabels<TransmissionPowerDataType>(ds.name, ds.columnLabel));
- });
-
- return (
- <>
- {lineChart(chartPagedData)}
- <TransmissionPowerTable idProperty={"_id"} columns={transmissionColumns} {...properties} {...actions} />
- </>
- );
- };
-
- /**
- * This function gets the performance values for TransmissionPower according on the chartjs dataset structure
- * which is to be sent to the chart.
- */
-
- private getChartDataValues = (rows: TransmissionPowerDataType[]): IDataSetsObject => {
- const _rows = [...rows];
- sortDataByTimeStamp(_rows);
-
- const datasets: IDataSet[] = [{
- name: "txLevelMin",
- label: "tx-level-min",
- borderColor: '#0e17f3de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "Tx min"
- }, {
- name: "txLevelAvg",
- label: "tx-level-avg",
- borderColor: '#08edb6de',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "Tx avg"
- }, {
- name: "txLevelMax",
- label: "tx-level-max",
- borderColor: '#b308edde',
- bezierCurve: false,
- lineTension: 0,
- fill: false,
- data: [],
- columnLabel: "Tx max"
- }];
-
- _rows.forEach(row => {
- datasets.forEach(ds => {
- ds.data.push({
- x: row["utcTimeStamp" as keyof TransmissionPowerDataType] as string,
- y: row[ds.name as keyof TransmissionPowerDataType] as string
- });
- });
- });
- return {
- datasets: datasets
- };
- }
-}
-
-const TransmissionPower = withRouter(connect(mapProps, mapDisp)(TransmissionPowerComponent));
-export default TransmissionPower;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/adaptiveModulationHandler.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/adaptiveModulationHandler.ts
deleted file mode 100644
index ba765c8cb..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/adaptiveModulationHandler.ts
+++ /dev/null
@@ -1,96 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal, IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { AdaptiveModulationDataType, AdaptiveModulationResult } from '../models/adaptiveModulationDataType';
-import { getFilter } from '../utils/tableUtils';
-
-export interface IAdaptiveModulationState extends IExternalTableState<AdaptiveModulationDataType> { }
-
-/**
- * Creates elastic search material data fetch handler for Adaptive modulation from historicalperformance database.
- */
-const adaptiveModulationSearchHandler = createSearchDataHandler<AdaptiveModulationResult, AdaptiveModulationDataType>(
- getFilter,
- null,
- (hit) => ({
- _id: hit._id,
- radioSignalId: hit._source["radio-signal-id"],
- scannerId: hit._source["scanner-id"],
- utcTimeStamp: hit._source["time-stamp"],
- suspectIntervalFlag: hit._source["suspect-interval-flag"],
- time2StatesS: hit._source["performance-data"]["time2-states-s"],
- time2States: hit._source["performance-data"]["time2-states"],
- time2StatesL: hit._source["performance-data"]["time2-states-l"],
- time4StatesS: hit._source["performance-data"]["time4-states-s"],
- time4States: hit._source["performance-data"]["time4-states"],
- time4StatesL: hit._source["performance-data"]["time4-states-l"],
- time16StatesS: hit._source["performance-data"]["time16-states-s"],
- time16States: hit._source["performance-data"]["time16-states"],
- time16StatesL: hit._source["performance-data"]["time16-states-l"],
- time32StatesS: hit._source["performance-data"]["time32-states-s"],
- time32States: hit._source["performance-data"]["time32-states"],
- time32StatesL: hit._source["performance-data"]["time32-states-l"],
- time64StatesS: hit._source["performance-data"]["time64-states-s"],
- time64States: hit._source["performance-data"]["time64-states"],
- time64StatesL: hit._source["performance-data"]["time64-states-l"],
- time128StatesS: hit._source["performance-data"]["time128-states-s"],
- time128States: hit._source["performance-data"]["time128-states"],
- time128StatesL: hit._source["performance-data"]["time128-states-l"],
- time256StatesS: hit._source["performance-data"]["time256-states-s"],
- time256States: hit._source["performance-data"]["time256-states"],
- time256StatesL: hit._source["performance-data"]["time256-states-l"],
- time512StatesS: hit._source["performance-data"]["time512-states-s"],
- time512States: hit._source["performance-data"]["time512-states"],
- time512StatesL: hit._source["performance-data"]["time512-states-l"],
- time1024StatesS: hit._source["performance-data"]["time1024-states-s"],
- time1024States: hit._source["performance-data"]["time1024-states"],
- time1024StatesL: hit._source["performance-data"]["time1024-states-l"],
- time2048StatesS: hit._source["performance-data"]["time2048-states-s"],
- time2048States: hit._source["performance-data"]["time2048-states"],
- time2048StatesL: hit._source["performance-data"]["time2048-states-l"],
- time4096StatesS: hit._source["performance-data"]["time4096-states-s"],
- time4096States: hit._source["performance-data"]["time4096-states"],
- time4096StatesL: hit._source["performance-data"]["time4096-states-l"],
- time8192StatesS: hit._source["performance-data"]["time8192-states-s"],
- time8192States: hit._source["performance-data"]["time8192-states"],
- time8192StatesL: hit._source["performance-data"]["time8192-states-l"],
- }),
- (pmDataEntry: string) => {
- switch (pmDataEntry) {
- case "radioSignalId":
- return "radio-signal-id";
- case "scannerId":
- return "scanner-id";
- case "utcTimeStamp":
- return "time-stamp"
- case "suspectIntervalFlag":
- return "suspect-interval-flag";
- }
- return pmDataEntry
- });
-
-export const {
- actionHandler: adaptiveModulationActionHandler,
- createActions: createAdaptiveModulationActions,
- createProperties: createAdaptiveModulationProperties,
- createPreActions: createAdaptiveModulationPreActions,
- reloadAction: adaptiveModulationReloadAction,
-} = createExternal<AdaptiveModulationDataType>(adaptiveModulationSearchHandler, appState => appState.performanceHistory.adaptiveModulation);
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/availableLtpsActionHandler.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/availableLtpsActionHandler.ts
deleted file mode 100644
index 41aceca9f..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/availableLtpsActionHandler.ts
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { IActionHandler } from '../../../../framework/src/flux/action';
-
-import {
- AllAvailableLtpsLoadedAction,
- LoadAllAvailableLtpsAction,
-} from '../actions/ltpAction';
-
-import { LtpIds } from '../models/availableLtps';
-
-export interface IAvailableLtpsState {
- distinctLtps: LtpIds[];
- busy: boolean;
-}
-
-const connectedNetworkElementsStateInit: IAvailableLtpsState = {
- distinctLtps: [],
- busy: false
-};
-
-export const availableLtpsActionHandler: IActionHandler<IAvailableLtpsState> = (state = connectedNetworkElementsStateInit, action) => {
- if (action instanceof LoadAllAvailableLtpsAction) {
-
- state = {
- ...state,
- busy: true
- };
-
- } else if (action instanceof AllAvailableLtpsLoadedAction) {
- if (!action.error && action.availableLtps) {
- state = {
- ...state,
- distinctLtps: action.availableLtps,
- busy: false
- };
- } else {
- state = {
- ...state,
- busy: false
- };
- }
- }
- return state;
-}; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/connectedNetworkElementsActionHandler.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/connectedNetworkElementsActionHandler.ts
deleted file mode 100644
index ee14063c2..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/connectedNetworkElementsActionHandler.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { IActionHandler } from '../../../../framework/src/flux/action';
-
-import { AllConnectedNetworkElementsLoadedAction, LoadAllConnectedNetworkElementsAction } from '../actions/connectedNetworkElementsActions';
-import { ConnectedNetworkElementIds } from '../models/connectedNetworkElements';
-
-export interface IConnectedNetworkElementsState {
- connectedNetworkElementIds: ConnectedNetworkElementIds[];
- busy: boolean;
-}
-
-const connectedNetworkElementsStateInit: IConnectedNetworkElementsState = {
- connectedNetworkElementIds: [],
- busy: false
-};
-
-export const connectedNetworkElementsActionHandler: IActionHandler<IConnectedNetworkElementsState> = (state = connectedNetworkElementsStateInit, action) => {
- if (action instanceof LoadAllConnectedNetworkElementsAction) {
-
- state = {
- ...state,
- busy: true
- };
-
- } else if (action instanceof AllConnectedNetworkElementsLoadedAction) {
- if (!action.error && action.connectedNetworkElementIds) {
- state = {
- ...state,
- connectedNetworkElementIds: action.connectedNetworkElementIds,
- busy: false
- };
- } else {
- state = {
- ...state,
- busy: false
- };
- }
- }
- return state;
-}; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/crossPolarDiscriminationHandler.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/crossPolarDiscriminationHandler.ts
deleted file mode 100644
index 074c97d91..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/crossPolarDiscriminationHandler.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal, IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { CrossPolarDiscriminationDataType, CrossPolarDiscriminationResult } from '../models/crossPolarDiscriminationDataType';
-import { getFilter } from '../utils/tableUtils';
-
-export interface ICrossPolarDiscriminationState extends IExternalTableState<CrossPolarDiscriminationDataType> { }
-
-/**
- * Creates elastic search material data fetch handler for CPD from historicalperformance database.
- */
-const crossPolarDiscriminationSearchHandler = createSearchDataHandler<CrossPolarDiscriminationResult, CrossPolarDiscriminationDataType>(
- getFilter,
- null,
- (hit) => ({
- _id: hit._id,
- radioSignalId: hit._source["radio-signal-id"],
- scannerId: hit._source["scanner-id"],
- utcTimeStamp: hit._source["time-stamp"],
- suspectIntervalFlag: hit._source["suspect-interval-flag"],
- xpdMin: hit._source["performance-data"]["xpd-min"],
- xpdAvg: hit._source["performance-data"]["xpd-avg"],
- xpdMax: hit._source["performance-data"]["xpd-max"],
- }),
- (pmDataEntry: string) => {
- switch (pmDataEntry) {
- case "radioSignalId":
- return "radio-signal-id";
- case "scannerId":
- return "scanner-id";
- case "utcTimeStamp":
- return "time-stamp"
- case "suspectIntervalFlag":
- return "suspect-interval-flag";
- }
- return pmDataEntry
- });
-
-export const {
- actionHandler: crossPolarDiscriminationActionHandler,
- createActions: createCrossPolarDiscriminationActions,
- createProperties: createCrossPolarDiscriminationProperties,
- createPreActions: createCrossPolarDiscriminationPreActions,
- reloadAction: crossPolarDiscriminationReloadAction,
-} = createExternal<CrossPolarDiscriminationDataType>(crossPolarDiscriminationSearchHandler, appState => appState.performanceHistory.crossPolarDiscrimination);
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/performanceDataHandler.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/performanceDataHandler.ts
deleted file mode 100644
index 51b537fea..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/performanceDataHandler.ts
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as moment from 'moment';
-
-import { createExternal, IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { PerformanceResult, PerformanceDataType } from '../models/performanceDataType';
-import { getFilter } from '../utils/tableUtils';
-
-export interface IPerformanceDataState extends IExternalTableState<PerformanceDataType> { }
-
-/**
-* Creates elastic search material data fetch handler for performance data from historicalperformance15min database.
-*/
-const performanceDataSearchHandler = createSearchDataHandler<PerformanceResult, PerformanceDataType>(
- getFilter,
- null,
- (hit) => ({
- _id: hit._id,
- radioSignalId: hit._source["radio-signal-id"],
- scannerId: hit._source["scanner-id"],
- utcTimeStamp: hit._source["time-stamp"],
- suspectIntervalFlag: hit._source["suspect-interval-flag"],
- es: hit._source["performance-data"]["es"],
- ses: hit._source["performance-data"]["ses"],
- unavailability: hit._source["performance-data"]["unavailability"],
- }),
- (pmDataEntry: string) => {
- switch (pmDataEntry) {
- case "radioSignalId":
- return "radio-signal-id";
- case "scannerId":
- return "scanner-id";
- case "utcTimeStamp":
- return "time-stamp"
- case "suspectIntervalFlag":
- return "suspect-interval-flag";
- }
- return pmDataEntry
- });
-
-export const {
- actionHandler: performanceDataActionHandler,
- createActions: createPerformanceDataActions,
- createProperties: createPerformanceDataProperties,
- createPreActions: createPerformanceDataPreActions,
- reloadAction: performanceDataReloadAction
-} = createExternal<PerformanceDataType>(performanceDataSearchHandler, appState => appState.performanceHistory.performanceData);
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/performanceHistoryRootHandler.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/performanceHistoryRootHandler.ts
deleted file mode 100644
index 85ff01634..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/performanceHistoryRootHandler.ts
+++ /dev/null
@@ -1,105 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-// main state handler
-
-import { combineActionHandler } from '../../../../framework/src/flux/middleware';
-
-// ** do not remove **
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import { IActionHandler } from '../../../../framework/src/flux/action';
-
-import { IConnectAppStoreState } from '../../../connectApp/src/handlers/connectAppRootHandler';
-import { IPerformanceDataState, performanceDataActionHandler } from './performanceDataHandler';
-import { IReceiveLevelState, receiveLevelActionHandler } from './receiveLevelHandler';
-import { ITransmissionPowerState, transmissionPowerActionHandler } from './transmissionPowerHandler';
-import { IAdaptiveModulationState, adaptiveModulationActionHandler } from './adaptiveModulationHandler';
-import { ITemperatureState, temperatureActionHandler } from './temperatureHandler';
-import { ISignalToInterferenceState, signalToInterferenceActionHandler } from './signalToInterferenceHandler';
-import { ICrossPolarDiscriminationState, crossPolarDiscriminationActionHandler } from './crossPolarDiscriminationHandler';
-import { SetPanelAction } from '../actions/panelChangeActions';
-import { IConnectedNetworkElementsState, connectedNetworkElementsActionHandler } from './connectedNetworkElementsActionHandler';
-import { IAvailableLtpsState, availableLtpsActionHandler } from './availableLtpsActionHandler';
-import { PmDataInterval } from '../models/performanceDataType';
-import { TimeChangeAction } from '../actions/timeChangeAction';
-import { UpdateMountId } from '../actions/connectedNetworkElementsActions';
-
-export interface IPerformanceHistoryStoreState {
- mountId: string;
- networkElements: IConnectedNetworkElementsState;
- ltps: IAvailableLtpsState;
- performanceData: IPerformanceDataState;
- receiveLevel: IReceiveLevelState;
- transmissionPower: ITransmissionPowerState;
- adaptiveModulation: IAdaptiveModulationState;
- temperature: ITemperatureState;
- signalToInterference: ISignalToInterferenceState;
- crossPolarDiscrimination: ICrossPolarDiscriminationState;
- currentOpenPanel: string | null;
- pmDataIntervalType: PmDataInterval;
-}
-
-const mountIdHandler: IActionHandler<string> = (state = "", action) => {
- if (action instanceof UpdateMountId) {
- state = "";
- if (action.nodeId) {
- state = action.nodeId;
- }
- }
- return state;
-}
-
-
-const currentOpenPanelHandler: IActionHandler<string | null> = (state = null, action) => {
- if (action instanceof SetPanelAction) {
- state = action.panelId;
- }
- return state;
-}
-
-const currentPMDataIntervalHandler: IActionHandler<PmDataInterval> = (state = PmDataInterval.pmInterval15Min, action) => {
- if (action instanceof TimeChangeAction) {
- state = action.time;
- }
- return state;
-}
-
-declare module '../../../../framework/src/store/applicationStore' {
- interface IApplicationStoreState {
- performanceHistory: IPerformanceHistoryStoreState;
- connect: IConnectAppStoreState;
- }
-}
-
-const actionHandlers = {
- mountId: mountIdHandler,
- networkElements: connectedNetworkElementsActionHandler,
- ltps: availableLtpsActionHandler,
- performanceData: performanceDataActionHandler,
- receiveLevel: receiveLevelActionHandler,
- transmissionPower: transmissionPowerActionHandler,
- adaptiveModulation: adaptiveModulationActionHandler,
- temperature: temperatureActionHandler,
- signalToInterference: signalToInterferenceActionHandler,
- crossPolarDiscrimination: crossPolarDiscriminationActionHandler,
- currentOpenPanel: currentOpenPanelHandler,
- pmDataIntervalType: currentPMDataIntervalHandler
-};
-
-const performanceHistoryRootHandler = combineActionHandler<IPerformanceHistoryStoreState>(actionHandlers);
-export default performanceHistoryRootHandler;
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/receiveLevelHandler.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/receiveLevelHandler.ts
deleted file mode 100644
index adb70b120..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/receiveLevelHandler.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal, IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { ReceiveLevelDataType, ReceiveLevelResult } from '../models/receiveLevelDataType';
-import { getFilter } from '../utils/tableUtils';
-
-export interface IReceiveLevelState extends IExternalTableState<ReceiveLevelDataType> { }
-
-/**
- * Creates elastic search material data fetch handler for receiveLevel from historicalperformance database.
- */
-const receiveLevelSearchHandler = createSearchDataHandler<ReceiveLevelResult, ReceiveLevelDataType>(
- getFilter,
- null,
- (hit) => ({
- _id: hit._id,
- radioSignalId: hit._source["radio-signal-id"],
- scannerId: hit._source["scanner-id"],
- utcTimeStamp: hit._source["time-stamp"],
- suspectIntervalFlag: hit._source["suspect-interval-flag"],
- rxLevelMin: hit._source["performance-data"]["rx-level-min"],
- rxLevelAvg: hit._source["performance-data"]["rx-level-avg"],
- rxLevelMax: hit._source["performance-data"]["rx-level-max"],
- }),
- (pmDataEntry: string) => {
- switch (pmDataEntry) {
- case "radioSignalId":
- return "radio-signal-id";
- case "scannerId":
- return "scanner-id";
- case "utcTimeStamp":
- return "time-stamp"
- case "suspectIntervalFlag":
- return "suspect-interval-flag";
- }
- return pmDataEntry
- });
-
-export const {
- actionHandler: receiveLevelActionHandler,
- createActions: createReceiveLevelActions,
- createProperties: createReceiveLevelProperties,
- createPreActions: createReceiveLevelPreActions,
- reloadAction: receiveLevelReloadAction,
-} = createExternal<ReceiveLevelDataType>(receiveLevelSearchHandler, appState => appState.performanceHistory.receiveLevel);
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/signalToInterferenceHandler.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/signalToInterferenceHandler.ts
deleted file mode 100644
index aa75ba226..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/signalToInterferenceHandler.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal, IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { SignalToInterferenceDataType, SignalToInterferenceResult } from '../models/signalToInteferenceDataType';
-import { getFilter } from '../utils/tableUtils';
-
-export interface ISignalToInterferenceState extends IExternalTableState<SignalToInterferenceDataType> { }
-
-/**
- * Creates elastic search material data fetch handler for SINR from historicalperformance database.
- */
-const signalToInterferenceSearchHandler = createSearchDataHandler<SignalToInterferenceResult, SignalToInterferenceDataType>(
- getFilter,
- null,
- (hit) => ({
- _id: hit._id,
- radioSignalId: hit._source["radio-signal-id"],
- scannerId: hit._source["scanner-id"],
- utcTimeStamp: hit._source["time-stamp"],
- suspectIntervalFlag: hit._source["suspect-interval-flag"],
- snirMin: hit._source["performance-data"]["snir-min"],
- snirAvg: hit._source["performance-data"]["snir-avg"],
- snirMax: hit._source["performance-data"]["snir-max"],
- }),
- (pmDataEntry: string) => {
- switch (pmDataEntry) {
- case "radioSignalId":
- return "radio-signal-id";
- case "scannerId":
- return "scanner-id";
- case "utcTimeStamp":
- return "time-stamp"
- case "suspectIntervalFlag":
- return "suspect-interval-flag";
- }
- return pmDataEntry
- });
-
-export const {
- actionHandler: signalToInterferenceActionHandler,
- createActions: createSignalToInterferenceActions,
- createProperties: createSignalToInterferenceProperties,
- createPreActions: createSignalToInterferencePreActions,
- reloadAction: signalToInterferenceReloadAction,
-} = createExternal<SignalToInterferenceDataType>(signalToInterferenceSearchHandler, appState => appState.performanceHistory.signalToInterference);
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/temperatureHandler.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/temperatureHandler.ts
deleted file mode 100644
index 8a9ae7025..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/temperatureHandler.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal, IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { TemperatureDataType, TemperatureResult } from '../models/temperatureDataType';
-import { getFilter } from '../utils/tableUtils';
-
-export interface ITemperatureState extends IExternalTableState<TemperatureDataType> { }
-
-/**
- * Creates elastic search material data fetch handler for Temperature from historicalperformance database.
- */
-const temperatureSearchHandler = createSearchDataHandler<TemperatureResult, TemperatureDataType>(
- getFilter,
- null,
- (hit) => ({
- _id: hit._id,
- radioSignalId: hit._source["radio-signal-id"],
- scannerId: hit._source["scanner-id"],
- utcTimeStamp: hit._source["time-stamp"],
- suspectIntervalFlag: hit._source["suspect-interval-flag"],
- rfTempMin: hit._source["performance-data"]["rf-temp-min"],
- rfTempAvg: hit._source["performance-data"]["rf-temp-avg"],
- rfTempMax: hit._source["performance-data"]["rf-temp-max"],
- }),
- (pmDataEntry: string) => {
- switch (pmDataEntry) {
- case "radioSignalId":
- return "radio-signal-id";
- case "scannerId":
- return "scanner-id";
- case "utcTimeStamp":
- return "time-stamp"
- case "suspectIntervalFlag":
- return "suspect-interval-flag";
- }
- return pmDataEntry
- });
-
-export const {
- actionHandler: temperatureActionHandler,
- createActions: createTemperatureActions,
- createProperties: createTemperatureProperties,
- createPreActions: createTemperaturePreActions,
- reloadAction: temperatureReloadAction,
-} = createExternal<TemperatureDataType>(temperatureSearchHandler, appState => appState.performanceHistory.temperature);
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/transmissionPowerHandler.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/transmissionPowerHandler.ts
deleted file mode 100644
index c2ad82183..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/handlers/transmissionPowerHandler.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { createExternal, IExternalTableState } from '../../../../framework/src/components/material-table/utilities';
-import { createSearchDataHandler } from '../../../../framework/src/utilities/elasticSearch';
-
-import { TransmissionPowerDataType, TransmissionPowerResult } from '../models/transmissionPowerDataType';
-import { getFilter } from '../utils/tableUtils';
-
-export interface ITransmissionPowerState extends IExternalTableState<TransmissionPowerDataType> { }
-
-/**
- * Creates elastic search material data fetch handler for Transmission power from historicalperformance database.
- */
-const transmissionPowerSearchHandler = createSearchDataHandler<TransmissionPowerResult, TransmissionPowerDataType>(
- getFilter,
- null,
- (hit) => ({
- _id: hit._id,
- radioSignalId: hit._source["radio-signal-id"],
- scannerId: hit._source["scanner-id"],
- utcTimeStamp: hit._source["time-stamp"],
- suspectIntervalFlag: hit._source["suspect-interval-flag"],
- txLevelMin: hit._source["performance-data"]["tx-level-min"],
- txLevelAvg: hit._source["performance-data"]["tx-level-avg"],
- txLevelMax: hit._source["performance-data"]["tx-level-max"],
- }),
- (pmDataEntry: string) => {
- switch (pmDataEntry) {
- case "radioSignalId":
- return "radio-signal-id";
- case "scannerId":
- return "scanner-id";
- case "utcTimeStamp":
- return "time-stamp"
- case "suspectIntervalFlag":
- return "suspect-interval-flag";
- }
- return pmDataEntry
- });
-
-export const {
- actionHandler: transmissionPowerActionHandler,
- createActions: createTransmissionPowerActions,
- createProperties: createTransmissionPowerProperties,
- createPreActions: createTransmissionPowerPreActions,
- reloadAction: transmissionPowerReloadAction,
-} = createExternal<TransmissionPowerDataType>(transmissionPowerSearchHandler, appState => appState.performanceHistory.transmissionPower);
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/index.html b/sdnr/wt/odlux/apps/performanceHistoryApp/src/index.html
deleted file mode 100644
index 8cb775be2..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/index.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <!-- <link rel="stylesheet" href="./vendor.css" > -->
- <title>PM History Application</title>
-</head>
-
-<body>
- <div id="app"></div>
- <script type="text/javascript" src="./require.js"></script>
- <script type="text/javascript" src="./config.js"></script>
- <script>
- // run the application
- require(["app", "connectApp", "performanceHistoryApp"], function (app, connectApp, performanceHistoryApp) {
- connectApp.register();
- performanceHistoryApp.register();
- app("./app.tsx").runApplication();
- });
- </script>
-</body>
-
-</html> \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts
deleted file mode 100644
index 9c1d28986..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts
+++ /dev/null
@@ -1,118 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export { HitEntry, Result } from '../../../../framework/src/models';
-
-/**
- * Represents Adaptive Modulation data fields of the performance history table.
- */
-export type AdaptiveModulationDatabaseDataType = {
- "time2-states-s": number;
- "time2-states": number;
- "time2-states-l": number;
- "time4-states-s": number;
- "time4-states": number;
- "time4-states-l": number;
- "time16-states-s": number;
- "time16-states": number;
- "time16-states-l": number;
- "time32-states-s": number;
- "time32-states": number;
- "time32-states-l": number;
- "time64-states-s": number;
- "time64-states": number;
- "time64-states-l": number;
- "time128-states-s": number;
- "time128-states": number;
- "time128-states-l": number;
- "time256-states-s": number;
- "time256-states": number;
- "time256-states-l": number;
- "time512-states-s": number;
- "time512-states": number;
- "time512-states-l": number;
- "time1024-states-s": number;
- "time1024-states": number;
- "time1024-states-l": number;
- "time2048-states-s": number;
- "time2048-states": number;
- "time2048-states-l": number;
- "time4096-states-s": number;
- "time4096-states": number;
- "time4096-states-l": number;
- "time8192-states-s": number;
- "time8192-states": number;
- "time8192-states-l": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type AdaptiveModulationResult = {
- "performance-data": AdaptiveModulationDatabaseDataType;
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
-};
-
-
-/**
- * Internally used type to provide table and chart data
- */
-export type AdaptiveModulationDataType = {
- radioSignalId: string;
- scannerId: string;
- utcTimeStamp: string;
- suspectIntervalFlag: boolean;
- "time2StatesS": number;
- "time2States": number;
- "time2StatesL": number;
- "time4StatesS": number;
- "time4States": number;
- "time4StatesL": number;
- "time16StatesS": number;
- "time16States": number;
- "time16StatesL": number;
- "time32StatesS": number;
- "time32States": number;
- "time32StatesL": number;
- "time64StatesS": number;
- "time64States": number;
- "time64StatesL": number;
- "time128StatesS": number;
- "time128States": number;
- "time128StatesL": number;
- "time256StatesS": number;
- "time256States": number;
- "time256StatesL": number;
- "time512StatesS": number;
- "time512States": number;
- "time512StatesL": number;
- "time1024StatesS": number;
- "time1024States": number;
- "time1024StatesL": number;
- "time2048StatesS": number;
- "time2048States": number;
- "time2048StatesL": number;
- "time4096StatesS": number;
- "time4096States": number;
- "time4096StatesL": number;
- "time8192StatesS": number;
- "time8192States": number;
- "time8192StatesL": number;
-} & { _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
deleted file mode 100644
index fcf7ad5f6..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
- export type LtpIds = {
- key: string
- }
-
- export type Bucket<T>={
- buckets: T[]
- }
-
-/**
- * Represents distinct available ltps using elasticsearch aggregations structure.
- */
- export type DistinctLtp = {
- "uuid-interface": Bucket<LtpIds>
- }
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts
deleted file mode 100644
index 487cf029d..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export interface IData {
- x: string;
- y: string;
-}
-
-/**
- * Structure of chartjs dataset with the chart properties.
- */
-export interface IDataSet {
- name: string,
- label: string,
- lineTension: 0,
- bezierCurve: boolean;
- fill: boolean,
- borderColor: string,
- data: IData[],
- columnLabel: string
-}
-
-/**
- * Structure of chartjs dataset which is sent to the chart.
- */
-export interface IDataSetsObject {
- datasets: IDataSet[]
-}
-
-/**
- * Interface used by chart for sorting on time-stamp
- */
-export interface ITimeStamp {
- "utcTimeStamp": string;
-}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts
deleted file mode 100644
index b7277f777..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/connectedNetworkElements.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Represents connected network elements.
- */
-
-export type ConnectedNetworkElementIds = {
- mountId: string;
- }
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts
deleted file mode 100644
index ef4415393..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export { HitEntry, Result } from '../../../../framework/src/models';
-
-
-/**
- * Represents Receive level data fields of the performance history table.
- */
-export type CrossPolarDiscriminationDatabaseDataType = {
- "xpd-min": number;
- "xpd-avg": number;
- "xpd-max": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type CrossPolarDiscriminationResult = {
- "performance-data": CrossPolarDiscriminationDatabaseDataType
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
-};
-
-/**
- * Internally used type to provide table and chart data
- */
-export type CrossPolarDiscriminationDataType = {
- radioSignalId: string;
- scannerId: string;
- utcTimeStamp: string;
- suspectIntervalFlag: boolean;
- xpdMin: number;
- xpdAvg: number;
- xpdMax: number;
-} & { _id: string };
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts
deleted file mode 100644
index 1f05b47cc..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/panelId.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 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
deleted file mode 100644
index 6af29c4a8..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { Moment } from "moment";
-
-//export { HitEntry, Result } from '../../../../framework/src/models';
-
-/**
- * Represents performance data fields of the performance history table as used in the database
- */
-export type PerformanceDatabaseDataType = {
- "es": number;
- "ses": number;
- "unavailability": number;
-};
-
-
-/**
- * Represents Result type of database query
- */
-export type PerformanceResult = {
- "performance-data": PerformanceDatabaseDataType;
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
-};
-
-/**
- * Internally used type to provide table and chart data
- */
-export type PerformanceDataType = {
- radioSignalId: string;
- scannerId: string;
- utcTimeStamp: string;
- suspectIntervalFlag: boolean;
- es: number;
- ses: number;
- unavailability: number;
-} & { _id: string };
-
-
-/**
- * Represents performance data time interval.
- */
-export const enum PmDataInterval {
- pmInterval15Min,
- pmInterval24Hours
-} \ 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
deleted file mode 100644
index 836bf58d9..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export { HitEntry, Result } from '../../../../framework/src/models';
-
-/**
- * Represents Receive level data fields of the performance history table.
- */
-export type ReceiveLevelDatabaseDataType = {
- "rx-level-min": number;
- "rx-level-avg": number;
- "rx-level-max": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type ReceiveLevelResult = {
- "performance-data": ReceiveLevelDatabaseDataType
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
-};
-
-/**
- * Internally used type to provide table and chart data
- */
-export type ReceiveLevelDataType = {
- radioSignalId: string;
- scannerId: string;
- utcTimeStamp: string;
- suspectIntervalFlag: boolean;
- rxLevelMin: number;
- rxLevelAvg: number;
- rxLevelMax: number;
-} & { _id: string };
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts
deleted file mode 100644
index deb1d8f18..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export { HitEntry, Result } from '../../../../framework/src/models';
-
-
-/**
- * Represents Receive level data fields of the performance history table.
- */
-export type SignalToInterferenceDatabaseDataType = {
- "snir-min": number;
- "snir-avg": number;
- "snir-max": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type SignalToInterferenceResult = {
- "performance-data": SignalToInterferenceDatabaseDataType
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
-};
-
-
-/**
- * Internally used type to provide table and chart data
- */
-export type SignalToInterferenceDataType = {
- radioSignalId: string;
- scannerId: string;
- utcTimeStamp: string;
- suspectIntervalFlag: boolean;
- snirMin: number;
- snirAvg: number;
- snirMax: number;
-} & { _id: string };
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts
deleted file mode 100644
index dd3ce5253..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export { HitEntry, Result } from '../../../../framework/src/models';
-
-
-/**
- * Represents Receive level data fields of the performance history table.
- */
-export type TemperatureDatabaseDataType = {
- "rf-temp-min": number;
- "rf-temp-avg": number;
- "rf-temp-max": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type TemperatureResult = {
- "performance-data": TemperatureDatabaseDataType
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
-};
-
-/**
- * Internally used type to provide table and chart data
- */
-export type TemperatureDataType = {
- radioSignalId: string;
- scannerId: string;
- utcTimeStamp: string;
- suspectIntervalFlag: boolean;
- rfTempMin: number;
- rfTempAvg: number;
- rfTempMax: number;
-} & { _id: string };
-
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts
deleted file mode 100644
index 6bd89411d..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-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
deleted file mode 100644
index 2c31f5378..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-export { HitEntry, Result } from '../../../../framework/src/models';
-
-
-/**
- * Represents Receive level data fields of the performance history table.
- */
-export type TransmissionPowerDatabaseDataType = {
- "tx-level-min": number;
- "tx-level-avg": number;
- "tx-level-max": number;
-};
-
-/**
- * Represents Result type of database query
- */
-export type TransmissionPowerResult = {
- "performance-data": TransmissionPowerDatabaseDataType
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
-};
-
-/**
- * Internally used type to provide table and chart data
- */
-export type TransmissionPowerDataType = {
- radioSignalId: string;
- scannerId: string;
- utcTimeStamp: string;
- suspectIntervalFlag: boolean;
- txLevelMin: number;
- txLevelAvg: number;
- txLevelMax: number;
-} & { _id: string };
-
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/plugin.tsx b/sdnr/wt/odlux/apps/performanceHistoryApp/src/plugin.tsx
deleted file mode 100644
index a3fa2dbfe..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/plugin.tsx
+++ /dev/null
@@ -1,111 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-
-import * as React from "react";
-import { faBook } from '@fortawesome/free-solid-svg-icons';
-
-import applicationManager from '../../../framework/src/services/applicationManager';
-
-import { withRouter, RouteComponentProps, Route, Switch, Redirect } from 'react-router-dom';
-import performanceHistoryRootHandler from './handlers/performanceHistoryRootHandler';
-import { PmDataInterval } from './models/performanceDataType';
-import PerformanceHistoryApplication from './views/performanceHistoryApplication';
-import { ApplicationStore } from '../../../framework/src/store/applicationStore';
-
-import connect, { Connect, IDispatcher } from '../../../framework/src/flux/connect';
-import { IApplicationStoreState } from "../../../framework/src/store/applicationStore";
-import { updateMountIdActionCreator } from "./actions/connectedNetworkElementsActions";
-
-let api: {
- readonly applicationStore: ApplicationStore | null;
- readonly applicationStoreInitialized: Promise<ApplicationStore>;
-}
-
-const mapProps = (state: IApplicationStoreState) => ({
-});
-
-const mapDisp = (dispatcher: IDispatcher) => ({
- updateMountId: (mountId: string) => dispatcher.dispatch(updateMountIdActionCreator(mountId))
-});
-
-let currentMountId: string | null = null;
-let lastUrl: string = "/performanceHistory";
-const PerformanceHistoryApplicationRouteAdapter = connect(mapProps, mapDisp)((props: RouteComponentProps<{ mountId?: string}> & Connect<typeof mapProps, typeof mapDisp>) => {
- let mountId: string = "";
- if (props.location.pathname !== lastUrl) {
- // ensure the asynchronus update will only be called once per path
- lastUrl = props.location.pathname;
- let index = lastUrl.lastIndexOf("performanceHistory/");
- if(index >= 0) {
- mountId = lastUrl.substr(index+19);
- } else {
- mountId = "";
- }
-
- window.setTimeout(async () => {
- // check if the mountId has changed
- if (currentMountId !== mountId) {
- currentMountId = mountId;
- await props.updateMountId(currentMountId);
- }
- });
- }
- return (
- <PerformanceHistoryApplication />
- );
-});
-
-const PerformanceHistoryRouterApp = withRouter((props: RouteComponentProps) => {
- props.history.action = "POP";
- return (
- <Switch>
- <Route path={`${props.match.path}/:mountId`} component={PerformanceHistoryApplicationRouteAdapter} />
- <Route path={`${props.match.path}`} component={PerformanceHistoryApplicationRouteAdapter} />
- <Redirect to={`${props.match.path}`} />
- </Switch>
- )
-});
-
-export function register() {
- api = applicationManager.registerApplication({
- name: "performanceHistory",
- icon: faBook,
- rootComponent: PerformanceHistoryRouterApp,
- rootActionHandler: performanceHistoryRootHandler,
- menuEntry: "Performance"
- });
-}
-
-export function setPmDataInterval(pmDataInterval: PmDataInterval): boolean {
- let reload: boolean = true;
- if (api && api.applicationStore) {
- if (api.applicationStore.state.performanceHistory.pmDataIntervalType !== pmDataInterval) {
- reload = true;
- }
- api.applicationStore.state.performanceHistory.pmDataIntervalType = pmDataInterval;
- }
- return reload;
-}
-
-
-export function getPmDataInterval(): PmDataInterval {
- let result = api && api.applicationStore
- ? api.applicationStore.state.performanceHistory.pmDataIntervalType
- : PmDataInterval.pmInterval15Min;
- return result ? result : PmDataInterval.pmInterval15Min;
-}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/services/performanceHistoryService.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/services/performanceHistoryService.ts
deleted file mode 100644
index 0f3c89b83..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/services/performanceHistoryService.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { requestRest } from '../../../../framework/src/services/restService';
-import { Result } from '../../../../framework/src/models/elasticSearch';
-
-import { DistinctLtp, LtpIds } from '../models/availableLtps';
-
-/**
- * Represents a web api accessor service for Network elements actions.
- */
-class PerformanceService {
-
- /**
- * Get distinct ltps based on the selected network element and time period from the historicalperformance15min database table.
- */
- public async getDistinctLtpsFromDatabase(networkElement: string, selectedTimePeriod: string): Promise<LtpIds[] | null> {
- let path;
- const query = {
- "size": 0,
- "query": {
- "match": {
- "node-name": networkElement
- }
- },
- "aggs": {
- "uuid-interface": {
- "terms": {
- "field": "uuid-interface"
- }
- }
- }
- };
-
- if (selectedTimePeriod === "15min") {
- path = 'database/sdnperformance/historicalperformance15min/_search';
- } else {
- path = 'database/sdnperformance/historicalperformance24h/_search';
- }
-
- const result = await requestRest<Result<DistinctLtp>>(path, { method: "POST", body: JSON.stringify(query) });
- return result && result.aggregations && result.aggregations["uuid-interface"].buckets.map(ne => ({
- key: ne.key
- })) || null;
- }
-}
-
-export const PerformanceHistoryService = new PerformanceService();
-export default PerformanceHistoryService;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/chartUtils.tsx b/sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/chartUtils.tsx
deleted file mode 100644
index 52b5ddb58..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/chartUtils.tsx
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-import { IDataSetsObject } from '../models/chartTypes';
-import { Line } from 'react-chartjs-2';
-import * as moment from 'moment';
-import { ITimeStamp } from 'models/chartTypes';
-
-const style: React.CSSProperties = {
- height: "350px"
-}
-export const lineChart = (chartPagedData: IDataSetsObject) => {
- return (
- <div style={style}>
- <Line ref="chart" data={chartPagedData} options={{
- responsive: true,
- maintainAspectRatio: false,
- scales: {
- xAxes: [{
- type: 'time',
- time: {
- displayFormats: {
- 'second': 'DD MMM YYYY HH:mm:ss',
- 'minute': 'DD MMM YYYY HH:mm:ss',
- 'hour': 'DD MMM YYYY HH:mm:ss',
- 'year': 'DD MMM YYYY HH:mm:ss',
- },
- parser: function (date: string) {
- let offsetValue = new Date().getTimezoneOffset();
- var utcDate = moment(date, 'YYYY-MM-DDTHH:mm:ss').utcOffset(offsetValue).utc(false);
- return utcDate;
- }
- },
- display: true,
- scaleLabel: {
- display: true,
- labelString: 'Timestamp'
- }
- }],
- yAxes: [{
- ticks: {
- beginAtZero: true
- },
- scaleLabel: {
- display: true,
- labelString: 'Value'
- }
- }]
- }
- }} />
- </div>
- );
-}
-
-export const sortDataByTimeStamp = <T extends ITimeStamp>(_rows: T[]): T[] => {
- return (_rows.sort((a, b) => {
- const result = Date.parse(a["utcTimeStamp"]) - Date.parse(b["utcTimeStamp"]);
- return isNaN(result) ? 0 : result;
- }));
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/tableUtils.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/tableUtils.ts
deleted file mode 100644
index 865d89c88..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/utils/tableUtils.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import { ColumnType, ColumnModel } from '../../../../framework/src/components/material-table';
-
-import { PmDataInterval } from '../models/performanceDataType';
-import { getPmDataInterval } from '../plugin';
-
-export const addColumnLabels = <T>(name: string, title: string, disableFilter = true, disableSorting = true): ColumnModel<T> => {
- return { property: name as keyof T, title: title, type: ColumnType.text, disableFilter: disableFilter, disableSorting: disableSorting };
-}
-
-export function getFilter(): string {
- switch (getPmDataInterval()) {
- case PmDataInterval.pmInterval15Min:
- return "sdnperformance/historicalperformance15min";
- case PmDataInterval.pmInterval24Hours:
- return "sdnperformance/historicalperformance24h";
- default:
- throw new Error("Unknown time intervall");
- }
-} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/views/performanceHistoryApplication.tsx b/sdnr/wt/odlux/apps/performanceHistoryApp/src/views/performanceHistoryApplication.tsx
deleted file mode 100644
index 218250d18..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/views/performanceHistoryApplication.tsx
+++ /dev/null
@@ -1,373 +0,0 @@
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt odlux
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- */
-import * as React from 'react';
-
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import FormControl from '@material-ui/core/FormControl';
-import MenuItem from '@material-ui/core/MenuItem';
-import Select from '@material-ui/core/Select';
-
-import connect, { Connect, IDispatcher } from '../../../../framework/src/flux/connect';
-import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
-import { Panel } from '../../../../framework/src/components/material-ui';
-import { loadAllMountedNetworkElementsAsync } from '../../../connectApp/src/actions/mountedNetworkElementsActions';
-import { NavigateToApplication } from '../../../../framework/src/actions/navigationActions';
-import { Dispatch } from '../../../../framework/src/flux/store';
-
-import { PanelId } from '../models/panelId';
-import { PmDataInterval } from '../models/performanceDataType';
-import PerformanceData from '../components/performanceData';
-import ReceiveLevel from '../components/receiveLevel';
-import TransmissionPower from '../components/transmissionPower';
-import AdaptiveModulation from '../components/adaptiveModulation';
-import Temperature from '../components/temperature';
-import SignalToInterference from '../components/signalToInterference';
-import CrossPolarDiscrimination from '../components/crossPolarDiscrimination';
-import { loadAllConnectedNetworkElementsAsync } from '../actions/connectedNetworkElementsActions';
-import { TimeChangeAction } from '../actions/timeChangeAction';
-import { loadDistinctLtpsbyNetworkElementAsync } from '../actions/ltpAction';
-import { SetPanelAction } from '../actions/panelChangeActions';
-import { createPerformanceDataPreActions, performanceDataReloadAction, createPerformanceDataActions } from '../handlers/performanceDataHandler';
-import { createReceiveLevelPreActions, receiveLevelReloadAction, createReceiveLevelActions } from '../handlers/receiveLevelHandler';
-import { createTransmissionPowerPreActions, transmissionPowerReloadAction, createTransmissionPowerActions } from '../handlers/transmissionPowerHandler';
-import { createAdaptiveModulationPreActions, adaptiveModulationReloadAction, createAdaptiveModulationActions } from '../handlers/adaptiveModulationHandler';
-import { createTemperaturePreActions, temperatureReloadAction, createTemperatureActions } from '../handlers/temperatureHandler';
-import { createSignalToInterferencePreActions, signalToInterferenceReloadAction, createSignalToInterferenceActions } from '../handlers/signalToInterferenceHandler';
-import { createCrossPolarDiscriminationPreActions, crossPolarDiscriminationReloadAction, createCrossPolarDiscriminationActions } from '../handlers/crossPolarDiscriminationHandler';
-
-import { MaterialTable, MaterialTableCtorType } from '../../../../framework/src/components/material-table';
-
-const PerformanceHistoryComponentStyles = (theme: Theme) => createStyles({
- root: {
- display: "flex",
- flexWrap: "wrap",
- },
- margin: {
- margin: theme.spacing.unit,
- },
- display: {
- display: "inline-block"
- },
- selectDropdown: {
- borderRadius: 1,
- position: "relative",
- backgroundColor: theme.palette.background.paper,
- border: "1px solid #ced4da",
- fontSize: 16,
- width: "auto",
- padding: "5px 26px 5px 12px",
- transition: theme.transitions.create(["border-color", "box-shadow"]),
- }
-});
-
-const mapProps = (state: IApplicationStoreState) => ({
- ...state.performanceHistory,
- activePanel: state.performanceHistory.currentOpenPanel,
- availableLtps: state.performanceHistory.ltps.distinctLtps,
- networkElements: state.performanceHistory.networkElements.connectedNetworkElementIds
-});
-
-const mapDispatcher = (dispatcher: IDispatcher) => ({
- enableFilterPerformanceData: createPerformanceDataActions(dispatcher.dispatch),
- enableFilterReceiveLevel: createReceiveLevelActions(dispatcher.dispatch),
- enableFilterTransmissionPower: createTransmissionPowerActions(dispatcher.dispatch),
- enableFilterAdaptiveModulation: createAdaptiveModulationActions(dispatcher.dispatch),
- enableFilterTemperature: createTemperatureActions(dispatcher.dispatch),
- enableFilterSinr: createSignalToInterferenceActions(dispatcher.dispatch),
- enableFilterCpd: createCrossPolarDiscriminationActions(dispatcher.dispatch),
- reloadPerformanceData: () => dispatcher.dispatch(performanceDataReloadAction),
- reloadReceiveLevel: () => dispatcher.dispatch(receiveLevelReloadAction),
- reloadTransmissionPower: () => dispatcher.dispatch(transmissionPowerReloadAction),
- reloadAdaptiveModulation: () => dispatcher.dispatch(adaptiveModulationReloadAction),
- reloadTemperature: () => dispatcher.dispatch(temperatureReloadAction),
- reloadSignalToInterference: () => dispatcher.dispatch(signalToInterferenceReloadAction),
- reloadCrossPolarDiscrimination: () => dispatcher.dispatch(crossPolarDiscriminationReloadAction),
- performanceDataPreActions: createPerformanceDataPreActions(dispatcher.dispatch),
- receiveLevelPreActions: createReceiveLevelPreActions(dispatcher.dispatch),
- transmissionPowerPreActions: createTransmissionPowerPreActions(dispatcher.dispatch),
- adaptiveModulationPreActions: createAdaptiveModulationPreActions(dispatcher.dispatch),
- temperaturePreActions: createTemperaturePreActions(dispatcher.dispatch),
- signalToInterferencePreActions: createSignalToInterferencePreActions(dispatcher.dispatch),
- crossPolarDiscriminationPreActions: createCrossPolarDiscriminationPreActions(dispatcher.dispatch),
- getConnectedNetworkElementsIds: async () => {
- await dispatcher.dispatch(loadAllMountedNetworkElementsAsync)
- dispatcher.dispatch(loadAllConnectedNetworkElementsAsync);
- },
- getDistinctLtpsIds: (selectedNetworkElement: string, selectedTimePeriod: string, selectedLtp: string, selectFirstLtp?: Function, resetLTP?: Function) => dispatcher.dispatch(loadDistinctLtpsbyNetworkElementAsync(selectedNetworkElement, selectedTimePeriod, selectedLtp, selectFirstLtp, resetLTP)),
- setCurrentPanel: (panelId: PanelId) => dispatcher.dispatch(new SetPanelAction(panelId)),
- timeIntervalChange: (time: PmDataInterval) => dispatcher.dispatch(new TimeChangeAction(time)),
- changeNode: (nodeId: string) => dispatcher.dispatch((dispatch: Dispatch) => {
- dispatch(new NavigateToApplication("performanceHistory", nodeId));
- })
-});
-
-export type NetworkElementType = {
- mountId: string,
-}
-const NetworkElementTable = MaterialTable as MaterialTableCtorType<NetworkElementType>;
-
-type PerformanceHistoryComponentProps = Connect<typeof mapProps, typeof mapDispatcher> & WithStyles<typeof PerformanceHistoryComponentStyles>;
-
-type PerformanceHistoryComponentState = {
- selectedNetworkElement: string,
- selectedTimePeriod: string,
- selectedLtp: string,
- showNetworkElementsTable: boolean,
- showLtps: boolean,
- showPanels: boolean
-};
-
-/**
-* Represents the component for Performance history application.
-*/
-class PerformanceHistoryComponent extends React.Component<PerformanceHistoryComponentProps, PerformanceHistoryComponentState>{
- /**
- * Initialises this instance
- */
- constructor(props: PerformanceHistoryComponentProps) {
- super(props);
- this.state = {
- selectedNetworkElement: "-1",
- selectedTimePeriod: "15min",
- selectedLtp: "-1",
- showNetworkElementsTable: true,
- showLtps: false,
- showPanels: false
- };
- }
-
- onTogglePanel = (panelId: PanelId) => {
- const nextActivePanel = panelId === this.props.activePanel ? null : panelId;
- this.props.setCurrentPanel(nextActivePanel);
- switch (nextActivePanel) {
- case "PerformanceData":
- this.props.reloadPerformanceData();
- break;
- case "ReceiveLevel":
- this.props.reloadReceiveLevel();
- break;
- case "TransmissionPower":
- this.props.reloadTransmissionPower();
- break;
- case "AdaptiveModulation":
- this.props.reloadAdaptiveModulation();
- break;
- case "Temperature":
- this.props.reloadTemperature();
- break;
- case "SINR":
- this.props.reloadSignalToInterference();
- break;
- case "CPD":
- this.props.reloadCrossPolarDiscrimination();
- break;
- default:
- // do nothing if all panels are closed
- break;
- }
- }
-
- render(): JSX.Element {
- const { classes } = this.props;
- const { activePanel, mountId } = this.props;
- if (mountId === "") {
- return (
- <>
- <h2>Please select the network element !</h2>
- <NetworkElementTable idProperty={"mountId"} rows={ this.props.networkElements } asynchronus
- onHandleClick={(event, rowData) => { this.handleNetworkElementSelect(rowData.mountId) }} columns={
- [{ property: "mountId" }]
- } />
- </>
- )
- }
- else {
- this.handleURLChange(mountId);
- return (
- <>
- <h2>Selected Network Element: { this.state.selectedNetworkElement } </h2>
- { this.state.showLtps && (
- <div>
- <FormControl className={ classes.display }>
- <span>
- Select LTP
- </span>
- <Select className={ classes.selectDropdown } value={ this.state.selectedLtp } onChange={ this.handleLtpChange } >
- <MenuItem value={ "-1" }><em>--Select--</em></MenuItem>
- { this.props.availableLtps.map(ltp =>
- (<MenuItem value={ ltp.key } key={ ltp.key }>{ ltp.key }</MenuItem>)) }
- </Select>
- <span> Time-Period </span>
- <Select className={ classes.selectDropdown } value={ this.state.selectedTimePeriod } onChange={ this.handleTimePeriodChange } >
- <MenuItem value={ "15min" }>15min</MenuItem>
- <MenuItem value={ "24hours" }>24hours</MenuItem>
- </Select>
- </FormControl>
- { this.state.showPanels && (
- <div>
- <Panel activePanel={ activePanel } panelId={ "PerformanceData" } onToggle={ this.onTogglePanel } title={ "Performance Data" }>
- <PerformanceData selectedTimePeriod={ this.state.selectedTimePeriod } />
- </Panel>
- <Panel activePanel={ activePanel } panelId={ "ReceiveLevel" } onToggle={ this.onTogglePanel } title={ "Receive Level" }>
- <ReceiveLevel selectedTimePeriod={ this.state.selectedTimePeriod } />
- </Panel>
- <Panel activePanel={ activePanel } panelId={ "TransmissionPower" } onToggle={ this.onTogglePanel } title={ "Transmission Power" }>
- <TransmissionPower selectedTimePeriod={ this.state.selectedTimePeriod } />
- </Panel>
- <Panel activePanel={ activePanel } panelId={ "AdaptiveModulation" } onToggle={ this.onTogglePanel } title={ "Adaptive Modulation" }>
- <AdaptiveModulation selectedTimePeriod={ this.state.selectedTimePeriod } />
- </Panel>
- <Panel activePanel={ activePanel } panelId={ "Temperature" } onToggle={ this.onTogglePanel } title={ "Temperature" }>
- <Temperature selectedTimePeriod={ this.state.selectedTimePeriod } />
- </Panel>
- <Panel activePanel={ activePanel } panelId={ "SINR" } onToggle={ this.onTogglePanel } title={ "Signal-to-interference-plus-noise ratio (SINR)" }>
- <SignalToInterference selectedTimePeriod={ this.state.selectedTimePeriod } />
- </Panel>
- <Panel activePanel={ activePanel } panelId={ "CPD" } onToggle={ this.onTogglePanel } title={ "Cross Polar Discrimination" }>
- <CrossPolarDiscrimination selectedTimePeriod={ this.state.selectedTimePeriod } />
- </Panel>
- </div>
- )}
- </div>
- )}
- </>
- );
- }
- };
-
- public componentDidMount() {
- this.props.getConnectedNetworkElementsIds();
- this.props.enableFilterPerformanceData.onToggleFilter();
- this.props.enableFilterReceiveLevel.onToggleFilter();
- this.props.enableFilterTransmissionPower.onToggleFilter();
- this.props.enableFilterTemperature.onToggleFilter();
- this.props.enableFilterAdaptiveModulation.onToggleFilter();
- this.props.enableFilterSinr.onToggleFilter();
- this.props.enableFilterCpd.onToggleFilter();
- }
-
- /**
- * Function which selects the first ltp returned from the database on selection of network element.
- */
- private selectFirstLtp = (firstLtp: string) => {
- this.setState({
- showPanels: true,
- selectedLtp: firstLtp
- });
- this.preFilterChangeAndReload(this.state.selectedNetworkElement, this.state.selectedTimePeriod, firstLtp);
- }
-
- /**
- * A function which loads the tables based on prefilters defined by network element and ltp on selected time period.
- */
- private preFilterChangeAndReload = (networkElement: string, timePeriod: string, ltp: string) => {
- const preFilter = {
- "node-name": networkElement,
- "uuid-interface": ltp
- };
- this.props.performanceDataPreActions.onPreFilterChanged(preFilter);
- this.props.receiveLevelPreActions.onPreFilterChanged(preFilter);
- this.props.transmissionPowerPreActions.onPreFilterChanged(preFilter);
- this.props.adaptiveModulationPreActions.onPreFilterChanged(preFilter);
- this.props.temperaturePreActions.onPreFilterChanged(preFilter);
- this.props.signalToInterferencePreActions.onPreFilterChanged(preFilter);
- this.props.crossPolarDiscriminationPreActions.onPreFilterChanged(preFilter);
-
- }
-
- /**
- * Function which handles network element changes.
- */
- private handleNetworkElementSelect = (selectedNetworkElement: string) => {
-
- this.setState({
- showLtps: true,
- selectedNetworkElement: selectedNetworkElement,
- showNetworkElementsTable: false,
- showPanels: false,
- selectedLtp: "-1"
- });
- this.props.changeNode(selectedNetworkElement);
- this.props.getDistinctLtpsIds(selectedNetworkElement, this.state.selectedTimePeriod, "-1", this.selectFirstLtp);
-}
-
-private handleURLChange = (selectedNetworkElement: string) => {
- if(selectedNetworkElement !== this.state.selectedNetworkElement) {
- this.setState({
- showLtps: true,
- selectedNetworkElement: selectedNetworkElement,
- showPanels: false,
- selectedLtp: "-1"
- });
- this.props.getDistinctLtpsIds(selectedNetworkElement, this.state.selectedTimePeriod, "-1", this.selectFirstLtp);
- }
-}
-
-/**
- * Function which resets the ltps to "--select--" in the state if the passed parameter @ltpNotSelected is true.
- * @param ltpNotSelected: true, if existing selected is not available in the given time period, else false
- */
- private resetLtpDropdown = (ltpNotSelected: boolean) => {
- if (ltpNotSelected) {
- this.setState({
- selectedLtp: "-1",
- });
- }
- }
-
- /**
- * Function which handles the time period changes.
- */
- private handleTimePeriodChange = (event: React.ChangeEvent<HTMLSelectElement>) => {
- const selectedTimeInterval = event.target.value === "15min"
- ? PmDataInterval.pmInterval15Min
- : PmDataInterval.pmInterval24Hours
-
- this.setState({
- selectedTimePeriod: event.target.value,
- });
- this.props.timeIntervalChange(selectedTimeInterval);
- this.props.reloadPerformanceData();
- this.props.reloadReceiveLevel();
- this.props.reloadTransmissionPower();
- this.props.reloadAdaptiveModulation();
- this.props.reloadTemperature();
- this.props.reloadSignalToInterference();
- this.props.reloadCrossPolarDiscrimination();
- this.props.getDistinctLtpsIds(this.state.selectedNetworkElement, event.target.value, this.state.selectedLtp, undefined, this.resetLtpDropdown);
- this.preFilterChangeAndReload(this.state.selectedNetworkElement, event.target.value, this.state.selectedLtp);
- }
-
- /**
- * Function which handles the ltp changes.
- */
- private handleLtpChange = (event: React.ChangeEvent<HTMLSelectElement>) => {
- var showPanels: boolean = true;
- if (event.target.value === "-1") {
- showPanels = false;
- }
- this.setState({
- showPanels: showPanels,
- selectedLtp: event.target.value
- });
- this.preFilterChangeAndReload(this.state.selectedNetworkElement, this.state.selectedTimePeriod, event.target.value);
- }
-}
-
-const PerformanceHistoryApplication = withStyles(PerformanceHistoryComponentStyles)(connect(mapProps, mapDispatcher)(PerformanceHistoryComponent));
-export default PerformanceHistoryApplication;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java b/sdnr/wt/odlux/apps/performanceHistoryApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
deleted file mode 100644
index 1e882fc69..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src2/main/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/MyOdluxBundle.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles;
-
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundle;
-import org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader;
-
-public class MyOdluxBundle extends OdluxBundle {
-
- @Override
- public void initialize() {
- super.initialize();
- }
-
- @Override
- public void clean() {
- super.clean();
- }
-
- @Override
- public String getResourceFileContent(String filename) {
- return super.getResourceFileContent(filename);
- }
-
- @Override
- public boolean hasResource(String filename) {
- return super.hasResource(filename);
- }
-
- @Override
- public void setBundleName(String bundleName) {
- super.setBundleName(bundleName);
- }
-
- @Override
- public void setLoader(OdluxBundleLoader loader) {
- super.setLoader(loader);
- }
-
- @Override
- public String getBundleName() {
- return super.getBundleName();
- }
-
- @Override
- public OdluxBundleLoader getLoader() {
- return super.getLoader();
- }
-
- public MyOdluxBundle() {
- super();
- }
-}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml b/sdnr/wt/odlux/apps/performanceHistoryApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
deleted file mode 100644
index 1bcbf0127..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src2/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <reference id="loadersvc" availability="mandatory" activation="eager" interface="org.onap.ccsdk.features.sdnr.wt.odlux.model.bundles.OdluxBundleLoader"/>
-
- <bean id="bundle" init-method="initialize" destroy-method="clean" class="org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle">
- <property name="loader" ref="loadersvc"/>
- <property name="bundleName" value="performanceHistoryApp"/>
- <property name="index" value="55"/>
- </bean>
-</blueprint>
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java b/sdnr/wt/odlux/apps/performanceHistoryApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
deleted file mode 100644
index edf68e096..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src2/test/java/org/onap/ccsdk/features/sdnr/wt/odlux/bundles/test/TestBundleRes.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
- * =================================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- * ============LICENSE_END==========================================================================
- ******************************************************************************/
-package org.onap.ccsdk.features.sdnr.wt.odlux.bundles.test;
-
-import static org.junit.Assert.*;
-
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.odlux.OdluxBundleLoaderImpl;
-import org.onap.ccsdk.features.sdnr.wt.odlux.bundles.MyOdluxBundle;
-
-public class TestBundleRes {
-
- @Test
- public void test() {
- OdluxBundleLoaderImpl loader = OdluxBundleLoaderImpl.getInstance();
- MyOdluxBundle b = new MyOdluxBundle();
- b.setLoader(loader);
- b.setIndex(0);
- b.setBundleName("abc");
- b.initialize();
- assertTrue(loader.getNumberOfBundles()==1);
- assertNotNull(b.getLoader());
- assertEquals("abc",b.getBundleName());
- assertTrue(b.hasResource("test.js"));
- assertNotNull(b.getResourceFileContent("test.js"));
- b.clean();
- assertTrue(loader.getNumberOfBundles()==0);
- }
-
-}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src2/test/resources/test.js b/sdnr/wt/odlux/apps/performanceHistoryApp/src2/test/resources/test.js
deleted file mode 100644
index b47fdc39f..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src2/test/resources/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-asdac sad
-as
-d
-sad
- sadfa \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/tsconfig.json b/sdnr/wt/odlux/apps/performanceHistoryApp/tsconfig.json
deleted file mode 100644
index a66b5d828..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/tsconfig.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": "./src",
- "outDir": "./dist",
- "sourceMap": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": false,
- "allowUnreachableCode": false,
- "allowUnusedLabels": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "pretty": true,
- "newLine": "LF",
- "module": "es2015",
- "target": "es2016",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "jsx": "preserve",
- "lib": [
- "dom",
- "es2015",
- "es2016"
- ],
- "types": [
- "prop-types",
- "react",
- "react-dom"
- ]
- },
- "exclude": [
- "dist",
- "node_modules"
- ]
-}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/webpack.config.js b/sdnr/wt/odlux/apps/performanceHistoryApp/webpack.config.js
deleted file mode 100644
index 27a5949ac..000000000
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/webpack.config.js
+++ /dev/null
@@ -1,139 +0,0 @@
-/**
- * Webpack 4 configuration file
- * see https://webpack.js.org/configuration/
- * see https://webpack.js.org/configuration/dev-server/
- */
-
-"use strict";
-
-const path = require("path");
-const webpack = require("webpack");
-const CopyWebpackPlugin = require("copy-webpack-plugin");
-const TerserPlugin = require('terser-webpack-plugin');
-
-// const __dirname = (path => path.replace(/^([a-z]\:)/, c => c.toUpperCase()))(process.__dirname());
-
-module.exports = (env) => {
- const distPath = path.resolve(__dirname, env === "release" ? "." : "../..", "dist");
- const frameworkPath = path.resolve(__dirname, env === "release" ? "../../framework" : "../..", "dist");
- return [{
- name: "App",
-
- mode: "none", //disable default behavior
-
- target: "web",
-
- context: path.resolve(__dirname, "src"),
-
- entry: {
- performanceHistoryApp: ["./plugin.tsx"]
- },
-
- devtool: env === "release" ? false : "source-map",
-
- resolve: {
- extensions: [".ts", ".tsx", ".js", ".jsx"]
- },
-
- output: {
- path: distPath,
- filename: "[name].js",
- library: "[name]",
- libraryTarget: "umd2",
- chunkFilename: "[name].js"
- },
- module: {
- rules: [{
- test: /\.tsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }, {
- loader: "ts-loader"
- }]
- }, {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: [{
- loader: "babel-loader"
- }]
- }]
- },
-
- optimization: {
- noEmitOnErrors: true,
- namedModules: env !== "release",
- minimize: env === "release",
- minimizer: env !== "release" ? [] : [new TerserPlugin({
- terserOptions: {
- warnings: false, // false, true, "verbose"
- compress: {
- drop_console: true,
- drop_debugger: true,
- }
- }
- })],
- },
- plugins: [
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
- new webpack.DllReferencePlugin({
- context: path.resolve(__dirname, "../../framework/src"),
- manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
- ...(env === "release") ? [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'production'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- ] : [
- new webpack.DefinePlugin({
- "process.env": {
- NODE_ENV: "'development'",
- VERSION: JSON.stringify(require("./package.json").version)
- }
- }),
- new CopyWebpackPlugin([{
- from: 'index.html',
- to: distPath
- }]),
- ]
- ],
-
- devServer: {
- public: "http://localhost:3100",
- contentBase: frameworkPath,
-
- compress: true,
- headers: {
- "Access-Control-Allow-Origin": "*"
- },
- host: "0.0.0.0",
- port: 3100,
- disableHostCheck: true,
- historyApiFallback: true,
- inline: true,
- hot: false,
- quiet: false,
- stats: {
- colors: true
- },
- proxy: {
- "/restconf": {
- target: "http://localhost:8181",
- secure: false
- },
- "/database": {
- target: "http://localhost:8181",
- secure: false
- }
- }
- }
- }];
-}