public class N5gDataStore extends LTEDataStore
In memory data store implementation for holding 5G specific data for the ITNM java collector framework. The 5G data store has methods to aid in adding 5G specific data for various devices, such as GNodeB
The add methods not only add add a device to the store, but also add 5G specific data as defined by the 5G NCIM
tables. For example, addGNodeB(int dataSourceId, String deviceId, String parentChassisId, String parentChassisDn)
adds a device representing an gNodeB to the store.
GNodeB data is retrieved from the getGNodeBData(int, String) invocation.
collectorDescription, collectorName, dataSources, readLock, rwLock, writeLock| Constructor and Description |
|---|
N5gDataStore(java.lang.String collectorName,
java.lang.String collectorDescription)
Create a data store for holding 5G data
|
| Modifier and Type | Method and Description |
|---|---|
void |
add5GAntennaSerial(N5gNRSector parent,
java.lang.String serial)
Adds an antenna serial number to an Sector's list
|
void |
add5gConnection(N5gFunction parent,
N5gFunction.eConnectionType type,
java.lang.String nbrName,
java.util.Map<java.lang.String,java.lang.Object> data)
Adds a connection to an 5G function
|
void |
add5GInterface(N5gFunction parent,
java.lang.String ipAddress,
java.util.Map<java.lang.String,java.lang.Object> data)
Adds an Interface to an 5G function
|
N5gAF |
addAF(int dataSourceId,
java.lang.String deviceId,
java.lang.String parentChassisId,
java.lang.String parentChassisDn)
Add a AF to store
|
N5gAMF |
addAMF(int dataSourceId,
java.lang.String deviceId,
java.lang.String parentChassisId,
java.lang.String parentChassisDn)
Add a AMF to store
|
LTEAntennaFunction |
addAntennaFunction(N5gGNBFunction parent,
java.lang.String antennaSerial,
java.util.Map<java.lang.String,java.lang.Object> data)
Creates and adds an Antenna function to an N5gGNBFunction
|
N5gAUSF |
addAUSF(int dataSourceId,
java.lang.String deviceId,
java.lang.String parentChassisId,
java.lang.String parentChassisDn)
Add a AUSF to store
|
void |
addConnectedMME(N5gGNBFunction parent,
java.lang.String mmeName,
java.util.Map<java.lang.String,java.lang.Object> data)
Adds an mme connection to an ENBFunction
|
void |
addConnectedSGW(N5gGNBFunction parent,
java.lang.String sgwName,
java.util.Map<java.lang.String,java.lang.Object> data)
Adds an SGW connection to an GNBFunction
|
void |
addE1Neighbour(N5gGNBFunction parent,
java.lang.String adjGNBId,
java.util.Map<java.lang.String,java.lang.Object> data) |
void |
addF1CNeighbour(N5gGNBFunction parent,
java.lang.String adjGNBId,
java.util.Map<java.lang.String,java.lang.Object> data) |
void |
addF1UNeighbour(N5gGNBFunction parent,
java.lang.String adjGNBId,
java.util.Map<java.lang.String,java.lang.Object> data) |
N5gGNodeB |
addGNodeB(int dataSourceId,
java.lang.String deviceId,
java.lang.String parentChassisId,
java.lang.String parentChassisDn)
Add a gNodeB to store
|
N5gNEF |
addNEF(int dataSourceId,
java.lang.String deviceId,
java.lang.String parentChassisId,
java.lang.String parentChassisDn)
Add a NEF to store
|
N5gLogicalElement |
addNRCell(N5gLogicalElement.eLogicalType type,
N5gGNBFunction parent,
java.lang.String cellId,
java.util.Map<java.lang.String,java.lang.Object> data)
Adds a eUtranCell to an ENBFunction
|
N5gNRF |
addNRF(int dataSourceId,
java.lang.String deviceId,
java.lang.String parentChassisId,
java.lang.String parentChassisDn)
Add a NRF to store
|
N5gNRSector |
addNRSectorCarrier(N5gGNBFunction parent,
java.lang.String sectorId,
java.util.Map<java.lang.String,java.lang.Object> data)
Adds a eUtranSector to an N5gGNBFunction
|
N5gNSSF |
addNSSF(int dataSourceId,
java.lang.String deviceId,
java.lang.String parentChassisId,
java.lang.String parentChassisDn)
Add a NSSF to store
|
N5gPCF |
addPCF(int dataSourceId,
java.lang.String deviceId,
java.lang.String parentChassisId,
java.lang.String parentChassisDn)
Add a PCF to store
|
void |
addPlmn(N5gGNBFunction parent,
java.util.Map<java.lang.String,java.lang.Object> data)
Adds a Plmn to a GNB function
|
void |
addSectorId(LTEAntennaFunction parent,
java.lang.String sectorId)
Adds a sectorId to the an Antenna's list
|
N5gSMF |
addSMF(int dataSourceId,
java.lang.String deviceId,
java.lang.String parentChassisId,
java.lang.String parentChassisDn)
Add a SMF to store
|
N5gUDM |
addUDM(int dataSourceId,
java.lang.String deviceId,
java.lang.String parentChassisId,
java.lang.String parentChassisDn)
Add a UDM to store
|
N5gUPF |
addUPF(int dataSourceId,
java.lang.String deviceId,
java.lang.String parentChassisId,
java.lang.String parentChassisDn)
Add a UPF to store
|
void |
addX2CNeighbour(N5gGNBFunction parent,
java.lang.String adjGNBId,
java.util.Map<java.lang.String,java.lang.Object> data)
Adds an x2CNeighbour connection to an GNBFunction
|
void |
addX2Neighbour(N5gGNBFunction parent,
java.lang.String adjENBId,
java.util.Map<java.lang.String,java.lang.Object> data)
Adds an x2Neighbour connection to an GNBFunction
|
void |
addX2UNeighbour(N5gGNBFunction parent,
java.lang.String adjGNBId,
java.util.Map<java.lang.String,java.lang.Object> data)
Adds an x2CNeighbour connection to an GNBFunction
|
java.lang.String |
getAFData(int dataSourceId,
java.lang.String deviceId)
Get an XML representation of all data stored in the data store for a given
SMF device
|
java.lang.String |
getAMFData(int dataSourceId,
java.lang.String deviceId)
Get an XML representation of all data stored in the data store for a given
AMF device
|
java.lang.String |
getAUSFData(int dataSourceId,
java.lang.String deviceId)
Get an XML representation of all data stored in the data store for a given
SMF device
|
java.lang.String |
getGNodeBData(int dataSourceId,
java.lang.String deviceId)
Get an XML representation of all data stored in the data store for a given
GNodeB device
|
java.lang.String |
getNEFData(int dataSourceId,
java.lang.String deviceId)
Get an XML representation of all data stored in the data store for a given
SMF device
|
java.lang.String |
getNRFData(int dataSourceId,
java.lang.String deviceId)
Get an XML representation of all data stored in the data store for a given
SMF device
|
java.lang.String |
getNSSFData(int dataSourceId,
java.lang.String deviceId)
Get an XML representation of all data stored in the data store for a given
SMF device
|
java.lang.String |
getPCFData(int dataSourceId,
java.lang.String deviceId)
Get an XML representation of all data stored in the data store for a given
SMF device
|
java.lang.String |
getSMFData(int dataSourceId,
java.lang.String deviceId)
Get an XML representation of all data stored in the data store for a given
SMF device
|
java.lang.String |
getUDMData(int dataSourceId,
java.lang.String deviceId)
Get an XML representation of all data stored in the data store for a given
SMF device
|
java.lang.String |
getUPFData(int dataSourceId,
java.lang.String deviceId)
Get an XML representation of all data stored in the data store for a given
SMF device
|
addAntennaFunction, addAntennaSerial, addConnectedMME, addConnectedSGW, addConnection, addConnection, addConnection, addConnection, addConnection, addConnection, addConnection, addConnection, addEIR, addEIRFunction, addENodeB, addENodeBFunction, addEUtranCell, addEUtranSector, addGBTSFunction, addHSS, addHSSFunction, addListIteratorXML, addListIteratorXMLNoItemTags, addLTEInterface, addLTEInterface, addLTEInterface, addLTEInterface, addLTEInterface, addLTEInterface, addLTEInterface, addLTEInterface, addMME, addMMEFunction, addNodeBFunction, addPCRF, addPCRFFunction, addPGW, addPGWFunction, addPGWFunction, addPlmn, addPlmn, addPlmn, addPlmn, addPlmn, addPlmn, addPlmn, addPlmn, addSAEGateway, addSAEGatewayFunction, addSGW, addSGWFunction, addSGWFunction, addX2Neighbour, getEIRData, getENodeBData, getHSSData, getMMEData, getPCRFData, getPGWData, getSAEData, getSAEGatewayData, getSGWDataaddBaseStation, addBaseStationController, addGBTSCell, addGbtsGLocalCell, addGGSN, addGSMCell, addGTRXGroup, addLocationInformation, addMediaGateway, addMobileSwitchingCentre, addMSS, addMultiplexer, addNodeB, addNodeBLocalCell, addPacketControlUnit, addRadioNetworkController, addRANConnection, addRANConnection, addSector, addSGSN, addTransceiver, addUtranCell, appendGbtsData, appendRanData, associate, generateRANEntityName, getGBTSDataAsFunctionList, getNodeBLocalCellName, getRANData, getRANDataAsFunctionList, getTransceiverNameaddAssociatedAddress, addConnection, addDataSource, addDataSource, addDataSource, addDeviceData, addEntity, addGeographicLocation, addInterface, addL2Vpn, addL3Vpn, addL3VpnInterface, addL3VpnRouteTarget, addLayer1Connection, addLayer2Connection, addLayer3Connection, addLsp, addMplsInterface, deviceCollects, deviceCollects, deviceDependency, deviceDependency, deviceHosts, getAssociatedAddresses, getAssociatedAddresses, getCollectorDescription, getCollectorName, getConnections, getConnections, getDataSource, getDataSources, getDeviceInfo, getDeviceInfo, getDeviceInfo, getDeviceList, getDeviceList, getDeviceList, getDeviceName, getDeviceName, getEntities, getEntities, getInfo, getInterfaceName, getInterfaceName, getInventory, getInventory, getLayer1Connections, getLayer1Connections, getLayer2Connections, getLayer2Connections, getLayer2Vpns, getLayer2Vpns, getLayer3Connections, getLayer3Connections, getLayer3Vpns, getLayer3Vpns, getMplsInterfaces, getMplsInterfaces, interfaceCollects, interfaceCollects, interfaceDependency, interfaceDependency, interfaceHosts, removeAllDeviceData, removeDataSource, removeDeviceData, removeDeviceEntityData, removeDeviceInterfaceData, removeDeviceLayer2ConnectionData, removeDeviceLayer2VpnData, removeDeviceLayer3VpnData, removeDeviceMplsData, resolveAssociatedAddresses, resolveAssociatedAddresses, setCollectorDescription, setCollectorNamepublic N5gDataStore(java.lang.String collectorName,
java.lang.String collectorDescription)
collectorName - The name of the collectorcollectorDescription - A description of the collectorpublic java.lang.String getGNodeBData(int dataSourceId,
java.lang.String deviceId)
dataSourceId - The ID of the datasourcedeviceId - The ID of the GNodeBpublic N5gGNodeB addGNodeB(int dataSourceId, java.lang.String deviceId, java.lang.String parentChassisId, java.lang.String parentChassisDn) throws CollectorException
dataSourceId - The id of the datasourcedeviceId - The unique id of the eNodeBparentChassisId - Id of chassisparentChassisDn - Dn of chassisCollectorExceptionpublic void addPlmn(N5gGNBFunction parent, java.util.Map<java.lang.String,java.lang.Object> data)
parent - The GNBFunction to add todata - all plmn datapublic void addX2Neighbour(N5gGNBFunction parent, java.lang.String adjENBId, java.util.Map<java.lang.String,java.lang.Object> data)
parent - The GNBFunction to add toadjENBId - The remote eNodeBdata - All other connection infopublic void addX2CNeighbour(N5gGNBFunction parent, java.lang.String adjGNBId, java.util.Map<java.lang.String,java.lang.Object> data)
parent - The GNBFunction to add toadjENBId - The remote gNodeBdata - All other connection infopublic void addX2UNeighbour(N5gGNBFunction parent, java.lang.String adjGNBId, java.util.Map<java.lang.String,java.lang.Object> data)
parent - The GNBFunction to add toadjENBId - The remote gNodeBdata - All other connection infopublic void addConnectedSGW(N5gGNBFunction parent, java.lang.String sgwName, java.util.Map<java.lang.String,java.lang.Object> data)
parent - The GNBFunction to add tosgwName - Name of nbr SGWdata - All other connection infopublic void addE1Neighbour(N5gGNBFunction parent, java.lang.String adjGNBId, java.util.Map<java.lang.String,java.lang.Object> data)
public void addF1CNeighbour(N5gGNBFunction parent, java.lang.String adjGNBId, java.util.Map<java.lang.String,java.lang.Object> data)
public void addF1UNeighbour(N5gGNBFunction parent, java.lang.String adjGNBId, java.util.Map<java.lang.String,java.lang.Object> data)
public LTEAntennaFunction addAntennaFunction(N5gGNBFunction parent, java.lang.String antennaSerial, java.util.Map<java.lang.String,java.lang.Object> data)
parent - The N5gGNBFunction to add toantennaSerial - The unique antenna Identifierdata - All other antenna infopublic void add5GInterface(N5gFunction parent, java.lang.String ipAddress, java.util.Map<java.lang.String,java.lang.Object> data)
parent - The 5gFunction to add toipAddress - ipAddress of interfacedata - all other interface datapublic N5gLogicalElement addNRCell(N5gLogicalElement.eLogicalType type, N5gGNBFunction parent, java.lang.String cellId, java.util.Map<java.lang.String,java.lang.Object> data)
parent - The ENBFunction to add tocellId - The unique cell Identifierdata - All other eUtranCell infopublic N5gNRSector addNRSectorCarrier(N5gGNBFunction parent, java.lang.String sectorId, java.util.Map<java.lang.String,java.lang.Object> data)
parent - The N5gGNBFunction to add tosectorId - The unique sector Identifierdata - All other eUtranSector infopublic void addSectorId(LTEAntennaFunction parent, java.lang.String sectorId)
addSectorId in class LTEDataStoreparent - The Antenna to add tosectorId - The sectorIdpublic void addConnectedMME(N5gGNBFunction parent, java.lang.String mmeName, java.util.Map<java.lang.String,java.lang.Object> data)
parent - The ENBFunction to add tommeName - Name of nbr MMEdata - All other connection infopublic void add5GAntennaSerial(N5gNRSector parent, java.lang.String serial)
parent - The Sector to add toserial - The serial numberpublic void add5gConnection(N5gFunction parent, N5gFunction.eConnectionType type, java.lang.String nbrName, java.util.Map<java.lang.String,java.lang.Object> data)
parent - The 5gFunction to add toeConnectionType - connection TypenbrName - connected neighbor namedata - all other connection datapublic N5gAMF addAMF(int dataSourceId, java.lang.String deviceId, java.lang.String parentChassisId, java.lang.String parentChassisDn) throws CollectorException
dataSourceId - The id of the datasourcedeviceId - The unique id of the amfparentChassisId - Id of chassisparentChassisDn - Dn of chassisCollectorExceptionpublic N5gSMF addSMF(int dataSourceId, java.lang.String deviceId, java.lang.String parentChassisId, java.lang.String parentChassisDn) throws CollectorException
dataSourceId - The id of the datasourcedeviceId - The unique id of the SMFparentChassisId - Id of chassisparentChassisDn - Dn of chassisCollectorExceptionpublic N5gUPF addUPF(int dataSourceId, java.lang.String deviceId, java.lang.String parentChassisId, java.lang.String parentChassisDn) throws CollectorException
dataSourceId - The id of the datasourcedeviceId - The unique id of the UPFparentChassisId - Id of chassisparentChassisDn - Dn of chassisCollectorExceptionpublic N5gPCF addPCF(int dataSourceId, java.lang.String deviceId, java.lang.String parentChassisId, java.lang.String parentChassisDn) throws CollectorException
dataSourceId - The id of the datasourcedeviceId - The unique id of the PCFparentChassisId - Id of chassisparentChassisDn - Dn of chassisCollectorExceptionpublic N5gNEF addNEF(int dataSourceId, java.lang.String deviceId, java.lang.String parentChassisId, java.lang.String parentChassisDn) throws CollectorException
dataSourceId - The id of the datasourcedeviceId - The unique id of the NEFparentChassisId - Id of chassisparentChassisDn - Dn of chassisCollectorExceptionpublic N5gNRF addNRF(int dataSourceId, java.lang.String deviceId, java.lang.String parentChassisId, java.lang.String parentChassisDn) throws CollectorException
dataSourceId - The id of the datasourcedeviceId - The unique id of the NRFparentChassisId - Id of chassisparentChassisDn - Dn of chassisCollectorExceptionpublic N5gAUSF addAUSF(int dataSourceId, java.lang.String deviceId, java.lang.String parentChassisId, java.lang.String parentChassisDn) throws CollectorException
dataSourceId - The id of the datasourcedeviceId - The unique id of the AUSFparentChassisId - Id of chassisparentChassisDn - Dn of chassisCollectorExceptionpublic N5gAF addAF(int dataSourceId, java.lang.String deviceId, java.lang.String parentChassisId, java.lang.String parentChassisDn) throws CollectorException
dataSourceId - The id of the datasourcedeviceId - The unique id of the AFparentChassisId - Id of chassisparentChassisDn - Dn of chassisCollectorExceptionpublic N5gUDM addUDM(int dataSourceId, java.lang.String deviceId, java.lang.String parentChassisId, java.lang.String parentChassisDn) throws CollectorException
dataSourceId - The id of the datasourcedeviceId - The unique id of the UDMparentChassisId - Id of chassisparentChassisDn - Dn of chassisCollectorExceptionpublic N5gNSSF addNSSF(int dataSourceId, java.lang.String deviceId, java.lang.String parentChassisId, java.lang.String parentChassisDn) throws CollectorException
dataSourceId - The id of the datasourcedeviceId - The unique id of the NSSFparentChassisId - Id of chassisparentChassisDn - Dn of chassisCollectorExceptionpublic java.lang.String getAMFData(int dataSourceId,
java.lang.String deviceId)
dataSourceId - The ID of the datasourcedeviceId - The ID of the AMFpublic java.lang.String getSMFData(int dataSourceId,
java.lang.String deviceId)
dataSourceId - The ID of the datasourcedeviceId - The ID of the SMFpublic java.lang.String getUPFData(int dataSourceId,
java.lang.String deviceId)
dataSourceId - The ID of the datasourcedeviceId - The ID of the UPFpublic java.lang.String getPCFData(int dataSourceId,
java.lang.String deviceId)
dataSourceId - The ID of the datasourcedeviceId - The ID of the PCFpublic java.lang.String getNEFData(int dataSourceId,
java.lang.String deviceId)
dataSourceId - The ID of the datasourcedeviceId - The ID of the NEFpublic java.lang.String getNRFData(int dataSourceId,
java.lang.String deviceId)
dataSourceId - The ID of the datasourcedeviceId - The ID of the NRFpublic java.lang.String getAUSFData(int dataSourceId,
java.lang.String deviceId)
dataSourceId - The ID of the datasourcedeviceId - The ID of the AUSFpublic java.lang.String getAFData(int dataSourceId,
java.lang.String deviceId)
dataSourceId - The ID of the datasourcedeviceId - The ID of the AFpublic java.lang.String getUDMData(int dataSourceId,
java.lang.String deviceId)
dataSourceId - The ID of the datasourcedeviceId - The ID of the UDMpublic java.lang.String getNSSFData(int dataSourceId,
java.lang.String deviceId)
dataSourceId - The ID of the datasourcedeviceId - The ID of the NSSF