public class NokiaAltiplanoRestCollectorProcessor
extends java.lang.Object
| Constructor and Description |
|---|
NokiaAltiplanoRestCollectorProcessor(NokiaAltiplanoRestCollectorProperties collectorProperties,
CollectorDataStore dataStore,
int datasourceId,
DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
createONTDevice(java.lang.String deviceName,
java.lang.String pvi,
java.lang.String cvi)
Method to create ONT device
|
void |
processBasicDeviceDetails()
Method to load and process Basic device details response from local data
directory, If SkipEMS is set to True
|
java.util.List<java.lang.String> |
processBasicDeviceDetails(java.lang.String response)
Processes the basic device details like Device Name
|
void |
processEntitiesData(java.lang.String deviceName)
Method to load Entities from Local data directory if SkipEMS is set to True
|
void |
processEntitiesData(java.lang.String response,
java.lang.String deviceName)
Method to process the Entities data of the given device
|
void |
processInterfacesData(java.lang.String deviceName)
Method to load Interfaces data from Local data directory if SkipEMS is set to
True
|
void |
processInterfacesData(java.lang.String deviceName,
java.lang.String response,
boolean isONTProcessing)
Method to process the Interfaces and ONT's response from EMS
|
void |
processIpAdressFromEntitiesIntent(java.lang.String response,
java.lang.String deviceName)
Method to process IP Address from EMS response
|
void |
processONTsData(java.lang.String deviceName)
Method to load ONT's data from Local data directory If Skip EMS is set to
True
|
public NokiaAltiplanoRestCollectorProcessor(NokiaAltiplanoRestCollectorProperties collectorProperties, CollectorDataStore dataStore, int datasourceId, DataSource dataSource)
public java.util.List<java.lang.String> processBasicDeviceDetails(java.lang.String response)
response - Response for the REST call from EMSpublic void processBasicDeviceDetails()
public void processEntitiesData(java.lang.String deviceName)
deviceName - Name of the devicepublic void processEntitiesData(java.lang.String response,
java.lang.String deviceName)
response - deviceName - public void processInterfacesData(java.lang.String deviceName)
deviceName - Load the Interfaces of the given device namepublic void processInterfacesData(java.lang.String deviceName,
java.lang.String response,
boolean isONTProcessing)
deviceName - Name of the deviceresponse - Response from EMSisONTProcessing - To check whether the response is related to ONT'spublic void processIpAdressFromEntitiesIntent(java.lang.String response,
java.lang.String deviceName)
response - response from EMSdeviceName - Name of the devicepublic void createONTDevice(java.lang.String deviceName,
java.lang.String pvi,
java.lang.String cvi)
deviceName - Name of the devicepvi - port of the OLT to which ONT should connect tocvi - ONT Idpublic void processONTsData(java.lang.String deviceName)
deviceName - Name of the device