LoadData()
GetENodeBData()
GetMmeData()
GetSgwData()
GetPgwData()
GetPcrfData()
GetEirData()
GetHssData()
new()
ExampleLteCollector - A sample LTE Collector showing how to use the LTE Perl Framework to add various LTE entities to the collector data store
# # Run inside $NCHOME/precision/collectors/perlCollectors/ExampleLte/ using: # perl main.pl -port <portNumberToBeQueried> #
This provides a simple example LTE collector implementation. The expectation is that genuine collector implementations will either query an EMS directly, or load a CSV or XML file in a format defined by the EMS vendor or user. The purpose of this example collector is to demonstrate how to use the collector framework to import such data.
A data file option is not supported in this sample Collector; data is hardcoded.
LoadData()
Adds hard coded data to the LTE data store
This is called from main.pl both at initialisation and if the
UpdateData()
XML RPC call is received.
GetENodeBData()
Returns the ENodeB content of the store as an ITNM XML-RPC compatible XML response string.
This is called from main.pl if the
GetENodeBData()
XML RPC call is received.
GetMmeData()
Returns the MME content of the store as an ITNM XML-RPC compatible XML response string.
This is called from main.pl if the
GetMmeData()
XML RPC call is received.
GetSgwData()
Returns the SGW content of the store as an ITNM XML-RPC compatible XML response string.
This is called from main.pl if the
GetSgwData()
XML RPC call is received.
GetPgwData()
Returns the PGW content of the store as an ITNM XML-RPC compatible XML response string.
This is called from main.pl if the
GetPgwData()
XML RPC call is received.
GetPcrfData()
Returns the PCRF content of the store as an ITNM XML-RPC compatible XML response string.
This is called from main.pl if the
GetPcrfData()
XML RPC call is received.
GetEirData()
Returns the EIR content of the store as an ITNM XML-RPC compatible XML response string.
This is called from main.pl if the
GetEirData()
XML RPC call is received.
GetHssData()
Returns the HSS content of the store as an ITNM XML-RPC compatible XML response string.
This is called from main.pl if the
GetHssData()
XML RPC call is received.
new()
Instantiates the module.
- Arguments
This accepts an optional hash with the fields below.
file Input CSV file to use as the data source. NOT USED IN THIS SAMPLE.
debug Turn debug on or off by setting this to 0 or 1. NOT USED IN THIS SAMPLE.
Christopher Carrington
Licensed Materials - Property of IBM
"Restricted Materials of IBM"
5724-S45
(C) Copyright IBM Corp. 2015
IBM Tivoli Network Manager
THE SAMPLE IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF PATENTS, COPYRIGHTS OR OTHER PROPRIETARY RIGHTS OF OTHERS. NEITHER THE AUTHOR NOR IBM WARRANT THAT THE FUNCTIONS, ROUTINES, AND DATA CONTAINED IN, OR GENERATED AS A RESULT OF THE SAMPLES, WILL MEET YOUR REQUIREMENTS OR BE ERROR-FREE. The entire risk related to the quality and performance of the Samples is with you. In the event that there is any defect, you assume the entire cost of all necessary services, repair or correction. IN NO EVENT WILL THE AUTHOR OR IBM BE LIABLE TO YOU OR TO ANY THIRD PARTY FOR ANY DIRECT OR INDIRECT DAMAGES (INCLUDING, WITHOUT LIMITATION, LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES) ARISING OUT OF THE USE OR INABILITY TO USE THE SAMPLE, EVEN IF THE AUTHOR OR IBM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Some jurisdictions do not allow the exclusion of implied warranties or the limitation or exclusion of liability for incidental or consequential damages, so some of the above may not apply to you.