public class RANNetworkDevice extends NetworkDevice
Class representing a RAN network device to be used as an in memory data store for RAN device data within the
collector framework. To be used in conjunction with RANDataStore
.
A RAN network device extends NetworkDevice
but adds the following functionality:
As with the RANDataStore
, RAN data relationships and RAN NCIM data is added where available and appropriate.
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
nodeBLocalCells
A map of Node B local cells associated with the device, indexed by cell ID
|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
transceivers
A map of transceivers associated with the device, indexed by transceiver ID
|
addressSpace, associatedAddresses, baseName, configuredAddresses, connectivity, deviceId, entityList, interfaces, ipForwarding, layer2Vpns, layer3Vpns, lspList, managedElementId, mplsInterfaces, protocol, sysDescr, sysName, sysObjectId, uniqueAddress
customData, extraInfo
Constructor and Description |
---|
RANNetworkDevice(NetworkDevice device)
Create a new RAN network device based on another network device (not a RAN one)
|
RANNetworkDevice(java.lang.String deviceId,
java.lang.String uniqueAddress)
Create a new RAN network device
|
RANNetworkDevice(java.lang.String deviceId,
java.lang.String uniqueAddress,
java.lang.String baseName,
java.lang.String sysObjectId)
Create a new RAN network device
|
Modifier and Type | Method and Description |
---|---|
void |
addLocationInformation(java.lang.String mcc,
java.lang.String mnc,
java.lang.String lac,
java.lang.String rac)
Add RAN specific location information to the RAN device.
|
void |
addNodeBLocalCell(java.lang.String cellId,
java.util.Map<java.lang.String,java.lang.Object> data)
Add a Node B local cell data to a device
|
void |
addSector(java.lang.String transceiverId,
java.lang.String sectorId,
java.util.Map<java.lang.String,java.lang.Object> sectorData)
Add a RAN sector to a given transceiver
|
void |
addTransceiver(java.lang.String transceiverId,
java.util.Map<java.lang.String,java.lang.Object> data)
Add transceiver data to the device
|
void |
associate(Associatable a)
Automatically associate this RAN network device with another
Associatable entity. |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
getNodeBLocalCells()
Get all the node B local cells defined for this device
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getRANConnectivity()
Get a list of all RAN connections
|
java.lang.String |
getRANType()
Get the RAN entity type for this device, e.g.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
getTransceivers()
Get all the transceiver defined for this device
|
addAssociatedAddress, addConfiguredAddress, addConnection, addInterface, addL3Vpn, addL3VpnInterface, addL3VpnRouteTarget, getAddressSpace, getAssociatedAddresses, getBaseName, getConfiguredAddresses, getConnections, getDeviceId, getEntityList, getId, getInterfaces, getIpForwarding, getLayer2Vpns, getLayer3Vpns, getLspList, getManagedElementId, getMplsInterfaces, getName, getProtocol, getSysDescr, getSysName, getSysObjectId, getUniqueAddress, getUniqueID, hasAddress, isInSubnet, merge, resolveDeviceAddresses, setAddressSpace, setBaseName, setDeviceId, setIpForwarding, setManagedElementId, setManagementIpAddress, setProtocol, setSysDescr, setSysName, setSysObjectId, setUniqueName, toDeviceInfoXMLString, toInventoryXMLString, toMPLSInterfaceXMLString, toXMLString
addCustomData, addExtraInfo, getCustomData, getExtraInfo
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> nodeBLocalCells
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> transceivers
public RANNetworkDevice(NetworkDevice device)
device
- The network device to use as a basis for the new RANNetworkDevicepublic RANNetworkDevice(java.lang.String deviceId, java.lang.String uniqueAddress)
deviceId
- The device IDuniqueAddress
- The unique address (management IP address or name) of the devicepublic RANNetworkDevice(java.lang.String deviceId, java.lang.String uniqueAddress, java.lang.String baseName, java.lang.String sysObjectId)
deviceId
- The device IDuniqueAddress
- The unique address (management IP address or name) of the devicebaseName
- The base name of the devicesysObjectId
- The sys object ID for the devicepublic void addLocationInformation(java.lang.String mcc, java.lang.String mnc, java.lang.String lac, java.lang.String rac)
rac
- The routing area code for this device (or associated routing area)mcc
- The mobile country code for this device (or associated routing or location area)mnc
- The mobile network code for this device (or associated routing or location area)lac
- The location area code for this device (or associated routing or location area)public void addNodeBLocalCell(java.lang.String cellId, java.util.Map<java.lang.String,java.lang.Object> data)
cellId
- The ID of the local celldata
- The cell datapublic void addSector(java.lang.String transceiverId, java.lang.String sectorId, java.util.Map<java.lang.String,java.lang.Object> sectorData)
transceiverId
- The ID of the transceiver to add the RAN sector tosectorId
- The ID of the RAN sectorsectorData
- Data for the RAN sector e.g. ID, height and beam directionpublic void addTransceiver(java.lang.String transceiverId, java.util.Map<java.lang.String,java.lang.Object> data)
transceiverId
- The id of the transceiver to add data todata
- Transceiver datapublic void associate(Associatable a)
Associatable
entity. If the given device is
another RAN network device, the relationship between the two entities is inferred and the appropriate
relationship data is added to the device.associate
in interface Associatable
associate
in class NetworkDevice
a
- The object to associate with this object.public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getNodeBLocalCells()
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getRANConnectivity()
public java.lang.String getRANType()
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getTransceivers()