78 IBM Tivoli Netcool Service Quality Manager Data Mediation Gateway Development
Sample output CSV file
The sample output CSV file from the gateway conforms to the 3GPP naming
convention A20081010.1500-20081010.1515_1_GGSN.csv. Example A-3 shows
the sample content of the CSV file.
Example: A-3 Sample output CSV file
GGSNNAME,APN,PDPCREATE_SUCCESSES,PDPCREATE_FAILURES,MSINIT_PDPDELETE_SUCCESSES,
MSINIT_PDPDELETE_FAILURES,NWINIT_PDPDELETE_SUCCESSES,NWINIT_PDPDELETE_FAILURES
gs1-ggsn-3,212.47.101.248:46,0,0,0,0,,
gs1-ggsn-3,212.47.101.248:3,1661,2,700,0,,
gs1-ggsn-3,212.47.101.248:1000,0,0,0,0,,
gs1-ggsn-3,212.47.101.248:253,56,0,19,0,,
gs1-ggsn-3,212.47.101.248:1,0,0,0,0,,
CSV_Writer_ITSO.pm
As noted in 3.5, “Developing the post parser configuration for Motorola GGSN”
on page 58, the CSV_Writer.pm must be modified to suppress the comments at
the beginning and ending of the output file. The modified CSV_Writer_ITSO.pm is
shown in Example A-4.
Example: A-4 Modified CSV_Writer.pm
#
#------------------------------------------------------------
# %Z% %M% %I% %G% %Z%
#------------------------------------------------------------
#
# File: CSV_Writer_ITSO.pm
#
# Desc: this package contains the fucntions that are used to write the
# information out in Comma Separated Value (CSV).
#
# (c) Copyright IBM Corporation 1998, 2008. All rights reserved.
#
package CSV_Writer_ITSO;
use strict;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
require Exporter;
require AutoLoader;