summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/ElasticSearchDataProvider.java8
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/MediatorServerDataProvider.java7
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessor.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessor.java)4
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessorPm.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessorPm.java)4
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessorStatus.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessorStatus.java)3
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessorWithId.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessorWithId.java)4
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/entity/FaultEntityManager.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/FaultEntityManager.java)2
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/entity/HtDatabaseEventsService.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/HtDatabaseEventsService.java)3
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/entity/HtDatabaseMaintenanceService.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/HtDatabaseMaintenanceService.java)2
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/rpctypehelper/QueryByFilter.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/QueryByFilter.java)3
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/rpctypehelper/QueryByFilterStatic.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/QueryByFilterStatic.java)3
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/rpctypehelper/QueryResult.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/QueryResult.java)2
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/AboutHttpServlet.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/AboutHttpServlet.java)32
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/MarkdownTable.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/MarkdownTable.java)2
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/ODLVersionLUT.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/ODLVersionLUT.java)2
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/SystemInfo.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/SystemInfo.java)2
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/GetYangSchemaRequest.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/GetYangSchemaRequest.java)2
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/YangFileProvider.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/YangFileProvider.java)2
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/YangFilename.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/YangFilename.java)2
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/YangSchemaHttpServlet.java (renamed from sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/YangSchemaHttpServlet.java)4
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/impl/DataProviderImpl.java2
-rw-r--r--sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/impl/DataProviderServiceImpl.java6
-rw-r--r--sdnr/wt/data-provider/provider/src/main/resources/about/README.md1
-rwxr-xr-xsdnr/wt/data-provider/provider/src/main/resources/es-init.replaced.sh446
-rwxr-xr-xsdnr/wt/data-provider/provider/src/main/resources/es-init.sh22
-rw-r--r--sdnr/wt/data-provider/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml4
-rw-r--r--sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestAbout.java3
-rw-r--r--sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestEventService.java2
-rw-r--r--sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestFilterConversion.java2
-rw-r--r--sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestImplementation.java2
-rw-r--r--sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestTimestampFilter.java2
-rw-r--r--sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestYangGenSalMapping.java3
-rw-r--r--sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestYangProvider.java7
-rw-r--r--sdnr/wt/devicemanager-gran/feature/pom.xml50
-rwxr-xr-xsdnr/wt/devicemanager-gran/installer/pom.xml127
-rw-r--r--sdnr/wt/devicemanager-gran/installer/src/assembly/assemble_mvnrepo_zip.xml47
-rw-r--r--sdnr/wt/devicemanager-gran/model/pom.xml72
-rw-r--r--sdnr/wt/devicemanager-gran/model/src/main/yang/devicemanager-gran.yang37
-rwxr-xr-xsdnr/wt/devicemanager-gran/pom.xml53
-rw-r--r--sdnr/wt/devicemanager-gran/provider/copyright17
-rw-r--r--sdnr/wt/devicemanager-gran/provider/pom.xml136
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/GRanNetworkElement.java83
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/GRanNetworkElementFactory.java43
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/impl/DeviceManagerGRanImpl.java69
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModelBindingProvider.java8
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModuleInfoImpl.java46
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/TopGrp.java45
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModelBindingProvider.java8
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModuleInfoImpl.java47
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/AMFIdentifier.java51
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/BwpContext.java73
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DataSetId.java75
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DefaultNotificationSubscription.java60
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DnnUpfInfoItem.java35
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Guami.java45
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IdentityRange.java52
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/InterfaceUpfInfoItem.java72
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IpEndPoint.java67
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv4AddressRange.java44
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv6PrefixRange.java44
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IsInitialBwp.java71
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N1MessageClass.java75
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N2InformationClass.java77
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFServiceVersion.java53
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFStatus.java71
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFType.java107
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationEventType.java73
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationType.java73
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/PLMNId.java55
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/QOffsetRange.java83
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/RRMPolicyRatio2.java86
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SnssaiUpfInfoItem.java55
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupiRange.java52
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java85
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java90
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFRegionId.java90
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFSetId.java90
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAdministrativeState.java89
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAvailabilityStatus.java147
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCellState.java85
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCyclicPrefix.java71
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDistinguishedName.java73
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDnn.java73
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java83
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMcc.java85
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMnc.java85
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java93
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCIBuilder.java23
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNRPCI.java83
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNsiId.java73
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TOperationalState.java79
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TQuotaType.java71
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TResourceSharingLevel.java71
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAI.java120
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAIBuilder.java23
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSST.java83
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSubcarrierSpacing.java75
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java93
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTACBuilder.java23
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTransportProtocol.java73
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TUEMobilityLevel.java75
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Tai.java44
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TxDirection.java73
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/UPInterfaceType.java73
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfId.java37
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfIdBuilder.java255
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnId.java37
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnIdBuilder.java229
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/Address.java49
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdn.java41
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdnBuilder.java183
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4Address.java40
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4AddressBuilder.java182
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Address.java40
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6AddressBuilder.java182
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Prefix.java40
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6PrefixBuilder.java182
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/Address.java44
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4Address.java40
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4AddressBuilder.java182
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Address.java40
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6AddressBuilder.java182
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Prefix.java40
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6PrefixBuilder.java182
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfo.java44
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoBuilder.java224
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoKey.java67
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnId.java37
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnIdBuilder.java229
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml38
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/main/resources/version.properties24
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestDeviceManagerGRanImpl.java48
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestGRanNetworkElement.java55
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestGRanNetworkElementFactory.java68
-rw-r--r--sdnr/wt/devicemanager-gran/provider/src/test/resources/simplelogger.properties61
135 files changed, 533 insertions, 7995 deletions
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/ElasticSearchDataProvider.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/ElasticSearchDataProvider.java
index 30e617ab6..e8d573b79 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/ElasticSearchDataProvider.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/ElasticSearchDataProvider.java
@@ -25,7 +25,13 @@ import java.io.IOException;
import java.util.concurrent.TimeUnit;
import org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient;
import org.onap.ccsdk.features.sdnr.wt.common.database.config.HostInfo;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.DataObjectAcessorPm.Intervall;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.acessor.DataObjectAcessorPm;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.acessor.DataObjectAcessorPm.Intervall;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.acessor.DataObjectAcessorStatus;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.acessor.DataObjectAcessorWithId;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.entity.HtDatabaseEventsService;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.entity.HtDatabaseMaintenanceService;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.rpctypehelper.QueryResult;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.HtDatabaseMaintenance;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.CreateMaintenanceInput;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/MediatorServerDataProvider.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/MediatorServerDataProvider.java
index c229006ff..4998c3031 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/MediatorServerDataProvider.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/MediatorServerDataProvider.java
@@ -30,6 +30,7 @@ import java.util.concurrent.TimeUnit;
import org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient;
import org.onap.ccsdk.features.sdnr.wt.common.database.SearchResult;
import org.onap.ccsdk.features.sdnr.wt.common.database.config.HostInfo;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.acessor.DataObjectAcessorWithId;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.Entity;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.read.mediator.server.list.output.Data;
import org.slf4j.Logger;
@@ -47,14 +48,14 @@ public class MediatorServerDataProvider implements AutoCloseable {
private boolean isRunning;
public MediatorServerDataProvider(HostInfo[] hosts) throws Exception {
- this(hosts, null, null);
+ this(hosts, null, null, false);
}
- public MediatorServerDataProvider(HostInfo[] hosts, String authUsername, String authPassword) throws Exception {
+ public MediatorServerDataProvider(HostInfo[] hosts, String authUsername, String authPassword, boolean trustAll) throws Exception {
super();
LOG.info("Start {}", this.getClass().getName());
this.entries = new HashMap<>();
- this.dbClient = HtDatabaseClient.getClient(hosts, authUsername, authPassword);
+ this.dbClient = HtDatabaseClient.getClient(hosts, authUsername, authPassword, trustAll);
this.mediatorserverRW = new DataObjectAcessorWithId<>(dbClient, Entity.MediatorServer, Data.class);
this.scheduler.scheduleAtFixedRate(onTick, this.REFRESH_INTERVAL, this.REFRESH_INTERVAL, TimeUnit.SECONDS);
}
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessor.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessor.java
index c3c63a963..90915fc63 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessor.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessor.java
@@ -19,11 +19,13 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.data.acessor;
import org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient;
import org.onap.ccsdk.features.sdnr.wt.common.database.SearchResult;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilder;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.rpctypehelper.QueryByFilter;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.rpctypehelper.QueryResult;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.database.EsDataObjectReaderWriter2;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.Entity;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EntityInput;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessorPm.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessorPm.java
index 83017366d..aa9da01ad 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessorPm.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessorPm.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.data.acessor;
import java.io.IOException;
@@ -29,6 +29,8 @@ import org.onap.ccsdk.features.sdnr.wt.common.database.SearchResult;
import org.onap.ccsdk.features.sdnr.wt.common.database.requests.SearchRequest;
import org.onap.ccsdk.features.sdnr.wt.common.database.responses.AggregationEntries;
import org.onap.ccsdk.features.sdnr.wt.common.database.responses.SearchResponse;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.rpctypehelper.QueryByFilter;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.rpctypehelper.QueryResult;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.Entity;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EntityInput;
import org.opendaylight.yangtools.yang.binding.DataObject;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessorStatus.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessorStatus.java
index 1fa6de37d..f6fc60e2f 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessorStatus.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessorStatus.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.data.acessor;
import java.io.IOException;
@@ -30,6 +30,7 @@ import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilders;
import org.onap.ccsdk.features.sdnr.wt.common.database.requests.SearchRequest;
import org.onap.ccsdk.features.sdnr.wt.common.database.responses.AggregationEntries;
import org.onap.ccsdk.features.sdnr.wt.common.database.responses.SearchResponse;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.rpctypehelper.QueryResult;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.Entity;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.read.status.output.Data;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.read.status.output.DataBuilder;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessorWithId.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessorWithId.java
index 10dd7792c..accd1d894 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/DataObjectAcessorWithId.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/acessor/DataObjectAcessorWithId.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP : ccsdk features
* ================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH Intellectual Property.
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
* All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.data.acessor;
import org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.Entity;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/FaultEntityManager.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/entity/FaultEntityManager.java
index 7efdab110..46252651f 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/FaultEntityManager.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/entity/FaultEntityManager.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.data.entity;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/HtDatabaseEventsService.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/entity/HtDatabaseEventsService.java
index 4efbf6e28..46475f02d 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/HtDatabaseEventsService.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/entity/HtDatabaseEventsService.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.data.entity;
import java.util.ArrayList;
import java.util.Arrays;
@@ -35,6 +35,7 @@ import org.onap.ccsdk.features.sdnr.wt.common.database.queries.BoolQueryBuilder;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilder;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilders;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.RangeQueryBuilder;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.ElasticSearchDataProvider;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.database.EsDataObjectReaderWriter2;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.ArchiveCleanProvider;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/HtDatabaseMaintenanceService.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/entity/HtDatabaseMaintenanceService.java
index 3e9a93902..1cb7c3a6e 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/HtDatabaseMaintenanceService.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/entity/HtDatabaseMaintenanceService.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.data.entity;
import java.util.ArrayList;
import java.util.List;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/QueryByFilter.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/rpctypehelper/QueryByFilter.java
index 4e7bee9d0..a12391acd 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/QueryByFilter.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/rpctypehelper/QueryByFilter.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.data.rpctypehelper;
import java.math.BigInteger;
import java.util.ArrayList;
@@ -36,6 +36,7 @@ import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilder;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilders;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.RangeQueryBuilder;
import org.onap.ccsdk.features.sdnr.wt.common.database.requests.SearchRequest;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.acessor.DataObjectAcessorPm;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.NetconfTimeStamp;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.types.NetconfTimeStampImpl;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EntityInput;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/QueryByFilterStatic.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/rpctypehelper/QueryByFilterStatic.java
index 4abe65856..3e4fcfedd 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/QueryByFilterStatic.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/rpctypehelper/QueryByFilterStatic.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.data.rpctypehelper;
import java.util.Arrays;
import java.util.Calendar;
@@ -32,6 +32,7 @@ import org.onap.ccsdk.features.sdnr.wt.common.database.queries.BoolQueryBuilder;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilder;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilders;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.RangeQueryBuilder;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.acessor.DataObjectAcessorPm;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.NetconfTimeStamp;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.types.NetconfTimeStampImpl;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EntityInput;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/QueryResult.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/rpctypehelper/QueryResult.java
index 7570523cd..544cd059c 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/QueryResult.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/rpctypehelper/QueryResult.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.data.rpctypehelper;
import java.math.BigInteger;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/AboutHttpServlet.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/AboutHttpServlet.java
index fdac1c10a..9ac0cc0c3 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/AboutHttpServlet.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/AboutHttpServlet.java
@@ -19,39 +19,32 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.http;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.http.about;
import java.io.IOException;
import java.net.URL;
-import java.util.ArrayList;
import java.util.HashMap;
-import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.jar.Attributes;
import java.util.jar.Manifest;
-
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-
//import org.apache.karaf.bundle.core.BundleInfo;
//import org.apache.karaf.bundle.core.BundleService;
import org.onap.ccsdk.features.sdnr.wt.common.Resources;
import org.onap.ccsdk.features.sdnr.wt.common.file.PomFile;
import org.onap.ccsdk.features.sdnr.wt.common.file.PomPropertiesFile;
-import org.osgi.framework.Bundle;
-import org.osgi.framework.BundleContext;
-import org.osgi.framework.FrameworkUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class AboutHttpServlet extends HttpServlet {
/**
- *
+ *
*/
private static final long serialVersionUID = 1L;
private static final Logger LOG = LoggerFactory.getLogger(AboutHttpServlet.class);
@@ -107,7 +100,6 @@ public class AboutHttpServlet extends HttpServlet {
this.data.put(PLACEHOLDER_ONAP_RELEASENAME, ODLVersionLUT.getONAPReleaseName(ccsdkVersion, UNKNOWN));
this.data.put(PLACEHOLDER_ODL_RELEASENAME, ODLVersionLUT.getOdlVersion(ccsdkVersion, UNKNOWN));
this.data.put(PLACEHOLDER_BUILD_TIMESTAMP, props != null ? props.getBuildDate().toString() : "");
- this.data.put(PLACEHOLDER_ODLUX_REVISION, this.getPomProperty("odlux.buildno"));
this.data.put(PLACEHOLDER_PACAKGE_VERSION, this.getManifestValue("Bundle-Version"));
this.data.put(PLACEHOLDER_CCSDK_VERSION, ccsdkVersion);
this.data.put(PLACEHOLDER_ONAP_RELEASEVERSION, "2.0.0-SNAPSHOT");
@@ -154,7 +146,7 @@ public class AboutHttpServlet extends HttpServlet {
/**
* load git.commit.id from jar /META-INF/git.properties
- *
+ *
* @param def
*/
private String getGitHash(String def) {
@@ -192,7 +184,7 @@ public class AboutHttpServlet extends HttpServlet {
/**
* get value for key out of /META-INF/MANIFEST.MF
- *
+ *
* @param key
* @return
*/
@@ -215,7 +207,7 @@ public class AboutHttpServlet extends HttpServlet {
/**
* get object representation of /META-INF/maven/groupId/artifactId/pom.properties
- *
+ *
* @return
*/
private PomPropertiesFile getPomProperties() {
@@ -236,7 +228,7 @@ public class AboutHttpServlet extends HttpServlet {
/**
* get value for key out of /META-INF/maven/groupId/artifactId/pom.xml in properties section
- *
+ *
* @param key
* @return
*/
@@ -259,7 +251,7 @@ public class AboutHttpServlet extends HttpServlet {
/**
* get parent pom version out of /META-INF/maven/groupId/artifactId/pom.xml
- *
+ *
* @return
*/
private String getPomParentVersion() {
@@ -284,7 +276,7 @@ public class AboutHttpServlet extends HttpServlet {
// LOG.debug("no bundle service available");
// return "";
// }
- //
+ //
// List<String> ids = new ArrayList<String>();
// List<Bundle> bundles = bundleService.selectBundles("0", ids , true);
// if(bundles==null || bundles.size()<=0) {
@@ -303,7 +295,7 @@ public class AboutHttpServlet extends HttpServlet {
/**
* get file by uri from resources and write out to response stream
- *
+ *
* @param uri
* @param resp
*/
@@ -330,7 +322,7 @@ public class AboutHttpServlet extends HttpServlet {
/**
* create http response contentType by filename
- *
+ *
* @param filename
* @return
*/
@@ -358,7 +350,7 @@ public class AboutHttpServlet extends HttpServlet {
/**
* render this.readmeContent with this.data
- *
+ *
* @return
*/
private String render() {
@@ -367,7 +359,7 @@ public class AboutHttpServlet extends HttpServlet {
/**
* render content with this.data
- *
+ *
* @param content
* @return
*/
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/MarkdownTable.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/MarkdownTable.java
index 52eda0cd8..9fd6975b6 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/MarkdownTable.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/MarkdownTable.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.http;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.http.about;
import java.util.ArrayList;
import java.util.List;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/ODLVersionLUT.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/ODLVersionLUT.java
index 3ea3e3d02..bd8fae6a0 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/ODLVersionLUT.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/ODLVersionLUT.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.http;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.http.about;
public class ODLVersionLUT {
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/SystemInfo.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/SystemInfo.java
index 12b03ffe6..1497362a6 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/SystemInfo.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/about/SystemInfo.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.http;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.http.about;
import java.io.File;
import java.io.IOException;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/GetYangSchemaRequest.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/GetYangSchemaRequest.java
index fd2784804..cc1a2c39c 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/GetYangSchemaRequest.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/GetYangSchemaRequest.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.http;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.http.yangschema;
import javax.servlet.http.HttpServletRequest;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/YangFileProvider.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/YangFileProvider.java
index 4f259aa4b..0d46ad098 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/YangFileProvider.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/YangFileProvider.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.http.yangschema;
import java.io.File;
import java.io.FileInputStream;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/YangFilename.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/YangFilename.java
index e5d0b18cd..eb4961a66 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/data/YangFilename.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/YangFilename.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.data;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.http.yangschema;
import java.text.ParseException;
import java.text.SimpleDateFormat;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/YangSchemaHttpServlet.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/YangSchemaHttpServlet.java
index 48862a6a5..83518ecb2 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/YangSchemaHttpServlet.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/http/yangschema/YangSchemaHttpServlet.java
@@ -19,7 +19,7 @@
* ============LICENSE_END=========================================================
*
*/
-package org.onap.ccsdk.features.sdnr.wt.dataprovider.http;
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.http.yangschema;
import java.io.IOException;
import java.text.ParseException;
@@ -28,7 +28,7 @@ import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.YangFileProvider;
+
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/impl/DataProviderImpl.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/impl/DataProviderImpl.java
index f9e0fcbc2..ac0ee92f1 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/impl/DataProviderImpl.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/impl/DataProviderImpl.java
@@ -22,10 +22,10 @@
package org.onap.ccsdk.features.sdnr.wt.dataprovider.impl;
import org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.AboutHttpServlet;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.DataTreeHttpServlet;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.MsServlet;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.ReadyHttpServlet;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.about.AboutHttpServlet;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.HtDatabaseMaintenance;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.IEntityDataProvider;
diff --git a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/impl/DataProviderServiceImpl.java b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/impl/DataProviderServiceImpl.java
index 4b8564395..6eabc969b 100644
--- a/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/impl/DataProviderServiceImpl.java
+++ b/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/impl/DataProviderServiceImpl.java
@@ -21,11 +21,11 @@
*/
package org.onap.ccsdk.features.sdnr.wt.dataprovider.impl;
+import com.google.common.util.concurrent.ListenableFuture;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.concurrent.TimeUnit;
-
import org.eclipse.jdt.annotation.NonNull;
import org.onap.ccsdk.features.sdnr.wt.common.configuration.ConfigurationFileRepresentation;
import org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient;
@@ -94,8 +94,6 @@ import org.opendaylight.yangtools.yang.common.RpcResultBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import com.google.common.util.concurrent.ListenableFuture;
-
public class DataProviderServiceImpl implements DataProviderService, AutoCloseable {
private static final Logger LOG = LoggerFactory.getLogger(DataProviderServiceImpl.class);
@@ -116,7 +114,7 @@ public class DataProviderServiceImpl implements DataProviderService, AutoCloseab
esConfig.getBasicAuthPassword(), esConfig.trustAllCerts());
this.dataProvider.waitForYellowDatabaseStatus(DATABASE_TIMEOUT_MS, TimeUnit.MILLISECONDS);
this.mediatorServerDataProvider = new MediatorServerDataProvider(esConfig.getHosts(),
- esConfig.getBasicAuthUsername(), esConfig.getBasicAuthPassword());
+ esConfig.getBasicAuthUsername(), esConfig.getBasicAuthPassword(),esConfig.trustAllCerts());
mediatorServerServlet.setDataProvider(this.mediatorServerDataProvider);
// Register ourselves as the REST API RPC implementation
LOG.info("Register RPC Service " + DataProviderServiceImpl.class.getSimpleName());
diff --git a/sdnr/wt/data-provider/provider/src/main/resources/about/README.md b/sdnr/wt/data-provider/provider/src/main/resources/about/README.md
index 58091d5da..17c3825fd 100644
--- a/sdnr/wt/data-provider/provider/src/main/resources/about/README.md
+++ b/sdnr/wt/data-provider/provider/src/main/resources/about/README.md
@@ -9,7 +9,6 @@
| Yangtools version | {yangtools-version} |
| MD-SAL version | {mdsal-version} |
| SDN-R packages version | {package-version} ({package-githash}) |
-| ODLUX version | {odlux-revision} |
| Cluster size | {cluster-size} |
## Device manager
diff --git a/sdnr/wt/data-provider/provider/src/main/resources/es-init.replaced.sh b/sdnr/wt/data-provider/provider/src/main/resources/es-init.replaced.sh
new file mode 100755
index 000000000..67d495aa0
--- /dev/null
+++ b/sdnr/wt/data-provider/provider/src/main/resources/es-init.replaced.sh
@@ -0,0 +1,446 @@
+#!/bin/bash
+# ============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==========================================================================
+#
+# Version 2
+# Usage .. see help below
+
+SDNRNAME=sdnrdb
+REPLICAS=1
+SHARDS=5
+PREFIX=""
+VERSION="-v1"
+VERBOSE=0
+INITFILENAME="Init.script"
+
+#declare -a ALIAS
+#declare -a MAPPING
+
+# ------------------------------------------------------------
+# Function with definition of mappings
+# $1: alias name for index
+# $2: mapping properties and additonal parameter for this section
+
+set_definition() {
+ def "connectionlog" '{"node-id": {"type": "keyword"},"timestamp": {"type": "date"},"status": {"type": "keyword"}}'
+ def "maintenancemode" '{"node-id": {"type": "keyword"},"start": {"type": "date"},"end": {"type": "date"},"description": {"type": "keyword"},"active": {"type": "boolean"}},"date_detection":false}}'
+ def "faultlog" '{"node-id": {"type": "keyword"},"severity": {"type": "keyword"},"timestamp": {"type": "date"},"problem": {"type": "keyword"},"counter": {"type": "long"},"object-id":{"type": "keyword"},"source-type":{"type": "keyword"}}'
+ def "faultcurrent" '{"node-id": {"type": "keyword"},"severity": {"type": "keyword"},"timestamp": {"type": "date"},"problem": {"type": "keyword"},"counter": {"type": "long"},"object-id":{"type": "keyword"}}'
+ def "eventlog" '{"node-id": {"type": "keyword"},"source-type": {"type": "keyword"},"timestamp": {"type": "date"},"new-value": {"type": "keyword"},"attribute-name": {"type": "keyword"},"counter": {"type": "long"},"object-id": {"type": "keyword"}}'
+ def "inventoryequipment" '{"date": {"type": "keyword"},"model-identifier": {"type": "keyword"},"manufacturer-identifier": {"type": "keyword"},"type-name": {"type": "keyword"},"description": {"type": "keyword"},"uuid": {"type": "keyword"},"version": {"type": "keyword"},"parent-uuid": {"type": "keyword"},"contained-holder": {"type": "keyword"},"node-id": {"type": "keyword"},"tree-level": {"type": "long"},"part-type-id": {"type": "keyword"},"serial": {"type": "keyword"}}'
+ def "historicalperformance24h" '{"node-name":{"type": "keyword"},"timestamp":{"type": "date"},"suspect-interval-flag":{"type":"boolean"},"scanner-id":{"type": "keyword"},"uuid-interface":{"type": "keyword"},"layer-protocol-name":{"type": "keyword"},"granularity-period":{"type": "keyword"},"radio-signal-id":{"type": "keyword"}}'
+ def "historicalperformance15min" '{"node-name":{"type": "keyword"},"timestamp":{"type": "date"},"suspect-interval-flag":{"type":"boolean"},"scanner-id":{"type": "keyword"},"uuid-interface":{"type": "keyword"},"layer-protocol-name":{"type": "keyword"},"granularity-period":{"type": "keyword"},"radio-signal-id":{"type": "keyword"}}'
+ def "mediator-server" '{"url":{"type": "keyword"},"name":{"type": "keyword"}}'
+ def "networkelement-connection" '{"node-id": {"type": "keyword"},"host": {"type": "keyword"},"port": {"type": "long"},"username": {"type": "keyword"},"password": {"type": "keyword"},"core-model-capability": {"type": "keyword"},"device-type": {"type": "keyword"},"is-required": {"type": "boolean"},"status": {"type": "keyword"}},"date_detection":false'
+}
+
+# ------------------------------------------------------------
+# Functions
+
+# Get ip of container with database
+getsdnrurl() {
+ if [ ! -z "$DBURL" ]; then
+ return
+ fi
+ cmd=$(which docker)
+ if [ ! -z "$cmd" ]; then
+ SDNRIP=$($cmd inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' "$SDNRNAME")
+ if [ "$?" = "1" ] ; then
+ echo "WARN: Container $SDNRNAME not running. Start the sdnrdb container or enter a database url."
+ echo "continuing with localhost"
+ SDNRIP="localhost"
+ fi
+ else
+ # if no docker and no db url given
+ if [ -z "$DBURL" ]; then
+ echo "WARN: Please enter a database url."
+ echo "continuing with localhost"
+ SDNRIP="localhost"
+ fi
+ fi
+ DBURL="http://$SDNRIP:9200"
+}
+
+# Add elements to the array ALIAS and MAPPING
+# $1 alias
+# $2 mapping properties
+def() {
+ ALIAS=("${ALIAS[@]}" "$1")
+ MAPPING=("${MAPPING[@]}" "$2")
+}
+
+# $1 Response
+print_response() {
+ response="$1"
+ body=$(echo $response | sed -E 's/HTTPSTATUS\:[0-9]{3}$//')
+ code=$(echo $response | tr -d '\n' | sed -E 's/.*HTTPSTATUS:([0-9]{3})$/\1/')
+ if [ "$VERBOSE" = "0" -a "$code" -ne "200" ] ; then
+ echo "Error response $code $body"
+ fi
+ if [ "$VERBOSE" -ge 1 ] ; then
+ echo "response $code"
+ fi
+ if [ "$VERBOSE" -ge 2 ] ; then
+ echo "content: $body"
+ fi
+}
+
+#Write ini file for elasticsearch
+# $1 index
+# $1 data
+file_append() {
+ echo "PUT:"$1"/:"$2 >> $INITFILENAME
+}
+
+# Send get request to database
+# USes DBURL
+# $1 url path
+# $2 data
+http_get_request() {
+ url="$DBURL/$1"
+ if [ "$VERBOSE" -ge 2 ] ; then
+ echo "PUT to $url data $data"
+ fi
+ response=$(curl --silent --write-out "HTTPSTATUS:%{http_code}" -X GET -H "Content-Type: application/json" "$url")
+ print_response "$response"
+}
+
+# Send put request to database
+# USes DBURL
+# $1 url path
+# $2 data
+http_put_request() {
+ url="$DBURL/$1"
+ if [ "$VERBOSE" -ge 2 ] ; then
+ echo "PUT to $url data $data"
+ fi
+ response=$(curl --silent --write-out "HTTPSTATUS:%{http_code}" -X PUT -H "Content-Type: application/json" -d "$2" "$url")
+ print_response "$response"
+}
+
+# Send delete request to database
+# $1 url
+http_delete_request() {
+ url="$DBURL/$1"
+ if [ "$VERBOSE" -ge 2 ] ; then
+ echo "DELETE to $url"
+ fi
+ echo "DELETE to $url"
+ response=$(curl --silent --write-out "HTTPSTATUS:%{http_code}" -X DELETE -H "Content-Type: application/json" $url)
+ print_response "$response"
+}
+
+# Delete index and alias
+# $1 alias
+delete_index_alias() {
+
+ echo "deleting alias $alias"
+ # Delete alias
+ alias="$PREFIX$1"
+ index="$PREFIX$1$VERSION"
+
+ url="$index/_alias/$alias"
+ http_delete_request "$url"
+
+ # Delete index
+ echo "deleting index $index"
+ url="$index"
+ http_delete_request "$url"
+
+ # Delete alias that was falsely autocreated as index
+ echo "deleting index $index"
+ url="$alias"
+ http_delete_request "$url"
+}
+
+# Write mappings
+# Uses version, SHARDS and REPLICAS parameters
+# $1 alias and datatype "mydatatype"
+# $2 mapping properties
+# $3 filename or empty for WEB
+create_index_alias() {
+ # Create index
+ alias="$PREFIX$1"
+ index="$PREFIX$1$VERSION"
+ mappings='"mappings":{"'$1'":{"properties":'$2'}}'
+ settings='"settings":{"index":{"number_of_shards":'$SHARDS',"number_of_replicas":'$REPLICAS'},"analysis":{"analyzer":{"content":{"type":"custom","tokenizer":"whitespace"}}}}'
+
+ if [ -z "$mappings" ]; then
+ data="{$settings}"
+ else
+ data="{$settings,$mappings}"
+ fi
+
+ url=$index
+ echo "creating index $index"
+ if [ -z "$3" ] ; then
+ http_put_request "$url" "$data"
+ else
+ file_append "$url" "$data"
+ fi
+
+ #Create alias
+ url="$index/_alias/$alias"
+ echo "creating alias $alias for $index"
+ if [ -z "$3" ] ; then
+ http_put_request "$url"
+ else
+ file_append "$url" "{}"
+ fi
+}
+
+# Wait for status
+# $1 time to wait
+es_wait_yellow() {
+ ESSTATUS="yellow"
+ attempt_counter=0
+ max_attempts=5
+ echo "Wait up to $max_attempts attempts for $DBURL availability"
+ until $(curl --output /dev/null --silent --head --fail $DBURL); do
+ if [ ${attempt_counter} -eq ${max_attempts} ];then
+ echo "Error: Max attempts reached."
+ exit 3
+ fi
+ attempt_counter=$(($attempt_counter+1))
+ printf '.'
+ sleep 5
+ done
+ sleep 2
+ echo "Wait up to $1 for status $ESSTATUS"
+ RES=$(curl GET "$DBURL/_cluster/health?wait_for_status=$ESSTATUS&timeout=$1&pretty" 2>/dev/null)
+ if [ "$?" = "0" ] ; then
+ if [[ "$RES" =~ .*status.*:.*yellow.* || "$RES" =~ .*status.*:.*green.* ]] ; then
+ echo "Status $ESSTATUS reached: $RES"
+ else
+ echo "Error: DB Reachable, but status $ESSTATUS not reached"
+ exit 2
+ fi
+ else
+ echo "Error: $DBURL not reachable"
+ exit 2
+ fi
+}
+
+# Commands
+
+cmd_create() {
+ if [ -n "$WAITYELLOW" ] ; then
+ es_wait_yellow "$WAITYELLOW"
+ fi
+ for i in "${!ALIAS[@]}"; do
+ create_index_alias "${ALIAS[$i]}" "${MAPPING[$i]}"
+ done
+}
+
+cmd_delete() {
+ if [ -n "$WAITYELLOW" ] ; then
+ es_wait_yellow "$WAITYELLOW"
+ fi
+ for i in "${!ALIAS[@]}"; do
+ delete_index_alias "${ALIAS[$i]}"
+ done
+ for i in "${!ALIAS[@]}"; do
+ delete_index_alias "${ALIAS[$i]}"
+ done
+}
+cmd_purge() {
+# http_get_request '_cat/aliases'
+# body=$(echo $response | sed -E 's/HTTPSTATUS\:[0-9]{3}$//')
+# echo "$response" | awk '/^([^ ]*)[ ]*([^ ]*).*$/{ print $2"/_alias/"$1 }'
+# http_get_request '_cat/indices'
+# echo "indices"
+# echo "$response"
+# echo "$response" | awk '/^[^ ]*[ ]*[^ ]*[ ]*([^ ]*).*$/{ print $3 }'
+ echo "not yet implemented"
+}
+cmd_initfile() {
+ echo "Create script initfile: $INITFILENAME"
+ if [ -f "$INITFILENAME" ] ; then
+ rm $INITFILENAME
+ else
+ mkdir -p $(dirname $INITFILENAME )
+ fi
+ for i in "${!ALIAS[@]}"; do
+ create_index_alias "${ALIAS[$i]}" "${MAPPING[$i]}" file
+ done
+}
+
+# Prepare database startup
+cmd_startup() {
+ ESWAIT=30s
+ echo "Startup ElasticSearch DBURL=$DBURL CMD=$STARTUP_CMD CLUSTER=$CLUSTER_ENABLED INDEX=$NODE_INDEX"
+ if $CLUSTER_ENABLED ; then
+ if [ "$NODE_INDEX" = "0" ] ; then
+ echo "Cluster node 0 detected .. create"
+ es_wait_yellow $ESWAIT
+ cmd_create
+ else
+ echo "Cluster node > 0 detected .. do nothing"
+ fi
+ else
+ echo "No cluster"
+ es_wait_yellow $ESWAIT
+ cmd_create
+ fi
+}
+
+# Parse arguments
+parse_args() {
+ while [[ $# -gt 0 ]]
+ do
+ par=($(echo $1 | tr '=' '\n'))
+ echo ""
+ if [ ${#par[@]} == "2" ] ; then
+ # Equal sign found
+ key=${par[0]}
+ value=${par[1]}
+ else
+ # No equal sign
+ key="$1"
+ value="$2"
+ fi
+ shift
+ #Further shift if parameter is used
+ case $key in
+ -db|--dburl|--database)
+ DBURL="$value"
+ shift
+ ;;
+ -r|--replicas)
+ REPLICAS="$value"
+ shift
+ ;;
+ -s|--shards)
+ SHARDS="$value"
+ shift
+ ;;
+ -p|--prefix)
+ PREFIX="$value"
+ shift
+ ;;
+ -f|--file)
+ INITFILENAME="$value"
+ shift
+ ;;
+ -x|--verbose)
+ VERBOSE="${value:-0}"
+ shift
+ ;;
+ -v|--version)
+ VERSION="${value:--v1}"
+ shift
+ ;;
+ -vx|--versionx)
+ VERSION=""
+ ;;
+ -w|--wait)
+ WAITYELLOW="${value:-30s}"
+ shift
+ ;;
+ --cmd)
+ STARTUP_CMD="$value"
+ shift
+ ;;
+ --odlcluster)
+ CLUSTER_ENABLED="$value"
+ shift
+ ;;
+ --index)
+ NODE_INDEX="$value"
+ shift
+ ;;
+ *)
+ ;;
+ esac;
+ done
+}
+
+# -----------------------------------------
+# Main starts here
+
+TASK=$1
+shift
+parse_args "$@"
+
+set_definition
+
+
+echo "------------------------------"
+echo "Elasticsearch for SDN-R helper"
+echo "------------------------------"
+echo "Uses database container $SDNRNAME"
+echo "Database url $DBURL"
+echo " shards=$SHARDS replicas=$REPLICAS prefix=$PREFIX verbose=$VERBOSE version='$VERSION'"
+
+
+case "$TASK" in
+ "create")
+ getsdnrurl
+ if [ -z "$DBURL" ] ; then
+ echo "Error: unable to detect database url."
+ exit 1
+ fi
+ cmd_create
+ ;;
+ "delete")
+ getsdnrurl
+ if [ -z "$DBURL" ] ; then
+ echo "Error: unable to detect database url."
+ exit 1
+ fi
+ cmd_delete
+ ;;
+ "purge")
+ getsdnrurl
+ if [ -z "$DBURL" ] ; then
+ echo "Error: unable to detect database url."
+ exit 1
+ fi
+ cmd_purge
+ ;;
+ "initfile")
+ cmd_initfile
+ ;;
+ "startup")
+ cmd_startup
+ ;;
+ *)
+ echo "usage:"
+ echo " es-init.sh COMMAND [OPTIONS]"
+ echo " Commands:"
+ echo " create create SDN-R used indices and aliases"
+ echo " delete delete SDN-R used indices and aliases"
+ echo " initfile Create initfile for java unit tests"
+ echo " purge Clear complete database (indices and aliases)"
+ echo " startup Initial database write if node number 01"
+ echo " Options:"
+ echo -e " -db\--database DATABASEURL"
+ echo -e " -r\--replicas REPLICAS"
+ echo -e " -s\--shards SHARDS"
+ echo -e " -p\--prefix DATABASE-PREFIX"
+ echo -e " -f\--file init filename"
+ echo -e " -x\--verbose Verbose level less 0 .. 2 full"
+ echo -e " -v\--version Version prefix"
+ echo -e " -vx\--versionx Version prefix empty"
+ echo -e " -i\--ignore Ignore error responses"
+ echo -e " --odlcluster true/false if odl configured as cluster"
+ echo -e " --index Cluster node 0.."
+ echo -e " --cmd startup sub command"
+ echo " examples:"
+ echo " single node db:"
+ echo " es-init.sh create -db http://sdnrdb:9200 -r 0"
+ ;;
+esac
diff --git a/sdnr/wt/data-provider/provider/src/main/resources/es-init.sh b/sdnr/wt/data-provider/provider/src/main/resources/es-init.sh
new file mode 100755
index 000000000..1cbfd7d7a
--- /dev/null
+++ b/sdnr/wt/data-provider/provider/src/main/resources/es-init.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+# ============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==========================================================================
+#
+# Version 2
+# Usage .. see help below
+
+echo "Depricated. Please use init container and jar directly"
+java -jar $ODL_HOME/system/org/onap/ccsdk/features/sdnr/wt/sdnr-wt-data-provider-setup/$FEATURES_SDNR/sdnr-dmt.jar -c init -db $SDNRDBURL -dbu $SDNRDBUSERNAME -dbp $SDNRDBPASSWORD
diff --git a/sdnr/wt/data-provider/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml b/sdnr/wt/data-provider/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml
index 7235b9042..ad9661f66 100644
--- a/sdnr/wt/data-provider/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml
+++ b/sdnr/wt/data-provider/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml
@@ -43,7 +43,7 @@
</service>
<bean id="aboutServlet"
- class="org.onap.ccsdk.features.sdnr.wt.dataprovider.http.AboutHttpServlet">
+ class="org.onap.ccsdk.features.sdnr.wt.dataprovider.http.about.AboutHttpServlet">
<!-- <property name="bundleService" ref="bundleService"/> -->
</bean>
<service interface="javax.servlet.http.HttpServlet"
@@ -80,7 +80,7 @@
</bean>
<bean id="yangServlet"
- class="org.onap.ccsdk.features.sdnr.wt.dataprovider.http.YangSchemaHttpServlet">
+ class="org.onap.ccsdk.features.sdnr.wt.dataprovider.http.yangschema.YangSchemaHttpServlet">
</bean>
<service interface="javax.servlet.http.HttpServlet"
ref="yangServlet">
diff --git a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestAbout.java b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestAbout.java
index 5d9011ab0..1e6752764 100644
--- a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestAbout.java
+++ b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestAbout.java
@@ -24,7 +24,8 @@ package org.onap.ccsdk.features.sdnr.wt.dataprovider.test;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.AboutHttpServlet;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.about.AboutHttpServlet;
+
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
diff --git a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestEventService.java b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestEventService.java
index 9c95a7d98..ccb1ea53f 100644
--- a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestEventService.java
+++ b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestEventService.java
@@ -38,7 +38,7 @@ import org.onap.ccsdk.features.sdnr.wt.common.database.config.HostInfo;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilders;
import org.onap.ccsdk.features.sdnr.wt.common.database.requests.DeleteByQueryRequest;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.ElasticSearchDataProvider;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.HtDatabaseEventsService;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.entity.HtDatabaseEventsService;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.types.NetconfTimeStampImpl;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.test.util.HostInfoForTest;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime;
diff --git a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestFilterConversion.java b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestFilterConversion.java
index 5c2a66e75..717b7add6 100644
--- a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestFilterConversion.java
+++ b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestFilterConversion.java
@@ -34,7 +34,7 @@ import org.mockito.Mockito;
import org.mockito.stubbing.Answer;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilder;
import org.onap.ccsdk.features.sdnr.wt.common.database.requests.SearchRequest;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.QueryByFilter;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.rpctypehelper.QueryByFilter;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EntityInput;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.SortOrder;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.entity.input.Filter;
diff --git a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestImplementation.java b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestImplementation.java
index 2aedabee4..aa010939d 100644
--- a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestImplementation.java
+++ b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestImplementation.java
@@ -28,9 +28,9 @@ import java.util.Set;
import org.junit.Test;
import org.onap.ccsdk.features.sdnr.wt.common.configuration.subtypes.Section;
import org.onap.ccsdk.features.sdnr.wt.common.configuration.subtypes.Section.EnvGetter;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.AboutHttpServlet;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.DataTreeHttpServlet;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.MsServlet;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.about.AboutHttpServlet;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.impl.DataProviderImpl;
import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.StatusChangedHandler.StatusKey;
import org.opendaylight.mdsal.binding.api.RpcProviderService;
diff --git a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestTimestampFilter.java b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestTimestampFilter.java
index e757e24d3..b8fa5d668 100644
--- a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestTimestampFilter.java
+++ b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestTimestampFilter.java
@@ -32,7 +32,7 @@ import org.json.JSONObject;
import org.junit.Test;
import org.mockito.Mockito;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilder;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.QueryByFilter;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.rpctypehelper.QueryByFilter;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EntityInput;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.entity.input.Filter;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.entity.input.FilterBuilder;
diff --git a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestYangGenSalMapping.java b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestYangGenSalMapping.java
index 4221891b3..d8d424174 100644
--- a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestYangGenSalMapping.java
+++ b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestYangGenSalMapping.java
@@ -209,7 +209,6 @@ public class TestYangGenSalMapping {
out(generatedNode.toString()); // Print it with specified indentation
}
-
@Test
public void test5() throws IOException {
// @formatter:off
@@ -270,10 +269,8 @@ public class TestYangGenSalMapping {
// Map to JSON String to Object
Data generatedNode = mapper.readValue(jsonString.getBytes(), Data.class);
out(generatedNode.toString()); // Print it with specified indentation
-
}
-
@Test
public void test6() throws Exception {
out(method());
diff --git a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestYangProvider.java b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestYangProvider.java
index 244d6b053..a2b90074e 100644
--- a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestYangProvider.java
+++ b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestYangProvider.java
@@ -45,9 +45,10 @@ import javax.servlet.http.HttpServletResponse;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.YangFileProvider;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.YangFilename;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.YangSchemaHttpServlet;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.yangschema.YangFileProvider;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.yangschema.YangFilename;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.http.yangschema.YangSchemaHttpServlet;
+
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
diff --git a/sdnr/wt/devicemanager-gran/feature/pom.xml b/sdnr/wt/devicemanager-gran/feature/pom.xml
deleted file mode 100644
index 7c0a9b48f..000000000
--- a/sdnr/wt/devicemanager-gran/feature/pom.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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>2.0.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-devicemanager-gran-feature</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>feature</packaging>
-
- <name>ccsdk-features :: ${project.artifactId}</name>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-devicemanager-gran-provider</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-</project>
diff --git a/sdnr/wt/devicemanager-gran/installer/pom.xml b/sdnr/wt/devicemanager-gran/installer/pom.xml
deleted file mode 100755
index e515bf1db..000000000
--- a/sdnr/wt/devicemanager-gran/installer/pom.xml
+++ /dev/null
@@ -1,127 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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>2.0.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-devicemanager-gran-installer</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>ccsdk-features :: ${project.artifactId}</name>
-
- <properties>
- <application.name>sdnr-wt-devicemanager-gran</application.name>
- <include.transitive.dependencies>false</include.transitive.dependencies>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>mdsal-artifacts</artifactId>
- <version>${odl.controller.mdsal.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <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>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>${application.name}-provider</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>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/devicemanager-gran/installer/src/assembly/assemble_mvnrepo_zip.xml b/sdnr/wt/devicemanager-gran/installer/src/assembly/assemble_mvnrepo_zip.xml
deleted file mode 100644
index dfe5060bf..000000000
--- a/sdnr/wt/devicemanager-gran/installer/src/assembly/assemble_mvnrepo_zip.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2017-2020 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:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
- 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/devicemanager-gran/model/pom.xml b/sdnr/wt/devicemanager-gran/model/pom.xml
deleted file mode 100644
index 8f6f2ad21..000000000
--- a/sdnr/wt/devicemanager-gran/model/pom.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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>binding-parent</artifactId>
- <version>2.0.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-devicemanager-gran-model</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>ccsdk-features :: ${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>
- <maven.javadoc.skip>true</maven.javadoc.skip>
- </properties>
-
- <dependencies>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/gen/**</exclude>
- <exclude>**/generated-sources/**</exclude>
- <exclude>**/yang-gen-sal/**</exclude>
- <exclude>**/pax/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/devicemanager-gran/model/src/main/yang/devicemanager-gran.yang b/sdnr/wt/devicemanager-gran/model/src/main/yang/devicemanager-gran.yang
deleted file mode 100644
index 4272892a7..000000000
--- a/sdnr/wt/devicemanager-gran/model/src/main/yang/devicemanager-gran.yang
+++ /dev/null
@@ -1,37 +0,0 @@
-module devicemanager-gran {
-
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:devicemanager-gran";
- prefix devicemanager-gran;
-
- organization
- "highstreet technologies GmbH";
- contact
- "Web: <https://highstreet-technologies.com>
- O-RAN1: <https://wiki.o-ran-sc.org/display/OAM/Operations+and+Maintenance";
-
- description
- "DeviceManager 3gpp Api Module
-
- Copyright 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.";
-
- revision 2019-11-29 {
- description
- "Initial revision";
- reference
- "https://jira.onap.org/browse/SDNC-877";
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/pom.xml b/sdnr/wt/devicemanager-gran/pom.xml
deleted file mode 100755
index 6a219f131..000000000
--- a/sdnr/wt/devicemanager-gran/pom.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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>2.0.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-devicemanager-gran-top</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>ccsdk-features :: ${project.artifactId}</name>
-
- <modules>
- <module>model</module>
- <module>provider</module>
- <module>feature</module>
- <module>installer</module>
- </modules>
-
- <properties>
- <feature-name>sdnr-wt-devicemanager-gran</feature-name>
- </properties>
-</project>
diff --git a/sdnr/wt/devicemanager-gran/provider/copyright b/sdnr/wt/devicemanager-gran/provider/copyright
deleted file mode 100644
index 754b6218f..000000000
--- a/sdnr/wt/devicemanager-gran/provider/copyright
+++ /dev/null
@@ -1,17 +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==========================================================================
- */
diff --git a/sdnr/wt/devicemanager-gran/provider/pom.xml b/sdnr/wt/devicemanager-gran/provider/pom.xml
deleted file mode 100644
index d7147f574..000000000
--- a/sdnr/wt/devicemanager-gran/provider/pom.xml
+++ /dev/null
@@ -1,136 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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>binding-parent</artifactId>
- <version>2.0.1-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-devicemanager-gran-provider</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>ccsdk-features :: ${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>
- <checkstyle.skip>true</checkstyle.skip> <!-- POM configuration -->
- <maven.javadoc.skip>true</maven.javadoc.skip>
- <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
- <buildtime>${maven.build.timestamp} UTC</buildtime>
- </properties>
-
- <dependencies>
- <!-- begin for testing -->
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- end for testing -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-devicemanager-gran-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnr-wt-netconfnode-state-service-model</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-devicemanager-model</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-common</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>sal-netconf-connector</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
- <artifactId>rfc6991-ietf-yang-types</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>yang-binding</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-singleton-common-api</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/gen/**</exclude>
- <exclude>**/generated-sources/**</exclude>
- <exclude>**/yang-gen-sal/**</exclude>
- <exclude>**/pax/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/GRanNetworkElement.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/GRanNetworkElement.java
deleted file mode 100644
index 7698a4a8e..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/GRanNetworkElement.java
+++ /dev/null
@@ -1,83 +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.devicemanager.gran;
-
-import java.util.Optional;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElement;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElementService;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.NetworkElementDeviceType;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * @author herbert
- *
- */
-public class GRanNetworkElement implements NetworkElement {
-
- private static final Logger log = LoggerFactory.getLogger(GRanNetworkElement.class);
-
- private final NetconfAccessor netconfAccessor;
- @SuppressWarnings("unused")
- private final DataProvider databaseService;
-
- public GRanNetworkElement(NetconfAccessor netconfAccess, DataProvider databaseService) {
- log.info("Create {}", GRanNetworkElement.class.getSimpleName());
- this.netconfAccessor = netconfAccess;
- this.databaseService = databaseService;
- }
-
- @Override
- public void register() {
- log.info("Register actions should be here");
- }
-
- @Override
- public void deregister() {
- log.info("deRegister actions should be here");
- }
-
- @Override
- public void warmstart() {
- log.info("Warmstart actions should be here");
- }
-
- @Override
- public NodeId getNodeId() {
- return netconfAccessor.getNodeId();
- }
-
- @Override
- public <L extends NetworkElementService> Optional<L> getService(Class<L> clazz) {
- return Optional.empty();
- }
-
- @Override
- public NetworkElementDeviceType getDeviceType() {
- return NetworkElementDeviceType.RAN3GPP;
- }
-
- @Override
- public Optional<NetconfAccessor> getAcessor() {
- return Optional.of(netconfAccessor);
- }
-
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/GRanNetworkElementFactory.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/GRanNetworkElementFactory.java
deleted file mode 100644
index 81cdf7536..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/GRanNetworkElementFactory.java
+++ /dev/null
@@ -1,43 +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.devicemanager.gran;
-
-import java.util.Optional;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.factory.NetworkElementFactory;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElement;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.top.rev180731.TopGrp;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class GRanNetworkElementFactory implements NetworkElementFactory {
-
- private static final Logger log = LoggerFactory.getLogger(GRanNetworkElementFactory.class);
-
- @Override
- public Optional<NetworkElement> create(NetconfAccessor acessor, DeviceManagerServiceProvider serviceProvider) {
- if (acessor.getCapabilites().isSupportingNamespace(TopGrp.QNAME)) {
- log.info("Create device {} ", GRanNetworkElement.class.getName());
- return Optional.of(new GRanNetworkElement(acessor, serviceProvider.getDataProvider()));
- } else {
- return Optional.empty();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/impl/DeviceManagerGRanImpl.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/impl/DeviceManagerGRanImpl.java
deleted file mode 100644
index 891feda55..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/impl/DeviceManagerGRanImpl.java
+++ /dev/null
@@ -1,69 +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.devicemanager.gran.impl;
-
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.gran.GRanNetworkElementFactory;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.factory.FactoryRegistration;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.NetconfNetworkElementService;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class DeviceManagerGRanImpl implements AutoCloseable {
-
- private static final Logger LOG = LoggerFactory.getLogger(DeviceManagerGRanImpl.class);
- private static final String APPLICATION_NAME = "DeviceManagerGRan";
-
- private NetconfNetworkElementService netconfNetworkElementService;
-
- private Boolean devicemanagerInitializationOk;
- private FactoryRegistration<GRanNetworkElementFactory> factoryRegistration;
-
- // Blueprint 1
- public DeviceManagerGRanImpl() {
- LOG.info("Creating provider for {}", APPLICATION_NAME);
- devicemanagerInitializationOk = false;
-
- netconfNetworkElementService = null;
- factoryRegistration = null;
-
- }
- public void setNetconfNetworkElementService(NetconfNetworkElementService netconfNetworkElementService) {
- this.netconfNetworkElementService = netconfNetworkElementService;
- }
-
- public void init() throws Exception {
-
- LOG.info("Session Initiated start {}", APPLICATION_NAME);
- // Intialization
- factoryRegistration = netconfNetworkElementService.registerNetworkElementFactory(new GRanNetworkElementFactory());
- netconfNetworkElementService.writeToEventLog(APPLICATION_NAME, "startup", "done");
- this.devicemanagerInitializationOk = true;
-
- LOG.info("Session Initiated end. Initialization done {}", devicemanagerInitializationOk);
- }
-
- @Override
- public void close() throws Exception {
- LOG.info("closing ...");
- if (factoryRegistration != null) {
- factoryRegistration.close();
- }
- LOG.info("closing done");
- }
-
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModelBindingProvider.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModelBindingProvider.java
deleted file mode 100644
index 925890b1a..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModelBindingProvider.java
+++ /dev/null
@@ -1,8 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.top.rev180731;
-
-public final class $YangModelBindingProvider implements org.opendaylight.yangtools.yang.binding.YangModelBindingProvider {
- @java.lang.Override
- public org.opendaylight.yangtools.yang.binding.YangModuleInfo getModuleInfo() {
- return $YangModuleInfoImpl.getInstance();
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModuleInfoImpl.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModuleInfoImpl.java
deleted file mode 100644
index 7b43064b7..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModuleInfoImpl.java
+++ /dev/null
@@ -1,46 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.top.rev180731;
-
-import org.opendaylight.yangtools.yang.binding.ResourceYangModuleInfo;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.binding.YangModuleInfo;
-import java.util.Set;
-import java.util.HashSet;
-import com.google.common.collect.ImmutableSet;
-
-public final class $YangModuleInfoImpl extends ResourceYangModuleInfo {
- private static final QName NAME = QName.create("urn:3gpp:tsg:sa5:nrm:Top", "2018-07-31", "_3gpp-common-top").intern();
- private static final YangModuleInfo INSTANCE = new $YangModuleInfoImpl();
-
- private final Set<YangModuleInfo> importedModules;
-
- public static YangModuleInfo getInstance() {
- return INSTANCE;
- }
-
- public static QName qnameOf(final java.lang.String localName) {
- return QName.create(NAME, localName).intern();
- }
-
- private $YangModuleInfoImpl() {
- Set<YangModuleInfo> set = new HashSet<>();
- set.add(org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl.getInstance());
- importedModules = ImmutableSet.copyOf(set);
- }
-
- @java.lang.Override
- public QName getName() {
- return NAME;
- }
-
- @java.lang.Override
- protected java.lang.String resourceName() {
- return "/META-INF/yang/_3gpp-common-top@2018-07-31.yang";
- }
-
- @java.lang.Override
- public Set<YangModuleInfo> getImportedModules() {
- return importedModules;
- }
-
-
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/TopGrp.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/TopGrp.java
deleted file mode 100644
index 521651261..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/TopGrp.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.top.rev180731;
-import java.lang.String;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TDistinguishedName;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-top</b>
- * <pre>
- * grouping TopGrp {
- * leaf objectClass {
- * type string;
- * }
- * leaf id {
- * type nrm-type:t_DistinguishedName;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-top/TopGrp</i>
- *
- */
-public interface TopGrp
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("TopGrp");
-
- /**
- * @return <code>java.lang.String</code> <code>objectClass</code>, or <code>null</code> if not present
- */
- @Nullable String getObjectClass();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TDistinguishedName</code> <code>id</code>, or <code>null</code> if not present
- */
- @Nullable TDistinguishedName getId();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModelBindingProvider.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModelBindingProvider.java
deleted file mode 100644
index 9bfd8cb97..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModelBindingProvider.java
+++ /dev/null
@@ -1,8 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-
-public final class $YangModelBindingProvider implements org.opendaylight.yangtools.yang.binding.YangModelBindingProvider {
- @java.lang.Override
- public org.opendaylight.yangtools.yang.binding.YangModuleInfo getModuleInfo() {
- return $YangModuleInfoImpl.getInstance();
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModuleInfoImpl.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModuleInfoImpl.java
deleted file mode 100644
index 7ad939ace..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModuleInfoImpl.java
+++ /dev/null
@@ -1,47 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-
-import org.opendaylight.yangtools.yang.binding.ResourceYangModuleInfo;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.binding.YangModuleInfo;
-import java.util.Set;
-import java.util.HashSet;
-import com.google.common.collect.ImmutableSet;
-
-public final class $YangModuleInfoImpl extends ResourceYangModuleInfo {
- private static final QName NAME = QName.create("urn:3gpp:tsg:sa5:nrm:types", "2018-07-31", "_3gpp-common-yang-types").intern();
- private static final YangModuleInfo INSTANCE = new $YangModuleInfoImpl();
-
- private final Set<YangModuleInfo> importedModules;
-
- public static YangModuleInfo getInstance() {
- return INSTANCE;
- }
-
- public static QName qnameOf(final java.lang.String localName) {
- return QName.create(NAME, localName).intern();
- }
-
- private $YangModuleInfoImpl() {
- Set<YangModuleInfo> set = new HashSet<>();
- set.add(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.$YangModuleInfoImpl.getInstance());
- set.add(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.$YangModuleInfoImpl.getInstance());
- importedModules = ImmutableSet.copyOf(set);
- }
-
- @java.lang.Override
- public QName getName() {
- return NAME;
- }
-
- @java.lang.Override
- protected java.lang.String resourceName() {
- return "/META-INF/yang/_3gpp-common-yang-types@2018-07-31.yang";
- }
-
- @java.lang.Override
- public Set<YangModuleInfo> getImportedModules() {
- return importedModules;
- }
-
-
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/AMFIdentifier.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/AMFIdentifier.java
deleted file mode 100644
index 6068ed2e8..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/AMFIdentifier.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping aMFIdentifier {
- * leaf AMF-Region-id {
- * type t_aMF-Region-id;
- * }
- * leaf AMF-Set-id {
- * type t_aMF-Set-id;
- * }
- * leaf AMF-Pointer {
- * type t_aMF-Pointer;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/aMFIdentifier</i>
- *
- */
-public interface AMFIdentifier
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("aMFIdentifier");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFRegionId</code> <code>aMFRegionId</code>, or <code>null</code> if not present
- */
- @Nullable TAMFRegionId getAMFRegionId();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFSetId</code> <code>aMFSetId</code>, or <code>null</code> if not present
- */
- @Nullable TAMFSetId getAMFSetId();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFPointer</code> <code>aMFPointer</code>, or <code>null</code> if not present
- */
- @Nullable TAMFPointer getAMFPointer();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/BwpContext.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/BwpContext.java
deleted file mode 100644
index c9e052bdd..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/BwpContext.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum BwpContext implements Enumeration {
- DL(0, "DL"),
-
- UL(1, "UL"),
-
- SUL(2, "SUL")
- ;
-
- private static final Map<String, BwpContext> NAME_MAP;
- private static final Map<Integer, BwpContext> VALUE_MAP;
-
- static {
- final Builder<String, BwpContext> nb = ImmutableMap.builder();
- final Builder<Integer, BwpContext> vb = ImmutableMap.builder();
- for (BwpContext enumItem : BwpContext.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private BwpContext(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding BwpContext item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<BwpContext> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding BwpContext item, or null if no such item exists
- */
- public static BwpContext forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DataSetId.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DataSetId.java
deleted file mode 100644
index 3585bfbad..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DataSetId.java
+++ /dev/null
@@ -1,75 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum DataSetId implements Enumeration {
- SUBSCRIPTION(0, "SUBSCRIPTION"),
-
- POLICY(1, "POLICY"),
-
- EXPOSURE(2, "EXPOSURE"),
-
- APPLICATION(3, "APPLICATION")
- ;
-
- private static final Map<String, DataSetId> NAME_MAP;
- private static final Map<Integer, DataSetId> VALUE_MAP;
-
- static {
- final Builder<String, DataSetId> nb = ImmutableMap.builder();
- final Builder<Integer, DataSetId> vb = ImmutableMap.builder();
- for (DataSetId enumItem : DataSetId.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private DataSetId(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding DataSetId item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<DataSetId> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding DataSetId item, or null if no such item exists
- */
- public static DataSetId forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DefaultNotificationSubscription.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DefaultNotificationSubscription.java
deleted file mode 100644
index 969d5cb9e..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DefaultNotificationSubscription.java
+++ /dev/null
@@ -1,60 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping defaultNotificationSubscription {
- * leaf notificationType {
- * type NotificationType;
- * }
- * leaf callbackUri {
- * type inet:uri;
- * }
- * leaf n1MessageClass {
- * type N1MessageClass;
- * }
- * leaf n2InformationClass {
- * type N2InformationClass;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/defaultNotificationSubscription</i>
- *
- */
-public interface DefaultNotificationSubscription
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("defaultNotificationSubscription");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.NotificationType</code> <code>notificationType</code>, or <code>null</code> if not present
- */
- @Nullable NotificationType getNotificationType();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri</code> <code>callbackUri</code>, or <code>null</code> if not present
- */
- @Nullable Uri getCallbackUri();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.N1MessageClass</code> <code>n1MessageClass</code>, or <code>null</code> if not present
- */
- @Nullable N1MessageClass getN1MessageClass();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.N2InformationClass</code> <code>n2InformationClass</code>, or <code>null</code> if not present
- */
- @Nullable N2InformationClass getN2InformationClass();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DnnUpfInfoItem.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DnnUpfInfoItem.java
deleted file mode 100644
index a21ffc13a..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DnnUpfInfoItem.java
+++ /dev/null
@@ -1,35 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping DnnUpfInfoItem {
- * leaf dnn {
- * type t_Dnn;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/DnnUpfInfoItem</i>
- *
- */
-public interface DnnUpfInfoItem
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("DnnUpfInfoItem");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TDnn</code> <code>dnn</code>, or <code>null</code> if not present
- */
- @Nullable TDnn getDnn();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Guami.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Guami.java
deleted file mode 100644
index 94a4ca1f3..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Guami.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami.AmfId;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami.PlmnId;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping Guami {
- * container plmnId {
- * uses pLMNId;
- * }
- * container amfId {
- * uses aMFIdentifier;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Guami</i>
- *
- */
-public interface Guami
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Guami");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami.PlmnId</code> <code>plmnId</code>, or <code>null</code> if not present
- */
- @Nullable PlmnId getPlmnId();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami.AmfId</code> <code>amfId</code>, or <code>null</code> if not present
- */
- @Nullable AmfId getAmfId();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IdentityRange.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IdentityRange.java
deleted file mode 100644
index 4146a260e..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IdentityRange.java
+++ /dev/null
@@ -1,52 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping IdentityRange {
- * leaf start {
- * type string;
- * }
- * leaf end {
- * type string;
- * }
- * leaf pattern {
- * type string;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/IdentityRange</i>
- *
- */
-public interface IdentityRange
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("IdentityRange");
-
- /**
- * @return <code>java.lang.String</code> <code>start</code>, or <code>null</code> if not present
- */
- @Nullable String getStart();
-
- /**
- * @return <code>java.lang.String</code> <code>end</code>, or <code>null</code> if not present
- */
- @Nullable String getEnd();
-
- /**
- * @return <code>java.lang.String</code> <code>pattern</code>, or <code>null</code> if not present
- */
- @Nullable String getPattern();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/InterfaceUpfInfoItem.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/InterfaceUpfInfoItem.java
deleted file mode 100644
index a3a32e2f3..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/InterfaceUpfInfoItem.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping InterfaceUpfInfoItem {
- * leaf interfaceType {
- * type UPInterfaceType;
- * }
- * choice address {
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * case endpointFqdn {
- * leaf endpointFqdn {
- * type inet:domain-name;
- * }
- * }
- * }
- * leaf networkInstance {
- * type string;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem</i>
- *
- */
-public interface InterfaceUpfInfoItem
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("InterfaceUpfInfoItem");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.UPInterfaceType</code> <code>interfaceType</code>, or <code>null</code> if not present
- */
- @Nullable UPInterfaceType getInterfaceType();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address</code> <code>address</code>, or <code>null</code> if not present
- */
- @Nullable Address getAddress();
-
- /**
- * @return <code>java.lang.String</code> <code>networkInstance</code>, or <code>null</code> if not present
- */
- @Nullable String getNetworkInstance();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IpEndPoint.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IpEndPoint.java
deleted file mode 100644
index 4853cc331..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IpEndPoint.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.Integer;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.Address;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping ipEndPoint {
- * choice address {
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * }
- * leaf transport {
- * type t_TransportProtocol;
- * }
- * leaf port {
- * type uint16;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/ipEndPoint</i>
- *
- */
-public interface IpEndPoint
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipEndPoint");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.Address</code> <code>address</code>, or <code>null</code> if not present
- */
- @Nullable Address getAddress();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TTransportProtocol</code> <code>transport</code>, or <code>null</code> if not present
- */
- @Nullable TTransportProtocol getTransport();
-
- /**
- * @return <code>java.lang.Integer</code> <code>port</code>, or <code>null</code> if not present
- */
- @Nullable Integer getPort();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv4AddressRange.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv4AddressRange.java
deleted file mode 100644
index 16848931d..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv4AddressRange.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping Ipv4AddressRange {
- * leaf start {
- * type inet:ipv4-address;
- * }
- * leaf end {
- * type inet:ipv4-address;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Ipv4AddressRange</i>
- *
- */
-public interface Ipv4AddressRange
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Ipv4AddressRange");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address</code> <code>start</code>, or <code>null</code> if not present
- */
- @Nullable Ipv4Address getStart();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address</code> <code>end</code>, or <code>null</code> if not present
- */
- @Nullable Ipv4Address getEnd();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv6PrefixRange.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv6PrefixRange.java
deleted file mode 100644
index 60bb7db7d..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv6PrefixRange.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping Ipv6PrefixRange {
- * leaf start {
- * type inet:ipv6-prefix;
- * }
- * leaf end {
- * type inet:ipv6-prefix;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Ipv6PrefixRange</i>
- *
- */
-public interface Ipv6PrefixRange
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Ipv6PrefixRange");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix</code> <code>start</code>, or <code>null</code> if not present
- */
- @Nullable Ipv6Prefix getStart();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix</code> <code>end</code>, or <code>null</code> if not present
- */
- @Nullable Ipv6Prefix getEnd();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IsInitialBwp.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IsInitialBwp.java
deleted file mode 100644
index 7073ca517..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IsInitialBwp.java
+++ /dev/null
@@ -1,71 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum IsInitialBwp implements Enumeration {
- INITIAL(0, "INITIAL"),
-
- OTHER(1, "OTHER")
- ;
-
- private static final Map<String, IsInitialBwp> NAME_MAP;
- private static final Map<Integer, IsInitialBwp> VALUE_MAP;
-
- static {
- final Builder<String, IsInitialBwp> nb = ImmutableMap.builder();
- final Builder<Integer, IsInitialBwp> vb = ImmutableMap.builder();
- for (IsInitialBwp enumItem : IsInitialBwp.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private IsInitialBwp(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding IsInitialBwp item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<IsInitialBwp> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding IsInitialBwp item, or null if no such item exists
- */
- public static IsInitialBwp forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N1MessageClass.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N1MessageClass.java
deleted file mode 100644
index f08c1015f..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N1MessageClass.java
+++ /dev/null
@@ -1,75 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum N1MessageClass implements Enumeration {
- _5GMM(0, "5GMM"),
-
- SM(1, "SM"),
-
- LPP(2, "LPP"),
-
- SMS(3, "SMS")
- ;
-
- private static final Map<String, N1MessageClass> NAME_MAP;
- private static final Map<Integer, N1MessageClass> VALUE_MAP;
-
- static {
- final Builder<String, N1MessageClass> nb = ImmutableMap.builder();
- final Builder<Integer, N1MessageClass> vb = ImmutableMap.builder();
- for (N1MessageClass enumItem : N1MessageClass.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private N1MessageClass(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding N1MessageClass item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<N1MessageClass> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding N1MessageClass item, or null if no such item exists
- */
- public static N1MessageClass forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N2InformationClass.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N2InformationClass.java
deleted file mode 100644
index 8353780bc..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N2InformationClass.java
+++ /dev/null
@@ -1,77 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum N2InformationClass implements Enumeration {
- SM(0, "SM"),
-
- NRPPa(1, "NRPPa"),
-
- PWS(2, "PWS"),
-
- PWSBCAL(3, "PWS-BCAL"),
-
- PWSRF(4, "PWS-RF")
- ;
-
- private static final Map<String, N2InformationClass> NAME_MAP;
- private static final Map<Integer, N2InformationClass> VALUE_MAP;
-
- static {
- final Builder<String, N2InformationClass> nb = ImmutableMap.builder();
- final Builder<Integer, N2InformationClass> vb = ImmutableMap.builder();
- for (N2InformationClass enumItem : N2InformationClass.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private N2InformationClass(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding N2InformationClass item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<N2InformationClass> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding N2InformationClass item, or null if no such item exists
- */
- public static N2InformationClass forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFServiceVersion.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFServiceVersion.java
deleted file mode 100644
index 983cc5be7..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFServiceVersion.java
+++ /dev/null
@@ -1,53 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping NFServiceVersion {
- * leaf apiVersionInUri {
- * type string;
- * }
- * leaf apiFullVersion {
- * type string;
- * }
- * leaf expiry {
- * type yang:date-and-time;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/NFServiceVersion</i>
- *
- */
-public interface NFServiceVersion
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("NFServiceVersion");
-
- /**
- * @return <code>java.lang.String</code> <code>apiVersionInUri</code>, or <code>null</code> if not present
- */
- @Nullable String getApiVersionInUri();
-
- /**
- * @return <code>java.lang.String</code> <code>apiFullVersion</code>, or <code>null</code> if not present
- */
- @Nullable String getApiFullVersion();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime</code> <code>expiry</code>, or <code>null</code> if not present
- */
- @Nullable DateAndTime getExpiry();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFStatus.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFStatus.java
deleted file mode 100644
index aa11f7135..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFStatus.java
+++ /dev/null
@@ -1,71 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum NFStatus implements Enumeration {
- REGISTERED(0, "REGISTERED"),
-
- SUSPENDED(1, "SUSPENDED")
- ;
-
- private static final Map<String, NFStatus> NAME_MAP;
- private static final Map<Integer, NFStatus> VALUE_MAP;
-
- static {
- final Builder<String, NFStatus> nb = ImmutableMap.builder();
- final Builder<Integer, NFStatus> vb = ImmutableMap.builder();
- for (NFStatus enumItem : NFStatus.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private NFStatus(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding NFStatus item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<NFStatus> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding NFStatus item, or null if no such item exists
- */
- public static NFStatus forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFType.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFType.java
deleted file mode 100644
index 8789e4395..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFType.java
+++ /dev/null
@@ -1,107 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum NFType implements Enumeration {
- NRF(0, "NRF"),
-
- UDM(1, "UDM"),
-
- AMF(2, "AMF"),
-
- SMF(3, "SMF"),
-
- AUSF(4, "AUSF"),
-
- NEF(5, "NEF"),
-
- PCF(6, "PCF"),
-
- SMSF(7, "SMSF"),
-
- NSSF(8, "NSSF"),
-
- UDR(9, "UDR"),
-
- LMF(10, "LMF"),
-
- GMLC(11, "GMLC"),
-
- _5GEIR(12, "5G_EIR"),
-
- SEPP(13, "SEPP"),
-
- UPF(14, "UPF"),
-
- N3IWF(15, "N3IWF"),
-
- AF(16, "AF"),
-
- UDSF(17, "UDSF"),
-
- BSF(18, "BSF"),
-
- CHF(19, "CHF")
- ;
-
- private static final Map<String, NFType> NAME_MAP;
- private static final Map<Integer, NFType> VALUE_MAP;
-
- static {
- final Builder<String, NFType> nb = ImmutableMap.builder();
- final Builder<Integer, NFType> vb = ImmutableMap.builder();
- for (NFType enumItem : NFType.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private NFType(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding NFType item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<NFType> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding NFType item, or null if no such item exists
- */
- public static NFType forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationEventType.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationEventType.java
deleted file mode 100644
index e0857a80d..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationEventType.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum NotificationEventType implements Enumeration {
- NFREGISTERED(0, "NF_REGISTERED"),
-
- NFDEREGISTERED(1, "NF_DEREGISTERED"),
-
- NFPROFILECHANGED(2, "NF_PROFILE_CHANGED")
- ;
-
- private static final Map<String, NotificationEventType> NAME_MAP;
- private static final Map<Integer, NotificationEventType> VALUE_MAP;
-
- static {
- final Builder<String, NotificationEventType> nb = ImmutableMap.builder();
- final Builder<Integer, NotificationEventType> vb = ImmutableMap.builder();
- for (NotificationEventType enumItem : NotificationEventType.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private NotificationEventType(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding NotificationEventType item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<NotificationEventType> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding NotificationEventType item, or null if no such item exists
- */
- public static NotificationEventType forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationType.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationType.java
deleted file mode 100644
index e78ba7b4d..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationType.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum NotificationType implements Enumeration {
- N1MESSAGES(0, "N1_MESSAGES"),
-
- N2INFORMATION(1, "N2_INFORMATION"),
-
- LOCATIONNOTIFICATION(2, "LOCATION_NOTIFICATION")
- ;
-
- private static final Map<String, NotificationType> NAME_MAP;
- private static final Map<Integer, NotificationType> VALUE_MAP;
-
- static {
- final Builder<String, NotificationType> nb = ImmutableMap.builder();
- final Builder<Integer, NotificationType> vb = ImmutableMap.builder();
- for (NotificationType enumItem : NotificationType.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private NotificationType(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding NotificationType item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<NotificationType> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding NotificationType item, or null if no such item exists
- */
- public static NotificationType forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/PLMNId.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/PLMNId.java
deleted file mode 100644
index 24bb8d6d5..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/PLMNId.java
+++ /dev/null
@@ -1,55 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- * A Public Land Mobile Network is uniquely identified by its PLMN identifier.
- * PLMN-Id consists of Mobile Country Code (MCC) and Mobile Network Code (MNC).
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping pLMNId {
- * leaf MCC {
- * type t_mcc;
- * }
- * leaf MNC {
- * type t_mnc;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/pLMNId</i>
- *
- */
-public interface PLMNId
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("pLMNId");
-
- /**
- * Mobile Country Code (MCC), consisting of three decimal digits.The MCC identifies
- * uniquely the country of domicile of the mobile subscription.
- *
- *
- *
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TMcc</code> <code>mCC</code>, or <code>null</code> if not present
- */
- @Nullable TMcc getMCC();
-
- /**
- * Mobile Network Code (MNC), consisting of two or three decimal digits.The MNC
- * identifies the home PLMN of the mobile subscription.
- *
- *
- *
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TMnc</code> <code>mNC</code>, or <code>null</code> if not present
- */
- @Nullable TMnc getMNC();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/QOffsetRange.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/QOffsetRange.java
deleted file mode 100644
index 5854ab526..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/QOffsetRange.java
+++ /dev/null
@@ -1,83 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.Short;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class QOffsetRange
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 6398961204554971940L;
- private final Short _value;
-
- private static void check_valueRange(final short value) {
- if (value >= (short)0 && value <= (short)255) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..255]]", value);
- }
-
- @ConstructorProperties("value")
- public QOffsetRange(Short _value) {
- if (_value != null) {
- check_valueRange(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public QOffsetRange(QOffsetRange source) {
- this._value = source._value;
- }
-
- public static QOffsetRange getDefaultInstance(String defaultValue) {
- return new QOffsetRange(Short.valueOf(defaultValue));
- }
-
- public Short getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- QOffsetRange other = (QOffsetRange) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(QOffsetRange.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/RRMPolicyRatio2.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/RRMPolicyRatio2.java
deleted file mode 100644
index 5669971d9..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/RRMPolicyRatio2.java
+++ /dev/null
@@ -1,86 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.Integer;
-import java.lang.Short;
-import java.util.List;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping RRMPolicyRatio2 {
- * leaf groupId {
- * type uint16;
- * }
- * leaf-list sNSSAI {
- * type t_s-NSSAI;
- * }
- * leaf quotaType {
- * type t_quotaType;
- * }
- * leaf rRMPolicyMaxRation {
- * type uint8;
- * }
- * leaf rRMPolicyMarginMaxRation {
- * type uint8;
- * }
- * leaf rRMPolicyMinRation {
- * type uint8;
- * }
- * leaf rRMPolicyMarginMinRation {
- * type uint8;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/RRMPolicyRatio2</i>
- *
- */
-public interface RRMPolicyRatio2
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("RRMPolicyRatio2");
-
- /**
- * @return <code>java.lang.Integer</code> <code>groupId</code>, or <code>null</code> if not present
- */
- @Nullable Integer getGroupId();
-
- /**
- * @return <code>java.util.List</code> <code>sNSSAI</code>, or <code>null</code> if not present
- */
- @Nullable List<TSNSSAI> getSNSSAI();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TQuotaType</code> <code>quotaType</code>, or <code>null</code> if not present
- */
- @Nullable TQuotaType getQuotaType();
-
- /**
- * @return <code>java.lang.Short</code> <code>rRMPolicyMaxRation</code>, or <code>null</code> if not present
- */
- @Nullable Short getRRMPolicyMaxRation();
-
- /**
- * @return <code>java.lang.Short</code> <code>rRMPolicyMarginMaxRation</code>, or <code>null</code> if not present
- */
- @Nullable Short getRRMPolicyMarginMaxRation();
-
- /**
- * @return <code>java.lang.Short</code> <code>rRMPolicyMinRation</code>, or <code>null</code> if not present
- */
- @Nullable Short getRRMPolicyMinRation();
-
- /**
- * @return <code>java.lang.Short</code> <code>rRMPolicyMarginMinRation</code>, or <code>null</code> if not present
- */
- @Nullable Short getRRMPolicyMarginMinRation();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SnssaiUpfInfoItem.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SnssaiUpfInfoItem.java
deleted file mode 100644
index 04f47b0f4..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SnssaiUpfInfoItem.java
+++ /dev/null
@@ -1,55 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.util.List;
-import org.eclipse.jdt.annotation.NonNull;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.snssaiupfinfoitem.DnnUpfInfo;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping SnssaiUpfInfoItem {
- * leaf sNssai {
- * type t_s-NSSAI;
- * }
- * list dnnUpfInfo {
- * key dnn;
- * uses DnnUpfInfoItem;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/SnssaiUpfInfoItem</i>
- *
- */
-public interface SnssaiUpfInfoItem
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("SnssaiUpfInfoItem");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TSNSSAI</code> <code>sNssai</code>, or <code>null</code> if not present
- */
- @Nullable TSNSSAI getSNssai();
-
- /**
- * @return <code>java.util.List</code> <code>dnnUpfInfo</code>, or <code>null</code> if not present
- */
- @Nullable List<DnnUpfInfo> getDnnUpfInfo();
-
- /**
- * @return <code>java.util.List</code> <code>dnnUpfInfo</code>, or an empty list if it is not present
- */
- default @NonNull List<DnnUpfInfo> nonnullDnnUpfInfo() {
- return CodeHelpers.nonnull(getDnnUpfInfo());
- }
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupiRange.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupiRange.java
deleted file mode 100644
index e959fcaad..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupiRange.java
+++ /dev/null
@@ -1,52 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping SupiRange {
- * leaf start {
- * type string;
- * }
- * leaf end {
- * type string;
- * }
- * leaf pattern {
- * type string;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/SupiRange</i>
- *
- */
-public interface SupiRange
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("SupiRange");
-
- /**
- * @return <code>java.lang.String</code> <code>start</code>, or <code>null</code> if not present
- */
- @Nullable String getStart();
-
- /**
- * @return <code>java.lang.String</code> <code>end</code>, or <code>null</code> if not present
- */
- @Nullable String getEnd();
-
- /**
- * @return <code>java.lang.String</code> <code>pattern</code>, or <code>null</code> if not present
- */
- @Nullable String getPattern();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java
deleted file mode 100644
index dec0ed6c6..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java
+++ /dev/null
@@ -1,85 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class SupportedFeatures
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 237085469237900179L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[A-Fa-f0-9]*)$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[A-Fa-f0-9]*";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- }
-
- @ConstructorProperties("value")
- public SupportedFeatures(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public SupportedFeatures(SupportedFeatures source) {
- this._value = source._value;
- }
-
- public static SupportedFeatures getDefaultInstance(String defaultValue) {
- return new SupportedFeatures(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- SupportedFeatures other = (SupportedFeatures) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(SupportedFeatures.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java
deleted file mode 100644
index 05ec3a321..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java
+++ /dev/null
@@ -1,90 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TAMFPointer
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -7925647994457565082L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[01]*)$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[01]*";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- final int length = value.length();
- if (length == 6) {
- return;
- }
- CodeHelpers.throwInvalidLength("[[6..6]]", value);
- }
-
- @ConstructorProperties("value")
- public TAMFPointer(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TAMFPointer(TAMFPointer source) {
- this._value = source._value;
- }
-
- public static TAMFPointer getDefaultInstance(String defaultValue) {
- return new TAMFPointer(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TAMFPointer other = (TAMFPointer) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TAMFPointer.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFRegionId.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFRegionId.java
deleted file mode 100644
index bb70b4fc4..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFRegionId.java
+++ /dev/null
@@ -1,90 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TAMFRegionId
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -4812289071560773109L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[01]*)$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[01]*";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- final int length = value.length();
- if (length == 8) {
- return;
- }
- CodeHelpers.throwInvalidLength("[[8..8]]", value);
- }
-
- @ConstructorProperties("value")
- public TAMFRegionId(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TAMFRegionId(TAMFRegionId source) {
- this._value = source._value;
- }
-
- public static TAMFRegionId getDefaultInstance(String defaultValue) {
- return new TAMFRegionId(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TAMFRegionId other = (TAMFRegionId) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TAMFRegionId.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFSetId.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFSetId.java
deleted file mode 100644
index 6ecd82e95..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFSetId.java
+++ /dev/null
@@ -1,90 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TAMFSetId
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 6265848852591033404L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[01]*)$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[01]*";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- final int length = value.length();
- if (length == 10) {
- return;
- }
- CodeHelpers.throwInvalidLength("[[10..10]]", value);
- }
-
- @ConstructorProperties("value")
- public TAMFSetId(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TAMFSetId(TAMFSetId source) {
- this._value = source._value;
- }
-
- public static TAMFSetId getDefaultInstance(String defaultValue) {
- return new TAMFSetId(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TAMFSetId other = (TAMFSetId) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TAMFSetId.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAdministrativeState.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAdministrativeState.java
deleted file mode 100644
index 2838c3c5c..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAdministrativeState.java
+++ /dev/null
@@ -1,89 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TAdministrativeState implements Enumeration {
- /**
- * The resource is administratively prohibited from performingservices for its
- * users.
- *
- */
- Locked(0, "Locked"),
-
- /**
- * Use of the resource is administratively permitted to existinginstances of use
- * only. While the system remains in the shutting down statethe manager may at any
- * time cause the managed object to revert to theunlocked state.
- *
- */
- Shutdown(1, "Shutdown"),
-
- /**
- * The resource is administratively permitted to perform services forits users.
- * This is independent of its inherent operability.
- *
- */
- Unlocked(2, "Unlocked")
- ;
-
- private static final Map<String, TAdministrativeState> NAME_MAP;
- private static final Map<Integer, TAdministrativeState> VALUE_MAP;
-
- static {
- final Builder<String, TAdministrativeState> nb = ImmutableMap.builder();
- final Builder<Integer, TAdministrativeState> vb = ImmutableMap.builder();
- for (TAdministrativeState enumItem : TAdministrativeState.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TAdministrativeState(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TAdministrativeState item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TAdministrativeState> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TAdministrativeState item, or null if no such item exists
- */
- public static TAdministrativeState forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAvailabilityStatus.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAvailabilityStatus.java
deleted file mode 100644
index d86f68880..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAvailabilityStatus.java
+++ /dev/null
@@ -1,147 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TAvailabilityStatus implements Enumeration {
- /**
- * The resource is undergoing a test procedure. If the administrativestate is
- * locked or shutting down then normal users are precluded from usingthe resource
- * and the control status attribute has the value reserved for test.Tests that do
- * not exclude additional users can be present in any operationalor administrative
- * state but the reserved for test condition should not bepresent.
- *
- */
- INTEST(0, "IN TEST"),
-
- /**
- * The resource has an internal fault that prevents it from operating.The
- * operational state is disabled.
- *
- */
- FAILED(1, "FAILED"),
-
- /**
- * The resource requires power to be applied and is not powered on.For example, a
- * fuse or other protection device is known to have removedpower or a low voltage
- * condition has been detected. The operational stateis disabled.
- *
- */
- POWEROFF(2, "POWER OFF"),
-
- /**
- * The resource requires a routine operation to be performed to placeit online and
- * make it available for use. The operation may be manual orautomatic, or both. The
- * operational state is disabled.
- *
- */
- OFFLINE(3, "OFF LINE"),
-
- /**
- * The resource has been made inactive by an internal control processin accordance
- * with a predetermined time schedule. Under normal conditionsthe control process
- * can be expected to reactivate the resource at somescheduled time, and it is
- * therefore considered to be optional. Theoperational state is enabled or
- * disabled.
- *
- */
- OFFDUTY(4, "OFF DUTY"),
-
- /**
- * The resource cannot operate because some other resource on which itdepends is
- * (i.e. a resource not represented by the same managed object)unavailable. For
- * example, a device is not accessible because its controlleris powered off. The
- * operational state is disabled.
- *
- */
- DEPENDENCY(5, "DEPENDENCY"),
-
- /**
- * The service available from the resource is degraded in some respect,such as in
- * speed or operating capacity. Failure of a test or an unacceptableperformance
- * measurement has established that some or all services are notfunctional or are
- * degraded due to the presence of a defect. However, theresource remains available
- * for service, either because some services aresatisfactory or because degraded
- * service is preferable to no service at all.Object specific attributes may be
- * defined to represent further informationindicating, for example, which services
- * are not functional and the nature ofthe degradation. The operational state is
- * enabled.
- *
- */
- DEGRADED(6, "DEGRADED"),
-
- /**
- * The resource represented by the managed object is not present, or isincomplete.
- * For example, a plug-in module is missing, a cable is disconnectedor a software
- * module is not loaded. The operational state is disabled.
- *
- */
- NOTINSTALLED(7, "NOT INSTALLED"),
-
- /**
- * This indicates a log full condition.
- *
- */
- LOGFULL(8, "LOG FULL")
- ;
-
- private static final Map<String, TAvailabilityStatus> NAME_MAP;
- private static final Map<Integer, TAvailabilityStatus> VALUE_MAP;
-
- static {
- final Builder<String, TAvailabilityStatus> nb = ImmutableMap.builder();
- final Builder<Integer, TAvailabilityStatus> vb = ImmutableMap.builder();
- for (TAvailabilityStatus enumItem : TAvailabilityStatus.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TAvailabilityStatus(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TAvailabilityStatus item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TAvailabilityStatus> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TAvailabilityStatus item, or null if no such item exists
- */
- public static TAvailabilityStatus forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCellState.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCellState.java
deleted file mode 100644
index 0082d6c4b..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCellState.java
+++ /dev/null
@@ -1,85 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TCellState implements Enumeration {
- /**
- * The resource is not currently in use.
- *
- */
- Idle(0, "Idle"),
-
- /**
- * The resource is not available for use.
- *
- */
- Inactive(1, "Inactive"),
-
- /**
- * The resource is in use.
- *
- */
- Active(2, "Active")
- ;
-
- private static final Map<String, TCellState> NAME_MAP;
- private static final Map<Integer, TCellState> VALUE_MAP;
-
- static {
- final Builder<String, TCellState> nb = ImmutableMap.builder();
- final Builder<Integer, TCellState> vb = ImmutableMap.builder();
- for (TCellState enumItem : TCellState.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TCellState(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TCellState item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TCellState> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TCellState item, or null if no such item exists
- */
- public static TCellState forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCyclicPrefix.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCyclicPrefix.java
deleted file mode 100644
index e8b2f3fed..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCyclicPrefix.java
+++ /dev/null
@@ -1,71 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TCyclicPrefix implements Enumeration {
- Normal(0, "Normal"),
-
- Extended(1, "Extended")
- ;
-
- private static final Map<String, TCyclicPrefix> NAME_MAP;
- private static final Map<Integer, TCyclicPrefix> VALUE_MAP;
-
- static {
- final Builder<String, TCyclicPrefix> nb = ImmutableMap.builder();
- final Builder<Integer, TCyclicPrefix> vb = ImmutableMap.builder();
- for (TCyclicPrefix enumItem : TCyclicPrefix.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TCyclicPrefix(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TCyclicPrefix item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TCyclicPrefix> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TCyclicPrefix item, or null if no such item exists
- */
- public static TCyclicPrefix forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDistinguishedName.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDistinguishedName.java
deleted file mode 100644
index fbf1a49d1..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDistinguishedName.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TDistinguishedName
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 2209417379079206418L;
- private final String _value;
-
-
- @ConstructorProperties("value")
- public TDistinguishedName(String _value) {
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TDistinguishedName(TDistinguishedName source) {
- this._value = source._value;
- }
-
- public static TDistinguishedName getDefaultInstance(String defaultValue) {
- return new TDistinguishedName(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TDistinguishedName other = (TDistinguishedName) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TDistinguishedName.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDnn.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDnn.java
deleted file mode 100644
index b7d485793..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDnn.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TDnn
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -6761478371390250952L;
- private final String _value;
-
-
- @ConstructorProperties("value")
- public TDnn(String _value) {
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TDnn(TDnn source) {
- this._value = source._value;
- }
-
- public static TDnn getDefaultInstance(String defaultValue) {
- return new TDnn(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TDnn other = (TDnn) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TDnn.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java
deleted file mode 100644
index 65038cb7d..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java
+++ /dev/null
@@ -1,83 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.Short;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TLoad
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -1391841480548249841L;
- private final Short _value;
-
- private static void check_valueRange(final short value) {
- if (value >= (short)0 && value <= (short)100) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..100]]", value);
- }
-
- @ConstructorProperties("value")
- public TLoad(Short _value) {
- if (_value != null) {
- check_valueRange(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TLoad(TLoad source) {
- this._value = source._value;
- }
-
- public static TLoad getDefaultInstance(String defaultValue) {
- return new TLoad(Short.valueOf(defaultValue));
- }
-
- public Short getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TLoad other = (TLoad) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TLoad.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMcc.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMcc.java
deleted file mode 100644
index a5d32a30b..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMcc.java
+++ /dev/null
@@ -1,85 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TMcc
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 8336530756398858673L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[02-79][0-9][0-9])$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[02-79][0-9][0-9]";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- }
-
- @ConstructorProperties("value")
- public TMcc(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TMcc(TMcc source) {
- this._value = source._value;
- }
-
- public static TMcc getDefaultInstance(String defaultValue) {
- return new TMcc(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TMcc other = (TMcc) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TMcc.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMnc.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMnc.java
deleted file mode 100644
index d5de22dfe..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMnc.java
+++ /dev/null
@@ -1,85 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TMnc
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 7207647705509368021L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[0-9][0-9][0-9]|[0-9][0-9])$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[0-9][0-9][0-9]|[0-9][0-9]";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- }
-
- @ConstructorProperties("value")
- public TMnc(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TMnc(TMnc source) {
- this._value = source._value;
- }
-
- public static TMnc getDefaultInstance(String defaultValue) {
- return new TMnc(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TMnc other = (TMnc) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TMnc.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java
deleted file mode 100644
index e7786506f..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java
+++ /dev/null
@@ -1,93 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TNCI
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 6536694555014033331L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[01]*)$", "^(?:[a-fA-F0-9]*)$");
- private static final Pattern[] patterns = CodeHelpers.compilePatterns(PATTERN_CONSTANTS);
- private static final String[] regexes = { "[01]*", "[a-fA-F0-9]*" };
- private final String _string;
-
-
- private static void check_stringLength(final String value) {
- final int length = value.length();
- if (length == 36) {
- return;
- }
- CodeHelpers.throwInvalidLength("[[36..36]]", value);
- }
- public TNCI(String _string) {
- super();
- check_stringLength(_string);
-
- this._string = _string;
- }
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TNCI(TNCI source) {
- this._string = source._string;
- }
-
- /**
- * Return a String representing the value of this union.
- *
- * @return String representation of this union's value.
- */
- public String stringValue() {
- if (_string != null) {
- return _string;
- }
-
- throw new IllegalStateException("No value assinged");
- }
-
-
- public String getString() {
- return _string;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_string);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TNCI other = (TNCI) obj;
- if (!Objects.equals(_string, other._string)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TNCI.class);
- CodeHelpers.appendValue(helper, "_string", _string);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCIBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCIBuilder.java
deleted file mode 100644
index 3c8462dd0..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCIBuilder.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class TNCIBuilder {
- private TNCIBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static TNCI getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNRPCI.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNRPCI.java
deleted file mode 100644
index 72a8400ba..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNRPCI.java
+++ /dev/null
@@ -1,83 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Long;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TNRPCI
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -8223745380422869872L;
- private final Long _value;
-
- private static void check_valueRange(final long value) {
- if (value >= 0L && value <= 4294967295L) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..4294967295]]", value);
- }
-
- @ConstructorProperties("value")
- public TNRPCI(Long _value) {
- if (_value != null) {
- check_valueRange(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TNRPCI(TNRPCI source) {
- this._value = source._value;
- }
-
- public static TNRPCI getDefaultInstance(String defaultValue) {
- return new TNRPCI(Long.valueOf(defaultValue));
- }
-
- public Long getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TNRPCI other = (TNRPCI) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TNRPCI.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNsiId.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNsiId.java
deleted file mode 100644
index 1ae6f3c02..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNsiId.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TNsiId
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 5629408106052088513L;
- private final String _value;
-
-
- @ConstructorProperties("value")
- public TNsiId(String _value) {
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TNsiId(TNsiId source) {
- this._value = source._value;
- }
-
- public static TNsiId getDefaultInstance(String defaultValue) {
- return new TNsiId(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TNsiId other = (TNsiId) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TNsiId.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TOperationalState.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TOperationalState.java
deleted file mode 100644
index 8aae8b46d..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TOperationalState.java
+++ /dev/null
@@ -1,79 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TOperationalState implements Enumeration {
- /**
- * The resource is partially or fully operable and available for use.
- *
- */
- Enabled(0, "Enabled"),
-
- /**
- * The resource is totally inoperable and unable to provide serviceto the user(s).
- *
- */
- Disabled(1, "Disabled")
- ;
-
- private static final Map<String, TOperationalState> NAME_MAP;
- private static final Map<Integer, TOperationalState> VALUE_MAP;
-
- static {
- final Builder<String, TOperationalState> nb = ImmutableMap.builder();
- final Builder<Integer, TOperationalState> vb = ImmutableMap.builder();
- for (TOperationalState enumItem : TOperationalState.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TOperationalState(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TOperationalState item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TOperationalState> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TOperationalState item, or null if no such item exists
- */
- public static TOperationalState forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TQuotaType.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TQuotaType.java
deleted file mode 100644
index 2b66b0cbf..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TQuotaType.java
+++ /dev/null
@@ -1,71 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TQuotaType implements Enumeration {
- Strict(0, "strict"),
-
- Float(1, "float")
- ;
-
- private static final Map<String, TQuotaType> NAME_MAP;
- private static final Map<Integer, TQuotaType> VALUE_MAP;
-
- static {
- final Builder<String, TQuotaType> nb = ImmutableMap.builder();
- final Builder<Integer, TQuotaType> vb = ImmutableMap.builder();
- for (TQuotaType enumItem : TQuotaType.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TQuotaType(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TQuotaType item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TQuotaType> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TQuotaType item, or null if no such item exists
- */
- public static TQuotaType forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TResourceSharingLevel.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TResourceSharingLevel.java
deleted file mode 100644
index ea8eca6ec..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TResourceSharingLevel.java
+++ /dev/null
@@ -1,71 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TResourceSharingLevel implements Enumeration {
- Shared(0, "shared"),
-
- NotShared(1, "not-shared")
- ;
-
- private static final Map<String, TResourceSharingLevel> NAME_MAP;
- private static final Map<Integer, TResourceSharingLevel> VALUE_MAP;
-
- static {
- final Builder<String, TResourceSharingLevel> nb = ImmutableMap.builder();
- final Builder<Integer, TResourceSharingLevel> vb = ImmutableMap.builder();
- for (TResourceSharingLevel enumItem : TResourceSharingLevel.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TResourceSharingLevel(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TResourceSharingLevel item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TResourceSharingLevel> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TResourceSharingLevel item, or null if no such item exists
- */
- public static TResourceSharingLevel forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAI.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAI.java
deleted file mode 100644
index 09cf3522e..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAI.java
+++ /dev/null
@@ -1,120 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.io.Serializable;
-import java.lang.Long;
-import java.lang.Override;
-import java.lang.Short;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TSNSSAI
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -2943261658086489871L;
- private final Short _uint8;
- private final Long _uint32;
-
-
- private static void checkUint8Range(final short value) {
- if (value >= (short)0 && value <= (short)255) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..255]]", value);
- }
- public TSNSSAI(Short _uint8) {
- super();
- checkUint8Range(_uint8);
-
- this._uint8 = _uint8;
- this._uint32 = null;
- }
-
- private static void checkUint32Range(final long value) {
- if (value >= 0L && value <= 4294967295L) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..4294967295]]", value);
- }
- public TSNSSAI(Long _uint32) {
- super();
- checkUint32Range(_uint32);
-
- this._uint32 = _uint32;
- this._uint8 = null;
- }
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TSNSSAI(TSNSSAI source) {
- this._uint8 = source._uint8;
- this._uint32 = source._uint32;
- }
-
- /**
- * Return a String representing the value of this union.
- *
- * @return String representation of this union's value.
- */
- public String stringValue() {
- if (_uint8 != null) {
- return _uint8.toString();
- }
- if (_uint32 != null) {
- return _uint32.toString();
- }
-
- throw new IllegalStateException("No value assinged");
- }
-
-
- public Short getUint8() {
- return _uint8;
- }
-
- public Long getUint32() {
- return _uint32;
- }
-
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_uint8);
- result = prime * result + Objects.hashCode(_uint32);
- return result;
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TSNSSAI other = (TSNSSAI) obj;
- if (!Objects.equals(_uint8, other._uint8)) {
- return false;
- }
- if (!Objects.equals(_uint32, other._uint32)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TSNSSAI.class);
- CodeHelpers.appendValue(helper, "_uint8", _uint8);
- CodeHelpers.appendValue(helper, "_uint32", _uint32);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAIBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAIBuilder.java
deleted file mode 100644
index b0d11a747..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAIBuilder.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class TSNSSAIBuilder {
- private TSNSSAIBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static TSNSSAI getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSST.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSST.java
deleted file mode 100644
index 1045aa995..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSST.java
+++ /dev/null
@@ -1,83 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.Short;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TSST
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -2844923602415446951L;
- private final Short _value;
-
- private static void check_valueRange(final short value) {
- if (value >= (short)0 && value <= (short)255) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..255]]", value);
- }
-
- @ConstructorProperties("value")
- public TSST(Short _value) {
- if (_value != null) {
- check_valueRange(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TSST(TSST source) {
- this._value = source._value;
- }
-
- public static TSST getDefaultInstance(String defaultValue) {
- return new TSST(Short.valueOf(defaultValue));
- }
-
- public Short getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TSST other = (TSST) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TSST.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSubcarrierSpacing.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSubcarrierSpacing.java
deleted file mode 100644
index 49124021e..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSubcarrierSpacing.java
+++ /dev/null
@@ -1,75 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TSubcarrierSpacing implements Enumeration {
- _15(0, "15"),
-
- _30(1, "30"),
-
- _60(2, "60"),
-
- _120(3, "120")
- ;
-
- private static final Map<String, TSubcarrierSpacing> NAME_MAP;
- private static final Map<Integer, TSubcarrierSpacing> VALUE_MAP;
-
- static {
- final Builder<String, TSubcarrierSpacing> nb = ImmutableMap.builder();
- final Builder<Integer, TSubcarrierSpacing> vb = ImmutableMap.builder();
- for (TSubcarrierSpacing enumItem : TSubcarrierSpacing.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TSubcarrierSpacing(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TSubcarrierSpacing item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TSubcarrierSpacing> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TSubcarrierSpacing item, or null if no such item exists
- */
- public static TSubcarrierSpacing forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java
deleted file mode 100644
index f85c972b7..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java
+++ /dev/null
@@ -1,93 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TTAC
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -7663797870532797015L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[a-fA-F0-9]*)$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[a-fA-F0-9]*";
- private final String _string;
-
-
- private static void check_stringLength(final String value) {
- final int length = value.length();
- if (length == 4) {
- return;
- }
- CodeHelpers.throwInvalidLength("[[4..4]]", value);
- }
- public TTAC(String _string) {
- super();
- check_stringLength(_string);
-
- this._string = _string;
- }
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TTAC(TTAC source) {
- this._string = source._string;
- }
-
- /**
- * Return a String representing the value of this union.
- *
- * @return String representation of this union's value.
- */
- public String stringValue() {
- if (_string != null) {
- return _string;
- }
-
- throw new IllegalStateException("No value assinged");
- }
-
-
- public String getString() {
- return _string;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_string);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TTAC other = (TTAC) obj;
- if (!Objects.equals(_string, other._string)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TTAC.class);
- CodeHelpers.appendValue(helper, "_string", _string);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTACBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTACBuilder.java
deleted file mode 100644
index e9aba2668..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTACBuilder.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class TTACBuilder {
- private TTACBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static TTAC getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTransportProtocol.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTransportProtocol.java
deleted file mode 100644
index bfdf26cc1..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTransportProtocol.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TTransportProtocol implements Enumeration {
- TCP(0, "TCP"),
-
- STCP(1, "STCP"),
-
- UDP(2, "UDP")
- ;
-
- private static final Map<String, TTransportProtocol> NAME_MAP;
- private static final Map<Integer, TTransportProtocol> VALUE_MAP;
-
- static {
- final Builder<String, TTransportProtocol> nb = ImmutableMap.builder();
- final Builder<Integer, TTransportProtocol> vb = ImmutableMap.builder();
- for (TTransportProtocol enumItem : TTransportProtocol.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TTransportProtocol(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TTransportProtocol item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TTransportProtocol> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TTransportProtocol item, or null if no such item exists
- */
- public static TTransportProtocol forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TUEMobilityLevel.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TUEMobilityLevel.java
deleted file mode 100644
index 96aa56c07..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TUEMobilityLevel.java
+++ /dev/null
@@ -1,75 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TUEMobilityLevel implements Enumeration {
- Stationary(0, "stationary"),
-
- Nomadic(1, "nomadic"),
-
- RestrictedMobility(2, "restricted mobility"),
-
- FullyMobility(3, "fully mobility")
- ;
-
- private static final Map<String, TUEMobilityLevel> NAME_MAP;
- private static final Map<Integer, TUEMobilityLevel> VALUE_MAP;
-
- static {
- final Builder<String, TUEMobilityLevel> nb = ImmutableMap.builder();
- final Builder<Integer, TUEMobilityLevel> vb = ImmutableMap.builder();
- for (TUEMobilityLevel enumItem : TUEMobilityLevel.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TUEMobilityLevel(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TUEMobilityLevel item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TUEMobilityLevel> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TUEMobilityLevel item, or null if no such item exists
- */
- public static TUEMobilityLevel forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Tai.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Tai.java
deleted file mode 100644
index 325f70a66..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Tai.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.tai.PlmnId;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping Tai {
- * container plmnId {
- * uses pLMNId;
- * }
- * leaf tac {
- * type t_tAC;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Tai</i>
- *
- */
-public interface Tai
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Tai");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.tai.PlmnId</code> <code>plmnId</code>, or <code>null</code> if not present
- */
- @Nullable PlmnId getPlmnId();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TTAC</code> <code>tac</code>, or <code>null</code> if not present
- */
- @Nullable TTAC getTac();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TxDirection.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TxDirection.java
deleted file mode 100644
index a02cee620..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TxDirection.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TxDirection implements Enumeration {
- DL(0, "DL"),
-
- UL(1, "UL"),
-
- DLAndUL(2, "DL and UL")
- ;
-
- private static final Map<String, TxDirection> NAME_MAP;
- private static final Map<Integer, TxDirection> VALUE_MAP;
-
- static {
- final Builder<String, TxDirection> nb = ImmutableMap.builder();
- final Builder<Integer, TxDirection> vb = ImmutableMap.builder();
- for (TxDirection enumItem : TxDirection.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TxDirection(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TxDirection item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TxDirection> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TxDirection item, or null if no such item exists
- */
- public static TxDirection forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/UPInterfaceType.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/UPInterfaceType.java
deleted file mode 100644
index bdcf43aee..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/UPInterfaceType.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum UPInterfaceType implements Enumeration {
- N3(0, "N3"),
-
- N6(1, "N6"),
-
- N9(2, "N9")
- ;
-
- private static final Map<String, UPInterfaceType> NAME_MAP;
- private static final Map<Integer, UPInterfaceType> VALUE_MAP;
-
- static {
- final Builder<String, UPInterfaceType> nb = ImmutableMap.builder();
- final Builder<Integer, UPInterfaceType> vb = ImmutableMap.builder();
- for (UPInterfaceType enumItem : UPInterfaceType.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private UPInterfaceType(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding UPInterfaceType item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<UPInterfaceType> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding UPInterfaceType item, or null if no such item exists
- */
- public static UPInterfaceType forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfId.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfId.java
deleted file mode 100644
index 3918d23d0..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfId.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.AMFIdentifier;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.Guami;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.ChildOf;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * container amfId {
- * uses aMFIdentifier;
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Guami/amfId</i>
- *
- * <p>To create instances of this class use {@link AmfIdBuilder}.
- * @see AmfIdBuilder
- *
- */
-public interface AmfId
- extends
- ChildOf<Guami>,
- Augmentable<AmfId>,
- AMFIdentifier
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("amfId");
-
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfIdBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfIdBuilder.java
deleted file mode 100644
index 03348babe..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfIdBuilder.java
+++ /dev/null
@@ -1,255 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableMap;
-import java.lang.Class;
-import java.lang.Object;
-import java.lang.Override;
-import java.lang.String;
-import java.lang.SuppressWarnings;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFPointer;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFRegionId;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFSetId;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.Augmentation;
-import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-
-/**
- * Class that builds {@link AmfIdBuilder} instances.
- *
- * @see AmfIdBuilder
- *
- */
-public class AmfIdBuilder implements Builder<AmfId> {
-
- private TAMFPointer _aMFPointer;
- private TAMFRegionId _aMFRegionId;
- private TAMFSetId _aMFSetId;
-
-
- Map<Class<? extends Augmentation<AmfId>>, Augmentation<AmfId>> augmentation = Collections.emptyMap();
-
- public AmfIdBuilder() {
- }
- public AmfIdBuilder(org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.AMFIdentifier arg) {
- this._aMFRegionId = arg.getAMFRegionId();
- this._aMFSetId = arg.getAMFSetId();
- this._aMFPointer = arg.getAMFPointer();
- }
-
- public AmfIdBuilder(AmfId base) {
- this._aMFPointer = base.getAMFPointer();
- this._aMFRegionId = base.getAMFRegionId();
- this._aMFSetId = base.getAMFSetId();
- if (base instanceof AmfIdImpl) {
- AmfIdImpl impl = (AmfIdImpl) base;
- if (!impl.augmentation.isEmpty()) {
- this.augmentation = new HashMap<>(impl.augmentation);
- }
- } else if (base instanceof AugmentationHolder) {
- @SuppressWarnings("unchecked")
- Map<Class<? extends Augmentation<AmfId>>, Augmentation<AmfId>> aug =((AugmentationHolder<AmfId>) base).augmentations();
- if (!aug.isEmpty()) {
- this.augmentation = new HashMap<>(aug);
- }
- }
- }
-
- /**
- * Set fields from given grouping argument. Valid argument is instance of one of following types:
- * <ul>
- * <li>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.AMFIdentifier</li>
- * </ul>
- *
- * @param arg grouping object
- * @throws IllegalArgumentException if given argument is none of valid types
- */
- public void fieldsFrom(DataObject arg) {
- boolean isValidArg = false;
- if (arg instanceof org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.AMFIdentifier) {
- this._aMFRegionId = ((org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.AMFIdentifier)arg).getAMFRegionId();
- this._aMFSetId = ((org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.AMFIdentifier)arg).getAMFSetId();
- this._aMFPointer = ((org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.AMFIdentifier)arg).getAMFPointer();
- isValidArg = true;
- }
- CodeHelpers.validValue(isValidArg, arg, "[org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.AMFIdentifier]");
- }
-
- public TAMFPointer getAMFPointer() {
- return _aMFPointer;
- }
-
- public TAMFRegionId getAMFRegionId() {
- return _aMFRegionId;
- }
-
- public TAMFSetId getAMFSetId() {
- return _aMFSetId;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- public <E$$ extends Augmentation<AmfId>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
-
- public AmfIdBuilder setAMFPointer(final TAMFPointer value) {
- this._aMFPointer = value;
- return this;
- }
-
- public AmfIdBuilder setAMFRegionId(final TAMFRegionId value) {
- this._aMFRegionId = value;
- return this;
- }
-
- public AmfIdBuilder setAMFSetId(final TAMFSetId value) {
- this._aMFSetId = value;
- return this;
- }
-
- public AmfIdBuilder addAugmentation(Class<? extends Augmentation<AmfId>> augmentationType, Augmentation<AmfId> augmentationValue) {
- if (augmentationValue == null) {
- return removeAugmentation(augmentationType);
- }
-
- if (!(this.augmentation instanceof HashMap)) {
- this.augmentation = new HashMap<>();
- }
-
- this.augmentation.put(augmentationType, augmentationValue);
- return this;
- }
-
- public AmfIdBuilder removeAugmentation(Class<? extends Augmentation<AmfId>> augmentationType) {
- if (this.augmentation instanceof HashMap) {
- this.augmentation.remove(augmentationType);
- }
- return this;
- }
-
- @Override
- public AmfId build() {
- return new AmfIdImpl(this);
- }
-
- private static final class AmfIdImpl implements AmfId {
-
- private final TAMFPointer _aMFPointer;
- private final TAMFRegionId _aMFRegionId;
- private final TAMFSetId _aMFSetId;
-
- private Map<Class<? extends Augmentation<AmfId>>, Augmentation<AmfId>> augmentation = Collections.emptyMap();
-
- AmfIdImpl(AmfIdBuilder base) {
- this._aMFPointer = base.getAMFPointer();
- this._aMFRegionId = base.getAMFRegionId();
- this._aMFSetId = base.getAMFSetId();
- this.augmentation = ImmutableMap.copyOf(base.augmentation);
- }
-
- @Override
- public Class<AmfId> getImplementedInterface() {
- return AmfId.class;
- }
-
- @Override
- public TAMFPointer getAMFPointer() {
- return _aMFPointer;
- }
-
- @Override
- public TAMFRegionId getAMFRegionId() {
- return _aMFRegionId;
- }
-
- @Override
- public TAMFSetId getAMFSetId() {
- return _aMFSetId;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- @Override
- public <E$$ extends Augmentation<AmfId>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- private int hash = 0;
- private volatile boolean hashValid = false;
-
- @Override
- public int hashCode() {
- if (hashValid) {
- return hash;
- }
-
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_aMFPointer);
- result = prime * result + Objects.hashCode(_aMFRegionId);
- result = prime * result + Objects.hashCode(_aMFSetId);
- result = prime * result + Objects.hashCode(augmentation);
-
- hash = result;
- hashValid = true;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!(obj instanceof DataObject)) {
- return false;
- }
- if (!AmfId.class.equals(((DataObject)obj).getImplementedInterface())) {
- return false;
- }
- AmfId other = (AmfId)obj;
- if (!Objects.equals(_aMFPointer, other.getAMFPointer())) {
- return false;
- }
- if (!Objects.equals(_aMFRegionId, other.getAMFRegionId())) {
- return false;
- }
- if (!Objects.equals(_aMFSetId, other.getAMFSetId())) {
- return false;
- }
- if (getClass() == obj.getClass()) {
- // Simple case: we are comparing against self
- AmfIdImpl otherImpl = (AmfIdImpl) obj;
- if (!Objects.equals(augmentation, otherImpl.augmentation)) {
- return false;
- }
- } else {
- // Hard case: compare our augments with presence there...
- for (Map.Entry<Class<? extends Augmentation<AmfId>>, Augmentation<AmfId>> e : augmentation.entrySet()) {
- if (!e.getValue().equals(other.augmentation(e.getKey()))) {
- return false;
- }
- }
- // .. and give the other one the chance to do the same
- if (!obj.equals(this)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("AmfId");
- CodeHelpers.appendValue(helper, "_aMFPointer", _aMFPointer);
- CodeHelpers.appendValue(helper, "_aMFRegionId", _aMFRegionId);
- CodeHelpers.appendValue(helper, "_aMFSetId", _aMFSetId);
- CodeHelpers.appendValue(helper, "augmentation", augmentation.values());
- return helper.toString();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnId.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnId.java
deleted file mode 100644
index 6f0017139..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnId.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.Guami;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.ChildOf;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * container plmnId {
- * uses pLMNId;
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Guami/plmnId</i>
- *
- * <p>To create instances of this class use {@link PlmnIdBuilder}.
- * @see PlmnIdBuilder
- *
- */
-public interface PlmnId
- extends
- ChildOf<Guami>,
- Augmentable<PlmnId>,
- PLMNId
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("plmnId");
-
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnIdBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnIdBuilder.java
deleted file mode 100644
index d1087256f..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnIdBuilder.java
+++ /dev/null
@@ -1,229 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableMap;
-import java.lang.Class;
-import java.lang.Object;
-import java.lang.Override;
-import java.lang.String;
-import java.lang.SuppressWarnings;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TMcc;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TMnc;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.Augmentation;
-import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-
-/**
- * Class that builds {@link PlmnIdBuilder} instances.
- *
- * @see PlmnIdBuilder
- *
- */
-public class PlmnIdBuilder implements Builder<PlmnId> {
-
- private TMcc _mCC;
- private TMnc _mNC;
-
-
- Map<Class<? extends Augmentation<PlmnId>>, Augmentation<PlmnId>> augmentation = Collections.emptyMap();
-
- public PlmnIdBuilder() {
- }
- public PlmnIdBuilder(org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId arg) {
- this._mCC = arg.getMCC();
- this._mNC = arg.getMNC();
- }
-
- public PlmnIdBuilder(PlmnId base) {
- this._mCC = base.getMCC();
- this._mNC = base.getMNC();
- if (base instanceof PlmnIdImpl) {
- PlmnIdImpl impl = (PlmnIdImpl) base;
- if (!impl.augmentation.isEmpty()) {
- this.augmentation = new HashMap<>(impl.augmentation);
- }
- } else if (base instanceof AugmentationHolder) {
- @SuppressWarnings("unchecked")
- Map<Class<? extends Augmentation<PlmnId>>, Augmentation<PlmnId>> aug =((AugmentationHolder<PlmnId>) base).augmentations();
- if (!aug.isEmpty()) {
- this.augmentation = new HashMap<>(aug);
- }
- }
- }
-
- /**
- * Set fields from given grouping argument. Valid argument is instance of one of following types:
- * <ul>
- * <li>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId</li>
- * </ul>
- *
- * @param arg grouping object
- * @throws IllegalArgumentException if given argument is none of valid types
- */
- public void fieldsFrom(DataObject arg) {
- boolean isValidArg = false;
- if (arg instanceof org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId) {
- this._mCC = ((org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId)arg).getMCC();
- this._mNC = ((org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId)arg).getMNC();
- isValidArg = true;
- }
- CodeHelpers.validValue(isValidArg, arg, "[org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId]");
- }
-
- public TMcc getMCC() {
- return _mCC;
- }
-
- public TMnc getMNC() {
- return _mNC;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- public <E$$ extends Augmentation<PlmnId>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
-
- public PlmnIdBuilder setMCC(final TMcc value) {
- this._mCC = value;
- return this;
- }
-
- public PlmnIdBuilder setMNC(final TMnc value) {
- this._mNC = value;
- return this;
- }
-
- public PlmnIdBuilder addAugmentation(Class<? extends Augmentation<PlmnId>> augmentationType, Augmentation<PlmnId> augmentationValue) {
- if (augmentationValue == null) {
- return removeAugmentation(augmentationType);
- }
-
- if (!(this.augmentation instanceof HashMap)) {
- this.augmentation = new HashMap<>();
- }
-
- this.augmentation.put(augmentationType, augmentationValue);
- return this;
- }
-
- public PlmnIdBuilder removeAugmentation(Class<? extends Augmentation<PlmnId>> augmentationType) {
- if (this.augmentation instanceof HashMap) {
- this.augmentation.remove(augmentationType);
- }
- return this;
- }
-
- @Override
- public PlmnId build() {
- return new PlmnIdImpl(this);
- }
-
- private static final class PlmnIdImpl implements PlmnId {
-
- private final TMcc _mCC;
- private final TMnc _mNC;
-
- private Map<Class<? extends Augmentation<PlmnId>>, Augmentation<PlmnId>> augmentation = Collections.emptyMap();
-
- PlmnIdImpl(PlmnIdBuilder base) {
- this._mCC = base.getMCC();
- this._mNC = base.getMNC();
- this.augmentation = ImmutableMap.copyOf(base.augmentation);
- }
-
- @Override
- public Class<PlmnId> getImplementedInterface() {
- return PlmnId.class;
- }
-
- @Override
- public TMcc getMCC() {
- return _mCC;
- }
-
- @Override
- public TMnc getMNC() {
- return _mNC;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- @Override
- public <E$$ extends Augmentation<PlmnId>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- private int hash = 0;
- private volatile boolean hashValid = false;
-
- @Override
- public int hashCode() {
- if (hashValid) {
- return hash;
- }
-
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_mCC);
- result = prime * result + Objects.hashCode(_mNC);
- result = prime * result + Objects.hashCode(augmentation);
-
- hash = result;
- hashValid = true;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!(obj instanceof DataObject)) {
- return false;
- }
- if (!PlmnId.class.equals(((DataObject)obj).getImplementedInterface())) {
- return false;
- }
- PlmnId other = (PlmnId)obj;
- if (!Objects.equals(_mCC, other.getMCC())) {
- return false;
- }
- if (!Objects.equals(_mNC, other.getMNC())) {
- return false;
- }
- if (getClass() == obj.getClass()) {
- // Simple case: we are comparing against self
- PlmnIdImpl otherImpl = (PlmnIdImpl) obj;
- if (!Objects.equals(augmentation, otherImpl.augmentation)) {
- return false;
- }
- } else {
- // Hard case: compare our augments with presence there...
- for (Map.Entry<Class<? extends Augmentation<PlmnId>>, Augmentation<PlmnId>> e : augmentation.entrySet()) {
- if (!e.getValue().equals(other.augmentation(e.getKey()))) {
- return false;
- }
- }
- // .. and give the other one the chance to do the same
- if (!obj.equals(this)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("PlmnId");
- CodeHelpers.appendValue(helper, "_mCC", _mCC);
- CodeHelpers.appendValue(helper, "_mNC", _mNC);
- CodeHelpers.appendValue(helper, "augmentation", augmentation.values());
- return helper.toString();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/Address.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/Address.java
deleted file mode 100644
index d9718e665..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/Address.java
+++ /dev/null
@@ -1,49 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.InterfaceUpfInfoItem;
-import org.opendaylight.yangtools.yang.binding.ChoiceIn;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * choice address {
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * case endpointFqdn {
- * leaf endpointFqdn {
- * type inet:domain-name;
- * }
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem/address</i>
- *
- */
-public interface Address
- extends
- ChoiceIn<InterfaceUpfInfoItem>
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("address");
-
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdn.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdn.java
deleted file mode 100644
index 4bf58dda3..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdn.java
+++ /dev/null
@@ -1,41 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.DomainName;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case endpointFqdn {
- * leaf endpointFqdn {
- * type inet:domain-name;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem/address/endpointFqdn</i>
- *
- */
-public interface EndpointFqdn
- extends
- DataObject,
- Augmentable<EndpointFqdn>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("endpointFqdn");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.DomainName</code> <code>endpointFqdn</code>, or <code>null</code> if not present
- */
- @Nullable DomainName getEndpointFqdn();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdnBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdnBuilder.java
deleted file mode 100644
index 2abed8b15..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdnBuilder.java
+++ /dev/null
@@ -1,183 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableMap;
-import java.lang.Class;
-import java.lang.Object;
-import java.lang.Override;
-import java.lang.String;
-import java.lang.SuppressWarnings;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.DomainName;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.Augmentation;
-import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-
-/**
- * Class that builds {@link EndpointFqdnBuilder} instances.
- *
- * @see EndpointFqdnBuilder
- *
- */
-public class EndpointFqdnBuilder implements Builder<EndpointFqdn> {
-
- private DomainName _endpointFqdn;
-
-
- Map<Class<? extends Augmentation<EndpointFqdn>>, Augmentation<EndpointFqdn>> augmentation = Collections.emptyMap();
-
- public EndpointFqdnBuilder() {
- }
-
- public EndpointFqdnBuilder(EndpointFqdn base) {
- this._endpointFqdn = base.getEndpointFqdn();
- if (base instanceof EndpointFqdnImpl) {
- EndpointFqdnImpl impl = (EndpointFqdnImpl) base;
- if (!impl.augmentation.isEmpty()) {
- this.augmentation = new HashMap<>(impl.augmentation);
- }
- } else if (base instanceof AugmentationHolder) {
- @SuppressWarnings("unchecked")
- Map<Class<? extends Augmentation<EndpointFqdn>>, Augmentation<EndpointFqdn>> aug =((AugmentationHolder<EndpointFqdn>) base).augmentations();
- if (!aug.isEmpty()) {
- this.augmentation = new HashMap<>(aug);
- }
- }
- }
-
-
- public DomainName getEndpointFqdn() {
- return _endpointFqdn;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- public <E$$ extends Augmentation<EndpointFqdn>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
-
- public EndpointFqdnBuilder setEndpointFqdn(final DomainName value) {
- this._endpointFqdn = value;
- return this;
- }
-
- public EndpointFqdnBuilder addAugmentation(Class<? extends Augmentation<EndpointFqdn>> augmentationType, Augmentation<EndpointFqdn> augmentationValue) {
- if (augmentationValue == null) {
- return removeAugmentation(augmentationType);
- }
-
- if (!(this.augmentation instanceof HashMap)) {
- this.augmentation = new HashMap<>();
- }
-
- this.augmentation.put(augmentationType, augmentationValue);
- return this;
- }
-
- public EndpointFqdnBuilder removeAugmentation(Class<? extends Augmentation<EndpointFqdn>> augmentationType) {
- if (this.augmentation instanceof HashMap) {
- this.augmentation.remove(augmentationType);
- }
- return this;
- }
-
- @Override
- public EndpointFqdn build() {
- return new EndpointFqdnImpl(this);
- }
-
- private static final class EndpointFqdnImpl implements EndpointFqdn {
-
- private final DomainName _endpointFqdn;
-
- private Map<Class<? extends Augmentation<EndpointFqdn>>, Augmentation<EndpointFqdn>> augmentation = Collections.emptyMap();
-
- EndpointFqdnImpl(EndpointFqdnBuilder base) {
- this._endpointFqdn = base.getEndpointFqdn();
- this.augmentation = ImmutableMap.copyOf(base.augmentation);
- }
-
- @Override
- public Class<EndpointFqdn> getImplementedInterface() {
- return EndpointFqdn.class;
- }
-
- @Override
- public DomainName getEndpointFqdn() {
- return _endpointFqdn;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- @Override
- public <E$$ extends Augmentation<EndpointFqdn>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- private int hash = 0;
- private volatile boolean hashValid = false;
-
- @Override
- public int hashCode() {
- if (hashValid) {
- return hash;
- }
-
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_endpointFqdn);
- result = prime * result + Objects.hashCode(augmentation);
-
- hash = result;
- hashValid = true;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!(obj instanceof DataObject)) {
- return false;
- }
- if (!EndpointFqdn.class.equals(((DataObject)obj).getImplementedInterface())) {
- return false;
- }
- EndpointFqdn other = (EndpointFqdn)obj;
- if (!Objects.equals(_endpointFqdn, other.getEndpointFqdn())) {
- return false;
- }
- if (getClass() == obj.getClass()) {
- // Simple case: we are comparing against self
- EndpointFqdnImpl otherImpl = (EndpointFqdnImpl) obj;
- if (!Objects.equals(augmentation, otherImpl.augmentation)) {
- return false;
- }
- } else {
- // Hard case: compare our augments with presence there...
- for (Map.Entry<Class<? extends Augmentation<EndpointFqdn>>, Augmentation<EndpointFqdn>> e : augmentation.entrySet()) {
- if (!e.getValue().equals(other.augmentation(e.getKey()))) {
- return false;
- }
- }
- // .. and give the other one the chance to do the same
- if (!obj.equals(this)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("EndpointFqdn");
- CodeHelpers.appendValue(helper, "_endpointFqdn", _endpointFqdn);
- CodeHelpers.appendValue(helper, "augmentation", augmentation.values());
- return helper.toString();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4Address.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4Address.java
deleted file mode 100644
index 92483f476..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4Address.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem/address/ipv4Address</i>
- *
- */
-public interface Ipv4Address
- extends
- DataObject,
- Augmentable<Ipv4Address>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv4Address");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address</code> <code>ipv4Address</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv4Address getIpv4Address();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4AddressBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4AddressBuilder.java
deleted file mode 100644
index 4ad474a9c..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4AddressBuilder.java
+++ /dev/null
@@ -1,182 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableMap;
-import java.lang.Class;
-import java.lang.Object;
-import java.lang.Override;
-import java.lang.String;
-import java.lang.SuppressWarnings;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.Augmentation;
-import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-
-/**
- * Class that builds {@link Ipv4AddressBuilder} instances.
- *
- * @see Ipv4AddressBuilder
- *
- */
-public class Ipv4AddressBuilder implements Builder<Ipv4Address> {
-
- private org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address _ipv4Address;
-
-
- Map<Class<? extends Augmentation<Ipv4Address>>, Augmentation<Ipv4Address>> augmentation = Collections.emptyMap();
-
- public Ipv4AddressBuilder() {
- }
-
- public Ipv4AddressBuilder(Ipv4Address base) {
- this._ipv4Address = base.getIpv4Address();
- if (base instanceof Ipv4AddressImpl) {
- Ipv4AddressImpl impl = (Ipv4AddressImpl) base;
- if (!impl.augmentation.isEmpty()) {
- this.augmentation = new HashMap<>(impl.augmentation);
- }
- } else if (base instanceof AugmentationHolder) {
- @SuppressWarnings("unchecked")
- Map<Class<? extends Augmentation<Ipv4Address>>, Augmentation<Ipv4Address>> aug =((AugmentationHolder<Ipv4Address>) base).augmentations();
- if (!aug.isEmpty()) {
- this.augmentation = new HashMap<>(aug);
- }
- }
- }
-
-
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getIpv4Address() {
- return _ipv4Address;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- public <E$$ extends Augmentation<Ipv4Address>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
-
- public Ipv4AddressBuilder setIpv4Address(final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address value) {
- this._ipv4Address = value;
- return this;
- }
-
- public Ipv4AddressBuilder addAugmentation(Class<? extends Augmentation<Ipv4Address>> augmentationType, Augmentation<Ipv4Address> augmentationValue) {
- if (augmentationValue == null) {
- return removeAugmentation(augmentationType);
- }
-
- if (!(this.augmentation instanceof HashMap)) {
- this.augmentation = new HashMap<>();
- }
-
- this.augmentation.put(augmentationType, augmentationValue);
- return this;
- }
-
- public Ipv4AddressBuilder removeAugmentation(Class<? extends Augmentation<Ipv4Address>> augmentationType) {
- if (this.augmentation instanceof HashMap) {
- this.augmentation.remove(augmentationType);
- }
- return this;
- }
-
- @Override
- public Ipv4Address build() {
- return new Ipv4AddressImpl(this);
- }
-
- private static final class Ipv4AddressImpl implements Ipv4Address {
-
- private final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address _ipv4Address;
-
- private Map<Class<? extends Augmentation<Ipv4Address>>, Augmentation<Ipv4Address>> augmentation = Collections.emptyMap();
-
- Ipv4AddressImpl(Ipv4AddressBuilder base) {
- this._ipv4Address = base.getIpv4Address();
- this.augmentation = ImmutableMap.copyOf(base.augmentation);
- }
-
- @Override
- public Class<Ipv4Address> getImplementedInterface() {
- return Ipv4Address.class;
- }
-
- @Override
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getIpv4Address() {
- return _ipv4Address;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- @Override
- public <E$$ extends Augmentation<Ipv4Address>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- private int hash = 0;
- private volatile boolean hashValid = false;
-
- @Override
- public int hashCode() {
- if (hashValid) {
- return hash;
- }
-
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_ipv4Address);
- result = prime * result + Objects.hashCode(augmentation);
-
- hash = result;
- hashValid = true;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!(obj instanceof DataObject)) {
- return false;
- }
- if (!Ipv4Address.class.equals(((DataObject)obj).getImplementedInterface())) {
- return false;
- }
- Ipv4Address other = (Ipv4Address)obj;
- if (!Objects.equals(_ipv4Address, other.getIpv4Address())) {
- return false;
- }
- if (getClass() == obj.getClass()) {
- // Simple case: we are comparing against self
- Ipv4AddressImpl otherImpl = (Ipv4AddressImpl) obj;
- if (!Objects.equals(augmentation, otherImpl.augmentation)) {
- return false;
- }
- } else {
- // Hard case: compare our augments with presence there...
- for (Map.Entry<Class<? extends Augmentation<Ipv4Address>>, Augmentation<Ipv4Address>> e : augmentation.entrySet()) {
- if (!e.getValue().equals(other.augmentation(e.getKey()))) {
- return false;
- }
- }
- // .. and give the other one the chance to do the same
- if (!obj.equals(this)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("Ipv4Address");
- CodeHelpers.appendValue(helper, "_ipv4Address", _ipv4Address);
- CodeHelpers.appendValue(helper, "augmentation", augmentation.values());
- return helper.toString();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Address.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Address.java
deleted file mode 100644
index 93a8affbd..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Address.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem/address/ipv6Address</i>
- *
- */
-public interface Ipv6Address
- extends
- DataObject,
- Augmentable<Ipv6Address>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Address");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address</code> <code>ipv6Address</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Address getIpv6Address();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6AddressBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6AddressBuilder.java
deleted file mode 100644
index 4d0416e3b..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6AddressBuilder.java
+++ /dev/null
@@ -1,182 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableMap;
-import java.lang.Class;
-import java.lang.Object;
-import java.lang.Override;
-import java.lang.String;
-import java.lang.SuppressWarnings;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.Augmentation;
-import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-
-/**
- * Class that builds {@link Ipv6AddressBuilder} instances.
- *
- * @see Ipv6AddressBuilder
- *
- */
-public class Ipv6AddressBuilder implements Builder<Ipv6Address> {
-
- private org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address _ipv6Address;
-
-
- Map<Class<? extends Augmentation<Ipv6Address>>, Augmentation<Ipv6Address>> augmentation = Collections.emptyMap();
-
- public Ipv6AddressBuilder() {
- }
-
- public Ipv6AddressBuilder(Ipv6Address base) {
- this._ipv6Address = base.getIpv6Address();
- if (base instanceof Ipv6AddressImpl) {
- Ipv6AddressImpl impl = (Ipv6AddressImpl) base;
- if (!impl.augmentation.isEmpty()) {
- this.augmentation = new HashMap<>(impl.augmentation);
- }
- } else if (base instanceof AugmentationHolder) {
- @SuppressWarnings("unchecked")
- Map<Class<? extends Augmentation<Ipv6Address>>, Augmentation<Ipv6Address>> aug =((AugmentationHolder<Ipv6Address>) base).augmentations();
- if (!aug.isEmpty()) {
- this.augmentation = new HashMap<>(aug);
- }
- }
- }
-
-
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address getIpv6Address() {
- return _ipv6Address;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- public <E$$ extends Augmentation<Ipv6Address>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
-
- public Ipv6AddressBuilder setIpv6Address(final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address value) {
- this._ipv6Address = value;
- return this;
- }
-
- public Ipv6AddressBuilder addAugmentation(Class<? extends Augmentation<Ipv6Address>> augmentationType, Augmentation<Ipv6Address> augmentationValue) {
- if (augmentationValue == null) {
- return removeAugmentation(augmentationType);
- }
-
- if (!(this.augmentation instanceof HashMap)) {
- this.augmentation = new HashMap<>();
- }
-
- this.augmentation.put(augmentationType, augmentationValue);
- return this;
- }
-
- public Ipv6AddressBuilder removeAugmentation(Class<? extends Augmentation<Ipv6Address>> augmentationType) {
- if (this.augmentation instanceof HashMap) {
- this.augmentation.remove(augmentationType);
- }
- return this;
- }
-
- @Override
- public Ipv6Address build() {
- return new Ipv6AddressImpl(this);
- }
-
- private static final class Ipv6AddressImpl implements Ipv6Address {
-
- private final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address _ipv6Address;
-
- private Map<Class<? extends Augmentation<Ipv6Address>>, Augmentation<Ipv6Address>> augmentation = Collections.emptyMap();
-
- Ipv6AddressImpl(Ipv6AddressBuilder base) {
- this._ipv6Address = base.getIpv6Address();
- this.augmentation = ImmutableMap.copyOf(base.augmentation);
- }
-
- @Override
- public Class<Ipv6Address> getImplementedInterface() {
- return Ipv6Address.class;
- }
-
- @Override
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address getIpv6Address() {
- return _ipv6Address;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- @Override
- public <E$$ extends Augmentation<Ipv6Address>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- private int hash = 0;
- private volatile boolean hashValid = false;
-
- @Override
- public int hashCode() {
- if (hashValid) {
- return hash;
- }
-
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_ipv6Address);
- result = prime * result + Objects.hashCode(augmentation);
-
- hash = result;
- hashValid = true;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!(obj instanceof DataObject)) {
- return false;
- }
- if (!Ipv6Address.class.equals(((DataObject)obj).getImplementedInterface())) {
- return false;
- }
- Ipv6Address other = (Ipv6Address)obj;
- if (!Objects.equals(_ipv6Address, other.getIpv6Address())) {
- return false;
- }
- if (getClass() == obj.getClass()) {
- // Simple case: we are comparing against self
- Ipv6AddressImpl otherImpl = (Ipv6AddressImpl) obj;
- if (!Objects.equals(augmentation, otherImpl.augmentation)) {
- return false;
- }
- } else {
- // Hard case: compare our augments with presence there...
- for (Map.Entry<Class<? extends Augmentation<Ipv6Address>>, Augmentation<Ipv6Address>> e : augmentation.entrySet()) {
- if (!e.getValue().equals(other.augmentation(e.getKey()))) {
- return false;
- }
- }
- // .. and give the other one the chance to do the same
- if (!obj.equals(this)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("Ipv6Address");
- CodeHelpers.appendValue(helper, "_ipv6Address", _ipv6Address);
- CodeHelpers.appendValue(helper, "augmentation", augmentation.values());
- return helper.toString();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Prefix.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Prefix.java
deleted file mode 100644
index e18a666dd..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Prefix.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem/address/ipv6Prefix</i>
- *
- */
-public interface Ipv6Prefix
- extends
- DataObject,
- Augmentable<Ipv6Prefix>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Prefix");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix</code> <code>ipv6Prefix</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Prefix getIpv6Prefix();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6PrefixBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6PrefixBuilder.java
deleted file mode 100644
index 2fc644826..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6PrefixBuilder.java
+++ /dev/null
@@ -1,182 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableMap;
-import java.lang.Class;
-import java.lang.Object;
-import java.lang.Override;
-import java.lang.String;
-import java.lang.SuppressWarnings;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.Augmentation;
-import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-
-/**
- * Class that builds {@link Ipv6PrefixBuilder} instances.
- *
- * @see Ipv6PrefixBuilder
- *
- */
-public class Ipv6PrefixBuilder implements Builder<Ipv6Prefix> {
-
- private org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix _ipv6Prefix;
-
-
- Map<Class<? extends Augmentation<Ipv6Prefix>>, Augmentation<Ipv6Prefix>> augmentation = Collections.emptyMap();
-
- public Ipv6PrefixBuilder() {
- }
-
- public Ipv6PrefixBuilder(Ipv6Prefix base) {
- this._ipv6Prefix = base.getIpv6Prefix();
- if (base instanceof Ipv6PrefixImpl) {
- Ipv6PrefixImpl impl = (Ipv6PrefixImpl) base;
- if (!impl.augmentation.isEmpty()) {
- this.augmentation = new HashMap<>(impl.augmentation);
- }
- } else if (base instanceof AugmentationHolder) {
- @SuppressWarnings("unchecked")
- Map<Class<? extends Augmentation<Ipv6Prefix>>, Augmentation<Ipv6Prefix>> aug =((AugmentationHolder<Ipv6Prefix>) base).augmentations();
- if (!aug.isEmpty()) {
- this.augmentation = new HashMap<>(aug);
- }
- }
- }
-
-
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix getIpv6Prefix() {
- return _ipv6Prefix;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- public <E$$ extends Augmentation<Ipv6Prefix>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
-
- public Ipv6PrefixBuilder setIpv6Prefix(final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix value) {
- this._ipv6Prefix = value;
- return this;
- }
-
- public Ipv6PrefixBuilder addAugmentation(Class<? extends Augmentation<Ipv6Prefix>> augmentationType, Augmentation<Ipv6Prefix> augmentationValue) {
- if (augmentationValue == null) {
- return removeAugmentation(augmentationType);
- }
-
- if (!(this.augmentation instanceof HashMap)) {
- this.augmentation = new HashMap<>();
- }
-
- this.augmentation.put(augmentationType, augmentationValue);
- return this;
- }
-
- public Ipv6PrefixBuilder removeAugmentation(Class<? extends Augmentation<Ipv6Prefix>> augmentationType) {
- if (this.augmentation instanceof HashMap) {
- this.augmentation.remove(augmentationType);
- }
- return this;
- }
-
- @Override
- public Ipv6Prefix build() {
- return new Ipv6PrefixImpl(this);
- }
-
- private static final class Ipv6PrefixImpl implements Ipv6Prefix {
-
- private final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix _ipv6Prefix;
-
- private Map<Class<? extends Augmentation<Ipv6Prefix>>, Augmentation<Ipv6Prefix>> augmentation = Collections.emptyMap();
-
- Ipv6PrefixImpl(Ipv6PrefixBuilder base) {
- this._ipv6Prefix = base.getIpv6Prefix();
- this.augmentation = ImmutableMap.copyOf(base.augmentation);
- }
-
- @Override
- public Class<Ipv6Prefix> getImplementedInterface() {
- return Ipv6Prefix.class;
- }
-
- @Override
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix getIpv6Prefix() {
- return _ipv6Prefix;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- @Override
- public <E$$ extends Augmentation<Ipv6Prefix>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- private int hash = 0;
- private volatile boolean hashValid = false;
-
- @Override
- public int hashCode() {
- if (hashValid) {
- return hash;
- }
-
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_ipv6Prefix);
- result = prime * result + Objects.hashCode(augmentation);
-
- hash = result;
- hashValid = true;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!(obj instanceof DataObject)) {
- return false;
- }
- if (!Ipv6Prefix.class.equals(((DataObject)obj).getImplementedInterface())) {
- return false;
- }
- Ipv6Prefix other = (Ipv6Prefix)obj;
- if (!Objects.equals(_ipv6Prefix, other.getIpv6Prefix())) {
- return false;
- }
- if (getClass() == obj.getClass()) {
- // Simple case: we are comparing against self
- Ipv6PrefixImpl otherImpl = (Ipv6PrefixImpl) obj;
- if (!Objects.equals(augmentation, otherImpl.augmentation)) {
- return false;
- }
- } else {
- // Hard case: compare our augments with presence there...
- for (Map.Entry<Class<? extends Augmentation<Ipv6Prefix>>, Augmentation<Ipv6Prefix>> e : augmentation.entrySet()) {
- if (!e.getValue().equals(other.augmentation(e.getKey()))) {
- return false;
- }
- }
- // .. and give the other one the chance to do the same
- if (!obj.equals(this)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("Ipv6Prefix");
- CodeHelpers.appendValue(helper, "_ipv6Prefix", _ipv6Prefix);
- CodeHelpers.appendValue(helper, "augmentation", augmentation.values());
- return helper.toString();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/Address.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/Address.java
deleted file mode 100644
index f15a2bdc6..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/Address.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.IpEndPoint;
-import org.opendaylight.yangtools.yang.binding.ChoiceIn;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * choice address {
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/ipEndPoint/address</i>
- *
- */
-public interface Address
- extends
- ChoiceIn<IpEndPoint>
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("address");
-
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4Address.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4Address.java
deleted file mode 100644
index b387e3fc8..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4Address.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/ipEndPoint/address/ipv4Address</i>
- *
- */
-public interface Ipv4Address
- extends
- DataObject,
- Augmentable<Ipv4Address>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv4Address");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address</code> <code>ipv4Address</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv4Address getIpv4Address();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4AddressBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4AddressBuilder.java
deleted file mode 100644
index 530eafef0..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4AddressBuilder.java
+++ /dev/null
@@ -1,182 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.address;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableMap;
-import java.lang.Class;
-import java.lang.Object;
-import java.lang.Override;
-import java.lang.String;
-import java.lang.SuppressWarnings;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.Augmentation;
-import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-
-/**
- * Class that builds {@link Ipv4AddressBuilder} instances.
- *
- * @see Ipv4AddressBuilder
- *
- */
-public class Ipv4AddressBuilder implements Builder<Ipv4Address> {
-
- private org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address _ipv4Address;
-
-
- Map<Class<? extends Augmentation<Ipv4Address>>, Augmentation<Ipv4Address>> augmentation = Collections.emptyMap();
-
- public Ipv4AddressBuilder() {
- }
-
- public Ipv4AddressBuilder(Ipv4Address base) {
- this._ipv4Address = base.getIpv4Address();
- if (base instanceof Ipv4AddressImpl) {
- Ipv4AddressImpl impl = (Ipv4AddressImpl) base;
- if (!impl.augmentation.isEmpty()) {
- this.augmentation = new HashMap<>(impl.augmentation);
- }
- } else if (base instanceof AugmentationHolder) {
- @SuppressWarnings("unchecked")
- Map<Class<? extends Augmentation<Ipv4Address>>, Augmentation<Ipv4Address>> aug =((AugmentationHolder<Ipv4Address>) base).augmentations();
- if (!aug.isEmpty()) {
- this.augmentation = new HashMap<>(aug);
- }
- }
- }
-
-
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getIpv4Address() {
- return _ipv4Address;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- public <E$$ extends Augmentation<Ipv4Address>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
-
- public Ipv4AddressBuilder setIpv4Address(final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address value) {
- this._ipv4Address = value;
- return this;
- }
-
- public Ipv4AddressBuilder addAugmentation(Class<? extends Augmentation<Ipv4Address>> augmentationType, Augmentation<Ipv4Address> augmentationValue) {
- if (augmentationValue == null) {
- return removeAugmentation(augmentationType);
- }
-
- if (!(this.augmentation instanceof HashMap)) {
- this.augmentation = new HashMap<>();
- }
-
- this.augmentation.put(augmentationType, augmentationValue);
- return this;
- }
-
- public Ipv4AddressBuilder removeAugmentation(Class<? extends Augmentation<Ipv4Address>> augmentationType) {
- if (this.augmentation instanceof HashMap) {
- this.augmentation.remove(augmentationType);
- }
- return this;
- }
-
- @Override
- public Ipv4Address build() {
- return new Ipv4AddressImpl(this);
- }
-
- private static final class Ipv4AddressImpl implements Ipv4Address {
-
- private final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address _ipv4Address;
-
- private Map<Class<? extends Augmentation<Ipv4Address>>, Augmentation<Ipv4Address>> augmentation = Collections.emptyMap();
-
- Ipv4AddressImpl(Ipv4AddressBuilder base) {
- this._ipv4Address = base.getIpv4Address();
- this.augmentation = ImmutableMap.copyOf(base.augmentation);
- }
-
- @Override
- public Class<Ipv4Address> getImplementedInterface() {
- return Ipv4Address.class;
- }
-
- @Override
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getIpv4Address() {
- return _ipv4Address;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- @Override
- public <E$$ extends Augmentation<Ipv4Address>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- private int hash = 0;
- private volatile boolean hashValid = false;
-
- @Override
- public int hashCode() {
- if (hashValid) {
- return hash;
- }
-
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_ipv4Address);
- result = prime * result + Objects.hashCode(augmentation);
-
- hash = result;
- hashValid = true;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!(obj instanceof DataObject)) {
- return false;
- }
- if (!Ipv4Address.class.equals(((DataObject)obj).getImplementedInterface())) {
- return false;
- }
- Ipv4Address other = (Ipv4Address)obj;
- if (!Objects.equals(_ipv4Address, other.getIpv4Address())) {
- return false;
- }
- if (getClass() == obj.getClass()) {
- // Simple case: we are comparing against self
- Ipv4AddressImpl otherImpl = (Ipv4AddressImpl) obj;
- if (!Objects.equals(augmentation, otherImpl.augmentation)) {
- return false;
- }
- } else {
- // Hard case: compare our augments with presence there...
- for (Map.Entry<Class<? extends Augmentation<Ipv4Address>>, Augmentation<Ipv4Address>> e : augmentation.entrySet()) {
- if (!e.getValue().equals(other.augmentation(e.getKey()))) {
- return false;
- }
- }
- // .. and give the other one the chance to do the same
- if (!obj.equals(this)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("Ipv4Address");
- CodeHelpers.appendValue(helper, "_ipv4Address", _ipv4Address);
- CodeHelpers.appendValue(helper, "augmentation", augmentation.values());
- return helper.toString();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Address.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Address.java
deleted file mode 100644
index f6a3a4a3d..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Address.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/ipEndPoint/address/ipv6Address</i>
- *
- */
-public interface Ipv6Address
- extends
- DataObject,
- Augmentable<Ipv6Address>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Address");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address</code> <code>ipv6Address</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Address getIpv6Address();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6AddressBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6AddressBuilder.java
deleted file mode 100644
index 525e2b3a6..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6AddressBuilder.java
+++ /dev/null
@@ -1,182 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.address;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableMap;
-import java.lang.Class;
-import java.lang.Object;
-import java.lang.Override;
-import java.lang.String;
-import java.lang.SuppressWarnings;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.Augmentation;
-import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-
-/**
- * Class that builds {@link Ipv6AddressBuilder} instances.
- *
- * @see Ipv6AddressBuilder
- *
- */
-public class Ipv6AddressBuilder implements Builder<Ipv6Address> {
-
- private org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address _ipv6Address;
-
-
- Map<Class<? extends Augmentation<Ipv6Address>>, Augmentation<Ipv6Address>> augmentation = Collections.emptyMap();
-
- public Ipv6AddressBuilder() {
- }
-
- public Ipv6AddressBuilder(Ipv6Address base) {
- this._ipv6Address = base.getIpv6Address();
- if (base instanceof Ipv6AddressImpl) {
- Ipv6AddressImpl impl = (Ipv6AddressImpl) base;
- if (!impl.augmentation.isEmpty()) {
- this.augmentation = new HashMap<>(impl.augmentation);
- }
- } else if (base instanceof AugmentationHolder) {
- @SuppressWarnings("unchecked")
- Map<Class<? extends Augmentation<Ipv6Address>>, Augmentation<Ipv6Address>> aug =((AugmentationHolder<Ipv6Address>) base).augmentations();
- if (!aug.isEmpty()) {
- this.augmentation = new HashMap<>(aug);
- }
- }
- }
-
-
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address getIpv6Address() {
- return _ipv6Address;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- public <E$$ extends Augmentation<Ipv6Address>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
-
- public Ipv6AddressBuilder setIpv6Address(final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address value) {
- this._ipv6Address = value;
- return this;
- }
-
- public Ipv6AddressBuilder addAugmentation(Class<? extends Augmentation<Ipv6Address>> augmentationType, Augmentation<Ipv6Address> augmentationValue) {
- if (augmentationValue == null) {
- return removeAugmentation(augmentationType);
- }
-
- if (!(this.augmentation instanceof HashMap)) {
- this.augmentation = new HashMap<>();
- }
-
- this.augmentation.put(augmentationType, augmentationValue);
- return this;
- }
-
- public Ipv6AddressBuilder removeAugmentation(Class<? extends Augmentation<Ipv6Address>> augmentationType) {
- if (this.augmentation instanceof HashMap) {
- this.augmentation.remove(augmentationType);
- }
- return this;
- }
-
- @Override
- public Ipv6Address build() {
- return new Ipv6AddressImpl(this);
- }
-
- private static final class Ipv6AddressImpl implements Ipv6Address {
-
- private final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address _ipv6Address;
-
- private Map<Class<? extends Augmentation<Ipv6Address>>, Augmentation<Ipv6Address>> augmentation = Collections.emptyMap();
-
- Ipv6AddressImpl(Ipv6AddressBuilder base) {
- this._ipv6Address = base.getIpv6Address();
- this.augmentation = ImmutableMap.copyOf(base.augmentation);
- }
-
- @Override
- public Class<Ipv6Address> getImplementedInterface() {
- return Ipv6Address.class;
- }
-
- @Override
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address getIpv6Address() {
- return _ipv6Address;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- @Override
- public <E$$ extends Augmentation<Ipv6Address>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- private int hash = 0;
- private volatile boolean hashValid = false;
-
- @Override
- public int hashCode() {
- if (hashValid) {
- return hash;
- }
-
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_ipv6Address);
- result = prime * result + Objects.hashCode(augmentation);
-
- hash = result;
- hashValid = true;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!(obj instanceof DataObject)) {
- return false;
- }
- if (!Ipv6Address.class.equals(((DataObject)obj).getImplementedInterface())) {
- return false;
- }
- Ipv6Address other = (Ipv6Address)obj;
- if (!Objects.equals(_ipv6Address, other.getIpv6Address())) {
- return false;
- }
- if (getClass() == obj.getClass()) {
- // Simple case: we are comparing against self
- Ipv6AddressImpl otherImpl = (Ipv6AddressImpl) obj;
- if (!Objects.equals(augmentation, otherImpl.augmentation)) {
- return false;
- }
- } else {
- // Hard case: compare our augments with presence there...
- for (Map.Entry<Class<? extends Augmentation<Ipv6Address>>, Augmentation<Ipv6Address>> e : augmentation.entrySet()) {
- if (!e.getValue().equals(other.augmentation(e.getKey()))) {
- return false;
- }
- }
- // .. and give the other one the chance to do the same
- if (!obj.equals(this)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("Ipv6Address");
- CodeHelpers.appendValue(helper, "_ipv6Address", _ipv6Address);
- CodeHelpers.appendValue(helper, "augmentation", augmentation.values());
- return helper.toString();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Prefix.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Prefix.java
deleted file mode 100644
index 95022a340..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Prefix.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/ipEndPoint/address/ipv6Prefix</i>
- *
- */
-public interface Ipv6Prefix
- extends
- DataObject,
- Augmentable<Ipv6Prefix>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Prefix");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix</code> <code>ipv6Prefix</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Prefix getIpv6Prefix();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6PrefixBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6PrefixBuilder.java
deleted file mode 100644
index 8bb742cf3..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6PrefixBuilder.java
+++ /dev/null
@@ -1,182 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.address;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableMap;
-import java.lang.Class;
-import java.lang.Object;
-import java.lang.Override;
-import java.lang.String;
-import java.lang.SuppressWarnings;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.Augmentation;
-import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-
-/**
- * Class that builds {@link Ipv6PrefixBuilder} instances.
- *
- * @see Ipv6PrefixBuilder
- *
- */
-public class Ipv6PrefixBuilder implements Builder<Ipv6Prefix> {
-
- private org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix _ipv6Prefix;
-
-
- Map<Class<? extends Augmentation<Ipv6Prefix>>, Augmentation<Ipv6Prefix>> augmentation = Collections.emptyMap();
-
- public Ipv6PrefixBuilder() {
- }
-
- public Ipv6PrefixBuilder(Ipv6Prefix base) {
- this._ipv6Prefix = base.getIpv6Prefix();
- if (base instanceof Ipv6PrefixImpl) {
- Ipv6PrefixImpl impl = (Ipv6PrefixImpl) base;
- if (!impl.augmentation.isEmpty()) {
- this.augmentation = new HashMap<>(impl.augmentation);
- }
- } else if (base instanceof AugmentationHolder) {
- @SuppressWarnings("unchecked")
- Map<Class<? extends Augmentation<Ipv6Prefix>>, Augmentation<Ipv6Prefix>> aug =((AugmentationHolder<Ipv6Prefix>) base).augmentations();
- if (!aug.isEmpty()) {
- this.augmentation = new HashMap<>(aug);
- }
- }
- }
-
-
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix getIpv6Prefix() {
- return _ipv6Prefix;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- public <E$$ extends Augmentation<Ipv6Prefix>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
-
- public Ipv6PrefixBuilder setIpv6Prefix(final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix value) {
- this._ipv6Prefix = value;
- return this;
- }
-
- public Ipv6PrefixBuilder addAugmentation(Class<? extends Augmentation<Ipv6Prefix>> augmentationType, Augmentation<Ipv6Prefix> augmentationValue) {
- if (augmentationValue == null) {
- return removeAugmentation(augmentationType);
- }
-
- if (!(this.augmentation instanceof HashMap)) {
- this.augmentation = new HashMap<>();
- }
-
- this.augmentation.put(augmentationType, augmentationValue);
- return this;
- }
-
- public Ipv6PrefixBuilder removeAugmentation(Class<? extends Augmentation<Ipv6Prefix>> augmentationType) {
- if (this.augmentation instanceof HashMap) {
- this.augmentation.remove(augmentationType);
- }
- return this;
- }
-
- @Override
- public Ipv6Prefix build() {
- return new Ipv6PrefixImpl(this);
- }
-
- private static final class Ipv6PrefixImpl implements Ipv6Prefix {
-
- private final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix _ipv6Prefix;
-
- private Map<Class<? extends Augmentation<Ipv6Prefix>>, Augmentation<Ipv6Prefix>> augmentation = Collections.emptyMap();
-
- Ipv6PrefixImpl(Ipv6PrefixBuilder base) {
- this._ipv6Prefix = base.getIpv6Prefix();
- this.augmentation = ImmutableMap.copyOf(base.augmentation);
- }
-
- @Override
- public Class<Ipv6Prefix> getImplementedInterface() {
- return Ipv6Prefix.class;
- }
-
- @Override
- public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix getIpv6Prefix() {
- return _ipv6Prefix;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- @Override
- public <E$$ extends Augmentation<Ipv6Prefix>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- private int hash = 0;
- private volatile boolean hashValid = false;
-
- @Override
- public int hashCode() {
- if (hashValid) {
- return hash;
- }
-
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_ipv6Prefix);
- result = prime * result + Objects.hashCode(augmentation);
-
- hash = result;
- hashValid = true;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!(obj instanceof DataObject)) {
- return false;
- }
- if (!Ipv6Prefix.class.equals(((DataObject)obj).getImplementedInterface())) {
- return false;
- }
- Ipv6Prefix other = (Ipv6Prefix)obj;
- if (!Objects.equals(_ipv6Prefix, other.getIpv6Prefix())) {
- return false;
- }
- if (getClass() == obj.getClass()) {
- // Simple case: we are comparing against self
- Ipv6PrefixImpl otherImpl = (Ipv6PrefixImpl) obj;
- if (!Objects.equals(augmentation, otherImpl.augmentation)) {
- return false;
- }
- } else {
- // Hard case: compare our augments with presence there...
- for (Map.Entry<Class<? extends Augmentation<Ipv6Prefix>>, Augmentation<Ipv6Prefix>> e : augmentation.entrySet()) {
- if (!e.getValue().equals(other.augmentation(e.getKey()))) {
- return false;
- }
- }
- // .. and give the other one the chance to do the same
- if (!obj.equals(this)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("Ipv6Prefix");
- CodeHelpers.appendValue(helper, "_ipv6Prefix", _ipv6Prefix);
- CodeHelpers.appendValue(helper, "augmentation", augmentation.values());
- return helper.toString();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfo.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfo.java
deleted file mode 100644
index 025706355..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfo.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.snssaiupfinfoitem;
-import java.lang.Override;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.DnnUpfInfoItem;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.SnssaiUpfInfoItem;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.ChildOf;
-import org.opendaylight.yangtools.yang.binding.Identifiable;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * list dnnUpfInfo {
- * key dnn;
- * uses DnnUpfInfoItem;
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/SnssaiUpfInfoItem/dnnUpfInfo</i>
- *
- * <p>To create instances of this class use {@link DnnUpfInfoBuilder}.
- * @see DnnUpfInfoBuilder
- * @see DnnUpfInfoKey
- *
- */
-public interface DnnUpfInfo
- extends
- ChildOf<SnssaiUpfInfoItem>,
- Augmentable<DnnUpfInfo>,
- DnnUpfInfoItem,
- Identifiable<DnnUpfInfoKey>
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("dnnUpfInfo");
-
- @Override
- DnnUpfInfoKey key();
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoBuilder.java
deleted file mode 100644
index 248c8304e..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoBuilder.java
+++ /dev/null
@@ -1,224 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.snssaiupfinfoitem;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableMap;
-import java.lang.Class;
-import java.lang.Object;
-import java.lang.Override;
-import java.lang.String;
-import java.lang.SuppressWarnings;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TDnn;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.Augmentation;
-import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-
-/**
- * Class that builds {@link DnnUpfInfoBuilder} instances.
- *
- * @see DnnUpfInfoBuilder
- *
- */
-public class DnnUpfInfoBuilder implements Builder<DnnUpfInfo> {
-
- private TDnn _dnn;
- private DnnUpfInfoKey key;
-
-
- Map<Class<? extends Augmentation<DnnUpfInfo>>, Augmentation<DnnUpfInfo>> augmentation = Collections.emptyMap();
-
- public DnnUpfInfoBuilder() {
- }
- public DnnUpfInfoBuilder(org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.DnnUpfInfoItem arg) {
- this._dnn = arg.getDnn();
- }
-
- public DnnUpfInfoBuilder(DnnUpfInfo base) {
- this.key = base.key();
- this._dnn = base.getDnn();
- if (base instanceof DnnUpfInfoImpl) {
- DnnUpfInfoImpl impl = (DnnUpfInfoImpl) base;
- if (!impl.augmentation.isEmpty()) {
- this.augmentation = new HashMap<>(impl.augmentation);
- }
- } else if (base instanceof AugmentationHolder) {
- @SuppressWarnings("unchecked")
- Map<Class<? extends Augmentation<DnnUpfInfo>>, Augmentation<DnnUpfInfo>> aug =((AugmentationHolder<DnnUpfInfo>) base).augmentations();
- if (!aug.isEmpty()) {
- this.augmentation = new HashMap<>(aug);
- }
- }
- }
-
- /**
- * Set fields from given grouping argument. Valid argument is instance of one of following types:
- * <ul>
- * <li>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.DnnUpfInfoItem</li>
- * </ul>
- *
- * @param arg grouping object
- * @throws IllegalArgumentException if given argument is none of valid types
- */
- public void fieldsFrom(DataObject arg) {
- boolean isValidArg = false;
- if (arg instanceof org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.DnnUpfInfoItem) {
- this._dnn = ((org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.DnnUpfInfoItem)arg).getDnn();
- isValidArg = true;
- }
- CodeHelpers.validValue(isValidArg, arg, "[org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.DnnUpfInfoItem]");
- }
-
- public DnnUpfInfoKey key() {
- return key;
- }
-
- public TDnn getDnn() {
- return _dnn;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- public <E$$ extends Augmentation<DnnUpfInfo>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- public DnnUpfInfoBuilder withKey(final DnnUpfInfoKey key) {
- this.key = key;
- return this;
- }
-
- public DnnUpfInfoBuilder setDnn(final TDnn value) {
- this._dnn = value;
- return this;
- }
-
- public DnnUpfInfoBuilder addAugmentation(Class<? extends Augmentation<DnnUpfInfo>> augmentationType, Augmentation<DnnUpfInfo> augmentationValue) {
- if (augmentationValue == null) {
- return removeAugmentation(augmentationType);
- }
-
- if (!(this.augmentation instanceof HashMap)) {
- this.augmentation = new HashMap<>();
- }
-
- this.augmentation.put(augmentationType, augmentationValue);
- return this;
- }
-
- public DnnUpfInfoBuilder removeAugmentation(Class<? extends Augmentation<DnnUpfInfo>> augmentationType) {
- if (this.augmentation instanceof HashMap) {
- this.augmentation.remove(augmentationType);
- }
- return this;
- }
-
- @Override
- public DnnUpfInfo build() {
- return new DnnUpfInfoImpl(this);
- }
-
- private static final class DnnUpfInfoImpl implements DnnUpfInfo {
-
- private final TDnn _dnn;
- private final DnnUpfInfoKey key;
-
- private Map<Class<? extends Augmentation<DnnUpfInfo>>, Augmentation<DnnUpfInfo>> augmentation = Collections.emptyMap();
-
- DnnUpfInfoImpl(DnnUpfInfoBuilder base) {
- if (base.key() != null) {
- this.key = base.key();
- } else {
- this.key = new DnnUpfInfoKey(base.getDnn());
- }
- this._dnn = key.getDnn();
- this.augmentation = ImmutableMap.copyOf(base.augmentation);
- }
-
- @Override
- public Class<DnnUpfInfo> getImplementedInterface() {
- return DnnUpfInfo.class;
- }
-
- @Override
- public DnnUpfInfoKey key() {
- return key;
- }
-
- @Override
- public TDnn getDnn() {
- return _dnn;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- @Override
- public <E$$ extends Augmentation<DnnUpfInfo>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- private int hash = 0;
- private volatile boolean hashValid = false;
-
- @Override
- public int hashCode() {
- if (hashValid) {
- return hash;
- }
-
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_dnn);
- result = prime * result + Objects.hashCode(augmentation);
-
- hash = result;
- hashValid = true;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!(obj instanceof DataObject)) {
- return false;
- }
- if (!DnnUpfInfo.class.equals(((DataObject)obj).getImplementedInterface())) {
- return false;
- }
- DnnUpfInfo other = (DnnUpfInfo)obj;
- if (!Objects.equals(_dnn, other.getDnn())) {
- return false;
- }
- if (getClass() == obj.getClass()) {
- // Simple case: we are comparing against self
- DnnUpfInfoImpl otherImpl = (DnnUpfInfoImpl) obj;
- if (!Objects.equals(augmentation, otherImpl.augmentation)) {
- return false;
- }
- } else {
- // Hard case: compare our augments with presence there...
- for (Map.Entry<Class<? extends Augmentation<DnnUpfInfo>>, Augmentation<DnnUpfInfo>> e : augmentation.entrySet()) {
- if (!e.getValue().equals(other.augmentation(e.getKey()))) {
- return false;
- }
- }
- // .. and give the other one the chance to do the same
- if (!obj.equals(this)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("DnnUpfInfo");
- CodeHelpers.appendValue(helper, "_dnn", _dnn);
- CodeHelpers.appendValue(helper, "augmentation", augmentation.values());
- return helper.toString();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoKey.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoKey.java
deleted file mode 100644
index faa589d7d..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoKey.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.snssaiupfinfoitem;
-import com.google.common.base.MoreObjects;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TDnn;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.Identifier;
-
-public class DnnUpfInfoKey
- implements Identifier<DnnUpfInfo> {
- private static final long serialVersionUID = -3246452801435528856L;
- private final TDnn _dnn;
-
-
- public DnnUpfInfoKey(TDnn _dnn) {
-
-
- this._dnn = _dnn;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public DnnUpfInfoKey(DnnUpfInfoKey source) {
- this._dnn = source._dnn;
- }
-
-
- public TDnn getDnn() {
- return _dnn;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_dnn);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- DnnUpfInfoKey other = (DnnUpfInfoKey) obj;
- if (!Objects.equals(_dnn, other._dnn)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(DnnUpfInfoKey.class);
- CodeHelpers.appendValue(helper, "_dnn", _dnn);
- return helper.toString();
- }
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnId.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnId.java
deleted file mode 100644
index 44c34f278..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnId.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.tai;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.Tai;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.ChildOf;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * container plmnId {
- * uses pLMNId;
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Tai/plmnId</i>
- *
- * <p>To create instances of this class use {@link PlmnIdBuilder}.
- * @see PlmnIdBuilder
- *
- */
-public interface PlmnId
- extends
- ChildOf<Tai>,
- Augmentable<PlmnId>,
- PLMNId
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("plmnId");
-
-
-}
-
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnIdBuilder.java b/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnIdBuilder.java
deleted file mode 100644
index 530d59d26..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnIdBuilder.java
+++ /dev/null
@@ -1,229 +0,0 @@
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.tai;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableMap;
-import java.lang.Class;
-import java.lang.Object;
-import java.lang.Override;
-import java.lang.String;
-import java.lang.SuppressWarnings;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TMcc;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TMnc;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.Augmentation;
-import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-
-/**
- * Class that builds {@link PlmnIdBuilder} instances.
- *
- * @see PlmnIdBuilder
- *
- */
-public class PlmnIdBuilder implements Builder<PlmnId> {
-
- private TMcc _mCC;
- private TMnc _mNC;
-
-
- Map<Class<? extends Augmentation<PlmnId>>, Augmentation<PlmnId>> augmentation = Collections.emptyMap();
-
- public PlmnIdBuilder() {
- }
- public PlmnIdBuilder(org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId arg) {
- this._mCC = arg.getMCC();
- this._mNC = arg.getMNC();
- }
-
- public PlmnIdBuilder(PlmnId base) {
- this._mCC = base.getMCC();
- this._mNC = base.getMNC();
- if (base instanceof PlmnIdImpl) {
- PlmnIdImpl impl = (PlmnIdImpl) base;
- if (!impl.augmentation.isEmpty()) {
- this.augmentation = new HashMap<>(impl.augmentation);
- }
- } else if (base instanceof AugmentationHolder) {
- @SuppressWarnings("unchecked")
- Map<Class<? extends Augmentation<PlmnId>>, Augmentation<PlmnId>> aug =((AugmentationHolder<PlmnId>) base).augmentations();
- if (!aug.isEmpty()) {
- this.augmentation = new HashMap<>(aug);
- }
- }
- }
-
- /**
- * Set fields from given grouping argument. Valid argument is instance of one of following types:
- * <ul>
- * <li>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId</li>
- * </ul>
- *
- * @param arg grouping object
- * @throws IllegalArgumentException if given argument is none of valid types
- */
- public void fieldsFrom(DataObject arg) {
- boolean isValidArg = false;
- if (arg instanceof org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId) {
- this._mCC = ((org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId)arg).getMCC();
- this._mNC = ((org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId)arg).getMNC();
- isValidArg = true;
- }
- CodeHelpers.validValue(isValidArg, arg, "[org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId]");
- }
-
- public TMcc getMCC() {
- return _mCC;
- }
-
- public TMnc getMNC() {
- return _mNC;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- public <E$$ extends Augmentation<PlmnId>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
-
- public PlmnIdBuilder setMCC(final TMcc value) {
- this._mCC = value;
- return this;
- }
-
- public PlmnIdBuilder setMNC(final TMnc value) {
- this._mNC = value;
- return this;
- }
-
- public PlmnIdBuilder addAugmentation(Class<? extends Augmentation<PlmnId>> augmentationType, Augmentation<PlmnId> augmentationValue) {
- if (augmentationValue == null) {
- return removeAugmentation(augmentationType);
- }
-
- if (!(this.augmentation instanceof HashMap)) {
- this.augmentation = new HashMap<>();
- }
-
- this.augmentation.put(augmentationType, augmentationValue);
- return this;
- }
-
- public PlmnIdBuilder removeAugmentation(Class<? extends Augmentation<PlmnId>> augmentationType) {
- if (this.augmentation instanceof HashMap) {
- this.augmentation.remove(augmentationType);
- }
- return this;
- }
-
- @Override
- public PlmnId build() {
- return new PlmnIdImpl(this);
- }
-
- private static final class PlmnIdImpl implements PlmnId {
-
- private final TMcc _mCC;
- private final TMnc _mNC;
-
- private Map<Class<? extends Augmentation<PlmnId>>, Augmentation<PlmnId>> augmentation = Collections.emptyMap();
-
- PlmnIdImpl(PlmnIdBuilder base) {
- this._mCC = base.getMCC();
- this._mNC = base.getMNC();
- this.augmentation = ImmutableMap.copyOf(base.augmentation);
- }
-
- @Override
- public Class<PlmnId> getImplementedInterface() {
- return PlmnId.class;
- }
-
- @Override
- public TMcc getMCC() {
- return _mCC;
- }
-
- @Override
- public TMnc getMNC() {
- return _mNC;
- }
-
- @SuppressWarnings({ "unchecked", "checkstyle:methodTypeParameterName"})
- @Override
- public <E$$ extends Augmentation<PlmnId>> E$$ augmentation(Class<E$$> augmentationType) {
- return (E$$) augmentation.get(CodeHelpers.nonNullValue(augmentationType, "augmentationType"));
- }
-
- private int hash = 0;
- private volatile boolean hashValid = false;
-
- @Override
- public int hashCode() {
- if (hashValid) {
- return hash;
- }
-
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_mCC);
- result = prime * result + Objects.hashCode(_mNC);
- result = prime * result + Objects.hashCode(augmentation);
-
- hash = result;
- hashValid = true;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!(obj instanceof DataObject)) {
- return false;
- }
- if (!PlmnId.class.equals(((DataObject)obj).getImplementedInterface())) {
- return false;
- }
- PlmnId other = (PlmnId)obj;
- if (!Objects.equals(_mCC, other.getMCC())) {
- return false;
- }
- if (!Objects.equals(_mNC, other.getMNC())) {
- return false;
- }
- if (getClass() == obj.getClass()) {
- // Simple case: we are comparing against self
- PlmnIdImpl otherImpl = (PlmnIdImpl) obj;
- if (!Objects.equals(augmentation, otherImpl.augmentation)) {
- return false;
- }
- } else {
- // Hard case: compare our augments with presence there...
- for (Map.Entry<Class<? extends Augmentation<PlmnId>>, Augmentation<PlmnId>> e : augmentation.entrySet()) {
- if (!e.getValue().equals(other.augmentation(e.getKey()))) {
- return false;
- }
- }
- // .. and give the other one the chance to do the same
- if (!obj.equals(this)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("PlmnId");
- CodeHelpers.appendValue(helper, "_mCC", _mCC);
- CodeHelpers.appendValue(helper, "_mNC", _mNC);
- CodeHelpers.appendValue(helper, "augmentation", augmentation.values());
- return helper.toString();
- }
- }
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml b/sdnr/wt/devicemanager-gran/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml
deleted file mode 100644
index 0d4d04745..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<blueprint xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
- xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" odl:use-default-for-reference-types="true">
-
- <reference id="netconfNetworkElementService"
- availability="mandatory" activation="eager"
- interface="org.onap.ccsdk.features.sdnr.wt.devicemanager.service.NetconfNetworkElementService"/>
-
- <bean id="provider"
- class="org.onap.ccsdk.features.sdnr.wt.devicemanager.gran.impl.DeviceManagerGRanImpl"
- init-method="init" destroy-method="close">
- <property name="netconfNetworkElementService" ref="netconfNetworkElementService"/>
- </bean>
-</blueprint>
diff --git a/sdnr/wt/devicemanager-gran/provider/src/main/resources/version.properties b/sdnr/wt/devicemanager-gran/provider/src/main/resources/version.properties
deleted file mode 100644
index 6638c04f9..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/main/resources/version.properties
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# ============LICENSE_START=======================================================
-# ONAP : ccsdk features
-# ================================================================================
-# Copyright (C) 2020 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=======================================================
-#
-#
-
-# Properties filled in by maven during build process
-version = ${project.version}
-build = ${buildtime}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestDeviceManagerGRanImpl.java b/sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestDeviceManagerGRanImpl.java
deleted file mode 100644
index 86865277f..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestDeviceManagerGRanImpl.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 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.devicemanager.gran.test;
-
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.gran.GRanNetworkElementFactory;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.gran.impl.DeviceManagerGRanImpl;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.NetconfNetworkElementService;
-
-public class TestDeviceManagerGRanImpl {
- GRanNetworkElementFactory factory = new GRanNetworkElementFactory();
- DeviceManagerServiceProvider serviceProvider;
-
- @Test
- public void test() throws Exception {
- serviceProvider = mock(DeviceManagerServiceProvider.class);
- NetconfNetworkElementService netconfNetworkElementService = mock(NetconfNetworkElementService.class);
- when(netconfNetworkElementService.registerNetworkElementFactory(factory)).thenReturn(null);
- when(netconfNetworkElementService.getServiceProvider()).thenReturn(serviceProvider);
-
- DeviceManagerGRanImpl devMgrGRan = new DeviceManagerGRanImpl();
-
- devMgrGRan.setNetconfNetworkElementService(netconfNetworkElementService);
- devMgrGRan.init();
- devMgrGRan.close();
-
- }
-
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestGRanNetworkElement.java b/sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestGRanNetworkElement.java
deleted file mode 100644
index a9393cd0e..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestGRanNetworkElement.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 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.devicemanager.gran.test;
-
-import static org.junit.Assert.assertEquals;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.gran.GRanNetworkElement;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-
-public class TestGRanNetworkElement {
-
- private static final String NODEID = "node1";
-
- @Test
- public void test() {
- NetconfAccessor netconfAccessor = mock(NetconfAccessor.class);
- DataProvider databaseService = mock(DataProvider.class);
-
- when(netconfAccessor.getNodeId()).thenReturn(new NodeId(NODEID));
-
- GRanNetworkElement gRanNe = new GRanNetworkElement(netconfAccessor, databaseService);
- assertEquals(3, gRanNe.getDeviceType().getIntValue());
- assertEquals("RAN3GPP", gRanNe.getDeviceType().getName());
- assertEquals(NODEID, gRanNe.getNodeId().getValue());
-
- gRanNe.register();
- gRanNe.deregister();
- gRanNe.warmstart();
- gRanNe.getAcessor();
- gRanNe.getService(null);
-
- }
-
-
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestGRanNetworkElementFactory.java b/sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestGRanNetworkElementFactory.java
deleted file mode 100644
index b307d8877..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestGRanNetworkElementFactory.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 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.devicemanager.gran.test;
-
-import static org.junit.Assert.*;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-
-import org.junit.Before;
-import org.junit.Test;
-
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.gran.GRanNetworkElementFactory;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.Capabilities;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.top.rev180731.TopGrp;
-
-
-public class TestGRanNetworkElementFactory {
-
- Capabilities capabilities;
- NetconfAccessor netconfAccessor;
- DeviceManagerServiceProvider devMgrService;
-
- @SuppressWarnings("unused")
- @Before
- public void init() {
- capabilities = mock(Capabilities.class);
- netconfAccessor = mock(NetconfAccessor.class);
- devMgrService = mock(DeviceManagerServiceProvider.class);
-
- when(netconfAccessor.getCapabilites()).thenReturn(capabilities);
- when(devMgrService.getDataProvider()).thenReturn(null);
-
- }
-
- @Test
- public void testCreate() throws Exception {
- when(netconfAccessor.getCapabilites().isSupportingNamespace(TopGrp.QNAME)).thenReturn(true);
-
- GRanNetworkElementFactory gRanNeFactory = new GRanNetworkElementFactory();
- assertTrue((gRanNeFactory.create(netconfAccessor, devMgrService)).isPresent());
- }
-
- @Test
- public void testCreateNone() throws Exception {
- when(netconfAccessor.getCapabilites().isSupportingNamespace(TopGrp.QNAME)).thenReturn(false);
-
- GRanNetworkElementFactory gRanNeFactory = new GRanNetworkElementFactory();
- assertTrue(!(gRanNeFactory.create(netconfAccessor, devMgrService).isPresent()));
- }
-
-}
diff --git a/sdnr/wt/devicemanager-gran/provider/src/test/resources/simplelogger.properties b/sdnr/wt/devicemanager-gran/provider/src/test/resources/simplelogger.properties
deleted file mode 100644
index 9af26dc96..000000000
--- a/sdnr/wt/devicemanager-gran/provider/src/test/resources/simplelogger.properties
+++ /dev/null
@@ -1,61 +0,0 @@
-#
-# ============LICENSE_START=======================================================
-# ONAP : ccsdk features
-# ================================================================================
-# Copyright (C) 2020 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=======================================================
-#
-#
-
-# SLF4J's SimpleLogger configuration file
-# Simple implementation of Logger that sends all enabled log messages, for all defined loggers, to System.err.
-
-# Default logging detail level for all instances of SimpleLogger.
-# Must be one of ("trace", "debug", "info", "warn", or "error").
-# If not specified, defaults to "info".
-org.slf4j.simpleLogger.defaultLogLevel=info
-
-# Logging detail level for a SimpleLogger instance named "xxx.yyy.zzz".
-# Must be one of ("trace", "debug", "info", "warn", or "error").
-# If not specified, the default logging detail level is used.
-# org.slf4j.simpleLogger.log.xxx.yyy=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.test=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.database=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.archiveservice=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.base.internalTypes.Resources=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.base.netconf.container=info
-
-# Set to true if you want the current date and time to be included in output messages.
-# Default is false, and will output the number of milliseconds elapsed since startup.
-#org.slf4j.simpleLogger.showDateTime=false
-
-# The date and time format to be used in the output messages.
-# The pattern describing the date and time format is the same that is used in java.text.SimpleDateFormat.
-# If the format is not specified or is invalid, the default format is used.
-# The default format is yyyy-MM-dd HH:mm:ss:SSS Z.
-#org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss:SSS Z
-
-# Set to true if you want to output the current thread name.
-# Defaults to true.
-#org.slf4j.simpleLogger.showThreadName=true
-
-# Set to true if you want the Logger instance name to be included in output messages.
-# Defaults to true.
-#org.slf4j.simpleLogger.showLogName=true
-
-# Set to true if you want the last component of the name to be included in output messages.
-# Defaults to false.
-#org.slf4j.simpleLogger.showShortLogName=false