XML API Developer Guide Issue 1
XML API Developer Guide Issue 1
3HE-20022-AAAB-TQZZA
Issue 1
August 2024
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms
NFM-P
Legal notice
Nokia is committed to diversity and inclusion. We are continuously reviewing our customer documentation and consulting with standards
bodies to ensure that terminology is inclusive and aligned with the industry. Our future customer documentation will be updated accordingly.
This document includes Nokia proprietary and confidential information, which may not be distributed or disclosed to any third parties without
the prior written consent of Nokia.
This document is intended for use by Nokia’s customers (“You”/”Your”) in connection with a product purchased or licensed from any
company within Nokia Group of Companies. Use this document as agreed. You agree to notify Nokia of any errors you may find in this
document; however, should you elect to use this document for any purpose(s) for which it is not intended, You understand and warrant that
any determinations You may make or actions You may take will be based upon Your independent judgment and analysis of the content of
this document.
Nokia reserves the right to make changes to this document without notice. At all times, the controlling version is the one available on
Nokia’s site.
NO WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF
AVAILABILITY, ACCURACY, RELIABILITY, TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE, IS MADE IN RELATION TO THE CONTENT OF THIS DOCUMENT. IN NO EVENT WILL NOKIA BE LIABLE FOR ANY
DAMAGES, INCLUDING BUT NOT LIMITED TO SPECIAL, DIRECT, INDIRECT, INCIDENTAL OR CONSEQUENTIAL OR ANY LOSSES,
SUCH AS BUT NOT LIMITED TO LOSS OF PROFIT, REVENUE, BUSINESS INTERRUPTION, BUSINESS OPPORTUNITY OR DATA
THAT MAY ARISE FROM THE USE OF THIS DOCUMENT OR THE INFORMATION IN IT, EVEN IN THE CASE OF ERRORS IN OR
OMISSIONS FROM THIS DOCUMENT OR ITS CONTENT.
Copyright and trademark: Nokia is a registered trademark of Nokia Corporation. Other product names mentioned in this document may be
trademarks of their respective owners.
© 2024 Nokia.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
2 3HE-20022-AAAB-TQZZA Issue 1
Contents NFM-P
Contents
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 3
Contents NFM-P
5 XML requests................................................................................................................................................67
5.1 HTTP communication with the NFM-P ..............................................................................................67
5.2 HTTP POST method .........................................................................................................................67
5.3 To post an XML request to the NFM-P ..............................................................................................67
5.4 Monitoring connection status using XML API ping ............................................................................68
5.5 XML API ping.....................................................................................................................................69
5.6 Workflow to set up and operate an HTTP XML request-response connection..................................70
5.7 Viewing XML requests ignored by the NFM-P ..................................................................................71
5.8 XML API system commands .............................................................................................................71
5.9 Obtaining the local server time of a request......................................................................................71
5.10 Identifying the NFM-P software release and patch level ...................................................................71
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
4 3HE-20022-AAAB-TQZZA Issue 1
Contents NFM-P
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 5
Contents NFM-P
12 OAM.............................................................................................................................................................151
12.1 OAM ...............................................................................................................................................151
12.2 References......................................................................................................................................151
12.3 Key packages and classes..............................................................................................................151
12.4 Tests................................................................................................................................................151
12.5 Test suites .......................................................................................................................................152
12.6 Generated tests...............................................................................................................................153
12.7 Workflow to generate tests..............................................................................................................153
12.8 Scheduling tests..............................................................................................................................154
12.9 To schedule a test suite using the NFM-P.......................................................................................154
12.10 NE schedule tests ...........................................................................................................................155
12.11 Retrieving results ............................................................................................................................155
12.12 Ethernet OAM .................................................................................................................................158
12.13 PM Session OAM............................................................................................................................159
12.14 OAM for OmniSwitch.......................................................................................................................160
12.15 Performance and scalability ............................................................................................................160
13 Inventory management..............................................................................................................................161
13.1 Inventory management ..................................................................................................................161
13.2 Network object model......................................................................................................................161
13.3 Inventory retrieval methods.............................................................................................................162
13.4 To configure remote findToFile result storage .................................................................................169
13.5 Inventory request processing ..........................................................................................................169
13.6 Request filters .................................................................................................................................170
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
6 3HE-20022-AAAB-TQZZA Issue 1
Contents NFM-P
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 7
Contents NFM-P
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
8 3HE-20022-AAAB-TQZZA Issue 1
Contents NFM-P
C Troubleshooting .........................................................................................................................................359
C.1 Troubleshooting client OSS application problems...........................................................................359
C.2 The OSS client cannot communicate with the server .....................................................................359
C.3 An attempt to log in to the NFM-P server fails.................................................................................361
C.4 Unable to perform an action using the XML API .............................................................................361
C.5 Receive insufficient privileges to perform this operation on an object exception when performing an
action on an NFM-P object..............................................................................................................362
C.6 Receive an authorization failure to access an object exception when performing an action on an
NFM-P object ..................................................................................................................................363
C.7 Identifying XML messages from specific users ...............................................................................363
C.8 Receive a java.lang.UnsupportedClassVersionError when sending scripts using an OSS client ...365
C.9 Receive a java.net.ConnectException when sending scripts using an OSS Client ........................366
C.10 The OSS client cannot connect with the HTTP or JMS server........................................................366
C.11 The OSS client cannot perform find or findTofile requests..............................................................367
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 9
Contents NFM-P
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
10 3HE-20022-AAAB-TQZZA Issue 1
About this document NFM-P
Scope
The scope of this document is limited to the NFM-P application. Many configuration, monitoring,
and assurance functions that can be accomplished from the NFM-P Java GUI are also delivered in
NSP. Readers of this NFM-P guide should familiarize themselves with the capabilities of the NSP,
which often offers more efficient and sophisticated features for network and service management.
For NSP MDM-managed devices, API documentation can be found in the Network Developer
Portal. The portal provides links to NSP RESTCONF API and NSP REST API resources, which
includes Swagger documentation, Yang HTML browser, and sample code “Postman” collections for
all of the listed NSP APIs.
Safety information
For your safety, this document contains safety statements. Safety statements are given at points
where risks of damage to personnel, equipment, and operation may exist. Failure to follow the
directions in a safety statement may result in serious consequences.
Document support
Customer documentation and product support URLs:
• Documentation Center
• Technical support
How to comment
Please send your feedback to documentation.feedback@nokia.com.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 11
About this document NFM-P
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
12 3HE-20022-AAAB-TQZZA Issue 1
Product and support NFM-P
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 13
Product and support NFM-P
XML API
The following figure shows the architecture of the XML API, which includes a JMS connection for
the collection of near-real-time alarms and events.
OSS
client
17702
An XML API client sends an XML-encoded, SOAP-enabled message to a main server HTTP or
HTTPS port. An XML application on the main server station parses the SOAP XML message and
forwards the request to the NFM-P server for processing.
An HTTPS connection requires TLS encryption. See the NSP Planning Guide for the TLS and
HTTPS port assignments, and the NSP Installation and Upgrade Guide for TLS configuration
information.
The XML API is installed with the core NFM-P software components. To use the XML API, you must
perform the following configuration tasks.
• Enter an NFM-P license key that activates the XML API.
• Use a user group that is assigned the OSS management scope of command role.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
14 3HE-20022-AAAB-TQZZA Issue 1
Product and support NFM-P
About this guide
Note: You can create a scope of command profile to group the OSS management scope of
command role with additional roles. See the section on user account and group management
in the NSP System Administrator Guide for more information about user groups and the
associated scope of command roles and permissions.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 15
Product and support NFM-P
Redundant network configurations
− equipment configuration
− routing protocol configuration
− customer and residential subscriber configuration
− policy configuration
− service configuration
− XML service template configuration
− script management configuration
• Information about other network management products, such as:
− CPAM
• Appendices containing information about the following:
− best practices
− troubleshooting client OSS application problems
The following guides, documents, or files are also relevant to an OSS developer:
• When setting up the NFM-P in your lab environment:
− NSP Planning Guide—platform support information
− NSP Installation and Upgrade Guide—installation information
• When starting to use the NFM-P:
− NSP NFM-P Classic Management User Guide
• When developing an OSS application:
− XML API Reference—contains javadoc-style documentation of the object model, essential for
writing XML API requests
− Schema Reference—contains XSD schema definitions for the object model
− XML API SDK Sample Code Navigator—includes a library of XML scripts that provides
configuration and network management request samples, as well as the corresponding
responses, to help developers with OSS integration. The samples in this document can be
used as a base on which to build OSS requests.
− JMS Test Example Code—contains example code for writing JMS subscribers
See the Network Developer Portal for more information.
• Other files:
− MIBs—files are on each main server in the /opt/nsp/nfmp/server/nms/web/tomcat/work/
Catalina/localhost/help/eclipse/plugins/ALU_SAM_MIB directory
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
16 3HE-20022-AAAB-TQZZA Issue 1
Product and support NFM-P
Supported devices and technologies
server and the database are on separate stations. The servers and databases are separate entities,
regardless of the physical or geographical deployment.
You require the following information to configure redundant OSS connections:
• the IP addresses of the primary and standby main servers
• which main server is currently primary
You can use any of the following methods to monitor the connection status between an OSS client
and a main server:
• JMS exceptions, to monitor client connections to the JMS server
• monitoring near-real-time events using a JMS client connection
• XML API ping to monitor the HTTP connection to the NFM-P web server
See 3.3 “OSS client interfaces” (p. 23) for more information about monitoring the connection status
between the OSS client and a main server.
See Chapter 4, “Event monitoring using JMS” for more information about JMS and redundancy.
Note: The NFM-P functions and features vary for the supported devices. This guide does not
describe the variations in support, or device-specific procedures for specific implementations.
See the NSP NFM-P Classic Management User Guide for this information.
The NSP NFM-P Network Element Compatibility Guide lists the device releases and functions that
the NFM-P supports.
See the device user documentation for information about device functions, parameters, and CLI
commands that are outside the scope of the NFM-P documentation. Contact Nokia technical
support for specific network or facility considerations.
• XML • Java
• SOAP • JMS
• HTTP(S) • JBoss
See the NSP Architecture Guide for more information about the standards compliance for these
technologies.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 17
Product and support NFM-P
Before you begin
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
18 3HE-20022-AAAB-TQZZA Issue 1
Product and support NFM-P
Recommended upgrade path
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 19
Product and support NFM-P
Recommended upgrade path
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
20 3HE-20022-AAAB-TQZZA Issue 1
Schema and FDN changes NFM-P
• FDN_Mapping_11_0_R1_to_11_0_R2.date.log • FDN_Mapping_11_0_R5_to_11_0_R6.date.log
• FDN_Mapping_11_0_R2_to_11_0_R3.date.log • FDN_Mapping_11_0_R6_to_11_0_R7.date.log
• FDN_Mapping_11_0_R3_to_11_0_R4.date.log • FDN_Mapping_11_0_R7_to_12_0_R1.date.log
• FDN_Mapping_11_0_R4_to_11_0_R5.date.log
Note: A system upgrade automatically migrates data from the starting release to the target
release without the need to upgrade to each intermediate release.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 21
Schema and FDN changes NFM-P
NFM-P object FDN changes
</old>
<old
Fdn="network:142.165.76.50:router-1:ospf:areaSite-0.0.0.11:interface-204.83.242.2.
0:neighbor-204.83.242.1.0" class="ospf.Neighbor">
<new
Fdn="network:142.165.76.50:router-1:ospf-v2:areaSite-0.0.0.11:interface-204.83.
242.2.0:neighbor-204.83.242.1.0" class="ospf.Neighbor"/>
</old>
<old
Fdn="network:142.165.76.50:router-1:ospf:areaSite-0.0.0.11:interface-204.83.242.2.
0:md 5-1" class="ospf.Md5Key">
<new
Fdn="network:142.165.76.50:router-1:ospf-v2:areaSite-0.0.0.11:interface-204.83.
242.2.0:md5-1" class="ospf.Md5Key"/>
</old>
<old
Fdn="network:142.165.76.50:router-1:ospf:areaSite-0.0.0.11:interface-204.83.242.
9.0" class="ospf.Interface">
<new
Fdn="network:142.165.76.50:router-1:ospf-v2:areaSite-0.0.0.11:interface-204.83.
242.9.0" class="ospf.Interface"/>
</old>
<old
Fdn="network:142.165.76.50:router-1:ospf:areaSite-0.0.0.11:interface-204.83.242.9.
0:md5-1" class="ospf.Md5Key">
<new
Fdn="network:142.165.76.50:router-1:ospf-v2:areaSite-0.0.0.11:interface-204.83.
242.9.0:md5-1" class="ospf.Md5Key"/>
</old>
</version>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
22 3HE-20022-AAAB-TQZZA Issue 1
Communicating with the NFM-P NFM-P
3.1 Overview
3.1.1 Overview
The following communication mechanisms are available to NFM-P OSS clients:
• NFM-P XML API and JMS event stream
• NSP REST API and Kafka notification service
The XML API receives SOAP XML requests for configuring and managing NFM-P system and
network objects. The XML JMS event stream allows OSS clients to receive near-real-time
notification of NFM-P system and managed-network events. The NSP NFM-P XML API Developer
Guide focuses primarily on OSS application integration with the XML API and JMS mechanisms.
By subscribing to NSP REST APIs, an NFM-P OSS client can configure and manage objects, and
receive near-real-time Kafka event notifications. See the Network Developer Portal for information.
Note: The NSP REST APIs also allow OSS clients to integrate with other NSP components.
A developer who creates an OSS application for the XML API requires knowledge of the following:
• standard XML schema constructions
• OSS interfaces
• managed devices
• NFM-P functions
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 23
Communicating with the NFM-P NFM-P
OSS client interfaces
OSS application
XML/SOAP/HTTP(S)
JMS
JDBC/TCP
NFM-P Database
server
21150
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
24 3HE-20022-AAAB-TQZZA Issue 1
Communicating with the NFM-P NFM-P
Secure communication
Note: Disabling TLS on the XML API disables TLS for all clients that use the XML API, and for
all NFM-P GUI clients. Browser-based clients are unaffected, and must use HTTPS for
application access.
See the NSP Installation and Upgrade Guide for information about configuring NFM-P TLS.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 25
Communicating with the NFM-P NFM-P
TLS message encryption
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
26 3HE-20022-AAAB-TQZZA Issue 1
Communicating with the NFM-P NFM-P
TLS message encryption
• The supported third-party authentication servers are RADIUS and TACACS+. These products
run on their own platforms, with their own user lists and administration processes.
Note: After an upgrade, the NFM-P assigns the default priority value to each existing OSS
user and user group.
An OSS request timeout value applies to a request that the NFM-P has accepted but not
processed. If the request processing does not begin before the timeout period elapses, the NFM-P
rejects the request and returns an error.
Client sessions
All client sessions have username and password protection.
• Each OSS client XML/SOAP message is individually authenticated using cached information
from an authorization server.
• JMS messages are protected by the user name and password for the JMS connection.
You can use an MD5-hashed or a clear text password to access the NFM-P server.
Note: Nokia recommends enabling TLS for secure communication. See the NSP Installation
and Upgrade Guide for TLS configuration and management information.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 27
Communicating with the NFM-P NFM-P
To generate an MD5-hashed password for NFM-P main server access
1
Log on to an NFM-P main server station as the nsp user.
2
Open a console window.
3
Enter the following:
bash$ cd /opt/nsp/nfmp/server/nms/bin ↵
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
28 3HE-20022-AAAB-TQZZA Issue 1
Communicating with the NFM-P NFM-P
XML API security features controlled through the NFM-P client GUI
4
Enter the following to generate an MD5-hashed password:
bash$ ./md5hash.bash password ↵
where password is the password string to convert to an MD5-hashed password
For example, the MD5-hashed password for the word hello is the following:
5d41402abc4b2a76b9719d11017c592
5
Add the MD5-hashed password to the password field of the SOAP header for the specified user
account.
END OF STEPS
3.7 XML API security features controlled through the NFM-P client
GUI
3.7.1 Overview
A system administrator can use the security management forms in the NFM-P client GUI to control
the following security-related features for XML API:
• User account privileges
• Session monitoring
• Session shutdown
• SNMPv3 for secure NE polling
• RADIUS, LDAP, and TACACS+ authentication for NFM-P users
• Session logs of NFM-P client GUI and OSS activity; the XML API client ID must use the JMS
client ID format described in 4.5 “JMS subscriptions” (p. 35) to be uniquely identified as a XML
API session.
You must create a scope of command profile to group the OSS Management scope of command
role with additional roles. Otherwise, the NFM-P returns the SOAP exception message shown in the
following figure :
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 29
Communicating with the NFM-P NFM-P
XML API security features controlled through the NFM-P client GUI
<faultcode>SOAP:Client</faultcode>
<faultstring>[security] Users require OSS Management privileges to use XML
API.</faultstring>
<faultactor>XmlApi</faultactor>
<detail>
<requestID>XML_API_client@n</requestID>
</detail>
</SOAP:Fault>
</SOAP:Envelope>
See the chapter on NFM-P user security in the NSP System Administrator Guide for information
about managing NFM-P user security.
If a user supplies an incorrect username or password, or if the username or password is missing,
the NFM-P returns the SOAP exception message shown in the following figure:
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
30 3HE-20022-AAAB-TQZZA Issue 1
Communicating with the NFM-P NFM-P
Workflow to use the XML API
ALA_span like '%:2:%’' A JMS query that uses this filter results in JMS
messages being sent from objects in span 2 (for
example, Default Router Span). Events from
objects in other spans are not published.
ALA_span like '%:21:%’' or ALA_span like ‘%:0:%’ A JMS query that uses this filter results in JMS
messages being sent from objects in span 21 or
non-span objects. Events from objects in other
spans are not published.
(ALA_span like ‘%:1:%’ or ALA_span like ‘%:2:%’ or ALA_span A JMS query that uses this filter results in JMS
like ‘%:3:%’ or ALA_span like ‘%:4:%’ or ALA_span like ‘%:5:%’ or messages being sent from all objects (all of Default
ALA_span like ‘%:6:%’ or ALA_span like ‘%:7:%’ or ALA_span like Spans listed) except those blocked in span 22.
‘%:8:%’ or ALA_span like '%:0:%') and (ALA_span not like
‘%:22:%’)
1
Ensure that the NFM-P is operational and that the license key supports the use of the XML API.
2
Develop an understanding of the information model and the XML message structure. See
Chapter 7, “XML API information model overview” .
3
Determine whether the OSS application is request-response driven, acts as a passive event
listener, or both. See 3.3 “OSS client interfaces” (p. 23) for an overview of each approach.
4
To communicate using JMS, see Chapter 4, “Event monitoring using JMS” .
5
To communicate using XML, see Chapter 5, “XML requests” .
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 31
Communicating with the NFM-P NFM-P
Workflow to use the XML API
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
32 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 33
Event monitoring using JMS NFM-P
JMS and redundancy
Note: The JNP JNDI context is deprecated and will be removed in the future. The JNDI
context for looking up the JMS connection factory is now based on remoting. Nokia
recommends that you update each JMS OSS application to use remoting-based JNDI context
attributes.
See the /opt/nsp/nfmp/server/nms/integration/SAM_O/jmsexample/README file on an NFM-P
main server for more information.
The NFM-P JMS requires a user name and password for the JNDI initial context lookup. You can
set the JNDI parameters in the client environment, or in a JNDI properties file on the client station;
an environment value overrides a file value.
Nokia recommends that you set the JNDI parameters in the JNDI properties file, as described in
4.11 “To configure the initial JMS context” (p. 62) , rather than in the environment, to facilitate the
maintenance of JNDI parameter changes. The JNDI automatically reads the file if the file is in the
client Java class path.
4.2.3 samOss.jar
WARNING
Equipment Damage
An OSS client must use the samOss.jar from the current NFM-P release.
If a different samOss.jar is used, the NFM-P system may become unstable. The NFM-P release
information is in the JAR manifest file.
The samOss.jar file contains the classes required to connect to the XML API. If an OSS client must
connect to multiple NFM-P systems at different releases, the OSS must use separate JVMs and the
appropriate samOss.jar file for each NFM-P release. Alternatively, an OSS client can use multiple
class loader instances in one JVM to access multiple samOss.jar versions.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
34 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
JMS statistics
See A.2 “Recommended durable JMS client operation” (p. 327) for the JMS client queuing, event
monitoring, and disconnection recommendations.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 35
Event monitoring using JMS NFM-P
JMS subscriptions
Topic Description
5620-SAM-topic-xml Subscribe to all events. This topic publishes all events with no
dependency on other topics.
5620-SAM-topic-xml-filtered Subscribe to all events using an advanced filter to limit the number of
JMS messages that are sent.
5620-SAM-topic-xml-general Subscribe to general events, such as object creation and deletion. This
topic contains objects that are not in the fault, file, or statistics topics.
4.5.4 Filters
A JMS subscription must include a filter that, based on JMS header properties, defines the types of
event messages that the client receives. A subscription requires only a simple filter, but a client that
subscribes to the 5620-SAM-topic-xml-filtered topic can use advanced filters to reduce the volume
of JMS traffic.
A subscription to the 5620-SAM-topic-xml-filtered topic enables additional, advanced filtering based
on the event properties, or the properties of objects associated with events. See 4.6 “JMS message
filtering” (p. 37) for information about creating simple and advanced JMS event filters.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
36 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
JMS message filtering
acknowledgement mode to be used. Transacted sessions are not supported by the NFM-P.
topicSession=topicConnection.createTopicSession(false,TopicSession.DUPS_OK_
ACKNOWLEDGE );
Note: It is recommended that you create filters that are as restrictive as possible so that only
the required events are sent. If the filter is not restrictive enough, additional events must be
queued and processed, which may cause the following:
• queue overflows that result in missed events
• wasted bandwidth
• degraded NFM-P and OSS performance
The SOAP header and footer are shown in code examples only when required to provide
context.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 37
Event monitoring using JMS NFM-P
JMS message filtering
ALA_clientId OSS client ID, or empty The client ID associated with the event, if
applicable
ALA_OLC 0 (object has no OLC state) OLC state. Applies to the creation, attribute
1 (maintenance) changes, and deletion for objects that have
2 (in service) an OLC state
ALA_routeManager Application name of the route manager Present if the message contains a
managed-route change
ALA_span List of control IDs The OSS user span of control ID list
eventName See Table 4-5, “Filterable event classes” (p. 42) . The JMS event class name, for example,
ObjectDeletionEvent.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
38 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
JMS message filtering
MTOSI_osTime Time, in ms, since January 1, 1970 The server system time at event creation
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 39
Event monitoring using JMS NFM-P
JMS message filtering
ALA_isCorr True, if alarm is correlated Whether the alarm is correlated, that is, caused by
another alarm. See “Correlated alarms” in the NSP
NFM-P Classic Management User Guide for
information about correlated alarms.
MTOSI_probableCause Probable cause The probable cause associated with the alarm
The Boolean example shown in the figure below is a filter that suppresses correlated alarms, but
also includes events that do not have the ALA_isCorr property. See Troubleshooting using network
alarms in the NSP Troubleshooting Guide for information about correlated alarms.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
40 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
JMS message filtering
must unsubscribe from a topic and then resubscribe to the topic using the new filter. The following
figure shows a simple JMS message filter.
Note: A subscription must filter on the client ID; otherwise, the subscription is rejected.
A simple filter can include any JMS header properties. Some common properties used for filtering
include the following:
• MTOSI_NTType, the notification type
• ALA_category, the event category
• MTOSI_objectType, the object type
See Table 4-2, “Event header properties, all events” (p. 38) for a complete list of header properties,
and Table 4-3, “Event header properties, alarm events” (p. 40) for header properties that are
specific to alarm events. Each property is defined in the xmlApiJmsHeader.xsd file in the Schema
Reference.
The following table contains simple JMS message filter examples.
ALA_clientId in ('JMS_client@n', '') To send general messages, and messages qualified with
a client ID, directly to the specified client. This filter blocks
messages sent to other clients. You must specify this
information in all XML topic-based filters.
ALA_clientId in ('JMS_client@n', '') and ALA_category = 'FAULT' and To filter fault messages with a warning severity class. The
MTOSI_perceivedSeverity = 'Warning' filter excludes some mandatory events; see
4.6.3 “Mandatory events” (p. 40) in this section.
ALA_clientId in ('JMS_client@n', '') and ALA_category not in To stop client statistics, accounting, and keep-alive
('STATISTICS', 'ACCOUNTING') messages
ALA_clientId in ('JMS_client@n', '') and (MTOSI_NTType in To include only object creation, object deletion, and
('NT_ATTRIBUTE_VALUE_CHANGE', 'NT_OBJECTDELETION', attribute changes for cards and ports. The filter excludes
'NT_OBJECTCREATION') and MTOSI_objectType in ('equipment. some mandatory events; see 4.6.3 “Mandatory events”
PhysicalPort', 'equipment.DaughterCard', 'equipment.BaseCard')) (p. 40) in this section.
ALA_clientId in ('JMS_client@n', '') and (MTOSI_NTType in To include only object creation and deletion for objects in
('NT_OBJECTDELETION', 'NT_OBJECTCREATION') and the equipment package. The filter excludes some
MTOSI_objectType like 'equipment.%') mandatory events; see 4.6.3 “Mandatory events” (p. 40)
in this section.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 41
Event monitoring using JMS NFM-P
JMS message filtering
CAUTION
Service Disruption
The registerNotification method entry in the General Methods/Types page of the XML API
Reference defines the maximum allowed number of leaf elements in a filter.
To avoid degraded system performance, Nokia recommends that you consider the current NFM-P
system load, as well as this limit, before you construct a filter with a large number of leaf elements.
A JMS client that subscribes to the 5620-SAM-topic-xml-filtered topic can use advanced filters to
additionally reduce the number of JMS event messages. An advanced JMS message filter specifies
the following:
• the types of event notifications that are to be sent to the client
• a set of object properties as criteria for messages sent to the client
Note: If an OSS client registers a filter but does not subscribe to the 5620-SAM-topic-xml-
filtered topic within 10m, the filter is deregistered.
If a JMS client unsubscribes from the 5620-SAM-topic-xml-filtered topic, the NFM-P automatically
deregisters the associated filter. If a non-durable OSS client connection drops, the filter is
deregistered after two minutes; durable client filters are not deregistered.
The following table lists the event classes that support advanced filtering based on the event
properties, the properties of the objects associated with the event, or both.
AlarmStatusChangeEvent ✓
AttributeValueChangeEvent ✓ ✓
DeployerEvent ✓
ExceptionEventXMLFormat ✓ ✓
FileAvailableEvent ✓
IncrementalRequestEvent ✓
LogFileAvailableEvent ✓
LogRemoteFileAvailableEvent ✓
ObjectCreationEvent ✓ ✓
ObjectDeletionEvent ✓ ✓
RelationshipChangeEvent ✓
ScriptExecutionEvent ✓
StatsEvent ✓
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
42 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
JMS message filtering
Event vessels
To further reduce the volume of JMS traffic, most event messages for the 5620-SAM-topic-xml-
filtered topic are sent in containers called event vessels. An event vessel is a type of JMS message
that contains multiple events and by default, only one JMS header.
Note: Although the JMS headers of individual events are not sent in an event vessel, you can
filter the properties of the headers by specifying "class=jmsEvent" in a filter. See “Class-based
filtering” (p. 48) in this section.
You can configure the NFM-P to return only specific attributes of the event bodies in the JMS
message by including the resultFilter-Set tag in a registration message. See “Result filters”
(p. 52) in this section.
The following events are sent on the 5620-SAM-topic-xml-filtered topic but are not sent in an event
vessel:
• DBActivityEvent • KeepAliveEvent
• DBConnectionStateChangeEvent • StateChangeEvent
• DBProxyStateChangeEvent • TerminateClientSessionEvent
• EventVessel • XMLFilterChangeEvent
Figure 4-7, “Event vessel message example” (p. 43) is an example of an EventVessel message that
contains the following:
• AttributeValueChangeEvent
• StatsEvent
• ExceptionEvent
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 43
Event monitoring using JMS NFM-P
JMS message filtering
</objectFullName>
<attribute>
<attributeName>numberOfOccurencesSinceClear</attributeName>
<newValue>
<long>3</long>
</newValue>
<oldValue>
<long>2</long>
</oldValue>
</attribute>
</attributeValueChangeEvent>
<statsEvent>
<MTOSI_osTime>1311602579077</MTOSI_osTime>
<state>begin</state>
<networkElement>192.168.183.13</networkElement>
<statsType>accounting</statsType>
<time>1308256029287</time>
</statsEvent>
<statsEvent>
<MTOSI_osTime>1311602582098</MTOSI_osTime>
<state>end</state>
<networkElement>192.168.183.13</networkElement>
<statsType>accounting</statsType>
<time>1308256029302</time>
</statsEvent>
<ExceptionEventXMLFormat>
<className>aengr.Policy</className>
<operation>distribute on node 10.168.1.91</operation>
<objectName>Access Egress:2100</objectName>
<requestID>JMS_client@n</requestID>
<errorMessage>[ app: autoconfigChild ] [ class: aengr.Policy ] [
instance: network:10.168.1.91:Access Egress:2100 ] [ descr: invalid action
bitmask: 3 : Object deletion is in progress, the object cannot be configured
:Parent = network:10.168.1.91:Access Egress:2100: child = queue-1 ]
</errorMessage>
</ExceptionEventXMLFormat>
</eventVessel>
</jms>
</SOAP:Body>
</SOAP:Envelope>
Filter elements
An advanced filter can contain leaf and composite filter elements. Leaf elements define an
arithmetic or string function and do not have child elements. Composite filters use Boolean
expressions to evaluate child elements, which can be leaf or composite elements. An empty filter
returns all objects that match the XML request or JMS subscription criteria.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
44 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
JMS message filtering
Note: Nokia recommends that you create filters that have a top-down hierarchical structure to
make them as restrictive as possible. This means that a filter lists the higher-level object
properties before the lower-level properties, as defined in the NFM-P object hierarchy. See the
XML API Reference for object hierarchy information.
The following table lists the available leaf filter elements.
equal Return true if the value is the same as the specified <equal name="localAS" value="20"/>
value.
notEqual Return true if the value is not the same as the <notEqual name="localAS" value="20"/>
specified value.
greater Return true if the numeric value is greater than the <greater name="localAS" value="20"/>
specified value.
greaterOrEqual Return true if the numeric value is greater than or <greaterOrEqual name="localAS" value="20"/>
equal to the specified value.
less Return true if the numeric value is less than the <less name="localAS" value="20"/>
specified value.
lessOrEqual Return true if the numeric value is less than or equal <lessOrEqual name="localAS" value="20"/>
to the specified value.
anyBit Return true if an AND operation on the value bit and <anyBit name="parameter" value="3"/>
the specified value does not return 0. The filter is true
if any of the "1" bits in the specified value are enabled
in the property value. The function applies only to
non-negative numeric types and bitmask types.
allBits Return true if an AND operation on the value bit and <allBits name="parameter" value="5"/>
the specified value returns the specified value. The
filter is true if all of the "1" bits in the specified value
are enabled in the property value. This applies only to
non-negative numeric types and bitmask types.
wildcard Compares values using wildcards. The % character <wildcard name="SiteId" value="1.%.%.%.%"/>
specifies 0 or more characters of any type, and the _
character specifies one character of any type.
in Return true if a numeric or string value equals one of <in name="parameter" value="[Edge_14,
the values in the specified comma-separated list. Aggregation_14, Core_14]"/>
subset Return true if a string value is a subset of the <subset class="service.Site" name="tier" value="123"/>
specified string.
superset Return true if a string value contains the specified <superset class="service.Site" name="siteName"
string. value="Core_"/>
notSuperset Return true if a string value does not contain the <notSuperset class="service.Site" name="siteName"
specified string. value="Edge_"/>
between Return true if the numeric value is between the first <between name="preference" first="150" second="200"
and second specified values. />
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 45
Event monitoring using JMS NFM-P
JMS message filtering
past Return true if the time value is between (current time) <past time="300000" /> means find all items from the
and (current time - specified time interval). past 5 minutes (300000 ms)
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
46 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
JMS message filtering
Note: To obtain all attributes of a particular class or abstract class, the following example
using the service.AccessInterface abstract class shows how to define the filter:
<filter-Set>
<filter class="service.AccessInterface">
<and>
<notEqual name="eventName" value="" class="jmsEvent"/>
</and>
</filter>
</filter-Set>
<SOAP:Body>
<deregisterNotification xmlns="xmlapi_1.0">
<jmsClientId>JMS_client@n</jmsClientId>
</deregisterNotification>
</SOAP:Body>
The NFM-P returns an XMLFilterChangeEvent with an empty filter-Set element in response to a
deregisterNotification message, as shown in the following figure.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 47
Event monitoring using JMS NFM-P
JMS message filtering
<ALA_category>GENERAL</ALA_category>
<ALA_OLC>0</ALA_OLC>
<ALA_isVessel>false</ALA_isVessel>
<ALA_allomorphic/>
<MTOSI_osTime>1308255929252</MTOSI_osTime>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<MTOSI_objectName/>
<ALA_clientId>JMS_client@n</ALA_clientId>
<MTOSI_objectType>XMLFilterChangeEvent</MTOSI_objectType>
<ALA_eventName>XMLFilterChangeEvent</ALA_eventName>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<xmlFilterChangeEvent>
<filter-Set />
</xmlFilterChangeEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
Class-based filtering
A class= tag in a filter element specifies the object type to evaluate. You can specify the jmsEvent
class to indicate that the filter element is for the event. If a class value is not specified or if the class
value is jmsEvent, class-based filtering is not performed. See Chapter 13, “Inventory management”
for information about working with classes.
When you specify jmsEvent as the class value, you can filter on the following JMS header
properties:
• ALA_alarmType • fullClassName
• ALA_allomorphic • MTOSI_aliasNameList
• ALA_application • MTOSI_NTType
• ALA_category • MTOSI_objectName
• ALA_eventName • MTOSI_objectType
• ALA_isCorr • MTOSI_osTime
• ALA_OLC • MTOSI_perceivedSeverity
• ALA_routeManager • MTOSI_probableCause
• ALA_span • MTOSI_serviceAffecting
• eventName
Note: The OSS client user span of control defines the objects that are sent to the client. Using
ALA_span in a filter is not required unless you want to restrict the returned objects to a subset
of the objects within the span of control, or to a specific span such as the Edit span.
When you specify jmsEvent as the class, you can also filter on event detail properties. The following
table lists the jmsEvent detail properties that are filterable.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
48 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
JMS message filtering
DeployerEvent successList
failedList
ExceptionEvent objectName
operation
taskName
errorMessage
FileAvailableEvent fileName
IncrementalRequestEvent incrementalAction
serviceType
LogFileAvailableEvent serverIpAddress
neId
LogRemoteFileAvailableEvent serverIpAddress
neId
fileName
RelationshipChangeEvent changeType
fromObjectName
fromObjectClass
toObjectName
toObjectClass
ScriptExecutionEvent targetScriptResultFullName
fileName
failedCommands
systemInvokationId
StatsEvent networkElement
statsType
where
JMS_header_property is a JMS header property described in “Class-based filtering” (p. 48) in this
section
JMS_event_class is one of the event classes listed in Table 4-5, “Filterable event classes” (p. 42)
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 49
Event monitoring using JMS NFM-P
JMS message filtering
If a JMS event does not have a specified header property, the property is excluded from the event
body. If an eventName value is omitted, the specified JMS header property is returned for each
event that has the property.
Figure 4-11, “Filter registration example with extraTags element” (p. 49) is an example of a filter
registration message with an extraTags element that specifies the following.
<SOAP:Body>
<registerNotification xmlns="xmlapi_1.0">
<jmsClientId>JMS_client@n</jmsClientId>
<filter-Set>
<filter>
<or>
<equal class="jmsEvent" name="networkElement" value="192.168.101.
145" />
<equal class="jmsEvent" name="MTOSI_objectType" value="StatsEvent"
/>
</or>
</filter>
</filter-Set>
<extraTags>
<tag name="MTOSI_osTime" eventName="StatsEvent" />
<tag name="fullClassName" />
</extraTags>
</registerNotification>
</SOAP:Body>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
50 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
JMS message filtering
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<eventVessel>
<attributeValueChangeEvent>
<fullClassName>fm.AlarmObject</fullClassName>
<objectFullName>faultManager:network@192.168.101.145|alarm-31-4-24
</objectFullName>
<attribute>
<attributeName>numberOfOccurencesSinceClear</attributeName>
<newValue>
<long>3</long>
</newValue>
<oldValue>
<long>2</long>
</oldValue>
</attribute>
<attribute>
<attributeName>lastTimeDetected</attributeName>
<newValue>
<long>1308318277307</long>
</newValue>
<oldValue>
<long>1308318115170</long>
</oldValue>
</attribute>
<attribute>
<attributeName>numberOfOccurences</attributeName>
<newValue>
<long>3</long>
</newValue>
<oldValue>
<long>2</long>
</oldValue>
</attribute>
</attributeValueChangeEvent>
<statsEvent>
<MTOSI_osTime>1311602579077</MTOSI_osTime>
<state>begin</state>
<networkElement>192.168.183.13</networkElement>
<statsType>accounting</statsType>
<time>1308256029287</time>
</statsEvent>
<statsEvent>
<MTOSI_osTime>1311602582098</MTOSI_osTime>
<state>end</state>
<networkElement>192.168.183.13</networkElement>
<statsType>accounting</statsType>
<time>1308256029302</time>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 51
Event monitoring using JMS NFM-P
JMS message filtering
</statsEvent>
</eventVessel>
</jms>
</SOAP:Body>
</SOAP:Envelope>
Result filters
Figure 4-13, “registerNotification message example with result filter” (p. 51) shows a
registerNotification example using a result filter. The result filter specifies that only ObjectCreation
events are sent to JMS_CLIENT@4. The resultFilter elements define the following filter criteria:
• the objectFullName, operationalState, and administrativeState properties of each ObjectCreation
event associated with an equipmentPort object
• the affectedObjectFullName, severity, operatorAssignedUrgency, and additionalText properties of
each ObjectCreation event associated with an fm.AlarmObject object
• the objectFullName property of all other ObjectCreation events
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
52 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
JMS message filtering
<attribute>operatorAssignedUrgency</attribute>
<attribute>additionalText</attribute>
<attribute>severity</attribute>
<attribute>affectedObjectFullName</attribute>
</resultFilter>
</resultFilter-Set>
</registerNotification>
</SOAP:Body>
</SOAP:Envelope>
After a successful registration, the XMLFilterChangeEvent message shown in the following figure is
sent to the JMS client.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 53
Event monitoring using JMS NFM-P
JMS message filtering
</resultFilter>
<resultFilter class="fm.AlarmObject">
<attribute>operatorAssignedUrgency</attribute>
<attribute>additionalText</attribute>
<attribute>severity</attribute>
<attribute>affectedObjectFullName</attribute>
</resultFilter>
</resultFilter-Set>
</xmlFilterChangeEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
The following three figures show ObjectCreationEvent event vessel message examples based on
the result filters specified in the previous figure.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
54 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
JMS message filtering
</equipment.PhysicalPort>
</objectCreationEvent>
<objectCreationEvent>
<equipment.PhysicalPort>
<operationalState>portInService</operationalState>
<administrativeState>portInService</administrativeState>
<objectFullName>network:198.51.100.24:shelf-1:cardSlot-1:card:
daughterCardSlot-1:daughterCard:port-3</objectFullName>
</equipment.PhysicalPort>
</objectCreationEvent>
</eventVessel>
</jms>
</SOAP:Body>
</SOAP:Envelope>
<additionalText>N/A</additionalText>
<operatorAssignedUrgency>indeterminate</operatorAssignedUrgency>
</fm.AlarmInfo>
</objectCreationEvent>
</eventVessel>
</jms>
</SOAP:Body>
</SOAP:Envelope>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 55
Event monitoring using JMS NFM-P
Managing and monitoring client sessions
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
56 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
Connection monitoring and error recovery
The NFM-P raises alarms for events that affect JMS sessions; the alarms are listed in Table 4-8,
“JMS client alarms” (p. 59). The NFM-P also logs information about each JMS session and the
associated JMS filters.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 57
Event monitoring using JMS NFM-P
Connection monitoring and error recovery
TerminateClientSession
The TerminateClientSession event indicates that a client JMS session is about to be closed. The
client must clean up the disconnected session when the message is received. Additional session
termination behavior is dependent on the requirements of your OSS client application. For example,
you can also configure the requirement to close the OSS client application.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
58 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
Connection monitoring and error recovery
Alarm Description
JmsMissedEvents message
The NFM-P sends a JmsMissedEvents message to indicate that events have been lost, allowing
subscribers to detect missed events. The JmsMissedEvents message is a StateChange Event, as
shown in the following figure.
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<eventName>JmsMissedEvents</eventName>
<MTOSI_osTime>1222891102168</MTOSI_osTime>
<ALA_clientId>JMS_client@n</ALA_clientId>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<MTOSI_objectType>StateChangeEvent</MTOSI_objectType>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 59
Event monitoring using JMS NFM-P
Workflow to establish an NFM-P JMS connection
<ALA_category>GENERAL</ALA_category>
<ALA_isVessel>false</ALA_isVessel>
<ALA_allomorphic/>
<ALA_eventName>JmsMissedEvents</ALA_eventName>
<MTOSI_objectName/>
<ALA_OLC>0</ALA_OLC>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<stateChangeEvent>
<eventName>JmsMissedEvents</eventName>
<state>jmsMissedEvents</state>
</stateChangeEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
60 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
NFM-P JMS client configuration and testing
1
See 3.8 “Workflow to use the XML API” (p. 31) to set up and operate the XML API.
2
Perform 4.11 “To configure the initial JMS context” (p. 62) to establish the initial JMS context.
3
Perform 4.12 “To compile and connect an NFM-P JMS client” (p. 62) to create a JMS client and
monitor an event stream.
4
As required, perform 4.13 “To record and replay a JMS message stream” (p. 64) to record an
event stream and replay the stream to test an OSS application.
5
If required, perform 4.14 “To close a JMS client session, or remove a durable subscription”
(p. 65) to close a JMS client session.
CAUTION
Service Disruption
The README file for the example code contains important information about implementing a JMS
connection.
Ensure that you read the file before you attempt to create a JMS connection.
4.11 “To configure the initial JMS context” (p. 62) describes how to configure the initial context for a
JMS client. After you configure the initial JMS context, you can use 4.12 “To compile and connect
an NFM-P JMS client” (p. 62) to create a simple JMS client and test a JMS connection using the
NFM-P JMS test example code, which is available from the /opt/nsp/nfmp/server/nms/integration/
SAM_O/jmsexample directory on a main server.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 61
Event monitoring using JMS NFM-P
To configure the initial JMS context
1
Copy the following file from a main server station to the JMS client station:
/opt/nsp/nfmp/server/nms/integration/SAM_O/jmsexample/jndi.properties
2
Open the jndi.properties file on the client station using a plain-text editor.
3
Locate the following line:
java.naming.provider.url=remote://YourServerAddress1:1099,remote://YourServerAddress2:1099
4
Perform one of the following.
a. For a standalone NFM-P system, edit the line to read:
java.naming.provider.url=remote://server_address:1099
java.naming.provider.url=remote://server_address_1:1099,remote://server_address_2:1099
5
Save and close the file.
6
Add the jndi.properties file to the Java class path of the OSS client.
END OF STEPS
1
Open a console window on the JMS client station.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
62 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
To compile and connect an NFM-P JMS client
2
Copy the following file from an NFM-P main server station to the current working directory on
the JMS client station:
• /opt/nsp/nfmp/server/nms/integration/SAM_O/jmsexample/JmsTest.java
3
Copy the samOss.jar file from the main server to the client station:
• file system location:
/opt/nsp/nfmp/server/nms/integration/SAM_O/samOss.jar
• URL:
TLS enabled—https://server_address:8443/integration/samOss.jar
TLS disabled—http://server_address:8080/integration/samOss.jar
where server_address is the main server IP address or hostname
4
Enter the following to compile the JmsTest.java file:
javac -classpath .:samOss.jar JmsTest.java
5
Enter one of the following to open a JMS connection to the NFM-P system:
Note: The connection is made to the standalone main server, or to the current primary
main server in a redundant system. The server addresses are specified in the initial JMS
context.
The -persistent parameter specifies a durable subscription, and is optional.
• If TLS is not enabled on the NFM-P XML API:
java -classpath path:samOss.
jar JmsTest -t topic -u user -p pass -f "filter" -persistent -c ID
• If TLS is enabled on the NFM-P XML API:
java -classpath path:samOss.jar -Djavax.net.ssl.trustStore=
truststore JmsTest -t topic -u user -p pass -f "filter" -persistent -c ID
where
path is the relative path to the samOss.jar file on the client station, such as ./ or .\
truststore is the absolute path and name of the TLS truststore file on the client station
topic is the JMS subscription topic
user is the NFM-P user name
pass is the NFM-P user password
filter is a JMS filter; see 4.5.4 “Filters” (p. 36) in 4.6 “JMS message filtering” (p. 37)
ID is a JMS client ID that you provide
END OF STEPS
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 63
Event monitoring using JMS NFM-P
To record and replay a JMS message stream
Equipment Damage
The replay function may affect the NFM-P main server, GUI client, or OSS client performance.
Note: The replay function is a JMS exercise and there is no interaction with the NFM-P
system or network configuration.
The tool does not monitor disk capacity; you must stop recording messages to avoid
excessive disk consumption.
You can modify the messages and delays by adding or removing attributes.
The delay is measured in milliseconds.
Only the syntax is validated. Invalid syntax prevents replay.
4.13.1 Steps
1
Log in to an NFM-P main server as the nsp user.
2
Open a console window.
3
Enter the following:
bash$ cd /opt/nsp/nfmp/server/nms/bin/unsupported ↵
4
To start recording JMS messages, enter the following:
bash$ ./jmsTools.bash jmsRecorder start filename ↵
where filename is the absolute path and name of the file in which to store the messages
5
To stop recording messages, enter the following:
bash$ ./jmsTools.bash jmsRecorder stop ↵
6
To replay the recorded messages, enter the following:
bash$ ./jmsTools.bash jmsReplayer filename delay numberOfLoops ↵
where
filename is the absolute path and name of the file that contains the recorded messages
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
64 3HE-20022-AAAB-TQZZA Issue 1
Event monitoring using JMS NFM-P
To close a JMS client session, or remove a durable subscription
delay is Yes or No, to specify whether to include the delays captured during the recording
numberOfLoops is an optional integer value that specifies the number of times to play the
stream; if not specified, the stream plays once
END OF STEPS
1
Using an account with an assigned security scope of command role, choose
Administration→Security→NFM-P User Security from the NFM-P main menu. The NFM-P User
Security - Security Management (Edit) form opens.
2
Click on the Sessions tab.
3
Click Search to list the current user sessions.
4
To close a session, select the session and click Close Session. The NFM-P terminates the
session.
If the client subscription is durable, the subscription remains active and the NFM-P continues to
process and store JMS messages for the client.
If the client subscription is non-durable, the subscription is removed.
5
To close a session and remove the associated durable subscription, select the session and
click Remove Session. The NFM-P stops processing JMS messages for the client.
6
Close the NFM-P User Security - Security Management (Edit) form.
END OF STEPS
1
Log on to an NFM-P main server station as the nsp user.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 65
Event monitoring using JMS NFM-P
To determine the Java version
2
Open a console window.
3
Enter the following:
bash$ cd/opt/nsp/nfmp/server/nms/bin ↵
4
Enter the following:
bash$ ./nmsserver.bash jvm_version ↵
END OF STEPS
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
66 3HE-20022-AAAB-TQZZA Issue 1
XML requests NFM-P
5 XML requests
5.3.1 Steps
1
Specify the HTTP or HTTPS access address.
a. For HTTP access, use:
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 67
XML requests NFM-P
Monitoring connection status using XML API ping
http://server_name:port/xmlapi/invoke
where
server_name is the host name or IP address of the NFM-P main server
port is the TCP port on the main server that is configured for HTTP
b. For HTTPS access, use:
https://server_name:port/xmlapi/invoke
where
server_name is the host name or IP address of the NFM-P server
port is the TCP port on the main server that is configured for HTTPS
The XML application servlet is running and available from the appropriate port. The SOAP-
enabled XML can now be sent . For more information about the communication between an
OSS and a main server, contact Nokia technical support.
2
Create an XML request.
3
Create a script to post the request.
4
Post the request to the XML API using the following CLI syntax:
OSS_application xml_request.xml
where
OSS_application is the name of your OSS application that uses the POST method
xml_request is the name of your XML request
The NFM-P sends a response that includes the request execution status and the requested
information. See Table 9-3, “HTTP response codes” (p. 116) for information about the HTTP
response codes and the corresponding execution status.
END OF STEPS
Note: See Chapter 4, “Event monitoring using JMS” for more information about using the
following methods to monitor the status of the connection:
• JMS exception to monitor client connections to the JMS server
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
68 3HE-20022-AAAB-TQZZA Issue 1
XML requests NFM-P
XML API ping
• monitoring near-real-time events using JMS to monitor client connections to the JMS
server
NOTICE
Service-disruption hazard
The following sample message is an example of the request format.
Use the sample as a base to build your request. Ensure that you test your request before network
deployment.
The XML API ping method is used to monitor the HTTP connection to the NFM-P.
Figure 5-1, “XML interface check request” (p. 68) shows an XML API ping that you can use to test
the ability of the OSS application to access the NFM-P. Information in the SOAP/XML request
includes the:
• standard SOAP user and password encoding
• ping command to look for the release of XML on the server, in this case version 1.0
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 69
XML requests NFM-P
Workflow to set up and operate an HTTP XML request-response connection
<header xmlns="xmlapi_1.0">
<requestID>XML_API_client@n</requestID>
</header>
</SOAP:Header>
<SOAP:Body>
<pingResponse xmlns="xmlapi_1.0"/>
</SOAP:Body>
</SOAP:Envelope>
An exception response to a failed ping may result in numerous types of return messages; for
example:
• socket timeouts
• HTTP errors
• connection exceptions
1
See 3.8 “Workflow to use the XML API” (p. 31) to set up and operate the XML API.
2
Develop the application that requests data from, or sends data to, the XML API. See 5.3 “To
post an XML request to the NFM-P” (p. 67) .
1. Construct the request by specifying:
• methods that define the executed function
• package classes used that define the kinds of objects, and the values of the objects
(parameters) requested
• filters to limit or customize the scope of the request
• information structure and data types
2. Send the request. See 5.3 “To post an XML request to the NFM-P” (p. 67) .
3
Manage the request responses.
a. View the error or success messages.
b. Retrieve the data from the response.
4
Close the connection and release it.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
70 3HE-20022-AAAB-TQZZA Issue 1
XML requests NFM-P
Viewing XML requests ignored by the NFM-P
5
Handle the retrieved information appropriately.
Note: Enabling all logging for the XML API layer is only suitable for development
environments.
Note: The server time for the request in the SOAP response header indicates when a request
stream was opened. It does not indicate when a request completed.
You can insert multiple <timeStamp xmlns="xmlapi_1.0"/> elements for a SOAP message that
contains multiple message requests. You can use the delta between the timestamp commands to
determine the milliseconds required to execute the intermediate commands. See 9.1.3 “Requests”
(p. 107) in 9.1 “XML message structure ” (p. 105) for more information about multiple requests.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 71
XML requests NFM-P
Identifying the NFM-P software release and patch level
The NFM-P does not return patch information in the XML response if there are no issued patches
for the software.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
72 3HE-20022-AAAB-TQZZA Issue 1
XML requests NFM-P
Identifying the NFM-P software release and patch level
<baseVersion>R.r</baseVersion>
<build>Rx</build>
<patch>y</patch>
</versionResponse>
<timeStampResponse xmlns="xmlapi_1.0">
<millis>1402343063518</millis>
</timeStampResponse>
</SOAP:Body>
</SOAP:Envelope>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 73
XML requests NFM-P
Identifying the NFM-P software release and patch level
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
74 3HE-20022-AAAB-TQZZA Issue 1
XML API filtering NFM-P
Note: Nokia recommends that you create filters that have a top-down hierarchical structure to
make them as restrictive as possible. This means that a filter lists the higher-level object
properties before the lower-level properties, as defined in the NFM-P object hierarchy. See the
XML API Reference for object hierarchy information.
The SOAP header and footer are shown in code examples only if required to provide context.
<filter class="service.Site">
<equal name="displayedName" value="Some special site"/>
</filter>
The following figure shows a filter example that contains leaf and composite filter elements that use
multiple operators to compare numeric and string values.
<filter>
<and>
<greater name="localAS" value="0"/>
<or>
<equal name="domain" value="network"/>
<between name="preference" first="150" second="200" />
</or>
</and>
</filter>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 75
XML API filtering NFM-P
XML API filter types
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
76 3HE-20022-AAAB-TQZZA Issue 1
XML API filtering NFM-P
Result filtering
— ResultFilter registerSasLogToFile
— ResultFilter generic.GenericObject.configureInstanceWithResult
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 77
XML API filtering NFM-P
Result filtering
— ResultFilter generic.GenericObject.configureChildInstanceWithResult
— ResultFilter generic.GenericObject.getDeployer
The following figure shows a nested resultFilter that returns the objectFullName and status
attributes from the top-level object. The top-level object may have many children but the nested
resultFilter specifies only objects of equipment.Port class are returned. Therefore, only the
objectFullName attribute of equipment.Port object is returned with no children of its own.
<resultFilter>
<attribute>objectFullName</attribute>
<attribute>status</attribute>
<children>
<resultFilter class="equipment.Port">
<attribute>objectFullName</attribute>
<children/>
</resultFilter>
</children>
</resultFilter>
The following figure shows the same result filter rule applied to returned objects and their children,
where only objectFullName is returned for all children.
<resultFilter>
<attribute>objectFullName</attribute>
<children recursive="yes"/>
</resultFilter>
The following figure shows a nested resultFilter that returns four attributes from the top-level object
along with attributes from two specific children classes.
<resultFilter>
<attribute>objectFullName</attribute>
<attribute>displayedName</attribute>
<attribute>name</attribute>
<attribute>description</attribute>
<children>
<resultFilter class="nqueue.Entry">
<attribute>objectFullName</attribute>
<attribute>id</attribute>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
78 3HE-20022-AAAB-TQZZA Issue 1
XML API filtering NFM-P
Result filtering
<attribute>cir</attribute>
<attribute>pir</attribute>
</resultFilter>
<resultFilter class="nqueue.ForwardingClass">
<attribute>objectFullName</attribute>
<attribute>forwardingClass</attribute>
<attribute>queueId</attribute>
</resultFilter>
</children>
</resultFilter>
The following figure shows a nested resultFilter with a class definition and no attribute defined. This
returns two attributes from the top-level object and attributes from the CardSlot class, but nothing
from the Shelf class.
<resultFilter>
<attribute>activeManagementIp</attribute>
<attribute>ipAddress</attribute>
<children>
<resultFilter class="equipment.Shelf">
<attribute/>
<children>
<resultFilter class="equipment.CardSlot">
<attribute>assignedCardSubType</attribute>
<attribute>cardProtectionRowStatus</attribute>
<attribute>slotId</attribute>
<children/>
</resultFilter>
</children>
</resultFilter>
</children>
</resultFilter>
The following figure shows an example of a resultFilter in an object configuration request that uses
the generic.GenericObject.configureInstanceWithResult method. See 15.2 “Configuration methods”
(p. 202) for information about the generic methods that apply to all object types.
<SOAP:Body>
<generic.GenericObject.configureInstanceWithResult xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<!-- Network Interface -->
<distinguishedName>network:10.1.1.223:router-1:ip-interface-5</distinguishedName>
<includeChildren>false</includeChildren>
<configInfo>
<rtr.NetworkInterface>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 79
XML API filtering NFM-P
JMS simple message filters
<actionMask>
<bit>modify</bit>
</actionMask>
<!-- vRtrIfUp/vRtrIfDown -->
<administrativeState>vRtrIfUp</administrativeState>
</rtr.NetworkInterface>
</configInfo>
<resultFilter>
<attribute>objectFullName</attribute>
<attribute>displayedName</attribute>
<children recursive="yes" />
</resultFilter>
</generic.GenericObject.configureInstanceWithResult>
</SOAP:Body>
6.4.2 filter-set
A filter-Set element can contain multiple filter elements that are processed using the Boolean OR
function. If no filters are specified, no events are returned.
Figure 6-9, “Advanced filter example with leaf and composite elements” (p. 81) is an example of an
advanced message filter that has two filters in the filter set. Each filter contains leaf and composite
filter elements.
The first filter specifies the abstract service.Service class to filter service events, and the filter
elements specify events that meet the following criteria:
• subscriber ID associated with the service is 22
• AND
• service ID is greater than 10
• AND
− Administrative State parameter value is 2 or Partially Down
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
80 3HE-20022-AAAB-TQZZA Issue 1
XML API filtering NFM-P
JMS advanced message filters
− OR
− Aggregated Operational State value is 3 or Down
− OR
− Service Tier value is 2
The second filter specifies the forwarding of events associated with any port on card 1 of NE
10.20.40.218 that has a compositeEquipmentState other than:
• 5—equipmentMissing
• 6—equipmentMismatch
• 7—equipmentAdministrativelyDown
• 9—containingEquipmentInTest
Figure 6-9 Advanced filter example with leaf and composite elements
<filter-Set>
<filter class="service.Service">
<and>
<equal name="subscriberId" value="22"/>
<greater name="serviceId" value="10"/>
<or>
<equal name="administrativeState" value="2"/>
<equal name="aggrOperationalState" value="3"/>
<equal name="tier" value="2"/>
</or>
</and>
</filter>
<filter>
<and>
<wildcard name="objectFullName" value="network:10.20.40.218:shelf-1:
cardSlot-1:card:daughterCardSlot-1:daughterCard:%"/>
<not>
<in class="equipment.Equipment" name="compositeEquipmentState"
value="5,6,7,9"/>
</not>
</and>
</filter>
</filter-Set>
6.4.3 resultFilter-Set
Result filters are applied to the class properties of the events to restrict the events that are included
in an event vessel. A result filter is specified using the resultFilter-Set type in the registerNotification
method.
The class tag allows a class of ManagedObject, which is the base class for all classes, to be
specified. The class value must be unique in the resultFilter-Set element.
Note: The children element is not valid in a resultFilter-Set element because child attributes
are not sent in a JMS message.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 81
XML API filtering NFM-P
JMS advanced message filters
<resultFilter>
<attribute>objectFullName</attribute>
</resultFilter>
The following figure shows the first resultFilter element applied to all ManagedObject classes
except for equipment.Port and fm.AlarmObject; only the objectFullName class property is to be
returned. The second resultFilter element applies to equipment.Port objects only. The third
resultFilter applies to fm.AlarmObject objects only.
<resultFilter-Set>
<resultFilter>
<attribute>objectFullName</attribute>
</resultFilter>
<resultFilter class="equipment.Port">
<attribute>objectFullName</attribute>
<attribute>operationalState</attribute>
<attribute>administrativeState</attribute>
</resultFilter>
<resultFilter class="fm.AlarmObject">
<attribute>affectedObjectFullName</attribute>
<attribute>severity</attribute>
<attribute>operatorAssignedUrgency</attribute>
<attribute>additionalText</attribute>
</resultFilter>
</resultFilter-Set>
6.4.4 extraTags
By default, JMS event vessels do not include the JMS header properties of the contained events. In
order to return event header properties, you must specify the properties using the extraTags type
during filter registration. The header properties are then included in the body of each associated
event that has the header property.
If a JMS event does not have a specified header property, the property is excluded from the event
body. If an eventName value is omitted, the specified JMS header property is returned for each
event that has the property.
See Table 4-5, “Filterable event classes” (p. 42) for a list of filterable event classes.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
82 3HE-20022-AAAB-TQZZA Issue 1
XML API filtering NFM-P
Assigning OSS alarm filters from the NFM-P client GUI
The following figure shows each StatsEvent message is to include the MTOSI_osTime JMS header
property in its body. All events are to include the fullClassName property. However, since a
StatsEvent message does not have a fullClassName property, it is not included in the StatsEvent
message body
<extraTags>
<tag name="MTOSI_osTime" eventName="StatsEvent" />
<tag name="fullClassName" />
</extraTags>
6.5 Assigning OSS alarm filters from the NFM-P client GUI
6.5.1 Overview
An NFM-P GUI operator with the required user privileges can directly apply public alarm filters
created in the NFM-P GUI to OSS clients that subscribe to the 5620-SAM-topic-xml-fault or 5620-
SAM-topic-xml-filtered topic. When a filter is created in the NFM-P GUI and applied to an OSS
client, that filter immediately applies to the current connected JMS sessions and disconnected
durable sessions of the client. See “Alarm management” in the NSP NFM-P Classic Management
User Guide for more information.
Note: Nokia recommends that JMS clients subscribe to the 5620-SAM-topic-xml-fault or 5620-
SAM-topic-xml-filtered topic and listen for XMLFilterChangeEvent notifications. The
notification provides information about filters applied using an NFM-P GUI client.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 83
XML API filtering NFM-P
Statistics filtering
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
84 3HE-20022-AAAB-TQZZA Issue 1
XML API information model overview NFM-P
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 85
XML API information model overview NFM-P
Packages
XML schema
a) specify method
b) specify properties <inparam... >
Notes: Packages organize related objects under the same name.
Lines represent the relationship between objects.
Circles represent an object or package, the squares represent the types.
17303
More details about the information model can be found in the following:
• XML API Reference—Provides information about the XML interface, including package
descriptions, object property values and descriptions, UML inheritance drawings, domain
objects, or classes, parent relationships, inherited properties and methods, and supported NE
types. The XML API Reference is downloadable from the Documentation Center.
• Schema Reference—Provides a definition of the XML schema for each package, and includes a
list of the methods and types that are associated with the package. See the Network Developer
Portal to access the Schema Reference.
7.2 Packages
7.2.1 Overview
Each package maps to a functional domain of the NFM-P, for example:
• equipment—fr, netw, equipment, ethernetequipment
• policies—file, qos, acl, slope, accounting
• routing protocols—bgp, ospf, rip, isis
• services—service, subscr, ies, vpls, vll, vprn
• generic—generic, user
• statistics—statistics, log
• diagnostics—sas, ethernetoam
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
86 3HE-20022-AAAB-TQZZA Issue 1
XML API information model overview NFM-P
Packages
• faults—fm
• database—db
• CPAM—topology, rca, monpath
To view the relationship and inheritance drawing of the package, click on the package name in XML
API Reference.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 87
XML API information model overview NFM-P
Packages
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
88 3HE-20022-AAAB-TQZZA Issue 1
XML API Reference NFM-P
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 89
XML API Reference NFM-P
Main menu
Packages organized
alphabetically
1 2
Object class
3 drawing
22014
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
90 3HE-20022-AAAB-TQZZA Issue 1
XML API Reference NFM-P
Package list
The $core package, which is a root or base of all of the packages, defines the base classes and
types that all of the other classes use to inherit from. Perform 8.10 “To view release-specific XML
schema changes” (p. 102) to view package information in the XML API Reference.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 91
XML API Reference NFM-P
Class details
• 8.5.2 “Description” (p. 92) • 8.5.10 “Methods that return children” (p. 95)
• 8.5.3 “Inheritance hierarchy” (p. 92) • 8.5.9 “Naming” (p. 94)
• 8.5.4 “Direct subclass” (p. 92) • 8.5.11 “Stats” (p. 95)
• 8.5.5 “Parent hierarchy” (p. 93) • 8.5.12 “Properties” (p. 96)
• 8.5.6 “Children hierarchy” (p. 93) • 8.5.13 “Methods” (p. 98)
• 8.5.7 “Relationships” (p. 94) • 8.5.14 “Supported network elements” (p. 99)
• 8.5.8 “Class type” (p. 94)
8.5.2 Description
The description provides information about the selected class. For example:
vprn
ServiceAccessPoint
A Service Access Point identifies the customer interface point in a Routed CO VPRN
solution.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
92 3HE-20022-AAAB-TQZZA Issue 1
XML API Reference NFM-P
Class details
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 93
XML API Reference NFM-P
Class details
8.5.7 Relationships
The format of relationships displays the relationship between the current class and other classes.
The textual description is of the form:
where
<relationship-description> is one of the following: associated with, direct parent of, direct children
of, contained under, or contain
<cardinality> describes one or many
<relationships-type> is one of the following: parent-child, child-parent, implied, ancestor-
descendent, or descendent-ancestor
The following figure shows an example of relationships.
Abstract classes are generally used to provide common property and method inheritance for
concrete classes; for example, public abstract class Vll. The following is an example of a non-
abstract class: public class serviceAccessPoint.
8.5.9 Naming
Objects are named by concatenating the parent and relative names. The relative name of an
instance may be defined as: Relative Name=[name]. For example:
Relative Name=[svc-mgr]
Class properties present in the name are identified as: ${propertyName}. For example:
Relative Name=[ospf-${version}-instance-${instanceIndex}]
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
94 3HE-20022-AAAB-TQZZA Issue 1
XML API Reference NFM-P
Class details
8.5.11 Stats
The Stats section lists the set of classes that monitor the class, including inherited statistics
classes. The following figure shows an example.
Stats for
The Stats for section lists the set of classes that the class monitors, as shown in the following
figure.
Supporting MIBs
The supporting MIBs section lists the MIB entries that the class reads and the supported device
releases for each, as shown in the following figure.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 95
XML API Reference NFM-P
Class details
8.5.12 Properties
The properties are listed alphabetically list of properties displayed for each class. The property
definitions may include:
• comment
• type=type-specification— may be a fundamental type or link to another defined type. Children-
Set indicates that objects of the specified type may be children of this class.
• default=value
• access=access-type—may be read-only, write-only, read-create, or read-write, which is the
default. Read-create values can be set at creation time only.
• Mandatory on create (Indicates the value is required when an object is created)
• minimum=value
• maximum=value
• units=value
• SNMP Deploy/Resync: MIB.entry—defined for read-write access to the NE
• Modification may shutdown object—changing the value may shut down the object. The GUI
displays a dialog box for these items.
• Displayed (tab/group)=Displayed (tab/group)—displays the property name and tab location in the
GUI. When a property does not have a tab or group information, the property is displayed in the
general area.
• enums=enumeration—lists the enumerations when they are defined in a property
• bits—lists the bits when they are defined in a property
The following figure shows an example.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
96 3HE-20022-AAAB-TQZZA Issue 1
XML API Reference NFM-P
Class details
Overridden properties
A list of all properties that are overridden in this class. A property may be partly overridden and
partly inherited through several classes.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 97
XML API Reference NFM-P
Class details
8.5.13 Methods
A list of methods is displayed for each class. The method definitions may include:
• comment
• Input Parameters: name : type [comment]
• Output Parameters: name : type [comment]
• Exceptions: name [comment]
The following figure shows an example.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
98 3HE-20022-AAAB-TQZZA Issue 1
XML API Reference NFM-P
Type details
Product specifics
Product specifics is a list of device- and release-specific properties, such as the following:
• applicable=true or false—whether the property applies
• Excluded Chassis Types=chassis-list—list of chassis that do not support the property
• Supported from=version—supported for the product for the specified and later device releases
• default=value—default value
• access=access type—allowed configuration access, such as read-only, write-only, or read-create
• write-access=yes | no—overrides the write access set using the access attribute in the base
property
• minimum=value—minimum value allowed
• maximum=value—maximum value allowed
• suppressedEnums=enumeration—the suppressed enumerations
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 99
XML API Reference NFM-P
Struct details
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
100 3HE-20022-AAAB-TQZZA Issue 1
XML API Reference NFM-P
XML schema changes
Note: If you are planning to use an OSS client that was tested in a previous release of the
NFM-P, you must review your usage with the list of schema changes before you start
development, in order to identify changes that must be made to the packages, classes, types,
methods, or properties that are used by the OSS client.
Note: If you are planning to use an OSS client that was tested in a previous release of the
NFM-P or are planning to use different network element product versions, you must review
your usage with the list of schema changes before you start development in order to identify
changes that must be made to the packages, classes, types, methods, or properties that are
used by the OSS client.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 101
XML API Reference NFM-P
JMS changes
Note: If you are planning to use an existing OSS client that has been tested in a previous
release of the NFM-P, you must review your usage with the list of schema changes before you
start development, in order to identify changes that must be made to packages, classes,
types, methods, or properties that are used by the OSS client.
1
Open the XML API Reference (it is downloadable from the Documentation Center).
2
Scroll down in the right pane to the Schema Reference Changes section.
3
Click on the “Schema changes for release R.r” link, where R.r is the release descriptor. The
Schema Reference Changes page for the release opens.
The page displays the NFM-P object model changes between the consecutive revisions of the
release.
4
As required, click on a link in the Objects Removed/Added/Changed table to view the class or
type change information for a specific package.
WARNING
Equipment Damage
A schema change may affect an OSS application.
After an NFM-P system upgrade, you must ensure that each OSS application complies with the
current object model before you deploy the application. Otherwise, serious system or network
damage may result.
Review the information.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
102 3HE-20022-AAAB-TQZZA Issue 1
XML API Reference NFM-P
To view release-specific JMS changes
6
Close the browser window.
END OF STEPS
1
Open the XML API Reference (it is downloadable from the Documentation Center).
2
Scroll down to the JMS Changes section in the right pane.
3
Click on the JMS changes for release R.r link, where R.r is the release descriptor. The JMS
Changes page opens. The page displays the JMS changes between the revisions of the major
release.
WARNING
Equipment Damage
A JMS change may affect an OSS application.
After an NFM-P system upgrade, you must ensure that each OSS application complies with the
current JMS model before you deploy the application, otherwise serious system or network
damage may result.
Review the information.
5
Close the browser window.
END OF STEPS
1
Open the XML API Reference (it is downloadable from the Documentation Center).
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 103
XML API Reference NFM-P
To view the general methods and types
2
Click on the deprecated properties link in the upper center panel. The Deprecated Packages /
Properties / Methods / Classes / Enumerations page opens and displays a list of the
deprecated items.
END OF STEPS
1
Open the XML API Reference (it is downloadable from the Documentation Center).
2
Click on the general methods/types link in the upper center panel. The General Methods /
Types page opens and displays a list of the methods and types that are for general use.
END OF STEPS
1
Open the XML API Reference (it is downloadable from the Documentation Center).
2
Click on the supported products link in the upper center panel. The General Methods / Types
page opens and displays a list of the supported device types for the current release.
END OF STEPS
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
104 3HE-20022-AAAB-TQZZA Issue 1
XML message structure NFM-P
SOAP fault
XML request XML response
Exception
17289
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 105
XML message structure NFM-P
XML message structure
SOAP header Contains sequence information in the form of the request ID of the original request
SOAP header Contains sequence information in the form of the request ID of the original request
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
106 3HE-20022-AAAB-TQZZA Issue 1
XML message structure NFM-P
XML message structure
Notes:
1. For XML string values, there are five special characters that should not be used in plain text. Instead, it is
recommended they be replaced with their entity references. See Table 9-2, “Entity references for special
characters” (p. 109) for more information.
9.1.3 Requests
The XML API supports the following request types:
• synchronous
• asynchronous (default)
There are three scenarios for a message request:
• The OSS requests a database interaction that causes network deployments, for example,
provisioning a service. See Figure 9-2, “Database interaction with synchronous network
deployment” (p. 107) and Figure 9-3, “Database interaction with asynchronous network
deployment” (p. 108) .
• The OSS requests a database interaction that does not cause network deployments. See Figure
9-4, “Database interaction without network deployment” (p. 108) .
• The OSS requests read information, for example, inventory information or an alarm feed. See
Figure 9-5, “Read from database interaction” (p. 109) .
Note: The NFM-P maps the object FDNs to a corresponding database index. Nokia
recommends using FDN properties in queries to maximize the processing speed of the query.
It is recommended that XML API queries also use concrete classes rather than an abstract
class to optimize performance.
2 Server
validates
request
1 Request sent 4 Request
to server executed
3 Request
5 Server success/ saved Network
failure response
6 Deployment
OSS client alarm if failure Database
application
17752
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 107
XML message structure NFM-P
XML message structure
2 Server
validates
request
1 Request sent 5 Request
to server executed
3 Reads from
4 With data from database Network
database read
6 Deployment
OSS client alarm if failure Database
application
17288
2 Server
validates
request
1 Request sent
to server
3 Save to
database
4 Server success
OSS client response Database
application
17328
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
108 3HE-20022-AAAB-TQZZA Issue 1
XML message structure NFM-P
XML message structure
2 Server
validates
request
1 Request sent
to server
3 Reads from
database
Network interactions are performed using deployments. When a request fails before being
committed to the database, a fault message is sent to the OSS client. For a synchronous request,
the XML response indicates the success or failure of deployments. A single request may result in
multiple deployments. The success or failure of multiple deployments is returned. OSS clients must
be designed to accept more than one deployment in a response.
See 9.1.5 “Faults and exceptions” (p. 116) in this section for more information about deployment
failure recovery. See 15.3 “Deployments” (p. 209) for more information about deployment failure
JMS alarms and deployment request configurations.
Special characters
There are five special characters used in the XML language that should not be used in plain text.
Instead, it is recommended they be replaced with their entity references. The following table lists
the special characters and their entity references. The characters < and & are illegal in the
XML language, but it is good practice to replace all other characters.
< <
> >
& &
‘ '
“ "
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 109
XML message structure NFM-P
XML message structure
Request example
CAUTION
Service Disruption
The request examples are provided to show the request format only, and are intended for use as a
template for your requests.
Ensure that you test each request that you create before you deploy the request in a live network.
The XML/SOAP request examples in this guide are intended as a base on which to build your own
requests. The sample requests may contain:
• Methods that are deprecated by the XML API
• Configuration information that is not applicable to your network architecture
The request example in the following figure changes the configuration of port 1/1/3 on NE
10.1.202.93 to be access, dot1q, and administratively up.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
110 3HE-20022-AAAB-TQZZA Issue 1
XML message structure NFM-P
XML message structure
</SOAP:Body>
</SOAP:Envelope>
The request includes the following:
• generic.GenericObject.configureInstanceWithResult, which identifies:
− the use of the generic package
− the configureInstanceWithResult method defined in the GenericObject class
• the standards-based schema and version identifiers
• the distinguishedName tag, which contains the FDN of the NFM-P object
• the configInfo object, which can contain one or more objects
The configureInstanceWithResult method, as indicated in the request, is defined in the
genericMethods.xsd. The equipmentTypes.xsd schema file defines the valid parameters available
for configuration on equipment.PhysicalPort. The request is executed by the server according to the
parameters specified in the configureInstanceWithResult method.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 111
XML message structure NFM-P
XML message structure
<attribute>operationalState</attribute>
<attribute>administrativeState</attribute>
<attribute>specificType</attribute>
<children/>
</resultFilter>
</find>
<find xmlns="xmlapi_1.0">
<fullClassName>equipment.PhysicalPort</fullClassName>
<filter>
<equal name="siteName" value="sim202_93"/>
</filter>
<resultFilter>
<attribute>objectFullName</attribute>
<attribute>operationalState</attribute>
<attribute>administrativeState</attribute>
<attribute>mode</attribute>
<children/>
</resultFilter>
</find>
</SOAP:Body>
</SOAP:Envelope>
Password format
The NFM-P server accepts XML requests with plaintext or MD5-hashed passwords. See
3.4 “Secure communication” (p. 25) for more information.
Action on failure
The <continueOnFailure> and <onFailure> options help manage failed requests.
<continueOnFailure>false</continueOnFailure>
When the <continueOnFailure> option is set to false and a request in a concatenated message
fails, the NFM-P:
• ignores the remaining requests in the concatenated message
• returns responses for successful requests up to the failed request
• generates an exception message for the failure
When the <continueOnFailure> option is set to true, the execution of the requests continues even if
a failure occurs. Responses and exceptions are returned for each success or failure.
Note: Execution does not continue if there is a parsing error in the XML request. For example,
incorrectly formatted XML or specifying a className or attribute that does not exist results in
a parsing error.
The <execute> and <onFailure> options allow requests to recover from a failure. Multiple message
requests can be placed within <execute> and <onFailure> blocks. The execution starts with the first
request in the <execute> block. If there is a failure, the execution branches to the start of the
<onFailure> block. The results are for the requests up to the failed request in the <execute> block,
and the requests up to the failed request, if any, in the <onFailure> block. Only one level of nesting
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
112 3HE-20022-AAAB-TQZZA Issue 1
XML message structure NFM-P
XML message structure
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 113
XML message structure NFM-P
XML message structure
</SOAP:Body>
</SOAP:Envelope>
The following figure shows a deletion request that can be used after a failure occurs when creating
the VPLS site.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
114 3HE-20022-AAAB-TQZZA Issue 1
XML message structure NFM-P
XML message structure
<actionMask>
<bit>create</bit>
<bit>modify</bit>
</actionMask>
<siteId>10.1.241.69</siteId>
<displayedName>Customer_12:VPLS:100020:site_14</displayedName>
<administrativeState>1</administrativeState>
<mtu>0</mtu>
</vpls.Site>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
</execute>
<onFailure>
<generic.GenericObject.deleteInstance xmlns="xmlapi_1.0">
<distinguishedName>svc-mgr:service-67:10.1.241.69</distinguishedName>
</generic.GenericObject.deleteInstance>
</onFailure>
</SOAP:Body>
</SOAP:Envelope>
9.1.4 Responses
Responses identify the execution of a method.
The following figure shows a successful response to the request to configure a network interface.
</rtr.RoutingInstanceSite.configureResponse>
</SOAP:Body>
</SOAP:Envelope>
You can also include the content type information in the HTTP response header, using the <xmlapi>
element in the main server configuration. The xmlContentType parameter defines the content; for
example, using the default value of text/xml; charset=ISO-8859-1. You can use any valid string to
configure the parameter.
The customProperty fields that can be configured for the network element object, support UTF-8
with the following limitations:
• 4-byte UTF-8 characters are supported for customProperty fields in HTTP requests via the XML
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 115
XML message structure NFM-P
XML message structure
API and also supported in the NFM-P, however, 4-byte UTF-8 characters are not displayed in
HTTP responses.
• Certain 4-byte characters are in the supplementary range of the UTF-8 character set and are
handled differently. Specifically, any characters above the 0x0FFFF mark are represented as
pairs of two 2-byte characters which are not able to be inserted into XML without using escape
characters and code point values. These supplementary 4-byte characters are not supported in
requests or responses.
2xx Success - The action was successfully received, understood, and accepted.
1
3xx Redirection - Further action must be taken in order to complete the request.
4xx Client Error - The request contains bad syntax or cannot be fulfilled.
5xx Server Error - The server failed to fulfill an apparently valid request.
Notes:
1. The XML API does not send 1xx and 3xx messages.
The XML API client must check the HTTP response code before it attempts to parse the XML API
results. An HTTP response code between 200 and 299 identifies successful execution of the
request. The HTTP body for a 2xx response contains a valid XML SOAP response. All other
response codes may not contain well-formed XML.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
116 3HE-20022-AAAB-TQZZA Issue 1
XML message structure NFM-P
XML message structure
<faultstring>[error_string] message</faultstring>
The following table lists the error types that are associated with the <faultstring> element.
[error_string] Details
xml-header XML API header is missing, or is missing necessary information, such as the user ID
or the MD5-hashed password
The following table describes the faults and exceptions that can appear in an XML response.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 117
XML message structure NFM-P
XML message structure
Table 9-6, “Sample faults and exceptions” (p. 117) lists sample faults and exceptions that can
appear in an XML response, as described in Table 9-5, “Summary of XML response faults and
exceptions” (p. 117) .
Note: The code examples in Table 9-6, “Sample faults and exceptions” (p. 117) do not contain
the SOAP envelope or header information.
SOAPFault <SOAP:Fault>
<faultcode>SOAP:Client</faultcode>
<faultstring>[security] Users require OSS Management privileges to use XML
API</faultstring>
<faultactor>XmlApi</faultactor>
<detail>
<requestID>XML_API_client@n</requestID>
</detail>
</SOAP:Fault>
XMLException <SOAP:Body>
<XMLException xmlns="xmlapi_1.0">
<description>Command 'fm.FaultManager.findFault2s' is not defined</description>
<line>4</line>
<column>57</column>
</XMLException>
</SOAP:Body>
IMException <SOAP:Body>
<IMException xmlns="xmlapi_1.0">
<cause>java.lang.SecurityException</cause>
<description>SecurityManager:Security Breach: No such user: 'oss_client'
</description>
</IMException>
</SOAP:Body>
BaseException <SOAP:Body>
<script.ScriptManager.configureException xmlns="xmlapi_1.0">
<description>[app: script] [class: script.Script] [instance: -unknown-] [descr:
the NE type is invalid type,{neType=craig}] </description>
</script.ScriptManager.configureException>
</SOAP:Body>
Figure 9-13, “Exception message example, configuration failure” (p. 119) shows an exception
message generated when a user does not have the required OSS management privileges to use
XML API. The sample exception provides the following details:
• <faultcode> element indicates that the server could not execute the request because of a fault of
the client
• <faultstring> element provides the security error string, which indicates that the Client user
specified does not have the required OSS management privileges to use XML API
• <faultactor> element identifies the XmlApi as the fault factor
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
118 3HE-20022-AAAB-TQZZA Issue 1
XML message structure NFM-P
XML message structure
Note: The <responseTime> tag in an XML API header is the time at which the response
stream is opened.
The <detail> element in the SOAP exception message identifies the command that caused the
request failure.
The XML API validates the XML request when it is sent to the server. If the validation fails, an
exception message is generated and sent, as shown in Figure 9-13, “Exception message example,
configuration failure” (p. 119) . If the request requires changes to the managed network,
deployments are created and queued to send the changes to the routers. If the deployment fails, an
alarm is raised which includes details for the particular deployment ID. The network can be in an
indeterminate state because another configuration request may have succeeded. See
15.3 “Deployments” (p. 209) for more information about creating and viewing deployment requests
and alarms.
To recover from request errors, the OSS application may need to check the affected objects in the
deployment and issue appropriate requests to undo the action that caused the error. Another option
is to manually maintain a list of failures for resolution at a later date.
Note: See 15.4 “Workflow to handle deployment failures” (p. 216) in Chapter 15,
“Configuration management overview” for more information about how to handle deployment
errors that may cause the NFM-P database to be out of synchronization with the managed
network.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 119
XML message structure NFM-P
XML message structure
NSP Troubleshooting Guide for information about using LogViewer. See 9.3 “Mapping XML
methods to GUI operations” (p. 123) for information about enabling debug logging and viewing
EmsServer log files.
CAUTION
Service Disruption
The prolonged use of XML message logging in a busy network environment may have network
management performance impacts.
Use the log functions for a limited time to debug a specific problem.
You can enable the logging of XML API request, response, and exception messages on an NFM-P
main server. The entries in the message logs can assist you with the following:
• identifying the user associated with an XML request
• debugging the OSS requests from a user
You can enable XML message logging for an individual user or multiple users. See C.7 “Identifying
XML messages from specific users” (p. 363) for more information. The NFM-P creates log files for
each HTTP request and response associated with the user defined by the <systemOssiLog>
element in the NFM-P main server configuration. An HTTP request and response can contain
multiple XML requests and responses.
The NFM-P stores the log file in the directory defined by the <systemOssiLog> element in the main
server configuration, typically .../log/. The NFM-P uses the following naming convention for log files:
• ossiuserRequestn.log
• ossiuserResponsen.log
where
user is the NFM-P user name
n is the incremental request number
The request log contains the body of the SOAP message. The response log contains the entire
SOAP envelope of the response.
The following figure shows a sample request for an XML message log file.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
120 3HE-20022-AAAB-TQZZA Issue 1
XML message structure NFM-P
XML message structure
</filter>
</find>
</Request>
The following figure shows an example of a response to an XML message log file request.
Note: The <responseTime> tag in the header is the time at which the response stream is
opened.
The XML message logging parameters are defined in the NFM-P main server configuration. The
system administrator is responsible for the maintenance and backup of log files.
To modify the main server configuration, contact Nokia technical support.
As part of debug logging policy configuration, the system administrator can configure the maximum
disk space for storing log messages. The NFM-P disables the log option and raises an alarm if the
size of the log file exceeds the storage allocation. The default log file retention period is 24 hours.
See C.7 “Identifying XML messages from specific users” (p. 363) for information about how to
modify the log file retention period.
In a redundant system, the NFM-P logs the activities for the primary main server.
See C.7 “Identifying XML messages from specific users” (p. 363) for information about how to
enable the logging of NFM-P XML message transactions.
The User Activity form in the NFM-P client GUI displays user activity. See the section on user
activity logging in the NSP System Administrator Guide for more information.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 121
XML message structure NFM-P
CLI command methods
Method Description
executeCli Sends a CLI command to an NE; see Figure 9-16, “Single CLI command execution request
example” (p. 122) .
executeMultiCli Sends multiple CLI commands to an NE; see Figure 9-17, “Multiple CLI command execution
request example” (p. 122) .
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
122 3HE-20022-AAAB-TQZZA Issue 1
XML message structure NFM-P
Mapping XML methods to GUI operations
<user>username</user>
<password hashed="false">password</password>
</security>
<requestID>XML_API_client@n</requestID>
</header>
</SOAP:Header>
<SOAP:Body>
<netw.NetworkElement.executeMultiCli xmlns="xmlapi_1.0">
<instanceFullName>network:35.121.20.56</instanceFullName>
<commands> <string>environment no more</string> <string>show system
info</string>
</commands>
</netw.NetworkElement.executeMultiCli>
</SOAP:Body>
</SOAP:Envelope>
1
Perform an action using the GUI.
2
Choose Adiminstration→ Security→User Activity from the NFM-P main menu. The User Activity
window opens.
3
Select the Activity tab and click on the Search button. A list of activity logs is displayed.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 123
XML message structure NFM-P
User activity log fields
4
Locate the activity log entry that is relevant to the action performed, based on the time or sub-
type, and double-click on the log entry to view it.
END OF STEPS
Service Disruption
It is recommended that the logging of GUI operations be enabled only on an NFM-P system in a lab
or development environment.
Enabling logging on an NFM-P system in a live network can seriously degrade server performance.
Contact your Nokia technical support representative before you attempt to modify the nms-
server.xml file. Modifying the nms-server.xml file can have serious consequences that can include
service disruption.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
124 3HE-20022-AAAB-TQZZA Issue 1
XML message structure NFM-P
To view the GUI operation in the server log
9.6.1 Steps
1
Log in to the NFM-P main server station as the nsp user.
2
Open the /opt/nsp/nfmp/server/nms/config/nms-server.xml file using a plain-text editor.
3
Locate the <Filter> tag in the <systemLog> section of the file.
4
Add the following line directly after the line that begins with <!-- Don’t change this section END
-->.
5
Save and close the nms-server.xml file.
6
Open a console window.
7
Navigate to the /opt/nsp/nfmp/server/nms/bin directory.
8
Enter the following at the console prompt to restart the NFM-P server:
bash$ ./nmsserver.bash force_restart ↵
The NFM-P main server restarts, and all subsequent GUI and OSS actions are logged in the
/opt/nsp/nfmp/server/nms/log/server EmsServer.log file.
END OF STEPS
1
Complete 9.6 “To enable logging of GUI operations on the NFM-P server” (p. 124) .
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 125
XML message structure NFM-P
Log file entries for GUI operations
2
Open the server log file.
3
Perform an action on the GUI.
4
View the logged information for that action in the server log file to determine the class and
method used.
END OF STEPS
Note: In some cases, a GUI action may use custom methods that are not directly applicable
for use by an OSS. For example, when configuring network objects using the GUI, the server
log output could log the mpls.LspPath.configure method. In this case an OSS should use the
generic method generic.GenericObject.configureInstance. See 15.2 “Configuration methods”
(p. 202) for more information about using generic methods for configuring network objects.
In some cases, no specific instance is returned, for example, when you perform a find action.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
126 3HE-20022-AAAB-TQZZA Issue 1
Schema Reference NFM-P
10 Schema Reference
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 127
Schema Reference NFM-P
General schema files
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
128 3HE-20022-AAAB-TQZZA Issue 1
Schema Reference NFM-P
General schema files
findToFile To find the set of objects of the See Table 14-3, “findToFile method input —
specified type that match the parameters” (p. 191) .
filter criteria, and store the result
in the specified file. Upon
completion of the request, a
fileAvailable event is generated.
register- To create OAM test results file See Table 12-1, “registerSasLogToFile —
SasLogToFile based on specified class types. method input parameters” (p. 156) .
Files are created and are placed
in the specified directory on the
server. Every time that a file is
created, a LogFileAvail-
ableEvent event is generated. If
there is no JMS client
subscribed within some time, the
NFM-P server deregisters the
request.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 129
Schema Reference NFM-P
XML method schema files
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
130 3HE-20022-AAAB-TQZZA Issue 1
Schema Reference NFM-P
XML method schema files
<!--
= fm.FaultManager.clearFaultsOnObject
= [MODIFIER]
= [SCOPE: CLASS]
=
= This method clears the faults raised against the base instance that matches
the faultFilter criteria.
=
=
= [IN]
= deployer - Deployer
= The deployment state.
=
= synchronousDeploy - xsd:boolean
= (optional) Specify whether to block until the changes have been
= fully deployed to network. A value of "true" means to block.
= A value of "false" means to return immediately.
= Default: false (asynchronous)
=
= clearOnDeployFailure - xsd:boolean
= (optional) Specify whether clear the deployer if a failure occurs.
= A value of "true" means to clear.
= A value of "false" means to leave the failed deployer.
= Default: false
=
= deployRetries - xsd:int
= (optional) The number of times to attempt re-deployment during
= synchronous deployment. This parameter is meaningless in the
= asynchronous case.
= Default: 0
=
= deployRetryInterval - xsd:long
= (optional) The number of milliseconds to wait between deployment
= retries. This parameter is meaningless in the asynchronous case.
= Default: 0
=
= taskDescription - xsd:string
= (optional) A user friendly description of what the operation does.
= This information will be used by the task manager.
=
= baseInstanceFullName - xsd:string
= Full name of the affected object on which the alarms should be
cleared.
=
= faultFilter - FilterHolder
= Filter applied to alarms.
=
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 131
Schema Reference NFM-P
XML type schema files
= continueOnFailure - xsd:boolean
= (Optional) Continue processing requests in this stream if an exception
occurs, unless the request is invalid
=
=
= [EXCEPTIONS]
= fm.FaultManager.clearFaultsOnObjectException
-->
deployRetries Specifies the number of times that deployment is retried 0 (default and recommended)
during a synchronous deployment. This is an optional
parameter.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
132 3HE-20022-AAAB-TQZZA Issue 1
Schema Reference NFM-P
Standard properties of classes
<!--
=
= Name: fm.AdditionalTextAttribute
= Type: Class
= Abstract: no
= Singleton: no
=
= Category: fault
= Deployable: no
= Read Access: all
= Write Access: admin,fault
=
= Inheritance Hierarchy:
=
= <root>
= |
= fm.AdditionalTextAttribute
=
-->
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 133
Schema Reference NFM-P
Standard properties of classes
<xsd:complexType name="fm.AdditionalTextAttribute">\
<xsd:all>
<!-- standard properties -->
<xsd:element name="objectFullName" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="252"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="actionMask" type="generic.ModifierActionMask"
minOccurs="0"/>
<xsd:element name="children-Set" type="Children-Set" minOccurs="0"/>
<xsd:element name="selfAlarmed" type="xsd:boolean" minOccurs="0"/>
create 1 Creates an object based on the specified parameters. Only read-write and read-create
attributes are allowed. The read-create attribute is mandatory.
modify 2 Modifies an existing object based on the specified parameters. Only read-write attributes
are allowed.
<actionMask>
<bit>create</bit>
<bit>modify</bit>
</actionMask>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
134 3HE-20022-AAAB-TQZZA Issue 1
Schema Reference NFM-P
Standard properties of classes
<equipment.CardSlot>
<actionMask>
<bit>modify</bit>
</actionMask>
<children-Set>
<equipment.BaseCard>
<actionMask>
<administrativeState>inService</administrativeState>
<slotId>7</slotId>
<specificType>
<bit>card_iom2_20g</bit>
</specificType>
</equipment.BaseCard>
</children-Set>
</equipment.CardSlot>
Note: There is no documented list of object full name formats. The samples in Table 10-4,
“Object FDN examples” (p. 135) are not guaranteed to remain valid between NFM-P releases.
Nokia recommends that XML APIrequest writers find FDNs to use in their requests by
performing a find request for the class of the object they are looking for. See 13.3 “Inventory
retrieval methods” (p. 162) for information about the find method.
For a class that has no associated objects, a find request does not return a result from which
you can obtain an FDN. In such a scenario, you must create the object using an NFM-P GUI
client, and then perform the find request.
You can also monitor the NFM-P logs for the FDN of an object that you create or modify using
the GUI. See 9.1.6 “Logging XML requests, responses, and exceptions” (p. 120) in 9.1 “XML
message structure ” (p. 105) for information about logging.
Network element
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 135
Schema Reference NFM-P
Standard properties of classes
Network element Created for each managed NE and forms the network:10.1.1.88
base of site-specific objects.
network:siteID
Policies
Policy manager A policy manager exists for each type of policy Access Egress
at the network and element level and contains or
sets of policies of a type. For example, access network:10.1.1.88:Access Egress
and slope.
policy Manager Type for network level
or
network:siteID:policyManagerType for element
level
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
136 3HE-20022-AAAB-TQZZA Issue 1
Schema Reference NFM-P
Standard properties of classes
Router
OSPF
BGP
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 137
Schema Reference NFM-P
Standard properties of classes
LDP
MPLS
Subscribers
Services
Channels
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
138 3HE-20022-AAAB-TQZZA Issue 1
Schema Reference NFM-P
Standard properties of classes
<!--
- Name: EncapValue
- Defined in: antispoof.AntiSpoofingFilter
- Default: 0
- Access: Read-Write -->
<xsd:element name="encapVal" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:long">
<xsd:minInclusive value="0"/>
<xsd:maxInclusive value="4294967295"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 139
Schema Reference NFM-P
Standard properties of classes
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
140 3HE-20022-AAAB-TQZZA Issue 1
Fault management NFM-P
11 Fault management
Note: Although the NFM-P receives network information in traps and generating alarms about
fault conditions in the network, the traps are not directly mapped to alarms.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 141
Fault management NFM-P
Alarm definitions
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<eventName>ObjectCreation</eventName>
<ALA_category>FAULT</ALA_category>
<ALA_isCorr>false</ALA_isCorr>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
142 3HE-20022-AAAB-TQZZA Issue 1
Fault management NFM-P
Alarm messages
<ALA_isVessel>false</ALA_isVessel>
<ALA_alarmType>equipmentAlarm</ALA_alarmType>
<ALA_allomorphic>fm.AlarmObject</ALA_allomorphic>
<MTOSI_NTType>NT_ALARM</MTOSI_NTType>
<MTOSI_serviceAffecting>false</MTOSI_serviceAffecting>
<MTOSI_probableCause>inoperableEquipment</MTOSI_probableCause>
<ALA_clientId>JMS_client@n</ALA_clientId>
<MTOSI_aliasNameList>EquipmentDown</MTOSI_aliasNameList>
<ALA_OLC>2</ALA_OLC>
<MTOSI_osTime>1315841370394</MTOSI_osTime>
<MTOSI_objectName>faultManager:network@198.51.100.47@shelf-1@cardSlot-
1@card@daughterCardSlot-1@daughterCard@port-32|alarm-10-3-8</MTOSI_objectName>
<MTOSI_perceivedSeverity>major</MTOSI_perceivedSeverity>
<ALA_span>:2:</ALA_span>
<MTOSI_objectType>fm.AlarmObject</MTOSI_objectType>
<ALA_eventName>ObjectCreation</ALA_eventName>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<objectCreationEvent>
<fm.AlarmInfo>
<severity>major</severity>
<previousSeverity>indeterminate</previousSeverity>
<originalSeverity>major</originalSeverity>
<highestSeverity>major</highestSeverity>
<probableCause>8</probableCause>
<alarmName>10</alarmName>
<type>3</type>
<affectedObjectFullName>network:198.51.100.47:shelf-1:cardSlot-1:card:
daughterCardSlot-1:daughterCard:port-32</affectedObjectFullName>
<affectedObjectClassName>equipment.PhysicalPort</affectedObjectClassName>
<isAcknowledged>false</isAcknowledged>
<wasAcknowledged>false</wasAcknowledged>
<acknowldegedBy>N/A</acknowldegedBy>
<clearedBy>N/A</clearedBy>
<deletedBy>N/A</deletedBy>
<firstTimeDetected>1315841369120</firstTimeDetected>
<lastTimeDetected>1315841369120</lastTimeDetected>
<lastTimeSeverityChanged>0</lastTimeSeverityChanged>
<lastTimeCleared>0</lastTimeCleared>
<lastTimePromoted>0</lastTimePromoted>
<lastTimeDemoted>0</lastTimeDemoted>
<lastTimeEscalated>0</lastTimeEscalated>
<lastTimeDeEscalated>0</lastTimeDeEscalated>
<lastTimeAcknowledged>0</lastTimeAcknowledged>
<frequency>0</frequency>
<occurences>N/A</occurences>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 143
Fault management NFM-P
Alarm messages
<numberOfOccurences>1</numberOfOccurences>
<numberOfOccurencesSinceClear>1</numberOfOccurencesSinceClear>
<numberOfOccurencesSinceAck>0</numberOfOccurencesSinceAck>
<isServiceAffecting>false</isServiceAffecting>
<additionalText>N/A</additionalText>
<operatorAssignedUrgency>indeterminate</operatorAssignedUrgency>
<urgencyAssignedBy>N/A</urgencyAssignedBy>
<relatedObjects>
<null/>
</relatedObjects>
<affectingObjects>
<null/>
</affectingObjects>
<subscriberId>0</subscriberId>
<nodeId>198.51.100.47</nodeId>
<nodeName>sim20_47</nodeName>
<affectedObjectDisplayedName>Port 1/1/32</affectedObjectDisplayedName>
<applicationDomain>Physical Equipment</applicationDomain>
<displayedClass>PhysicalPort</displayedClass>
<alarmClassTag>equipment.EquipmentDown</alarmClassTag>
<affectedObjectClassIndex>87</affectedObjectClassIndex>
<affectedObjectInstanceIndex>2018</affectedObjectInstanceIndex>
<deployerName/>
<deployerId>0</deployerId>
<requestId>N/A</requestId>
<requestUser>N/A</requestUser>
<correlatingAlarm>N/A</correlatingAlarm>
<isImplicitlyCleared>true</isImplicitlyCleared>
<numberOfCorrelatedAlarms>0</numberOfCorrelatedAlarms>
<olcState>inService</olcState>
<objectFullName>faultManager:network@198.51.100.47@shelf-
1@cardSlot-1@card@daughterCardSlot-1@daughterCard@port-32|alarm-10-3-8</
objectFullName>
<objectClassName>fm.AlarmObject</objectClassName>
<allomorphicClassName>fm.AlarmObject</allomorphicClassName>
<objectId>606777272</objectId>
<displayedName>Port 1/1/32 - network@198.51.100.47@shelf-
1@cardSlot-1@card@daughterCardSlot-1@daughterCard@port-32|alarm-10-3-8</
displayedName>
<lifeCycleState>1</lifeCycleState>
<deploymentState>0</deploymentState>
<neId>198.51.100.47</neId>
<spanObjectPointer>node-198.51.100.47</spanObjectPointer>
<parentClassName>fm.FaultManager</parentClassName>
<unsetProperties/>
</fm.AlarmInfo>
</objectCreationEvent>
</jms>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
144 3HE-20022-AAAB-TQZZA Issue 1
Fault management NFM-P
Alarm messages
</SOAP:Body>
</SOAP:Envelope>
The following figure shows an attribute value change for a recurring alarm. Each time that the alarm
recurs, the number of occurrences (both absolute and since the last clear) increment and the time
last detected is updated. The following figure shows the old and new values for each of the fields.
See also “AttributeValueChangeEvent” (p. 339) in Appendix B, “JMS events”.
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<eventName>AttributeValueChange</eventName>
<ALA_category>FAULT</ALA_category>
<ALA_OLC>2</ALA_OLC>
<ALA_isVessel>false</ALA_isVessel>
<ALA_allomorphic>fm.AlarmObject</ALA_allomorphic>
<MTOSI_osTime>1316464116127</MTOSI_osTime>
<MTOSI_NTType>NT_ALARM</MTOSI_NTType>
<MTOSI_objectName>faultManager:network@3.3.3.3@router-1@ospf-v2@areaSite-
0.0.0.0@interface-18|alarm-40-11-43-packetSourceIpAddress=10.1.3.6</MTOSI_
objectName>
<ALA_span>:2:</ALA_span>
<ALA_clientId>JMS_client@n</ALA_clientId>
<MTOSI_objectType>fm.AlarmObject</MTOSI_objectType>
<ALA_eventName>AttributeValueChange</ALA_eventName>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<attributeValueChangeEvent>
<objectFullName>faultManager:network@3.3.3.3@router-1@ospf-v2@areaSite-
0.0.0.0@interface-18|alarm-40-11-43-packetSourceIpAddress=10.1.3.6</
objectFullName>
<attribute>
<attributeName>numberOfOccurencesSinceClear</attributeName>
<newValue>
<long>3490</long>
</newValue>
<oldValue>
<long>3489</long>
</oldValue>
</attribute>
<attribute>
<attributeName>lastTimeDetected</attributeName>
<newValue>
<long>1316464116127</long>
</newValue>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 145
Fault management NFM-P
Retrieving alarms
<oldValue>
<long>1316463991997</long>
</oldValue>
</attribute>
<attribute>
<attributeName>numberOfOccurences</attributeName>
<newValue>
<long>3490</long>
</newValue>
<oldValue>
<long>3489</long>
</oldValue>
</attribute>
</attributeValueChangeEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
<faultFilter>
<and class="fm.AlarmInfo">;
<equal name="nodeId" value="198.51.100.71"/>
<greater name="lastTimeDetected" value="1305806592556"/>
</and>
</faultFilter>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
146 3HE-20022-AAAB-TQZZA Issue 1
Fault management NFM-P
Alarm management
faultFilter method usage requires knowledge of the fm.AlarmInfo object attributes. See
fm.FaultManager in the XML API Reference for information.
<resultFilter>
<attribute>severity</attribute>
<attribute>highestSeverity</attribute>
<attribute>probableCause</attribute>
<attribute>alarmName</attribute>
<attribute>affectedObjectFullName</attribute>
<attribute>affectedObjectClassName</attribute>
<attribute>isAcknowledged</attribute>
<attribute>firstTimeDetected</attribute>
<attribute>lastTimeDetected</attribute>
<attribute>numberOfOccurences</attribute>
<attribute>isServiceAffecting</attribute>
<attribute>additionalText</attribute>
<attribute>nodeId</attribute>
<attribute>nodeName</attribute>
<attribute>displayedName</attribute>
</resultFilter>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 147
Fault management NFM-P
Alarm correlation
request example” (p. 37) and the XML API Reference for more information about the methods. See
the XML API SDK Sample Code Navigator for a sample request to configure a specific alarm policy.
Note: The ALA_isCorr property is not included in all events. See “Alarm-specific header
properties” (p. 39) in 4.6 “JMS message filtering” (p. 37) for information.
See “Correlated alarms” in the NSP NFM-P Classic Management User Guide for more information
about correlated alarms.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
148 3HE-20022-AAAB-TQZZA Issue 1
Fault management NFM-P
Workflow to set up alarm management
• alarmClassTag
The fm.FaultManager.testAlarm method can be used in a development environment to test specific
types of alarms that require real NEs, where real NEs are not accessible. It is an effective means to
generate alarms and verify the alarm response output that is received by an OSS client. The
following figure shows an example of how to generate a service site down alarm.
<SOAP:Body>
<fm.FaultManager.testAlarm xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<objectInstanceName>svc-mgr:service-3:10.1.1.90</objectInstanceName>
<alarmNameId>97</alarmNameId>
<alarmTypeId>17</alarmTypeId>
<probableCauseId>84</probableCauseId>
<severity>critical</severity>
<alarmClassTag>svc.ServiceSiteDown</alarmClassTag>
<namingComponent/>
<additionalText>my additional text</additionalText>
</fm.FaultManager.testAlarm>
</SOAP:Body>
The following figure shows an example of the response to the request to generate a service site
down alarm.
<SOAP:Body>
<fm.FaultManager.testAlarmResponse xmlns="xmlapi_1.0"/>
</SOAP:Body>
1
Establish a JMS subscription. See 4.10 “NFM-P JMS client configuration and testing” (p. 61) for
more information about creating a JMS consumer.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 149
Fault management NFM-P
Workflow to set up alarm management
2
Retrieve inventory information for the required elements in the network. See
A.2 “Recommended durable JMS client operation” (p. 327) for how to perform a retrieval
without losing events during a retrieval of inventory.
3
If required, retrieve objects that affect or are related to the required network objects using
fm.FaultManager.findObjectsAffectionOfn and fm.FaultManager.findObjectsRelatedToOfn
methods. See the XML API Reference for more information about the methods.
4
Retrieve alarms for the network elements of interest using fm.FaultManager.findAlarmsForOfn.
See the XML API Reference for more information.
5
As required, configure alarm policies. See 11.8 “Alarm policies” (p. 147) for more information.
6
As required, acknowledge, clear, or promote/demote the alarms. See 11.7 “Alarm management”
(p. 147) for more information.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
150 3HE-20022-AAAB-TQZZA Issue 1
OAM NFM-P
12 OAM
12.1 OAM
12.1.1 Overview
The NFM-P allows you to create, configure, execute, schedule, and collect results for OAM tests,
for network troubleshooting, and to verify compliance with SLAs. This chapter covers topics of
interest to an OAM OSS developer.
12.2 References
12.2.1 Overview
The following references are of interest to an OSS developer working in the OAM domain:
• NSP NFM-P Classic Management User Guide - See “Service Test Manager”, “OAM diagnostic
tests” , and “Ethernet CFM” chapters, the CFM 802.lag Policies section in the Services chapter,
and the Ethernet Connectivity Fault Management section in the Troubleshooting chapter.
• ITU-T Recommendation Y.1731
• IEEE 802.lag Standard
• XML API SDK Sample Code Navigator - documents samples of OSS objects
12.4 Tests
12.4.1 Overview
The categories of service assurance tests are:
• ping tests (subclasses of sas.Ping)
• trace tests (subclasses of sas.Trace)
• actions (subclasses of sas.Action)
The types of each test are:
• test (subclass of sas.Test)
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 151
OAM NFM-P
Test suites
Note: The NFM-P supports OmniSwitch ping and traceroute tests via user-defined CLI scripts
instead of sas package objects. For sample scripts, see the sample OmniSwitch ping and
traceroute CLI scripts in the NSP NFM-P Classic Management User Guide. For information
about deploying CLI scripts, see 9.2 “CLI command methods” (p. 122) .
To create a test using the OSS interface, use generic.GenericObject.configureChildInstance. The
CreateServiceTunnelPing.xml file in the code samples demonstrates the creation of a
svt.TunnelPing test with default values. See the XML API Reference for the test class and additional
test properties. See the XML API SDK Sample Code Navigator for sample XML code.
To run an existing test, use the executeAndWait method of sas.Test. See the XML API Reference
for method parameters. Several sample usages are available in the XML API code samples; for
example, LspPing-UserExisting.xml. See the XML API SDK Sample Code Navigator for sample
XML code.
The sas.Test object provides a convenience method to create and run a test using an XML request.
See sas.Test.adhocExecuteAndWait in the XML API Reference for more information. Several
sample usages are also in the XML code samples; for example, LspPing-CreateAndUse.xml. See
the XML API SDK Sample Code Navigator for sample XML code.
See “OAM diagnostic tests” in the NSP NFM-P Classic Management User Guide for a list of the
OAM diagnostic tests that are supported by the NFM-P. Classes for most tests are in the packages
for the tested elements; for example, ATM ping is defined in the atm package. The only exception to
this is Ethernet CFM tests, which can be found in the ethernetoam package. See 7.2 “Packages”
(p. 86) for information about mapping entity types to packages.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
152 3HE-20022-AAAB-TQZZA Issue 1
OAM NFM-P
Generated tests
Test suites are usually associated with a specific type of tested entity, such as VLL service or VPLS.
You can also create a test suite with a mix of tested entities by setting testedEntityType to none (1).
To create a test suite, use the generic.GenericObject.configureChildInstanceWithResult method to
create a child of the sas object. For a simple example, see CreateSimpleTestSuite.xml. See the
XML API SDK Sample Code Navigator for sample XML code.
To add tests to a test suite, use sas.TestSuite.addTest or addTests. To run a test suite, use the
sas.AbstractTest.execute method. For an example, see ExecuteTestsFromTestSuite.xml. See the
XML API SDK Sample Code Navigator for sample XML code.
See “Service Test Manager” in the NSP NFM-P Classic Management User Guide for more
information about test suites. See the XML API Reference for more information about the properties
and methods of sas.TestSuite.
1
Create a test policy with test definitions. The test policy needs to specify the type of target
object to be tested, and the test definitions need to be valid for the object. See the
CreateLSPTestPolicy.xml file in the XML code samples.
2
Create a test suite, specifying the test policy. See the CreateSimpleTestSuite.xml file in the
code samples. Alternatively, you can add your test policy to a test suite. See the XML API SDK
Sample Code Navigator for sample XML code.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 153
OAM NFM-P
Scheduling tests
3
Add target objects to the test suite. See the AddTestedEntityToTestSuite.xml file in the code
samples.
4
As required, combine Stage 2 and Stage 3 to create a test suite and add tested entities to the
suite in a single xml request. See the CreateTestSuite.xml file in the code samples.
5
Generate the tests:
a. Use sas.TestSuite.generateTests. See the GenerateTestsFromTestSuite.xml file in the code
samples.
b. Use the generateTests flag in sas.TestSuiteAddTestedEntities. See the XML API Reference
for more information and for other methods on sas.TestSuite.
1
Create a test suite. See 12.5 “Test suites” (p. 152) for information. The test suite can contain
manually created tests, generated tests, or both.
2
Create a schedule. See Misc/createSchedule_hourlyOngoing.xml in the code samples. See the
XML API SDK Sample Code Navigator for sample XML code.
3
Create a scheduled task that associates the test suite with the schedule. See
ScheduleTestSuite.xml in the code samples.
END OF STEPS
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
154 3HE-20022-AAAB-TQZZA Issue 1
OAM NFM-P
NE schedule tests
12.9.2 Reference
See “NFM-P-based schedules” in the NSP NFM-P Classic Management User Guide for information
about scheduling. See schedule.Sam.Schedule in the XML API Reference for scheduling options.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 155
OAM NFM-P
Retrieving results
JMS client inactivity check to ensure that no deregistration occurs. See A.6 “To configure the
registerLogToFile or registerSasLogToFile client inactivity check” (p. 334) for information.
OAM data is exported to a result file after the data is read from the NE. The file is saved to a
specified directory on the NFM-P server.
Note: Not all OAM tests provide OAM data when the registerSasLogToFile method is used.
The following conditions are required for OAM data to be generated for registerSasLogToFile:
• OAM test sas.Test.neSchedulable attribute is true
• OAM test sas.Test.accountingPolicyObjectPointer attribute is not empty
• OAM test sas.Test.accountingFiles attribute is true
• OAM test sas.Test.testResultStorage attribute value is logToFile or logToDBAndFile
See “OAM diagnostic tests” in the NSP NFM-P Classic Management User Guide for
configuration information.
The NFM-P server verifies the presence of the JMS client subscription that is specified in the
registerSasLogtoFile method using the jmsClientId input parameter. If the client is not
subscribed, the server deregisters the registerSasLogToFile request. This means that OAM
result export files are not generated after the Log Retention Time expires.
It is recommended that you run the registerSasLogToFile method every time the client
establishes a JMS session.
The following table describes the input parameters of the registerSasLogToFile method.
fullClassName A comma-separated list of package qualified class names to register. Comma-separated list of
Superclasses may be specified. If a class in the list is not an instance of OAM results
sas.TestResult or sas.TraceHop, an exception occurs, none of the classes
are registered, and request processing terminates unless continueOnFailure
is true. (String)
dirName The relative path of the directory in which to save the files; the path is String
relative to the oam directory below the OSS XML export directory. The
parameter is mandatory.
A best practice is to use a separate directory for each application that
exports different test results or uses different filters.
compress Specifies whether export files are to be compressed when they are created. False (default)
A value of True saves files with gzip compression and a filename extension True
of gz. The default is False. (Optional)
Specifying a compression option increases the CPU processing load.
jmsClientId The JMS client ID or Kafka Subscription ID that is notified when a new See Chapter 4, “Event
export file is created based on the specified parameters; a notification is monitoring using JMS” for
sent to each client that is registered for OAM logs when an export file is information about the JMS
created. client ID format.
If the JMS client inactivity check is disabled, an empty string must be
specified.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
156 3HE-20022-AAAB-TQZZA Issue 1
OAM NFM-P
Retrieving results
filter Filter on the text attribute(s) of the log record that will be written to the stats <filter>element</filter>
file, or accountingPolicyId integer attribute (applies only to accounting
statistics). (Optional)
The following filter tags are supported:
• and
• equal
• in
• not
• notEqual
• or
• wildcard
resultFilter The attribute set to include in the OAM result export file, where the attributes <attribute>attribute_name</
are part of the specific test result object; you can also use the parameter to attribute>
reduce the size of the result file by reducing the number of attributes
included per test result object. (Optional)
continueOnFailure Optional parameter that specifies whether to continue processing requests False (default)
in the stream if an exception occurs, except in the case of a request parsing True
error; the default is false. (Boolean) (Optional)
The OAM result files are created using unique names in a directory relative to /opt/nsp/nfmp/server/
xml_output/oam.
OAM result file retrieval using the registerSasLogToFile method requires a RHEL user account on
each main server. Such a user account requires FTP or SFTP access, depending on whether TLS
is enabled on the XML API. See 14.6.2 “Configuring FTP and SFTP access for OSS clients”
(p. 181) for the specific requirements and best practices for creating OSS client user accounts.
See the XML API SDK Sample Code Navigator, OAM directory, for registerSasLogToFile request,
jms logFileAvailableEvent, and OAM result export file samples.
The following figure shows an OAM log file request using the registerSasLogToFile method.
<registerSasLogToFile xmlns="xmlapi_1.0">
<fullClassName>sas.TestResult, sas.TraceHop</fullClassName>
<dirName>jmsclientdir</dirName>
<jmsClientId>JMS_client@n</jmsClientId>
<resultFilter>
<attribute>testSuiteId</attribute>
<attribute>testId</attribute>
<attribute>fromNodeId</attribute>
<attribute>neTestRunIndex</attribute>
<attribute>resultStatus</attribute>
</resultFilter>
</registerSasLogToFile>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 157
OAM NFM-P
Ethernet OAM
The configuration of testResultStorage is different for OAM PM Diagnostics test results. The OAM
PM diagnostic tests results are modeled from sas.PmStats. You can retrieve the results of the
following classes of OAM PM diagnostic test sessions from LogToDB, LogTofFile or both.
• ethernetoam.CfmDmmSession
• ethernetoam.CfmLmmSession
• ethernetoam.CfmSlmSession
• sas. MplsDmSession
• sas. TWLSession
To store the test results in the database, you can specify the writeAccountingResultsToDb attribute
per session test or globally as System Preferences. See the Assurance section of the User Guide
for more details.
registerSasLogToFile filtering
To reduce the volume of exported statistics data, a client can apply a filter during
registerSasLogToFile registration. The filter criteria determine which records are returned to a client;
for example, if multiple API clients are individually responsible for statistics collection in specific
subnet; each client can apply a filter to return only the statistics associated with the NEs in specific
subnets.
You can filter on any properties of a statistics log record that are string-based, such as
monitoredObjectClass or monitoredObjectSiteId. See the LogRecord class definition in the XML API
Reference for a list of the class properties.
For accounting statistics, you can configure an NFM-P system preference to include the accounting
policy ID in each accounting statistics record. This enables an OSS client to use
registerSasLogToFile and JMS filters based on the accounting policy ID.
See the system preferences configuration procedures in the NSP System Administrator Guide for
more information.
See the registerSasLogToFile method description in the XML API Reference for a list of the
supported filter elements and syntax.
See 4.6 “JMS message filtering” (p. 37) for information about creating JMS filters.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
158 3HE-20022-AAAB-TQZZA Issue 1
OAM NFM-P
PM Session OAM
See the OAM directory in the code samples for Ethernet OAM configuration examples. See the
XML API SDK Sample Code Navigator for sample XML code.
<registerSasLogToFile>
<fullClassName>saspm.CfmDmmSessionAccStats,
saspm.CfmDmmBinAccStats,
saspm.CfmSlmSessionAccStats,
saspm.CfmLmmSessionAccStats,
saspm.TWLSessionAccStats,
saspm.TWLBinAccStats
</fullClassName>
<dirName>oampm</dirName>
<jmsClientId>JMS_client@n</jmsClientId>
</registerSasLogToFile>
See the following in the NSP NFM-P Classic Management User Guide for more information about
the supported PM Session tests:
• PM Session tests chapter
• Service Test Manager chapter
See the NSP NFM-P Statistics Management Guide for information about viewing statistics data and
graphing statistics using the NFM-P Statistics Plotter. Both historical and real-time plots are
supported for OAM PM.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 159
OAM NFM-P
OAM for OmniSwitch
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
160 3HE-20022-AAAB-TQZZA Issue 1
Inventory management NFM-P
13 Inventory management
2 Server
validates
request
1 Request sent
to server
3 Reads from
database
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 161
Inventory management NFM-P
Inventory retrieval methods
network:<siteID>:shelf-<ID>:cardSlot-<ID>:card:daughterCardSlot-<ID>:daughterCard:port-<ID>
network
→site
→shelf
→cardSlot
→card
→daughterCardSlot
→daughterCard
→port
The XML API object model is organized in a hierarchy that has parent-child relationships for all
management objects. For detailed information about the object model, see the XML API Reference,
which is described in Chapter 8, “XML API Reference” , and the NFM-P schema files, which are
described in Chapter 10, “Schema Reference” .
Note: Other methods in the equipment and network packages can be used to retrieve specific
objects and classes. Nokia does not recommend the use of these methods because they are
not optimized.
The following table lists and describes the XML methods and parameters that an OSS client can
use to retrieve objects.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
162 3HE-20022-AAAB-TQZZA Issue 1
Inventory management NFM-P
Inventory retrieval methods
find
timeout (optional) The time, in milliseconds, after which the NFM-P aborts the request and returns an
exception
resultFilter A filter that reduces the amount of object information that is retrieved
(strongly recommended)
continueOnFailure (optional) Whether to continue processing requests in the stream if an exception other than a
request parsing error occurs
findToFile
fileName The relative file in which to store the results. The format is:
ftp://user:password@host:port/directory/filename
or, if secure FTP is used:
sftp://user:password@host:port/directory/filename
The following rules apply:
• When using a remote client, the directory must be relative to the default FTP
directory on the remote client.
• The characters ‘/’ and ‘;’ are reserved and must be encoded. For example, to
specify a file in /tmp directory on the remote client, the path must be encoded as
ftp://name@password/%2Ftmp/filename.xml. The path ftp://name@password/tmp/
filename.xml specifies a file in a /tmp directory under the default FTP directory of
the user.
See RFC 1738 Uniform Resource Locators (URL), Section 3.2.2 for more
information about the FTP URL requirements.
timeStamp (optional) Whether to include the timestamp in the name of the result file
compress (optional) Whether to compress the result file using gzip compression; the default is False
timeout (optional) The time, in milliseconds, after which the NFM-P aborts the request and returns an
exception
resultFilter A filter that reduces the amount of object information that is retrieved
(strongly recommended)
synchronous (optional) Whether the method runs synchronously, in which case the result is returned only
when the operation is complete; the default is true
continueOnFailure (optional) Whether to continue processing requests in the stream if an exception other than a
request parsing error occurs
findFaults
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 163
Inventory management NFM-P
Inventory retrieval methods
resultFilter A filter that reduces the amount of object information that is retrieved
(optional)
continueOnFailure (optional) Whether to continue processing requests in the stream if an exception other than a
request parsing error occurs
<SOAP:Body>
<find xmlns="xmlapi_1.0">
<fullClassName>aclfilter.IpFilter</fullClassName>
<filter>
<equal name="objectFullName" value="IP Filter:1000"/>
</filter>
</find>
</SOAP:Body>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
164 3HE-20022-AAAB-TQZZA Issue 1
Inventory management NFM-P
Inventory retrieval methods
<SOAP:Body>
<findToFile xmlns="xmlapi_1.0">
<fullClassName>equipment.InterfaceAdditionalStatsLogRecord</fullClassName>
<filter>
<and>
<equal name="monitoredObjectPointer" value="network:10.1.202.93:shelf-
1:cardSlot-1:card:daughterCardSlot-1:daughterCard:port-3"/>
<between name="timeCaptured" first="1127142900000" second="1127143800000"/>
</and>
</filter>
<fileName>Equipment.InterfaceAdditionalStatsLogRecord.xml</fileName>
</findToFile>
</SOAP:Body>
For synchronous findToFile requests, the NFM-P sends the following findToFile response shown in
the following figure if the request contains no errors.
<findToFileResponse xmlns="xmlapi_1.0">
If a findToFile request contains an error, the response message contains an exception that indicates
the type of error. See Chapter 9, “XML message structure” for information about the XML message
structure and exception messages.
When all request processing is complete and the results are stored in a file, the NFM-P sends a
fileAvailableEvent JMS notification. The notification includes the result and the request ID, as
shown in the following figure.
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<fileAvailableEvent>
<requestID>JMS_client@n</requestID>
<fileName>asynchronous_request.xml</fileName>
</fileAvailableEvent>
</jms>
</SOAP:Body>
If the request does not complete successfully, the notification contains an exception. See
“FileAvailableEvent example” (p. 345) in Appendix B, “JMS events” for more information.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 165
Inventory management NFM-P
Inventory retrieval methods
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
166 3HE-20022-AAAB-TQZZA Issue 1
Inventory management NFM-P
Inventory retrieval methods
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 167
Inventory management NFM-P
Inventory retrieval methods
<requestID>XML_API_client@n</requestID>
</header>
</SOAP:Header>
<SOAP:Body>
<findToFile xmlns="xmlapi_1.0">
<fullClassName>equipment.PhysicalPort</fullClassName>
<filter>
<and>
<equal name="siteId" value="10.1.202.93"/>
<equal name="shelfId" value="1"/>
<equal name="cardSlotId" value="1"/>
<equal name="daughterCardSlotId" value="1"/>
<equal name="mode" value="access"/>
</and>
</filter>
<fileName>equipmentPhysicalPort.xml</fileName>
</findToFile>
</SOAP:Body>
</SOAP:Envelope>
<findToFile xmlns="xmlapi_1.0">
<synchronous>false</synchronous>
<fullClassName>class_name</fullClassName>
<fileName>
[s]ftp://user:password@host:port/directory/filename
</fileName>
<resultFilter>
.
.
.
</resultFilter>
</findToFile>
13.4 “To configure remote findToFile result storage” (p. 169) describes how to configure the
permissions for the findToFile FTP directory and FTP account on a remote server.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
168 3HE-20022-AAAB-TQZZA Issue 1
Inventory management NFM-P
To configure remote findToFile result storage
1
For each XML API client application, create a directory on the remote station below the
directory associated with the findToFile method. In the following example, the findToFile method
uses a directory called XML API, and there are three client applications:
.../XMLAPI/clientapp1
.../XMLAPI/clientapp2
.../XMLAPI/clientapp3
2
Enable read and write permissions for each directory created in Step 1.
3
Create an FTP account for use by the XML API clients. The FTP account home directory must
be the directory associated with the findToFile method, for example, XMLAPI.
4
Specify the appropriate client directory in the <fileName> section of the request for each client,
as shown in the following example, which uses a directory named in Step 1:
<fileName>
[s]ftp://user:password@host:port/clientapp1/output_file
</fileName>
END OF STEPS
javax.xml.stream.XMLStreamException: The Inventory connections reached its maximum please retry later
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 169
Inventory management NFM-P
Request filters
<findToFileException xmlns="xmlapi_1.0">
<description>Cannot perform findToFile command, too many queued requests</
description>
</findToFileException>
You can configure a timeout value for the OSS requests associated with an NFM-P user or user
group. When a request times out, the NFM-P sends an exception in a fileAvailableEvent JMS
notification. The notification includes a status element that contains FAILURE, as shown in the
following figure:
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<fileAvailableEvent>
<requestID>XML_API_client@n</requestID>
<fileName>asynchronous_request.xml</fileName>
<status>FAILURE</status>
<errorMessage>javax.xml.stream.XMLStreamException: The request timed out
for waiting for a worker. XML API request id [:0:1] User Name [ossuser_10] File
Name [asynchronous_request.xml]. Please retry later.</errorMessage>
</fileAvailableEvent>
</jms>
</SOAP:Body>
javax.xml.stream.XMLStreamException: The Inventory connections reached its maximum please retry later
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
170 3HE-20022-AAAB-TQZZA Issue 1
Inventory management NFM-P
Request filters
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 171
Inventory management NFM-P
Request filters
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
172 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
14.2 References
14.2.1 Documentation
The following guides include information that is relevant to an OSS developer who works in the
statistics domain:
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 173
Accounting, performance, and flow monitoring NFM-P
Key packages and classes
• NSP NFM-P Statistics Management Guide—contains information that is useful in the design
phase, and implementation information such as NFM-P configuration for statistics collection
• NSP NFM-P Classic Management User Guide— documents AA and the collection of AA
statistics
file package
The file package contains methods that you can use to define file policies. File policies define the
storage location, retention period, and rollover period for accounting statistics files on managed
devices.
snmp package
The snmp package contains methods that you can use to define statistics policies. Statistics
policies define the MIBs to enable for collection, and the polling interval for performance statistics
on managed devices. You can also define specific objects for which to collect statistics.
14.3.2 Storage
log package
The log package contains the CurrentData and LogRecord abstract classes, that encapsulate
collected statistics. The concrete classes that inherit from these classes are in the same packages
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
174 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Statistics objects
as the target objects for which statistics are collected. For example, access egress octets that are
collected on a service are in a service.AccessEgressOctetsLogRecord, which inherits from
log.LogRecord. The package includes the class LogToFileManager, that stores registerLogToFile
related attributes.
statistics package
The statistics package contains methods that you can use to manage the NFM-P performance
monitoring statistics. Performance data is collected for alarms, memory usage, SNMP traps,
statistics, and NE polling.
14.3.3 Retrieval
root package
The root package contains the findToFile and registerLogToFile/deregisterLogToFile methods that
are used to retrieve statistics data. See 14.8 “Statistics retrieval using registerLogToFile” (p. 182)
and 14.9 “Statistics retrieval using findToFile” (p. 189) for more information. See general methods
and types information in the XML API Reference for information about these methods.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 175
Accounting, performance, and flow monitoring NFM-P
Statistics collection methods: Scheduled and on-demand statistics
current data <objectFullName> starts with: logger:real-time. A historical log record is also created
for the scheduled current data. See 10.5.4 “objectFullName element” (p. 135) in 10.1 “Schema
Reference ” (p. 127) for more information about the unique identifier of the instance of the object.
A policy is associated with each type of log record. You can use the log policy to modify the
retention period and alarm thresholds that are associated with a log record. For example, you can
modify the PeerStatsLogPolicy class to customize the log records that are collected for the BGP
Peer Stats. The default settings generally provide appropriate values for the retention period and
thresholds. It also contains methods to remove specified log records from the NFM-P database.
See the XML API Reference for information about this method.
Accounting ✓ ✓ ✓ — —
• service
• network
• subscriber
• AA
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
176 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Statistics collection methods: Scheduled and on-demand statistics
Performance — — ✓ ✓ —
Server performance — — ✓ — ✓
See the NSP NFM-P Statistics Management Guide for information about statistics collection.
See Chapter 15, “Configuration management overview” for information about configuration
management. See Chapter 18, “Policy configuration management” for information about
configuration of accounting and file policies.
<generic.GenericObject.configureInstanceWithResult xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>logger:bgp.PeerStats</distinguishedName>
<includeChildren>false</includeChildren>
<configInfo>
<bgp.PeerStatsLogPolicy>
<actionMask>
<bit>modify</bit>
</actionMask>
<administrativeState>down</administrativeState>
<retentionTime>30</retentionTime>
<thresholdReportingState>down</thresholdReportingState>
</bgp.PeerStatsLogPolicy>
</configInfo>
</generic.GenericObject.configureInstanceWithResult>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 177
Accounting, performance, and flow monitoring NFM-P
Statistics collection methods: Scheduled and on-demand statistics
<generic.GenericObject.configureInstanceWithResult xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>pollerManager:statspolicy-1:product-1:version-41:oid-.1.3.6.
1.2.1.15.3.1</distinguishedName>
<includeChildren>false</includeChildren>
<configInfo>
<snmp.PollerPolicy>
<actionMask>
<bit>modify</bit>
</actionMask>
<administrativeState>up</administrativeState>
<pollingInterval>30minutes</pollingInterval>
</snmp.PollerPolicy>
</configInfo>
</generic.GenericObject.configureInstanceWithResult>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
178 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Statistics collection methods: Scheduled and on-demand statistics
The following figure shows a sample request to create a specific MIB statistics policy for a specific
port.
<generic.GenericObject.configureInstanceWithResult xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>pollerManager</distinguishedName>
<includeChildren>false</includeChildren>
<configInfo>
<snmp.SpecificStatsPollerPolicy>
<actionMask>
<bit>create</bit>
</actionMask>
<id>115</id>
<monitoredClassName>equipment.PhysicalPort</monitoredClassName>
<monitoredObjects>
<pointer>network:198.51.100.47:shelf-1:cardSlot-1:card:daughterCardSlot-
1:daughterCard:port-1</pointer>
</monitoredObjects>
</snmp.SpecificStatsPollerPolicy>
</configInfo>
</generic.GenericObject.configureInstanceWithResult>
To compose a modification command for the specific MIB statistics policy to enable the collection of
specific MIB, see 14.5.3 “NE MIB statistics policy” (p. 178) in this section. The following figure
shows a distinguishedName example for modifying a MIB entry.
<distinguishedName>pollerManager:statspolicy-115:product-1:version-41:oid-.1.3.6.
1.2.1.15.3.1</distinguishedName>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 179
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval methods
<generic.GenericObject.triggerCollect xmlns="xmlapi_1.0">
<instanceNames>
<string>network:IP_address:shelf-1:cardSlot-1:card:daughterCardSlot-1:
daughterCard:port-4</string>
</instanceNames>
<currentDataClasses>
<string>equipment.InterfaceStats</string>
<string>equipment.InterfaceAdditionalStats</string>
</currentDataClasses>
</generic.GenericObject.triggerCollect>
For the equivalent behavior of the Collect button on the NFM-P GUI, you can specify one instance
in the list with the corresponding data class in the second list. For the equivalent behavior of the
Collect All button on the NFM-P GUI, you can specify all relevant instances in the list with all
corresponding data classes in the second list. See “Workflow for viewing statistics” in the NSP
NFM-P Statistics Management Guide for more information about how to use the Collect and Collect
All buttons.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
180 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval methods
Statistics retrieval using the registerLogToFile or findToFile method requires a RHEL user account
on each main or auxiliary server from which statistics are to be collected. Such a user account
requires FTP or SFTP access, depending on whether TLS is enabled on the XML API. See
14.6.2 “Configuring FTP and SFTP access for OSS clients” (p. 180) for the specific requirements
and best practices for creating OSS client user accounts.
Note: It is recommended that you use the registerLogToFile file method to minimize collection
latency and to reduce system load. The findToFile method can be used when less than 400
000 statistics records are retrieved in 15 minutes, and when greater collection latency is
acceptable.
Note: AA Cflowd statistics are not available via the XML API, however an external target file
server can obtain the statistics. See 14.12 “Collecting Application Assurance (AA) accounting
statistics” (p. 197) for more information.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 181
Accounting, performance, and flow monitoring NFM-P
Workflow to retrieve statistics data
1
As required, configure the system preferences associated with exported statistics files (applies
to the registerLogToFile method only) on an NFM-P server such as the default log file retention
time, log file rollover time, or the number of JMS client connection checks. See the system
preferences configuration procedures in the NSP System Administrator Guide for more
information.
2
Construct a SOAP request to perform one of the following:
a. Use the registerLogToFile method to create accounting or performance statistics export files.
1. Specify the statistics class or classes.
2. Specify a location for the exported data files.
3. Specify whether to compress the files.
4. Specify the attributes to include in the exported data records.
5. If required, specify a filter to restrict the list of NEs for which data is exported.
b. Use the findToFile method to retrieve specific accounting or performance statistics.
1. Specify the log record name.
2. Specify an XML export format.
3. Specify the name for the exported data file.
4. Specify a filter to limit the amount of data stored in the file.
5. Specify whether to compress the file.
3
Send the request.
4
Receive a response or exception to the request.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
182 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval using registerLogToFile
requested data for each registered XML API client. Because the two actions occur in parallel, the
data is available in files before you can export the data from the database.
An OSS client that retrieves statistics files using the registerLogToFile method requires a RHEL
user account on each main or auxiliary server from which statistics are to be collected. Such a user
account requires FTP or SFTP access, depending on whether TLS is enabled on the XML API. See
14.6.2 “Configuring FTP and SFTP access for OSS clients” (p. 181) for the specific requirements
and best practices for creating OSS client user accounts.
A LogFileAvailableEvent is sent each time a file is ready for retrieval by an OSS client, if the client
subscribes to specific JMS topics. See Chapter 4, “Event monitoring using JMS” for information
about JMS events.
By default, the NFM-P performs a regular JMS client inactivity check and deregisters any JMS client
that does not subscribe to an event stream within a specified time. For registerLogToFile, a JMS
subscription is optional; to avoid client deregistration after inactivity, you can disable the JMS client
inactivity check. See A.5 “Statistics data retrieval with registerLogToFile and find/findToFile” (p. 333)
for information about disabling the JMS client inactivity check.
The span of control associated with the JMS client is applied to each registerLogToFile request at
the NE level. If an NE is not within the client span of control, the NFM-P excludes the requested
statistics for the NE in the exported files. See the NSP System Administrator Guide for more
information about span of control.
For scheduled accounting statistics collection, you can configure registerLogToFile system
preferences that include the following:
• Log Retention Time (minutes)—the number of minutes to keep the statistics files on disk before
purging the files
• JMS Client Registration Grace Intervals—the number of file-creation intervals to wait for a JMS
subscriber to reconnect before cancelling the logToFile subscription. The parameter has no
effect when the JMS client inactivity check is disabled. An interval is defined as 5 minutes.
For scheduled performance statistics collection, you can configure registerLogToFile system
preferences that include the following:
• Log Retention Time (minutes)—the number of minutes to keep the statistics files on disk before
purging the files
• Log Rollover Time (minutes)—the number of minutes during which statistics data is written to a
file
• JMS Client Registration Grace Intervals—the number of file-creation intervals to wait for a JMS
subscriber to reconnect before cancelling the logToFile subscription. The parameter has no
effect when the JMS client inactivity check is disabled. An interval is defined as 5 minutes.
You can modify the parameters from the Statistics tab of the System Preferences form in the client
GUI. Alternatively, an OSS can use the XML API to modify the retention, rollover, and jmsRetries
properties in the log.LogToFileManager class.
See the system preferences configuration procedures in the NSP System Administrator Guide for
more information.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 183
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval using registerLogToFile
registerLogToFile filtering
To reduce the volume of exported statistics data, a client can apply a filter during registerLogToFile
registration. The filter criteria determine which records are returned to a client; for example, if
multiple API clients are individually responsible for statistics collection in a specific subnet; each
client can apply a filter to return only the statistics associated with the NEs in specific subnets.
You can filter on any properties of a statistics log record that are string-based, such as
monitoredObjectClass or monitoredObjectSiteId. See the LogRecord class definition in the XML API
Reference for a list of the class properties.
For accounting statistics, you can configure an NFM-P system preference to include the accounting
policy ID in each accounting statistics record. This enables an OSS client to use registerLogToFile
and JMS filters based on the accounting policy ID.
See the system preferences configuration procedures in the NSP System Administrator Guide for
more information.
See the registerLogToFile method description in the XML API Reference for a list of the supported
filter elements and syntax.
See 4.6 “JMS message filtering” (p. 37) for information about creating JMS filters.
Managed NE
1 Collects
statistics
from NE
3 LogFileAvailableEvent
sent to OSS client
2 Creates file
on server
file system
NFM-P
main server
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
184 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval using registerLogToFile
Managed NE
1 Collects
statistics
from NE
2 Creates file
3 LogFileAvailableEvent on server
sent to OSS client file system
OSS client NFM-P NFM-P
application main server auxiliary
server
Note: The registerLogToFile file compression option requires additional NFM-P server
resources. The additional load may prevent the NFM-P from collecting the maximum number
of statistics records in the NSP Planning Guide.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 185
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval using registerLogToFile
dirName The relative path of the directory that is to contain the String
exported files. The path is relative to the accountingStats
or performanceStats below the XML output directory that
is specified during NFM-P server installation or upgrade.
Nokia recommends that you use a separate directory for
each application that requires exported statistics.
Statistics classes for the same accounting file and
jmsClientId cannot be sent to different directories. If
statistics classes from the same file have different
registrations to different directories, collection will not
separate the classes to different directories.
The statistics classes cannot be replicated in another
registerLogToFile request to a different directory using
the same jmsClientId. Each subsequent
registerLogToFile request for the same statistics class
and jmsClientId will overwrite the previous request.
compress Optional parameter that specifies whether data files are The options are:
compressed when they are exported • true—compresses data files
If you set this parameter to true, the NFM-P statistics using gzip; each exported file
collection performance may be affected. has a gz extension
• false (default)—does not
compress exported files
continuOnFailure Optional parameter that specifies whether to continue The options are:
processing requests in the stream after an exception • true—processing continues after
occurs
an exception
• false (default)—processing stops
after an exception
The optional filter input parameter for registerLogToFile allows filtering on the
monitoredObjectSiteName attribute of the log record that is written to the statistics file. The
following filter tags are supported:
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
186 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval using registerLogToFile
• and • or
• equal • regex
• in • subset
• not • superset
• notEqual • wildcard
• notSuperset
The following figure shows a registerLogToFile filter that allows log records for objects whose
siteName begins with toro, vanc, or mont, and is followed by one to eight non-digits, wan, and one
or more digits.
<filter>
<regex name="monitoredObjectSiteName" value="^(toro|vanc|mont)[^0-9]{1,8}wan[0-
9]+"/>
</filter>
The following figure uses an or tag to group three regular expressions that achieve the same results
as in the previous figure. The regular expressions would each be evaluated against the same data
set and the intermediate results would be merged together to produce the final result.
<filter>
<or>
<regex name="monitoredObjectSiteName" value="^toro[^0-9]{1,8}wan[0-9]+"/>
<regex name="monitoredObjectSiteName" value="^vanc[^0-9]{1,8}wan[0-9]+"/>
<regex name="monitoredObjectSiteName" value="^mont[^0-9]{1,8}wan[0-9]+"/>
</or>
</filter>
Note: Regular expressions are case-sensitive. Case insensitivity flags may be introduced
within the regular expression itself. For more information about Java regular expression
syntax, refer to the Javadoc description (since Java 1.4) of class java.util.regex.Pattern.
The following figure shows a registerLogToFile request for performance statistics.
<registerLogToFile xmlns="xmlapi_1.0">
<fullClassName>equipment.SystemCpuStats</fullClassName>
<dirName>ossclient</dirName>
<compress>false</compress>
<jmsClientId>JMS_client@n</jmsClientId>
<resultFilter>
<attribute>systemCpuUsage</attribute>
<attribute>monitoredObjectPointer</attribute>
<attribute>monitoredObjectSiteId</attribute>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 187
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval using registerLogToFile
<children/>
</resultFilter>
</registerLogToFile>
One statistics file is created per statistics class for performance statistics and one statistics file is
created per NE per record type, which translates to a statistics class, for accounting statistics. The
statistics export files are created on the NFM-P main or auxiliary server that performs the statistics
collection. The name of each exported file is unique because it is created using the requesting client
ID and the current timestamp.
Note: A statistics file export can generate a large number of files and use considerable disk
space. The NFM-P periodically deletes aged files to control disk space usage. You can use
the NFM-P GUI to manage the file retention time. See the procedure to configure the statistics
data retention period for the main database in the NSP System Administrator Guide for more
information.
<logToFileResponse xmlns="xmlapi_1.0">
<equipment.SystemCpuStatsLogRecord>
<systemCpuUsage>5</systemCpuUsage>
<monitoredObjectPointer>network:198.51.100.60:shelf-1:systemStatsHolder</
monitoredObjectPointer>
<monitoredObjectSiteId>198.51.100.60</monitoredObjectSiteId>
</equipment.SystemCpuStatsLogRecord>
</logToFileResponse>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
188 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval using findToFile
<deregisterLogToFile xmlns="xmlapi_1.0">
<!-- fullClassName is optional -->
<fullClassName> equipment.SystemCpuStats </fullClassName>
<jmsClientId>JMS_client@n</jmsClientId>
</deregisterLogToFile>
An XML API client is also deregistered when the client JMS session closes. The NFM-P checks
JMS client connectivity every 5 minutes; you can use a GUI client to configure the maximum
number of intervals before a disconnected client is deregistered. See the system preferences
configuration procedures in the NSP System Administrator Guide.
A deregistered JMS client must re-register to receive notifications.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 189
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval using findToFile
NFM-P
1 XML request to retrieve log server*
records in an XML format 2 Query sent
using the FindToFile method to the database
3 Query response
returned from NFM-P
the database database*
5 JMS event sent to the OSS 4 XML-formatted statistics file generated from
client application identifying database response. The NFM-P stores the files
the completion of the request in the server directory defined during installation.
to generate the statistics file
* The NFM-P server and database can be installed on the same or separate stations
18007
Note: In addition to the illustrated scenario, step 4 of Figure 14-13, “findToFile statistics
retrieval process” (p. 190) can result in the following.
• If a file name is specified, a write file is created.
• If an FTP address is specified, the NFM-P server sends the file to a URL without creating
an intermediate file.
• If the file location is on a remote disk that is read directly by the client application, the
application may read or copy the file.
Note: The OSS application is responsible for managing files and disk space associated with
the requests.
Note: The NFM-P maps the object FDNs to a corresponding database index. It is
recommended to use FDN properties in queries to maximize the query processing speed. The
XML API queries should also use concrete classes, rather than an abstract class, to optimize
performance.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
190 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval using findToFile
<SOAP:Body>
<findToFile xmlns="xmlapi_1.0">
<fullClassName>equipment.InterfaceAdditionalStats</fullClassName>
<filter>
<or>
<equal name="monitoredObjectSiteId" value="10.1.202.95"/>
<equal name="monitoredObjectSiteId" value="10.1.202.94"/>
</or>
</filter>
<resultFilter>
<attribute>receivedTotalOctetsPeriodic</attribute>
<attribute>transmittedTotalOctetsPeriodic</attribute>
</resultFilter>
<fileName>Equipment.InterfaceAdditionalStatsLogRecord.xml</fileName>
</findToFile>
</SOAP:Body>
The following table describes the input parameters of the findToFile method.
fileName The relative file in which to store the The following format rules apply.
results. The format is:
• For a remote client, the directory is relative to
[s]ftp://[user:password@]host[:port]/ the default client FTP directory.
directory/file
• The / and ; characters are reserved, so must be
encoded. For example, to specify a file in the
/tmp directory on the client, the path is
ftp://name@password/%2Ftmp/filename.xml.
The path ftp://name@password/tmp/filename.
xml specifies a file in a /tmp directory under the
client FTP directory. See RFC 1738 Uniform
Resource Locators (URL), Section 3.2.2 for
more information about the FTP URL path
requirements.
timeStamp Include the timestamp in the name of the The options are:
result file. • true
• false (default)
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 191
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval using findToFile
timeout The time, in ms, after which the operation The default is 0, which means no timeout.
times out. The request is aborted and an
exception is returned in the
FileAvailableEvent notification. The result
file may be incomplete.
synchronous Optional parameter that specifies that the The options are:
method runs synchronously; the result is • true—processing continues after an exception
returned only after the method completes.
• false (default)—processing stops after an
exception
To return the data in a streamed XML result, you can use the <find> method with a similar set of
filters. This method of statistics retrieval is recommended for testing, not for periodic retrieval. See
Chapter 13, “Inventory management” for more information.
When you create export files using the findToFile method:
• the export files are placed in a directory that is specified during the NFM-P server installation
• an FTP server is not installed during the NFM-P database installation. To export files from the
specified directory, an FTP server can be installed on the same machine as the database, if
required. If the files are on a remote disk, an FTP server may not be required to access files.
An exception-free response indicates that the request was received and validated.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
192 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Statistics retrieval using findToFile
<SOAP:Body>
<findToFile xmlns="xmlapi_1.0">
<fullClassName>equipment.InterfaceAdditionalStatsLogRecord</fullClassName>
<filter>
<and>
<equal name="monitoredObjectPointer" value="network:10.1.202.93:shelf-
1:cardSlot-1:card:daughterCardSlot-1:daughterCard:port-3"/>
<between name="timeCaptured" first="1127142900000" second="1127143800000"/>
</and>
</filter>
<fileName>Equipment.InterfaceAdditionalStatsLogRecord.xml</fileName>
</findToFile>
</SOAP:Body>
<findToFileResponse xmlns="xmlapi_1.0">
<equipment.InterfaceAdditionalStatsLogRecord>
<monitoredObjectClass>equipment.PhysicalPort</monitoredObjectClass>
<monitoredObjectPointer>network:10.1.202.93:shelf-1:cardSlot-1:card:
daughterCardSlot-1:daughterCard:port-3</monitoredObjectPointer>
<displayedName>Port 1/1/3</displayedName>
<monitoredObjectSiteId>10.1.202.93</monitoredObjectSiteId>
<monitoredObjectSiteName>sim202_93</monitoredObjectSiteName>
<timeCaptured>1127878285113</timeCaptured>
<periodicTime>938610</periodicTime>
<suspect>false</suspect>
<objectFullName>equipment.InterfaceAdditionalStatsLogRecord.equipment.
InterfaceAdditionalStats30-346</objectFullName>
<name>equipment.InterfaceAdditionalStats30-346</name>
<createdOnPollType>ScheduledFullNodeResync</createdOnPollType>
<updatedOnPollType>ScheduledFullNodeResync</updatedOnPollType>
<recordId>346</recordId>
<bucketId>30</bucketId>
<deploymentState>0</deploymentState>
<receivedTotalOctets>0</receivedTotalOctets>
<receivedTotalOctetsPeriodic>0</receivedTotalOctetsPeriodic>
<receivedUnicastPackets>0</receivedUnicastPackets>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 193
Accounting, performance, and flow monitoring NFM-P
Statistics monitoring using JMS
<receivedUnicastPacketsPeriodic>0</receivedUnicastPacketsPeriodic>
<receivedMulticastPackets>0</receivedMulticastPackets>
<receivedMulticastPacketsPeriodic>0</receivedMulticastPacketsPeriodic>
<receivedBroadcastPackets>0</receivedBroadcastPackets>
<receivedBroadcastPacketsPeriodic>0</receivedBroadcastPacketsPeriodic>
<transmittedTotalOctets>0</transmittedTotalOctets>
<transmittedTotalOctetsPeriodic>0</transmittedTotalOctetsPeriodic>
<transmittedUnicastPackets>0</transmittedUnicastPackets>
<transmittedUnicastPacketsPeriodic>0</transmittedUnicastPacketsPeriodic>
<transmittedMulticastPackets>0</transmittedMulticastPackets>
<transmittedMulticastPacketsPeriodic>0</transmittedMulticastPacketsPeriodic>
<transmittedBroadcastPackets>0</transmittedBroadcastPackets>
<transmittedBroadcastPacketsPeriodic>0</transmittedBroadcastPacketsPeriodic>
<children-Set/>
</equipment.InterfaceAdditionalStatsLogRecord>
</findToFileResponse>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
194 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Statistics monitoring using JMS
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 195
Accounting, performance, and flow monitoring NFM-P
Statistics monitoring using JMS
<receivedBadPackets>0</receivedBadPackets>
<receivedBadPacketsPeriodic>0</receivedBadPacketsPeriodic>
<receivedUnknownProtocolPackets>0</receivedUnknownProtocolPackets>
<receivedUnknownProtocolPacketsPeriodic>0</receivedUnknownProtocol
PacketsPeriodic>
<transmittedOctets>198584536</transmittedOctets>
<transmittedOctetsPeriodic>0</transmittedOctetsPeriodic>
<transmittedUnicastPackets>553327</transmittedUnicastPackets>
<transmittedUnicastPacketsPeriodic>0</transmittedUnicastPacketsPeriodic>
<outboundPacketsDiscarded>0</outboundPacketsDiscarded>
<outboundPacketsDiscardedPeriodic>0</outboundPacketsDiscardedPeriodic>
<outboundBadPackets>0</outboundBadPackets>
<outboundBadPacketsPeriodic>0</outboundBadPacketsPeriodic>
<timeCaptured>1334089752528</timeCaptured>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
196 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Collecting NFM-P performance statistics
<periodicTime>0</periodicTime>
<monitoredObjectClass>equipment.PhysicalPort</monitoredObjectClass>
<monitoredObjectPointer>network:198.51.100.57:shelf-1:cardSlot-1:card:
daughterCardSlot-1:daughterCard:port-1</monitoredObjectPointer>
<alarmedObjectClass>equipment.PhysicalPort</alarmedObjectClass>
<alarmedObjectPointer>network:198.51.100.57:shelf-1:cardSlot-1:
card:daughterCardSlot-1:daughterCard:port-1</alarmedObjectPointer>
<logRecordClass>equipment.InterfaceStatsLogRecord</logRecordClass>
<displayedName>Port 1/1/1</displayedName>
<monitoredObjectSiteId>198.51.100.57</monitoredObjectSiteId>
<monitoredObjectSiteName>sim20_57</monitoredObjectSiteName>
<suspect>false</suspect>
<createdOnPollType>SelectiveResync</createdOnPollType>
<updatedOnPollType>SelectiveResync</updatedOnPollType>
<historyCreated>false</historyCreated>
<deploymentState>0</deploymentState>
<objectFullName>logger:real-time|equipment.InterfaceStats|network_198.
51.100.57_shelf-1_cardSlot-1_card_daughterCardSlot-1_daughterCard_port-1</
objectFullName>
<name>Port 1/1/1</name>
<selfAlarmed>false</selfAlarmed>
<children-Set/>
</equipment.InterfaceStats>
</objectCreationEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 197
Accounting, performance, and flow monitoring NFM-P
Collecting flow statistics
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
198 3HE-20022-AAAB-TQZZA Issue 1
Accounting, performance, and flow monitoring NFM-P
Collecting JMS performance statistics
• AA Cflowd collects traffic for AA applications and application groups associated with ISA-AA
groups or partitions.
The NFM-P does not collect system Cflowd statistics, instead a third-party Cflowd collector is used.
To collect System Cflowd statistics, you must enable Cflowd globally on an NE and configure
Cflowd collectors on the NE. See “To enable and configure global Cflowd sampling on an NE” in the
NSP NFM-P Classic Management User Guide for more information.
AA Cflowd statistics are collected from ISA-AA MDAs. You use the NFM-P to create AA Cflowd
group policies to specify the AA Cflowd collection criteria. See “To configure an AA Cflowd group
policy” in the NSP NFM-P Classic Management User Guide for information.
The NFM-P does not store AA accounting statistics in the NFM-P database. Instead, the NFM-P
saves the statistics data in files for reporting in NSP Analytics reports, or for IPDR record
processing by an OSS application. Forwarding to a target file server can also be configured.
See “Workflow to configure flow statistics collection” in the NSP NFM-P Statistics Management
Guide for more information.
See the IPDR Reference for comprehensive information about AA Cflowd statistics types, counters,
and IPDR file names for each statistics types.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 199
Accounting, performance, and flow monitoring NFM-P
Third-party applications for processing statistics
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
200 3HE-20022-AAAB-TQZZA Issue 1
Configuration management overview NFM-P
Note: The configuration operations that are allowed on each object is defined in the XML
schema. See the Schema Reference. See the XML API Reference for more information about
the object hierarchies (relationship between parent and child objects).
The OSS user account privileges define the access and restrictions for configuration operations in
NFM-P functional areas. See the chapter on NFM-P user security in the NSP System Administrator
Guide for information about configuring user accounts and assigning privileges.
Most of the configuration operations that can be performed on the functional areas of the NFM-P
using the GUI can also be performed using the XML API. The main areas for OSS configuration
management include:
• device configuration—for example, routers, cards, ports, GNE, and channels. See Chapter 16,
“Device configuration management” for more information.
• network configuration—for example, protocols, MPLS, service tunnels, and VRRP. See Chapter
17, “Network configuration management” for more information.
• policy configuration—for example, service policy, routing policy, and network policy. See Chapter
18, “Policy configuration management” for more information.
• service configuration—for example, VLL, VPLS, VPRN, VLAN, mirror composite, and customer/
subscriber. See Chapter 19, “Service configuration management” for more information.
• scripts and template configuration—See Chapter 20, “Script and template configuration
management” for more information.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 201
Configuration management overview NFM-P
Configuration methods
CAUTION
Service Disruption
Configuration and deletion methods may have unintended side effects.
For example, modifying some port configurations may result in services being deleted if they are no
longer supported by the new configuration. It is recommended that testing be performed so that the
OSS developer fully understands what side effects may happen and to ensure that side effects are
handled appropriately.
CAUTION
Service Disruption
The messages in this section are examples of the SOAP XML request format.
Use the sample as a base to build your request. Ensure that you test your request before network
deployment.
The XML API uses the generic package to define methods that are applicable to all objects.
Methods for object configuration (create, modify, delete) are provided by the generic.GenericObject
class. The most commonly used configuration methods from this class are described in the
following table.
Method Description
generic.GenericObject.configureChildInstance Creates a child of the object with the desired configuration values for
the child or children objects, and optional grandchildren.
See the XML API Reference for input parameters.
generic.GenericObject.configureChildInstanceWithResult Creates a child of an existing object. The method returns the newly
configured parameters on the child object and grandchildren,
including parameters set due to associated conditions.
See the XML API Reference for input parameters.
See Figure 15-5, “Epipe creation request example” (p. 207) for an
example of the method.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
202 3HE-20022-AAAB-TQZZA Issue 1
Configuration management overview NFM-P
Configuration methods
Table 15-1 Object configuration methods using the generic.GenericObject class (continued)
Method Description
generic.GenericObject.deleteInstance Delete an existing object. See Figure 15-7, “Epipe deletion request
example” (p. 208) for an example of the method.
<generic.GenericObject.configureChildInstanceWithResult xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>svc-mgr</distinguishedName>
<childConfigInfo>
<epipe.Epipe>
<actionMask>
<bit>create</bit>
</actionMask>
<id>70000</id>
<displayedName>Epipe Example 1</displayedName>
<description>Epipe Example 1</description>
<subscriberPointer>subscriber:1</subscriberPointer>
</epipe.Epipe>
</childConfigInfo>
<resultFilter>
<attribute>objectFullName</attribute>
<attribute>administrativeState</attribute>
<attribute>displayedName</attribute>
<attribute>olcState</attribute>
</resultFilter>
</generic.GenericObject.configureChildInstanceWithResult>
<generic.GenericObject.configureChildInstanceWithResultResponse xmlns="xmlapi_1.
0">
<childConfigInfo>
<epipe.Epipe>
<displayedName>Epipe Example 1</displayedName>
<administrativeState>up</administrativeState>
<olcState>maintenance</olcState>
<objectFullName>svc-mgr:service-70000</objectFullName>
<children-Set/>
</epipe.Epipe>
</childConfigInfo>
</generic.GenericObject.configureChildInstanceWithResultResponse>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 203
Configuration management overview NFM-P
Configuration methods
The following figure shows the modification of a VPLS site name. The includeChildren tag equal
true returns all children of the configured object. The nested resultFilter limits the number of
returned attributes for the vpls.Site and nested child objects.
<generic.GenericObject.configureInstanceWithResult xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>svc-mgr:service-25:198.51.100.71</distinguishedName>
<includeChildren>true</includeChildren>
<configInfo>
<vpls.Site>
<actionMask>
<bit>modify</bit>
</actionMask>
<displayedName>Example Site A-9</displayedName>
</vpls.Site>
</configInfo>
<resultFilter>
<attribute>name</attribute>
<attribute>objectFullName</attribute>
<attribute>serviceName</attribute>
<attribute>siteId</attribute>
<children>
<resultFilter class="vpls.SiteMldSnooping">
<attribute>administrativeState</attribute>
<attribute>reportSrcAddressType</attribute>
</resultFilter>
<resultFilter class="vpls.L2AccessInterface">
<attribute>ingressPolicyName</attribute>
<attribute>egressPolicyName</attribute>
<attribute>name</attribute>
<children>
<resultFilter class="vpls.L2AccessInterfaceMldSnpgCfg">
<attribute>genQueryInterval</attribute>
<attribute>serviceId</attribute>
<attribute>lastMemberInterval</attribute>
</resultFilter>
</children>
</resultFilter>
</children>
</resultFilter>
</generic.GenericObject.configureInstanceWithResult>
<generic.GenericObject.configureInstanceWithResultResponse xmlns="xmlapi_1.0">
<configInfo>
<vpls.Site>
<serviceName>Service Name Change2</serviceName>
<siteId>198.51.100.71</siteId>
<objectFullName>svc-mgr:service-25:198.51.100.71</objectFullName>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
204 3HE-20022-AAAB-TQZZA Issue 1
Configuration management overview NFM-P
Configuration methods
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 205
Configuration management overview NFM-P
Configuration methods
• full name—network:198.51.100.40:shelf-1:cardSlot-1:card:daughterCardSlot-
1:daughterCard:port-10
<SOAP:Body>
<generic.GenericObject.configureInstanceWithResult xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>network:198.51.100.40:shelf-1:cardSlot-1:card:daughterCardSlot-
1:daughterCard:port-10</distinguishedName>
<includeChildren>false</includeChildren>
<configInfo>
<equipment.PhysicalPort>
<actionMask>
<bit>modify</bit>
</actionMask>
<description>to Mumbai</description>
</equipment.PhysicalPort>
</configInfo>
</generic.GenericObject.configureInstanceWithResult>
</SOAP:Body>
For this sample request, other key input parameters include:
• includeChildren - set to false, means do not include child info in the results
• configInfo - desired values to which to configure object, and optionally children
− actionMask - specifies the modify operation
− description - specifies the attribute and value of the equipment.PhysicalPort class that is
being modified
The results of the command are shown in the following figure. Results include all of the port
attributes, but no children (as per includeChildren) in the configInfo parameter.
<generic.GenericObject.configureInstanceWithResultResponse xmlns="xmlapi_1.0">
<configInfo>
<equipment.PhysicalPort>
<usedAsSyncReference>none</usedAsSyncReference>
<cardSlotId>1</cardSlotId>
<daughterCardSlotId>1</daughterCardSlotId>
<specificCardType>
<bit>mda_m60_faste_tx</bit>
</specificCardType>
<description>to Mumbai</description>
.
.
.
<selfAlarmed>true</selfAlarmed>
</equipment.PhysicalPort>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
206 3HE-20022-AAAB-TQZZA Issue 1
Configuration management overview NFM-P
Configuration methods
<children-Set>
</configInfo>
</generic.GenericObject.configureInstanceWithResultResponse>
<SOAP:Body>
<generic.GenericObject.configureChildInstanceWithResult xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr</distinguishedName>
<childConfigInfo>
<epipe.Epipe>
<actionMask>
<bit>create</bit>
</actionMask>
<displayedName>Epipe Example 1</displayedName>
<description>Epipe Example 1</description>
<subscriberPointer>subscriber:1</subscriberPointer>
</epipe.Epipe>
</childConfigInfo>
</generic.GenericObject.configureChildInstanceWithResult>
</SOAP:Body>
For this request, other key input parameters include:
• distinguishedName - set to svc-mgr, this is the pointer to the parent object
• childConfigInfo - desired values to configure the children information, in this case the child object
is epipe.Epipe
− actionMask - set to create, specifies the creation operation
− displayedName, description, and subscriberPointer - these are the attributes and associated
values that are set on the epipe.Epipe object
The results of the command are shown in the following figure. Results include all of the default
Epipe attributes including the displayedName, description, and subscriberPointer that were set in
the request.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 207
Configuration management overview NFM-P
Configuration methods
<generic.GenericObject.configureChildInstanceWithResultResponse xmlns="xmlapi_1.
0">
<childConfigInfo>
<epipe.Epipe>
<lastCacTime>0</lastCacTime>
<cacStatus>notApplicab.e</cacStatus>
<cacProbableCause>notApplicable</cacProbableCause>
<defaultVcId>49</defaultVcId>
<topologyAutoCompletion>false</topologyAutoCompletion>
<transportPreference>any</transportPreference>
<useBwReservedPath>noPreference</useBwReservedPath>
.
.
.
<objectFullName>svc-mgr:service-10907</objectFullName>
<displayedName>Epipe Example 1</displayedName>
<description>Epipe Example 1</description>
<subscriberPointer>subscriber:1</subscriberPointer>
<selfAlarmed>false</selfAlarmed>
<children-Set/>
</epipe.Epipe>
</childConfigInfo>
</generic.GenericObject.configureChildInstanceWithResultResponse>
CAUTION
Service Disruption
Deleting an object deletes all of its child objects, so deleting the wrong object could delete an entire
tree of objects.
The following example outlines what is required for an XML request to delete an Epipe service.
To compose a deletion command, the key input parameters include:
• method - generic.GenericObject.deleteInstance
• full name - svc-mgr:service-10907, from the creation example in Figure 15-5, “Epipe creation
request example” (p. 207)
<SOAP:Body>
<generic.GenericObject.deleteInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr:service-10907</distinguishedName>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
208 3HE-20022-AAAB-TQZZA Issue 1
Configuration management overview NFM-P
Deployments
</generic.GenericObject.deleteInstance>
</SOAP:Body>
The results of the command is in the following figure. An exception-free response indicates that the
request was received and validated.
<generic.GenericObject.deleteInstanceResponse xmlns="xmlapi_1.0"/>
15.3 Deployments
15.3.1 Overview
Deployments model the communication requests made from the management domain via the
NFM-P GUI or OSS to the network. Deployments are created by the NFM-P at system startup and
are present in a finite deployment pool to be used to:
• perform actions from the NFM-P to the managed network
• queue configuration requests from GUI and OSS clients
Deployment objects have data about the current state of deployment and can be used to track
changed objects and parameters (elements) that need to be sent to the network. When the
deployment performs the network change, all data is cleared from the deployment. If the
deployment fails, it attempts to redeploy the request based on the deployment policy configuration.
OSS applications that send configuration requests to the network must monitor deployments. When
changes are sent to the network, deployments are created, queued, and dispatched to the
managed routers. When the deployment is successful, the NFM-P notifies the OSS that the
deployment is completed for the request that triggered the deployment. If the deployment fails, an
alarm creation or change event is generated and sent using JMS. It is important that OSS
applications clear deployments after they are used.
See the following sections for more information:
• 15.3.4 “Deployment failures” (p. 211) in this section for more information about managing
deployment failures
• 15.3.5 “Deployment failure recovery procedures” (p. 213) in this section for more information
about how to recover from deployment failure, depending on the type of configuration request
• 15.3.6 “Deployment alarms and events” (p. 213) in this section for more information about the
deployment alarm format and DeployerEvent
• Chapter 4, “Event monitoring using JMS” for more information about JMS events
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 209
Configuration management overview NFM-P
Deployments
Synchronous requests
Users can specify synchronous network requests using the <synchronousDeploy> and other tags.
These requests are sent by the OSS to the NFM-P server where the request is validated and then
saved to the NFM-P database. Subsequently, a deployment is created and queued on the NFM-P
server for dispatching to the network. When the deployment has successfully performed the
deployment across the network, or when all of the retries specified in the request are completed,
the synchronous response is returned and the deployment put back in the pool of available
deployments. There may be cases where a deployment causes some objects to be resynchronized
from the NE. In these cases, the response is deferred until after the resynchronization has
completed.
If there is a failure of all retries, an alarm is raised that contains details of the failed deployment and
a failure XML response is sent back containing the failed deployment Id. See Figure 9-2, “Database
interaction with synchronous network deployment” (p. 107) for a synchronous network deployment.
The following figure shows the setting of previously discussed deployment parameters when
deleting an object. The parameters <deployRetries> and <deployRetryInterval> may be
omitted to use default values.
<SOAP:Body>
<generic.GenericObject.deleteInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<clearOnDeployFailure>true</clearOnDeployFailure>
<deployRetries>0</deployRetries>
<deployRetryInterval>0</deployRetryInterval>
<distinguishedName>network:10.1.202.93</distinguishedName>
</generic.GenericObject.deleteInstance>
</SOAP:Body>
Asynchronous requests
Asynchronous requests are sent by the OSS to the NFM-P server where the request is validated
and then saved to the NFM-P database. Subsequently, a response from the server is sent back to
the OSS. A deployment is created and queued on the NFM-P server for dispatching to the network.
When the deployment has successfully performed the deployment across the network, or when all
of the retries specified in the request are completed, the deployment is put back in the pool of
available deployments.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
210 3HE-20022-AAAB-TQZZA Issue 1
Configuration management overview NFM-P
Deployments
If there is a failure of all retries, an alarm is raised that contains details of the deployment. See
15.3.6 “Deployment alarms and events” (p. 213) in this section for more information. The default
setting is that requests are made asynchronously across the network.
Note: If the OSS is not listening for alarms, it will not know if the deployments was successful,
and may have to retrieve deployment information to verify. See 15.3.4 “Deployment failures”
(p. 210) in this section for more information.
See Figure 9-3, “Database interaction with asynchronous network deployment” (p. 108) for an
asynchronous network deployment.
The sample synchronous request shown in Figure 15-9, “Synchronous deployment request
example” (p. 210) can be changed to an asynchronous request by changing <synchronousDeploy>
to false:
<synchronousDeploy>false</synchronousDeploy>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 211
Configuration management overview NFM-P
Deployments
Filtering can be applied when retrieving information about deployments using the following
methods:
• generic.GenericObject.getDeployers
• generic.GenericObject.getDeployer
• generic.GenericObject.getDeployersShallow
The following figure shows an example of filtering on the generic.DeployerInfo class. The filter
returns the name of each deployment that fails with an error code of 16, which represents an
internal error.
<filter>
<and class="generic.DeployerInfo">
<equal name="state" value="16" />
<wildcard value="Default.DeployerBank:depl-%" name="objectFullName" />
</and>
</filter>
The following figure shows a failed response exception message for a deployment request. When
all retries fail, the failure response indicates the failed deployment ID. An alarm is not raised until all
retries are attempted. See the XML API SDK Sample Code Navigator for a sample XML request to
retrieve deployment information.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
212 3HE-20022-AAAB-TQZZA Issue 1
Configuration management overview NFM-P
Deployments
Note: The <responseTime> tag in the header is the time at which the response stream is
opened.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 213
Configuration management overview NFM-P
Deployments
<isAcknowledged>false</isAcknowledged>
<wasAcknowledged>false</wasAcknowledged>
<acknowldegedBy>N/A</acknowldegedBy>
<firstTimeDetected>1128369209032</firstTimeDetected>
<lastTimeDetected>1128369209032</lastTimeDetected>
<lastTimeSeverityChanged>0</lastTimeSeverityChanged>
<lastTimeCleared>0</lastTimeCleared>
<lastTimePromoted>0</lastTimePromoted>
<lastTimeDemoted>0</lastTimeDemoted>
<lastTimeEscalated>0</lastTimeEscalated>
<lastTimeDeEscalated>0</lastTimeDeEscalated>
<lastTimeAcknowledged>0</lastTimeAcknowledged>
<frequency>0</frequency>
<occurences>N/A</occurences>
<numberOfOccurences>2</numberOfOccurences>
<numberOfOccurencesSinceClear>2</numberOfOccurencesSinceClear>
<numberOfOccurencesSinceAck>0</numberOfOccurencesSinceAck>
<isServiceAffecting>false</isServiceAffecting>
<additionalText>deployerId=771;requestId=AreqGenericObjectConfigureInstance-
CLIENT-admin-NFM-P@13@198.51.100.164-15;requestUser=admin;deploymentType=3;</
additionalText>
<operatorAssignedUrgency>indeterminate</operatorAssignedUrgency>
<urgencyAssignedBy>1</urgencyAssignedBy>
<relatedObjects>
<null/>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
214 3HE-20022-AAAB-TQZZA Issue 1
Configuration management overview NFM-P
Deployments
</relatedObjects>
<affectingObjects>
<relationshipTreeList>
<relationshipTree>
<objectFullName>Network Queue:default</objectFullName>
<subtree/>
</relationshipTree>
</relationshipTreeList>
</affectingObjects>
<nodeId>10.1.202.93</nodeId>
<nodeName>sim202_93</nodeName>
<affectedObjectDisplayedName>Port 1/1/5</
affectedObjectDisplayedName>
<applicationDomain>equipment</applicationDomain>
<displayedClass>PhysicalPort</displayedClass>
<alarmClassTag>generic.DeploymentFailure</alarmClassTag>
<affectedObjectClassIndex>87</affectedObjectClassIndex>
<affectedObjectInstanceIndex>5</affectedObjectInstanceIndex>
<deployerName>N/A</deployerName>
<deployerId>0</deployerId>
<requestId>N/A</requestId>
<requestUser>N/A</requestUser>
<objectFullName>faultManager:network@10.1.202.93@shelf-1@cardSlot-
1@card@daughterCardSlot-1@daughterCard@port-5|alarm-13-5-11-deployerId=771</
objectFullName>
<objectClassName>fm.AlarmObject</objectClassName>
<allomorphicClassName>fm.AlarmObject</allomorphicClassName>
<objectId>-578593836</objectId>
<displayedName>Port 1/1/5 - network@10.1.202.93@shelf-1@cardSlot-
1@card@daughterCardSlot-1@daughterCard@port-5|alarm-13-5-11-deployerId=771</
displayedName>
<lifeCycleState>1</lifeCycleState>
<deploymentState>0</deploymentState>
<neId>10.1.202.93</neId>
</fm.AlarmInfo>
</result>
</fm.FaultManager.findFaultsResponse>
</SOAP:Body>
</SOAP:Envelope>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 215
Configuration management overview NFM-P
Workflow to handle deployment failures
CAUTION
Service Disruption
It is recommended that deployment never be disabled in a production network.
Since configuration errors may not always be caught by the NFM-P server before configuration
changes are committed to the database, you must disable deployment simulation and test with live
network equipment to validate changes prior to OSS deployment in the production network.
By default, the NFM-P server deploys configuration changes to network elements through SNMP.
You can configure the XML API to save configuration changes in the NFM-P database without
deploying the changes, which facilitates OSS development in the absence of real equipment or
simulators.
You can use the XML API to configure a mediation.DeploymentPolicy with a
mediation.DeploymentMode property set to 1, to disable deployment. The default setting is 2,
SNMP.
See Chapter 18, “Policy configuration management” for more information about how to configure
policies.
1
Clear the deployment. The XML configuration request uses the GenericObject method
clearDeployer on the specified deployerName which identifies the deployment to be cleared.
2
Resynchronize the object that caused the deployment error. The XML configuration request to
resynchronize the object using the generic.GenericObject.triggerResync method.
3
Perform one of the following steps, depending on your XML API client implementation.
a. Set the object back to the previous setting. To reset the previous object setting,
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
216 3HE-20022-AAAB-TQZZA Issue 1
Configuration management overview NFM-P
Workflow to handle deployment failures
Note: Contact your Nokia OIPS technical support representative for information about how to
manage deployment failures.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 217
Configuration management overview NFM-P
Workflow to handle deployment failures
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
218 3HE-20022-AAAB-TQZZA Issue 1
Device configuration management NFM-P
1
Configure each card slot by sending XML create requests to set the card type on the card on
the router.
2
Configure each daughter card slot by sending XML create requests to set the daughter card
type on the daughter card slot on the router.
3
Configure all ports by sending XML modify requests to turn up the port, with options to set
encap type and mode.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 219
Device configuration management NFM-P
GNE profiles
4
As required, configure the channels. Prior to configuring SONET channels, card and ports have
to exist. Send XML create and modify requests to create channel and set the parameters on the
channels.
5
As required, configure LAG and MC-LAG by sending XML create and modify requests to create
LAG interfaces and modify the parameters.
Note: Nokia recommends using the generic package for configuring all objects in the above
mentioned packages. See 15.2 “Configuration methods” (p. 202) for more information about
generic methods. See 13.2 “Network object model” (p. 161) for more information about the
NFM-P equipment object hierarchies.
Note: To manage GNE profiles, the OSS user requires the genericne scope of command role.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
220 3HE-20022-AAAB-TQZZA Issue 1
Device configuration management NFM-P
Device software upgrades
− system ID of the network element (specifies the SNMP OID for the specific product and is
unique)
− partial system ID (to facilitate the discovery of different network element types for a family of
products, for example, Cisco product the general system object ID 1.3.6.1.4.1.9.1.*)
• If the devices discovered by the profile are using the NFM-P script management feature, you can
configure the following parameters for the CLI profile that are used for read and write CLI
access:
− commandPrompt
− DisablePagingCommand
− errorIndicator
− resetCommand
− twoStepsLogin
• the following CLI parameters can be configured as valid CLI commands for read and write
access privileges:
− readLoginPrompt
− readPasswordPrompt
− writeAccessLoginCommand
− enablingWriteAccessLoginPrompt
− writeLoginPrompt
− writePasswordPrompt
See the XML API SDK Sample Code Navigator for sample XML scripts.
Note: You cannot modify the GNE type after you create the GNE profile. You must delete the
GNE profile and create a new profile with the GNE type. You cannot delete the GNE profile if
any NEs have been discovered using the profile.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 221
Device configuration management NFM-P
Device software upgrades
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
222 3HE-20022-AAAB-TQZZA Issue 1
Network configuration management NFM-P
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 223
Network configuration management NFM-P
Static route configuration
See the XML API SDK Sample Code Navigator for sample XML scripts.
17.3.2 Stages
1
Create and configure the network interfaces that are associated with network ports. The XML
configuration request creates and configures the interfaces as follows:
a. Assign a name to the interface.
b. Associate IP address, a network port, and QoS policy settings to the interface.
2
As required, create static routes. See 17.4 “Static route configuration” (p. 223) for more
information.
3
As required, configure a routing policy. See Chapter 18, “Policy configuration management” for
more information.
4
Configure and enable the associated routing protocol. See 17.5 “Routing protocol configuration”
(p. 224) for more information.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
224 3HE-20022-AAAB-TQZZA Issue 1
Network configuration management NFM-P
Routing protocol configuration
• LDP (ldp)
• IS-IS (isis)
• L2TP (l2tp)
• RSVP (rsvp)
The XML API also supports the following multicast protocols:
• PIM (pim)
• IGMP (igmp)
• MSDP (msdp)
• MLD (mld)
17.5.2 BGP
BGP is an inter-AS routing protocol. An AS is a network or a group of devices logically organized
and controlled by a common network administration. BGP enables devices to exchange network
reachability information. AS paths are the routes to each destination. There are two types of BGP:
IBGP and EBGP.
• IBGP is used to communicate with peer devices in the same AS.
• EBGP is used to communicate with peers in different ASs.
17.5.3 RIP
RIP is an IGP that uses a distance-vector algorithm to determine the best route to a destination,
using hop count as the deciding factor. In order for the protocol to provide complete information
about routing, every device in the domain must participate in the protocol. RIP, a UDP-based
protocol, updates its neighbors, and the neighbors update their neighbors. RIP directly advertises
reachability information to its neighbors by sending prefix, mask, and either hop count or cost metric
data.
17.5.4 OSPF
OSPF is a hierarchical link state protocol. OSPF is an IGP used within large ASs. OSPF routers
exchange the state, cost, and other relevant interface information with neighbors after the
neighbors are discovered. The information exchange enables all participating routers to establish a
network topology map. Each router applies the Dijkstra algorithm to calculate the shortest path to
each destination in the network. The resulting OSPF forwarding table is submitted to the routing
table manager to calculate the routing table.
17.5.5 LDP
LDP is used to distribute labels in non-traffic-engineered MPLS applications. Routers can establish
LSPs across a network by mapping network-layer routing information directly to the data link layer
switched paths. After LDP distributes the labels to the LSR, the LSR assigns the label to a FEC,
and then informs all other LSRs in the path about the label and how the label will switch data
accordingly.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 225
Network configuration management NFM-P
Routing protocol configuration
17.5.6 IS-IS
IS-IS is a link-state IGP that uses the shortest path first algorithm to determine a route. Routing
decisions are made using the link-state information. IS-IS entities include:
• networks, which are autonomous system routing domains
• intermediate systems (supported routers)
• end systems, which are network devices that send and receive PDUs
End systems and intermediate system protocols allow NEs to identify each other. The IS-IS protocol
sends link-state updates periodically through the network, so each NE can maintain current network
topology information.
17.5.7 L2TP
L2PT is a session-layer protocol that extends the PPP model by allowing L2 and PPP endpoints to
reside on different devices that are interconnected by a PSN. L2TP extends the PPP sessions
between the CPE and PPP/L2TP termination point (LNS), via an intermediate LAC.
17.5.8 RSVP
RSVP is a network-control protocol in the IP suite that is used for communicating application QoS
requirements to intermediate transit NEs in a network. RSVP uses a soft-state mechanism to
maintain path and reservation states on each NE in the reservation path.
17.5.9 PIM
PIM is a multicast routing architecture that allows the addition of IP multicast routing on existing IP
networks. PIM is unicast routing protocol independent and can be operated in the following ways:
• sparse mode
• dense mode
17.5.10 IGMP
The XML API uses the igmp package to configure the multicast IGMP routing type on IPv4 hosts
and routers. IPv4 hosts and routers use IGMP to report their group memberships to neighboring
multicast routers.
17.5.11 MSDP
MSDP is a protocol that enables multiple PIM-SM domains to communicate with each other using
their own RPs. MSDP also enables multiple RPs in a single PIM-SM domain to establish MSDP
mesh-groups and to synchronize information between anycast RPs about the active sources being
served by each anycast RP peer.
17.5.12 MLD
MLD is an asymmetric protocol used by IPv6 routers to discover the presence of NEs that wish to
receive multicast packets on their directly-attached links, and to discover which multicast addresses
are of interest to those neighboring NEs.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
226 3HE-20022-AAAB-TQZZA Issue 1
Network configuration management NFM-P
Workflow to configure a routing protocol
Note: See “NE routing and forwarding” in the NSP NFM-P Classic Management User Guide
for more information about routing protocols.
17.6.2 Stages
1
For a BGP routing instance:
1. Configure an AS number.
2. Configure a number for the confederation-autonomous system if your configuration requires
confederations.
3. Enable BGP on a router.
4. Configure global-level BGP elements.
5. Configure a BGP confederation.
6. Configure a peer group-level BGP.
7. Configure a peer-level BGP.
2
For a RIP routing instance:
1. Enable RIP on a router.
2. Configure a global-level RIP.
3. Configure a group-level RIP.
3
For an OSPF routing instance:
1. Enable OSPF on a router.
2. Configure OSPF elements.
3. Configure an OSPF area.
4. Add an L3 interface to the OSPF area.
4
For an LDP routing instance:
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 227
Network configuration management NFM-P
VRRP virtual router configuration
5
For an ISIS routing instance:
1. Enable ISIS on a router.
2. Configure router-wide ISIS elements.
3. Configure ISIS NET addresses.
4. Configure ISIS interfaces.
6
For PIM routing instance:
1. Enable PIM.
2. Configure global-level PIM.
3. Configure a PIM source-specific multicast group.
4. Configure a PIM static rendezvous point.
5. Configure a PIM interface.
6. Configure the PIM candidate rendezvous point.
7. Configure the PIM anycast rendezvous point.
7
For IGMP routing instance:
1. Enable IGMP.
2. Configure IGMP.
3. Configure an IGMP interface.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
228 3HE-20022-AAAB-TQZZA Issue 1
Network configuration management NFM-P
Workflow to configure a virtual router
17.8.2 Stages
1
Create a global VRRP priority-control policy for non-owner VRRP instances.
2
Distribute the global VRRP priority-control policy to a non-owner VRRP router.
3
Create a virtual router for a core network LAN, or an IES service.
4
As required, create an owner VRRP instance in the virtual router.
5
As required, create a non-owner VRRP instance in the virtual router.
17.9.2 MPLS
MPLS is a data-carrying mechanism that uses one or more routing protocols to forward packets.
MPLS can be used as the underlying transport mechanism for service tunnels. For MPLS to be
used as such, an MPLS mesh and an LSP mesh must be created before the tunnel is created.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 229
Network configuration management NFM-P
Workflow to configure an MPLS path, LSP, and service tunnel
17.9.3 LSP
An LSP is a path through an MPLS network that is set up based on criteria in a forwarding
equivalency class, or FEC. LSPs are unidirectional; they enable the label switching of a packet
through an MPLS network from one endpoint to another. Bidirectional communication through an
MPLS network requires the configuration of an LSP in the opposite direction.
Note: See “MPLS” and “Service tunnels” in the NSP NFM-P Classic Management User Guide
for more information about MPLS, LSPs, and service tunnels.
17.10.2 Stages
1
Enable MPLS routing on all applicable routers and L3 interfaces.
2
Assign a network interface to an MPLS instance.
3
Create a full mesh of MPLS path which is the route to be used by an LSP, between the routers
using the L3 interfaces.
4
Create a full mesh of LSPs and bind to the MPLS paths.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
230 3HE-20022-AAAB-TQZZA Issue 1
Network configuration management NFM-P
Workflow to configure an MPLS path, LSP, and service tunnel
5
Create service tunnels between all routers that have access ports. The service tunnels direct
traffic from one router to another. You must create service tunnels in both directions because
service tunnels are unidirectional.
a. As required, create a GRE service tunnel.
b. As required, create an MPLS LSP service tunnel.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 231
Network configuration management NFM-P
Workflow to configure an MPLS path, LSP, and service tunnel
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
232 3HE-20022-AAAB-TQZZA Issue 1
Policy configuration management NFM-P
18.2 References
18.2.1 Overview
The following references are relevant to an OSS developer that is working in the policy
configuration domain:
• NSP NFM-P Classic Management User Guide— documents the description, workflow, and
configuration information about policy management
• XML API Reference—documents specific classes, attributes, and methods to configure policies
using the XML API interface. See 18.3 “Key packages and classes” (p. 234) for the packages
and classes that are relevant to a policy management OSS developer.
• Chapter 8, “XML API Reference” —documents information about how to navigate the XML API
Reference
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 233
Policy configuration management NFM-P
Key packages and classes
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
234 3HE-20022-AAAB-TQZZA Issue 1
Policy configuration management NFM-P
Key packages and classes
The information in the policy.Manager class and policy.PolicyType provides an OSS developer with
an introduction to classes, object hierarchy, and properties of policies to be configured. Other
packages that may be relevant for a policy configuration OSS developer are the qos and acl
packages. The packages define enumerations associated with properties in QoS-related policies
such as access ingress, and access control lists such as ACL IP filters. The qos and acl packages
do not have associated classes or methods.
The following tables list some of the policies and packages.
Policy Package
QoS
Network niegr
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 235
Policy configuration management NFM-P
Key packages and classes
Policy Package
Slope slope
HSMDA Slope
Scheduler vs
Filter
DHCP Filter
Policy Package
Multicast
Multicast Package
Multicast CAC
VRRP
VRRP vrrp
Routing
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
236 3HE-20022-AAAB-TQZZA Issue 1
Policy configuration management NFM-P
Key packages and classes
Policy Package
AS Path rp
Community
Damping
Prefix List
Statement
MPLS
ISA
IPSec Transform
IKE
NAT nat
Policy Package
Statistics
Accounting multicast
File file
RMON
RMON rmon
Time of Day
Security
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 237
Policy configuration management NFM-P
General policy configuration
Policy Package
DoS Protection
User Profile
Password Policy
RADIUS Authentication
TACACS+ Authentication
CAUTION
Service Disruption
The code samples in this section show the structures for object creation or modification, and do not
include all of the properties required to create a working policy.
See the XML API SDK Sample Code Navigator for working samples.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
238 3HE-20022-AAAB-TQZZA Issue 1
Policy configuration management NFM-P
General policy configuration
Access Egress
Access egress policies define egress service queues, map forwarding class flows to queues, are
applied to access egress interfaces, and specify the QoS on egress.
Access egress policy creation parameters
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 239
Policy configuration management NFM-P
General policy configuration
• method—generic.GenericObject.configureChildInstance
• distinguishedName—Access Egress. The FDN can be determined by looking at the Parent
Hierarchy of the class to be created in the XML API Reference.
• childConfigInfo—creates and configures the following policy parameters:
− Policy object - aengr.Policy
− actionMask - specifies the create operation
− <id> - (optional) assigns a unique numeric ID. If the ID is not specified, the NFM-P
automatically assigns the ID.
− <children-Set>—tag to enclose children objects
• Queue object - aengr.Queue
• actionMask - specifies the create operation
• <id> - (optional) assigns a unique queue ID. If the ID is not specified, the NFM-
P automatically assigns the ID.
• Forwarding class object - aengr.ForwardingClass
• actionMask - specifies the create operation
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>Access Egress</distinguishedName>
<childConfigInfo>
<aengr.Policy>
<actionMask>
<bit>create</bit>
</actionMask>
<id>99</id>
<children-Set>
<aengr.Queue>
<actionMask>
<bit>create</bit>
</actionMask>
<id>2</id>
..
</aengr.Queue>
<aengr.ForwardingClass>
<actionMask>
<bit>create</bit>
</actionMask>
.
</aengr.ForwardingClass>
</children-Set>
</aengr.Policy>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
240 3HE-20022-AAAB-TQZZA Issue 1
Policy configuration management NFM-P
General policy configuration
ACL IP Filter
Filter policies specify a forward, drop, or HTTP redirect action for packets based on information
specified as the match criteria. ACL IP filter policies are applied to network and access IP interfaces
and service tunnels.
ACL IP filter policy creation parameters
• method—generic.GenericObject.configureChildInstance
• distinguishedName—IP Filter. The FDN can be determined by looking at the Parent Hierarchy of
the class to be created in the XML API Reference.
• childConfigInfo—creates and configures the following policy parameters:
− Policy object - aclfilter.IpFilter
− actionMask - specifies the create operation
− <id> - (optional) assigns a unique numeric ID. If the ID is not specified, the NFM-P
automatically assigns the ID.
− <defaultAction> - selects a default action
− <children-Set>—tag to enclose children objects
• IP filter entry object - aclfilter.IpFilterEntry
• actionMask - specifies the create operation
• <id> - assigns a unique queue ID. If the ID is not specified, the NFM-P
automatically assigns the ID.
• <action> - select an action
• set other parameters for IP filter entry
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>IP Filter</distinguishedName>
<childConfigInfo>
<aclfilter.IpFilter>
<actionMask>
<bit>create</bit>
</actionMask>
<id>1000</id>
<defaultAction>forward</defaultAction>
<children-Set>
<aclfilter.IpFilterEntry>
<actionMask>
<bit>create</bit>
</actionMask>
<id>20</id>
<action>drop</action>
<protocol>UDP</protocol>
<destinationIpAddress>4.4.4.4</destinationIpAddress>
<destinationIpAddressMask>32</destinationIpAddressMask>
<destinationPort1>1</destinationPort1>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 241
Policy configuration management NFM-P
General policy configuration
<destinationPort2>6</destinationPort2>
<destinationOperator>RANGE</destinationOperator>
</aclfilter.IpFilterEntry>
</children-Set>
</aclfilter.IpFilter>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>rpStatement</distinguishedName>
<childConfigInfo>
<rp.PolicyStatement>
<actionMask>
<bit>create</bit>
</actionMask>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
242 3HE-20022-AAAB-TQZZA Issue 1
Policy configuration management NFM-P
General policy configuration
<policyStatementName>Test Sample</policyStatementName>
<children-Set>
<rp.PolicyStatementEntry>
<actionMask>
<bit>create</bit>
</actionMask>
<entryId>5</entryId>
<action>accept</action>
<children-Set>
<rp.Action>
<actionMask>
<bit>create</bit>
</actionMask>
<communityAction1>replace</communityAction1>
<communityName1>c20</communityName1>
</rp.Action>
<rp.FromCriteria>
<actionMask>
<bit>create</bit>
</actionMask>
<communityName>c30</communityName>
<prefixList1>IP Address 32</prefixList1>
</rp.FromCriteria>
</children-Set>
</rp.PolicyStatementEntry>
</children-Set>
</rp.PolicyStatement>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 243
Policy configuration management NFM-P
General policy configuration
− <collectionInterval> - sets how long before the file rollover. After this time, the file closes and
is compressed.
− <retentionInterval> - sets how long to retain the file
− <drive> - sets the location of the storage drive for the file
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>File</distinguishedName>
<childConfigInfo>
<file.Policy>
<actionMask>
<bit>create</bit>
</actionMask>
<id>88</id>
<collectionInterval>600</collectionInterval>
<retentionInterval>12</retentionInterval>
<drive>cf1A</drive>
</file.Policy>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
An accounting policy specifies an accounting statistics record type, a collection interval, an
administrative state, and a file policy.
Accounting policy creation parameters
• method—generic.GenericObject.configureChildInstance
• distinguishedName—Accounting. The FDN can be determined by looking at the Parent
Hierarchy of the class to be created in the XML API Reference.
• childConfigInfo—creates and configures the following policy parameters:
− Policy object - accounting.Policy
− actionMask - specifies the create operation
− <id> - (optional) assigns a unique numeric ID. If the ID is not specified, the NFM-P
automatically assigns the ID.
− <fileObjectPointer> - assigns a file policy. See the Parent Hierarchy of the class file.Policy for
the FDN.
− <recordType> - selects a predefined type of accounting record to be written to the accounting
file
− <collectionInterval> - sets the statistics collection interval
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>Accounting</distinguishedName>
<childConfigInfo>
<accounting.Policy>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
244 3HE-20022-AAAB-TQZZA Issue 1
Policy configuration management NFM-P
General policy configuration
<actionMask>
<bit>create</bit>
</actionMask>
<id>89</id>
<fileObjectPointer>File:88</fileObjectPointer>
<recordType>svcEgressPkt</recordType>
<collectionInterval>5</collectionInterval>
</accounting.Policy>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
Note: Distribution performed from the GUI or via the OSSI method
policy.PolicyDefinition.distribute does not generate the PolicyDistributeEvent. Only distribution
performed via the OSSI method policy.PolicyDefinition.distributeV2 will generate the
PolicyDistributeEvent.
Method Description
policy.PolicyDefinition.distribute The global policy is distributed to the NEs specified in the siteIds. If the
distribution fails the NFM-P validation for one NE, the global policy is not
distributed to any of the NEs.
policy.PolicyDefinition.distributeV2 The global policy is distributed to the NEs specified in the siteIds. If the
distribution fails the NFM-P validation for one NE, distribution continues
to the other NEs. A JMS message is sent back to indicate the failed site.
The JMS PolicyDistributeStatusEvent will indicate whether the
distribution failed or succeeded for each NE. A failure is indicated if an
NE is not reachable, an NE is not present, or an NE is in the Local Edit
Only mode.
See the XML API Reference for information about policy distribution methods and the required input
parameters. See “Policy distribution” in the NSP NFM-P Classic Management User Guide for
information about policy distribution.
The following example shows the minimum XML parameter tags required to develop an XML
request to distribute a policy.
Policy distribution parameters
• method—policy.PolicyDefinition.distribute
• instanceFullName—Access Egress: ${*id}. The FDN can be determined by looking at the Parent
Hierarchy of the class to be created in the XML API Reference
• siteIds—the site ID list for distribution. An empty list means that the global policy is distributed to
all applicable NEs.
− <strings> - site ID—add one for each site
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 245
Policy configuration management NFM-P
General policy configuration
<policy.PolicyDefinition.distribute xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<instanceFullName>Access Egress:99</instanceFullName>
<siteIds>
<string>198.51.100.55</string>
</siteIds>
</policy.PolicyDefinition.distribute>
Option Description
Draft The policy is not reviewed or approved for distribution to NEs. The policy cannot be
distributed (see information below for the exception to this).
Released The policy is reviewed and approved for distribution to NEs. The policy can be distributed.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
246 3HE-20022-AAAB-TQZZA Issue 1
Policy configuration management NFM-P
General policy configuration
Sync With Global The local policy is synchronized with the global policy. The local instance cannot be
modified. 1
When you distribute a global policy, local policies in this distribution mode allow the NEs to
receive the policy.
Local Edit Only You can modify the local instance only, which affects the associated network element. Local
policies in this distribution mode do not allow the NE to receive the distribution of a global
policy. Changes to the global policy do not affect the local policy unless a synchronization
operation is manually performed.
Notes:
1. WARNING - this is applicable if the operation is attempted using the NFM-P GUI. Using the XML
API or CLI on the router, modifications on the local policy is possible and may cause the local
and global policies to be out of synchronization even though the distribution mode on the local
policy remains in SyncWithGlobal mode. Synchronization methods may be performed to
synchronize the policies.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 247
Policy configuration management NFM-P
General policy configuration
<generic.GenericObject.configureInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>Access Egress:99</distinguishedName>
<configInfo>
<aengr.Policy>
<actionMask>
<bit>modify</bit>
</actionMask>
Properties to modify
..
<children-Set>
<aengr.Queue>
<actionMask>
<bit>modify</bit>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
248 3HE-20022-AAAB-TQZZA Issue 1
Policy configuration management NFM-P
General policy configuration
</actionMask>
<objectFullName>Access Egress:99:queue-2</objectFullName>
Properties to modify
..
</aengr.Queue>
<aengr.ForwardingClass>
<actionMask>
<bit>modify</bit>
</actionMask>
<objectFullName>Access Egress:99:forwarding-class-be</
objectFullName>
Properties to modify
..
</aengr.ForwardingClass>
</children-Set>
</aengr.Policy>
</configInfo>
</generic.GenericObject.configureInstance>
Local Policy
It is recommended that the local policy be set to LocalEditOnly mode first before being modified.
The following example shows the minimum XML parameter tags required to set the distribution
mode of a policy.
Policy distribution mode parameters
• method—policy.PolicyDefinition.setDistributionModeToLocalEditOnly
• instanceFullName—Access Egress: ${*id}. The FDN can be determined by looking at the Parent
Hierarchy of the class to be created in the XML API Reference.
• siteIds—the site ID list for setting distribution mode
− <strings> - site ID - add one for each site
<policy.PolicyDefinition.setDistributionModeToLocalEditOnly xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<instanceFullName>Access Egress:99</instanceFullName>
<siteIds>
<string>198.51.100.55</string>
</siteIds>
</policy.PolicyDefinition.setDistributionModeToLocalEditOnly>
The following example shows the minimum XML parameter tags required to modify an access
egress local policy. This method can be used for other types of policies.
Local policy modification parameters
• method—generic.GenericObject.configureChildInstance
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 249
Policy configuration management NFM-P
General policy configuration
<generic.GenericObject.configureInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>network:198.51.100.55:Access Egress:99</distinguishedName>
<configInfo>
<aengr.Policy>
<actionMask>
<bit>modify</bit>
</actionMask>
Properties to modify
..
<children-Set>
<aengr.Queue>
<actionMask>
<bit>modify</bit>
</actionMask>
<objectFullName>network:198.51.100.55:Access Egress:99:queue-2</objectFullName
Properties to modify
..
</aengr.Queue>
<aengr.ForwardingClass>
<actionMask>
<bit>modify</bit>
</actionMask>
<objectFullName>network:198.51.100.55:Access Egress:99:forwarding-class-
be</objectFullName>
Properties to modify
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
250 3HE-20022-AAAB-TQZZA Issue 1
Policy configuration management NFM-P
Policy configuration workflow
..
</aengr.ForwardingClass>
</children-Set>
</aengr.Policy>
</configInfo>
</generic.GenericObject.configureInstance>
18.5.2 Stages
1
Create the required policy using the appropriate policy class. Policies created using the XML
API are global and are in Released configuration mode. See 18.4.4 “Policy configuration mode”
(p. 246) in this section for information about configuration mode. When the global policy is in
the Released configuration mode, a backup copy of the latest released version of the policy is
saved. This can be used later to restore the released version of the global policy if the operator
decides to revert back to the setting in the previous released version of the global policy.
2
Distribute the policy to selected NEs. After the policy is distributed successfully, a local policy is
created for each NE. Local policies are instances of global policies that are assigned to
individual NEs and contain properties applicable only to that NE. Local policies have a
distribution mode, which is set to SyncWithGlobal when the policy is created using the
workflow.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 251
Policy configuration management NFM-P
Policy methods
Method Description
policy.PolicyDefinition.setDistributionModeToSyncWithGlobal Set Distribution Mode to Sync with Global for local policies on
the sites specified by siteIds. It automatically synchronizes local
policies with the most recent released global policy. If it is called
from the local policy, only that local policy is updated. See Figure
18-12, “Distribution mode set request example” (p. 253) for an
example of the method.
policy.PolicyDefinition.setDistributionModeToLocalEditOnly Set Distribution Mode to local edit only for local policies on the
sites specified by siteIds. If it is called from the local policy, only
that local policy is updated. See Figure 18-9, “Policy distribution
mode request example” (p. 249) for an example of the method.
policy.PolicyDefinition.resetToReleasedPolicy Reset the global policy to the most recent released policy. The
local policies aren’t affected. See Figure 18-13, “Global policy
reset request example” (p. 253) for an example of the method.
The following are the mandatory XML parameter tags to set the configuration mode of a global
policy:
• method—policy.PolicyDefinition.setConfigurationModeToReleased
• instanceFullName—Access Egress: ${*id}. The FDN can be determined by looking at the Parent
Hierarchy of the class to be created in the XML API Reference.
The following figure shows a request to set the configuration mode of a global policy.
<policy.PolicyDefinition.setConfigurationModeToReleased xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<instanceFullName>Access Egress:99</instanceFullName>
</policy.PolicyDefinition.setConfigurationModeToReleased>
To set the mode to Draft, you must replace setConfigurationModeToReleased with
setConfigurationModeToDraft.
The following are the mandatory XML parameter tags to set the distribution mode of a policy:
• method—policy.PolicyDefinition.setDistributionModeToSyncWithGlobal
• instanceFullName—Access Egress: ${*id} for a global policy and
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
252 3HE-20022-AAAB-TQZZA Issue 1
Policy configuration management NFM-P
Policy methods
<policy.PolicyDefinition.setDistributionModeToSyncWithGlobal xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<instanceFullName>Access Egress:99</instanceFullName>
<siteIds>
<string>198.51.100.55</string>
</siteIds>
</policy.PolicyDefinition.setDistributionModeToSyncWithGlobal>
The following example shows the minimum XML parameter tags required to reset a global policy to
the most recent released.
Policy reset to released parameters
• method—policy.PolicyDefinition.resetToReleasedPolicy
• instanceFullName—Access Egress: ${*id}. The FDN can be determined by looking at the Parent
Hierarchy of the class to be created in the XML API Reference.
The following figure shows a request to reset a global policy to the most recent released.
<policy.PolicyDefinition.resetToReleasedPolicy xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<instanceFullName>Access Egress:99</instanceFullName>
</policy.PolicyDefinition.resetToReleasedPolicy>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 253
Policy configuration management NFM-P
Policy methods
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
254 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 255
Service configuration management NFM-P
References
• Mirror—a type of service that copies the packets from a customer service to a destination
outside the service for troubleshooting or surveillance purposes
• Composite—a set of linked services
• Optical Transport—a wavelength that traverses the network between two endpoints
The OSS applications can use the XML API to create, configure, and manage services based on
the XML schema. The privileges associated with an OSS user account define which objects the
user can configure. See the chapter on NFM-P user security in the NSP System Administrator
Guide for information about assigning permissions to NFM-P user accounts and groups.
19.2 References
19.2.1 Overview
The following references are relevant to OSS developers who work in the service configuration
domain:
• NSP NFM-P Classic Management User Guide— documents the description, workflow, and
configuration information about service management
• XML API Reference—documents classes, class hierarchy, attributes, and methods to configure
services using the XML API interface. See 19.3 “Key packages and classes” (p. 256) for the
packages and classes that are relevant to an service management OSS developer.
• Chapter 8, “XML API Reference” —documents information about how to navigate the XML API
Reference
• Chapter 15, “Configuration management overview” —documents configuration methods,
creation, modification and deletion of NFM-P-managed objects, and describes deployments
• XML API SDK Sample Code Navigator—documents samples of service objects
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
256 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Key packages and classes
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 257
Service configuration management NFM-P
General service configuration
To understand the notation used for creating the distinguishedName, or how to fill in a pointer
property, see the Help link in the XML API Reference. For example, when a distinguishedName is
svc-mgr:service-${*id}:${siteId}, italicized items after the dollar sign and enclosed in parenthesis are
the property value. The distinguishedName may be svc-mgr:service-10000:10.10.20.22, where the
1000 is the ${*id} and the 10.10.20.22 is the ${siteId}. The value for a pointer property is the object
full name.
The XML API Reference specifies whether the properties need to be set during the creation of the
object. The following figure shows that the property must be set when the object is created because
access for the property siteId is read-create.
CAUTION
Service Disruption
The code samples in this section display the structures for object creation or modification.
However, the samples do not include all of the properties required to create a working service.
For working samples, see the XML API SDK Sample Code Navigator.
1
Configure policies, as required. It is recommended that policies be created and configured
before you create the service. Policies that are applied to be part of services include QoS
policies such as Access Ingress, Access Egress, Scheduler, Filter, Accounting, and ANCP. See
Chapter 18, “Policy configuration management” for more information.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
258 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
CLI mapping
2
Configure ports or channels as access ports with encapsulation types and an encapsulation
identifier (if required, depending on encapsulation type). See Chapter 17, “Network
configuration management” for more information.
3
Configure service tunnels, as required. See Chapter 17, “Network configuration management”
for more information.
4
Create and configure the customer. See 19.7 “Customer configuration” (p. 260) in this section
for more information.
5
Create a service and associate the customer with the service:
• Add site(s) to the service.
• Add access interface(s) to the site of the service.
• (Optional) Add SDP binding(s) if the service spans more than one site and the SDP binding is
added to the site of the service.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 259
Service configuration management NFM-P
Customer configuration
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
260 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Service configuration
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>subscriber</distinguishedName>
<childConfigInfo>
<subscr.Subscriber>
<actionMask>
<bit>create</bit>
</actionMask>
<subscriberId/>
..
</subscr.Subscriber>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
The XML request can include other contact information such as subscriberName, address, and
phone number. See the XML API Reference for more information about the subscr package.
The subscriber ID can be used to modify customer information. When you associate a customer
with a service, enter subscriber:${*subscriberId} to specify the subscriberPointer property of the
service.
• VLL • VLAN
• VPLS/HVPLS/MVPLS/PBB • Mirror
• IES • Optical Transport
• VPRN • Composite
See “Service management” in the NSP NFM-P Classic Management User Guide for more
information about service management.
The XML API allows you to create and manage services by using the classes specified in the
following table.
Fpipe fpipe.Fpipe
Ipipe ipipe.Ipipe
Hpipe hpipe.Hpipe
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 261
Service configuration management NFM-P
Service configuration
IES ies.Ies
VPRN vprn.Vprn
The service.Service class is the parent class of the service objects in the previous table. The id and
serviceId properties in the class are inherited by the subclasses that are used to identify the
service. The following table describes the properties.
Property Description
id SVC Mgr service ID—a unique value that identifies the service in the NFM-P database. The
ID is also included as part of the FDN for the service objects. For example, 620 is the ID for
svc-mgr:service-620.
serviceId service ID—this ID is unique on the NE but may not be unique in the NFM-P database.
The following example shows the minimum XML parameter tags required to develop an XML
request to create a basic service.
The genericObject.configureChildInstance method is used in the XML request to create a service.
The XML response returns the <objectFullName> parameter that can be used to identify the new
service.
Service creation parameters
• method - generic.GenericObject.configureChildInstance
• distinguishedName - svc-mgr
• childConfigInfo - creates and configures the following service parameters:
− Service object - see Table 19-2, “Service objects” (p. 261)
− actionMask - specifies the create operation
− <subscriberPointer> - assigns a subscriber
− <serviceId> - (optional) assigns a unique service ID. If an ID is not specified, the NFM-P
automatically assigns the ID.
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr</distinguishedName>
<childConfigInfo>
<epipe.Epipe>
<actionMask>
<bit>create</bit>
</actionMask>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
262 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Site configuration
<subscriberPointer>subscriber:1</subscriberPointer>
..
</epipe.Epipe>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
See the XML API Reference and Schema Reference for more information about classes,
properties, and methods to create the required services.
Fpipe fpipe.Site
Ipipe ipipe.Site
Hpipe hpipe.Site
IES ies.Site
VPRN vprn.Site
The following example shows the minimum XML parameter tags required to develop an XML
request to create a basic service site.
The genericObject.configureChildInstance method is used in the XML request to create a site. The
XML response returns the <objectFullName> parameter that can be used to identify the new
service site.
Service site creation parameters
• method - generic.GenericObject.configureChildInstance
• distinguishedName - svc-mgr:service-${*id}
• childConfigInfo - creates and configures the following service site parameters:
− Service object - see Table 19-4, “Service site objects” (p. 263)
− actionMask - specifies the create operation
− <siteId> - IP address of the NE
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 263
Service configuration management NFM-P
SAP configuration
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr:service-620</distinguishedName>
<childConfigInfo>
<epipe.Site>
<actionMask>
<bit>create</bit>
</actionMask>
<siteId>198.51.100.198</siteId>
..
</epipe.Site>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
See the XML API Reference and Schema Reference for more information about classes,
properties, and methods to create the required service sites.
Fpipe vll.L2AccessInterface
Ipipe ipipe.L2AccessInterface
Hpipe vll.L2AccessInterface
IES ies.L3AccessInterface
VPRN vprn.L3AccessInterface
The following example shows the minimum XML parameter tags required to develop an XML
request to create a basic service access interface.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
264 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
SDP binding configuration
The genericObject.configureChildInstance method is used in the XML request to create a SAP. The
XML response returns the <objectFullName> parameter that can be used to identify the new SAP.
Service access interface creation parameters
• method - generic.GenericObject.configureChildInstance
• distinguishedName - svc-mgr:service-${*id}:${siteId}
• childConfigInfo - creates and configures the following SAP interface parameters:
− Service object - see Table 19-5, “SAP objects” (p. 264)
− actionMask - specifies the create operation
− <portPointer> - assigns an access port
− <innerEncapValue>/<outerEncapValue> - assigns encapsulation values
• To configure an IP address for an IES or VPRN service, the rtr.VirtualRouterIpAddress
class properties must be configured. This class is the child class of the ies.L3AccessInterface
or vprn.L3AccessInterface and must be enclosed using the <children-Set> tags.
• <ipAddress> - assigns an IP address
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr:service-620: 198.51.100.198</distinguishedName>
<childConfigInfo>
<vll.L2AccessInterface>
<actionMask>
<bit>create</bit>
</actionMask>
<portPointer>network:198.51.100.234:shelf-1:cardSlot-1:card:daughterCardSlot-
1:daughterCard:port-7</portPointer>
<innerEncapValue>0</innerEncapValue>
<outerEncapValue>3001</outerEncapValue>
..
</vll.L2AccessInterface>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
See the XML API Reference and Schema Reference for more information about classes,
properties, and methods to create the desired service access interfaces.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 265
Service configuration management NFM-P
SDP binding configuration
The XML API allows you to create and manage SDP bindings by using the classes specified in the
following table.
Apipe svt.SpokeSdpBinding
Epipe
Fpipe
Ipipe
Cpipe
Hpipe
VPRN
IES
The following example shows the minimum XML parameter tags required to develop an XML
request to create a basic service SDP bindings.
The genericObject.configureChildInstance method is used in the XML request to create a SDP
binding. The XML response returns the <objectFullName> parameter to identify the new service
SDP binding.
Service SDP binding creation parameters
• method - generic.GenericObject.configureChildInstance
• distinguishedName - svc-mgr:service-${*id}:${siteId}
• childConfigInfo - creates and configures the following SDP binding parameters:
− Service object - see Table 19-6, “Service SDP binding objects” (p. 266)
− actionMask - specifies the create operation
− <tunnelSelectionTerminationSiteId> - assigns the termination site ID of the SDP binding
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr:service-620: 198.51.100.198</distinguishedName>
<childConfigInfo>
<svt.SpokeSdpBinding>
<actionMask>
<bit>create</bit>
</actionMask>
<tunnelSelectionTerminationSiteId>198.51.100.82</tunnelSelectionTerminationSiteId>
..
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
266 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Creating service with site, access interface, and SDP binding in one request
</svt.SpokeSdpBinding>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
See the XML API Reference and Schema Reference for more information about classes,
properties, and methods to create the required SDP bindings.
19.12 Creating service with site, access interface, and SDP binding in
one request
19.12.1 Overview
The following example shows an XML request to create a VPLS, site, access interface, and SDP
binding in one request. This method can be used for other types of services.
Looking at the specific service object class in the XML API Reference, under the Children Hierarchy
and the specific attribute, you can determine what child objects are configured for the service
object. The following figure displays the children hierarchy of the vpls.Vpls object.
The XML request to set the VPLS site inside the VPLS service must be enclosed in the <children-
Set> tags. The XML request example does not include all of the properties required to create a
working service.
See the XML API Reference for the service object class under the Children Hierarchy and the
specific attribute, to determine the child objects that can be configured for this service object.
Service creation parameters
• method - generic.GenericObject.configureChildInstance
• distinguishedName - svc-mgr
• childConfigInfo - creates and configures the following service parameters:
− Service object - vpls.Vpls
− actionMask - specifies the create operation
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 267
Service configuration management NFM-P
Creating service with site, access interface, and SDP binding in one request
Figure 19-10 Service creation request example including site, SAP, and SDP binding
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr</distinguishedName>
<childConfigInfo>
<vpls.Vpls>
<actionMask>
<bit>create</bit>
</actionMask>
<serviceId/>
<subscriberPointer/>
<children-Set>
<vpls.Site>
<actionMask>
<bit>create</bit>
</actionMask>
<siteId/>
<children-Set>
<svt.MeshSdpBinding>
<actionMask>
<bit>create</bit>
</actionMask>
<circuitType>mesh</circuitType>
<tunnelSelectionTerminationSiteId/>
</svt.MeshSdpBinding>
<vpls.L2AccessInterface>
<actionMask>
<bit>create</bit>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
268 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Modifying service configuration
</actionMask>
<portPointer/>
<innerEncapValue/>
<outerEncapValue/>
</vpls.L2AccessInterface>
</children-Set>
</vpls.Site>
</children-Set>
</vpls.Vpls>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
<distinguishedName>svc-mgr:service-123:198.51.100.55</distinguishedName>
• where <vpls.Site> and </vpls.Site> are in the positions of the <vpls.Vpls> and </vpls.Vpls>
respectively.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 269
Service configuration management NFM-P
Modifying service configuration
<generic.GenericObject.configureInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr:service-123</distinguishedName>
<configInfo>
<vpls.Vpls>
<actionMask>
<bit>modify</bit>
</actionMask>
Properties to modify
..
</vpls.Vpls>
</configInfo>
</generic.GenericObject.configureInstance>
The following example outlines what is required for an XML request to modify a VPLS service, site,
access interface, and SDP binding in one request. This method can be used for other types of
services.
Service modification parameters
• method - generic.GenericObject.configureInstance
• distinguishedName - svc-mgr:service-${*id}. The FDN is determined by the Parent Hierarchy of
the class to be created in the XML API Reference
• configInfo - creates and configures the following service parameters:
− Service object - vpls.Vpls
− actionMask - specifies the modify operation
− Properties that are modifiable
− <children-Set> - tag to enclose children objects
• Site object - vpls.Site
• actionMask - specifies the modify operation
• <objectFullName>- svc-mgr:service-${*id}:${siteId}
• Properties that are modifiable
• <children-Set> - tag to enclose children objects
• SDP binding object- svt.MeshSdpBinding
• <objectFullName>- svc-mgr:service-${*id}:${siteId}:circuit-${pathId}-${vcId}
• Properties that are modifiable
• Access interface - vpls.L2AccessInterface
• <objectFullName>- svc-mgr:service-${*id}:${siteId}:interface-${portPointer}-inner-
tag-${innerEncapValue}-outer-tag-${outerEncapValue}
• Properties that are modifiable
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
270 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Modifying service configuration
<generic.GenericObject.configureInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName> svc-mgr:service-620</distinguishedName>
<configInfo>
<vpls.Vpls>
<actionMask>
<bit>modify</bit>
</actionMask>
Properties to modify
..
<children-Set>
<vpls.Site>
<actionMask>
<bit>modify</bit>
</actionMask>
<objectFullName>svc-mgr:service-620:198.51.100.198</object
FullName>
Properties to modify
..
<children-Set>
<svt.MeshSdpBinding>
<actionMask>
<bit>modify</bit>
</actionMask>
<objectFullName>svc-mgr:service-620:198.51.100.198:circuit-1-10</objectF
Properties to modify
..
</svt.MeshSdpBinding>
<vpls.L2AccessInterface>
<actionMask>
<bit>modify</bit>
</actionMask>
<objectFullName>svc-mgr:service-620: 198.51.100.198:
interface-1/1/4-inner-tag-0-outer-tag-95</objectFullName>
Properties to modify
..
</vpls.L2AccessInterface>
</children-Set>
</vpls.Site>
</children-Set>
</vpls.Vpls>
</configInfo>
</generic.GenericObject.configureInstance>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 271
Service configuration management NFM-P
Mirror service
Packet-
decoding Port 5/2/1
Configure a mirror service specifying
device source and destination parameters
17264
See the “Mirror services” chapter of the NSP NFM-P Classic Management User Guide for
information about implementing a mirror service.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
272 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
CLI mapping
− mirror.SourcePort
− mirror.SourceSubscriberHost
The mirror SDP binding is configured under the class svt.MirrorSdpBinding.
1
Create a mirror service.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 273
Service configuration management NFM-P
Mirror service configuration
2
Create a mirror service destination with a source far end and an access interface. This is the
mirror destination on router A in Figure 19-13, “Remote service mirroring” (p. 272) .
3
Create a mirror service source site with a spoke SDP binding and a source port. This is the
mirror source on router B in Figure 19-13, “Remote service mirroring” (p. 272) .
19.17.2 Examples
The following example shows XML requests to create a remote mirror service that contains a
destination site with the far end address of the source and an access interface, and another request
to create source site with a spoke SDP binding.
Mirror service creation parameters
• method - generic.GenericObject.configureChildInstance
• distinguishedName - svc-mgr
• childConfigInfo - creates and configures the following service parameters:
− Service object - mirror.Mirror
− actionMask - specifies the create operation
− <subscriberPointer> - only subscriber 1 can be assigned
− <serviceId> - (optional) assigns a unique service ID. If the service ID is not specified, the
NFM-P automatically assigns the ID.
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr</distinguishedName>
<childConfigInfo>
<mirror.Mirror>
<actionMask>
<bit>create</bit>
</actionMask>
<subscriberPointer>subscriber:1</subscriberPointer>
..
</mirror.Mirror>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
Mirror service destination site creation parameters
• method - generic.GenericObject.configureChildInstance
• distinguishedName - svc-mgr:service-${*id}
• childConfigInfo - creates and configures the following service site parameters:
− Service object - mirror.Site
− actionMask - specifies the create operation
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
274 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Mirror service configuration
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr:service-732</distinguishedName>
<childConfigInfo>
<mirror.Site>
<actionMask>
<bit>create</bit>
</actionMask>
<siteId/>
<mirrorSiteType>destination</mirrorSiteType>
<children-Set>
<mirror.RemoteSource>
<actionMask>
<bit>create</bit>
</actionMask>
<remoteSourceSiteId/>
</mirror.RemoteSource>
<mirror.L2AccessInterface>
<actionMask>
<bit>create</bit>
</actionMask>
<portPointer/>
<innerEncapValue/>
<outerEncapValue/>
</mirror.L2AccessInterface>
</children-Set>
</mirror.Site>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
Mirror service source site creation parameters
• method - generic.GenericObject.configureChildInstance
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 275
Service configuration management NFM-P
Mirror service configuration
• distinguishedName - svc-mgr:service-${*id}
• childConfigInfo - creates and configures the following service site parameters:
− Service object - mirror.Site
− actionMask - specifies the create operation
− <siteId> - IP address of the source NE
− <mirrorSiteType> - for a source site, select source
− <children-Set> - tag to enclose children objects
• SDP binding object - svt.MirrorSdpBinding
• actionMask - specifies the create operation
• <tunnelSelectionTerminationSiteId> - assigns the termination site ID of the • SDP
binding
• Source port object - mirror.SourcePort
• actionMask - specifies the create operation
• <portName> - mirror source port name
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr:service-732</distinguishedName>
<childConfigInfo>
<mirror.Site>
<actionMask>
<bit>create</bit>
</actionMask>
<siteId/>
<mirrorSiteType>source</mirrorSiteType>
<children-Set>
<svt.MirrorSdpBinding>
<actionMask>
<bit>create</bit>
</actionMask>
<tunnelSelectionTerminationSiteId/>
</svt.MirrorSdpBinding>
<mirror.SourcePort>
<actionMask>
<bit>create</bit>
</actionMask>
<portName/>
</mirror.SourcePort>
</children-Set>
</mirror.Site>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
276 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Mirror service configuration
The following example outlines what is required for an XML request to create a remote mirror
service that contains a destination site with the far-end address of the source and an access
interface, and a source site with a spoke SDP binding, in one request.
Mirror service creation parameters
• method - generic.GenericObject.configureChildInstance
• distinguishedName - svc-mgr. To determine the FDN, check the Parent Hierarchy of the class to
be created in the XML API Reference
• childConfigInfo - creates and configures the following service parameters:
− Service object - mirror.Mirror
− actionMask - specifies the create operation
− <subscriberPointer> - only subscriber 1 can be assigned. See the Parent Hierarchy of the
class subscr.Subscriber for the FDN.
− <serviceId> - (optional) assigns a unique service ID. If the service ID is not specified, the
NFM-P automatically assigns the ID.
− <children-Set> - tag to enclose children objects
• Destination site object - mirror.Site
• actionMask - specifies the create operation
• <siteId> - IP address of the destination NE
• <mirrorSiteType> - for a destination site, select destination
• <children-Set> - tag to enclose children objects
• Source far end object- mirror.RemoteSource
• <remoteSourceSiteId> - IP address of the source NE
• Access interface object - mirror.L2AccessInterface
• <portPointer> - assigns an access port. See the Parent Hierarchy of the
port or channel object such as equipment.PhysicalPort for the FDN.
• <innerEncapValue>/<outerEncapValue> - assigns encapsulation
values
• Source site object - mirror.Site
• actionMask - specifies the create operation
• <siteId> - IP address of the source NE
• <mirrorSiteType> - for a source site, select source
• <children-Set> - tag to enclose children objects
• SDP binding object - svt.MirrorSdpBinding
• <tunnelSelectionTerminationSiteId> - assigns the termination site ID
of the SDP binding
• Source port object - mirror.SourcePort
• <portName> - mirror source port name
The following figure shows an example of a request to create a mirror service, including the source,
destination, and SDP binding
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 277
Service configuration management NFM-P
Mirror service configuration
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr</distinguishedName>
<childConfigInfo>
<mirror.Mirror>
<actionMask>
<bit>create</bit>
</actionMask>
<subscriberPointer>subscriber:1</subscriberPointer>
<children-Set>
<mirror.Site>
<actionMask>
<bit>create</bit>
</actionMask>
<siteId/>
<mirrorSiteType>destination</mirrorSiteType>
<children-Set>
<mirror.RemoteSource>
<actionMask>
<bit>create</bit>
</actionMask>
<remoteSourceSiteId/>
</mirror.RemoteSource>
<mirror.L2AccessInterface>
<actionMask>
<bit>create</bit>
</actionMask>
<portPointer/>
<innerEncapValue/>
<outerEncapValue/>
</mirror.L2AccessInterface>
</children-Set>
</mirror.Site>
<mirror.Site>
<actionMask>
<bit>create</bit>
</actionMask>
<siteId/>
<mirrorSiteType>source</mirrorSiteType>
<children-Set>
<svt.MirrorSdpBinding>
<actionMask>
<bit>create</bit>
</actionMask>
<tunnelSelectionTerminationSiteId/>
</svt.MirrorSdpBinding>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
278 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
VLAN service
<mirror.SourcePort>
<actionMask>
<bit>create</bit>
</actionMask>
<portName/>
</mirror.SourcePort>
</children-Set>
</mirror.Site>
</children-Set>
</mirror.Mirror>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>group:tree</distinguishedName>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 279
Service configuration management NFM-P
VLAN service configuration
<childConfigInfo>
<netw.VlanGroup>
<actionMask>
<bit>create</bit>
</actionMask>
<groupName/>
..
</netw.VlanGroup>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
1
Create a VLAN service.
2
Choose VLAN type and VLAN group.
3
Create a VLAN site.
4
Add an access interface.
5
For an OmniSwitch, and depending on the type of VLAN, create Ethernet service, service
access multipoint, SAP, and customer VLANs.
For separate requests, see 19.8 “Service configuration” (p. 261) in 19.4 “General service
configuration” (p. 258) . Replace the service object with vlan.Vlan, replace the site object with
vlan.Site, and replace the access interface object with vlan.L2AccessInterface. Use the proper
distinguishedName for the object you are creating.
19.20.2 Examples
The following example outlines what is required for an XML request to create a VLAN service, site,
and access interface in one request.
VLAN service creation parameters
• method - generic.GenericObject.configureChildInstance
• distinguishedName - svc-mgr. The FDN can be determined by looking at the Parent Hierarchy of
the class to be created in the XML API Reference
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
280 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
VLAN service configuration
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr</distinguishedName>
<childConfigInfo>
<vlan.Vlan>
<actionMask>
<bit>create</bit>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 281
Service configuration management NFM-P
VLAN service configuration
</actionMask>
<vlanSubType>tlsVlan</vlanSubType>
<serviceId/>
<subscriberPointer/>
<groupPointer>group:tree:name</groupPointer>
<children-Set>
<vlan.Site>
<actionMask>
<bit>create</bit>
</actionMask>
<siteId/>
<children-Set>
<vlan.EthernetService>
<actionMask>
<bit>create</bit>
</actionMask>
<ethernetServiceName/>
<children-Set>
<vlan.ServiceAccessMultiPoint>
<actionMask>
<bit>create</bit>
</actionMask>
<sapProfilePointer>Ethernet Service SAP Policy:default-sap-profile
ProfilePointer>
<children-Set>
<vlan.ServiceAccessPoint>
<actionMask>
<bit>create</bit>
</actionMask>
<portPointer/>
</vlan.ServiceAccessPoint>
<vlan.CustomerVlan>
<actionMask>
<bit>create</bit>
</actionMask>
</vlan.CustomerVlan>
</children-Set>
</vlan.ServiceAccessMultiPoint>
</children-Set>
</vlan.EthernetService>
</children-Set>
</vlan.Site>
</children-Set>
</vlan.Vlan>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
282 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Optical transport service
19.21.2 Workflow
The following describes the workflow to configure an optical transport service.
1
Configure cards and timeslots (if applicable on the card type).
2
Configure the rate on the optical NE.
3
Configure optical links to logically bind the ports; the links are used to create XCs.
4
Configure the services by selecting the endpoints on the sites of the service.
1
Create an optical transport service.
2
Create the A end optical service site.
3
Create the termination point port.
4
Create the Z end optical service site.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 283
Service configuration management NFM-P
Optical transport service configuration
5
Create the termination point port.
Up to two sites can be selected for the creation of an optical transport service. The NFM-P
names the sites as follows: A end and a Z end site.
For separate requests, see 19.8 “Service configuration” (p. 261) in 19.4 “General service
configuration” (p. 258) . Replace the service object with optical.TransportService, replace the
site object with optical.ServiceSite, and replace the access interface object with
optical.TerminationPoint. Use the proper distinguishedName for the object you are creating.
19.22.2 Examples
The following example outlines what is required for an XML request to create an optical transport
service, site, and termination point port in one request.
Optical transport service creation parameters
• method - generic.GenericObject.configureChildInstance
• distinguishedName - svc-mgr. The FDN can be determined by looking at the Parent Hierarchy of
the class to be created in the XML API Reference
• childConfigInfo - creates and configures the following service parameters:
− Service object - optical.TransportService
− actionMask - specifies the create operation
− <subscriberPointer> - assigns a subscriber. See the Parent Hierarchy of the class
subscr.Subscriber for the FDN.
− <rate> - assigns a rate
− <serviceId> - (optional) assigns a unique service ID. If the service ID is not specified, the
NFM-P automatically assigns the ID.
<children-Set> - tag to enclose children objects
• Site object - optical.ServiceSite
• actionMask - specifies the create operation
• <siteId> - IP address of the NE
• <sitePosition> - indicates whether site is at the A end (from) or Z end (to) of
the service
• <children-Set> - tag to enclose children objects
• Termination point object - optical.TerminationPoint
• actionMask - specifies the create operation
• <portPointer> - assigns a port. See the Parent Hierarchy of the port
or channel object such as equipment.PhysicalPort for the FDN.
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>svc-mgr</distinguishedName>
<childConfigInfo>
<optical.TransportService>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
284 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Composite services
<actionMask>
<bit>create</bit>
</actionMask>
<serviceId/>
<subscriberPointer/>
<rate/>
<children-Set>
<optical.ServiceSite>
<actionMask>
<bit>create</bit>
</actionMask>
<siteId/>
<sitePosition/>
<children-Set>
<optical.TerminationPoint>
<actionMask>
<bit>create</bit>
</actionMask>
<portPointer/>
</optical.TerminationPoint>
</children-Set>
</optical.ServiceSite>
</children-Set>
</optical.TransportService>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 285
Service configuration management NFM-P
Composite service configuration
1
Create a composite service.
2
Add service components (such as an Epipe and a VPLS) to the composite service.
3
Create connectors to link the service components.
19.24.2 Examples
The following example outlines what is required for an XML request to create a composite service.
One type of composite service is a VLL such as an Epipe spoke into a VPLS service.
The generic.GenericObject.configureInstance method is used to create the composite service. The
service.CompositeService class contains methods to add or create service components to the
composite service, and methods to create connectors for the service components in the composite
service. See the XML API Reference for information about these methods and the required input
parameters.
Composite service creation parameters
• method - generic.GenericObject.configureInstance
• distinguishedName - comp-svc-mgr. The FDN can be determined by looking at the Parent
Hierarchy of the class to be created in the XML API Reference
• configInfo - creates and configures the following service parameters:
− Service object - service.CompositeService
− actionMask - specifies the create operation
− <compositeSvcId> - assigns a unique composite service ID.
<generic.GenericObject.configureInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>comp-svc-mgr</distinguishedName>
<configInfo>
<service.CompositeService>
<actionMask>
<bit>create</bit>
</actionMask>
<compositeSvcId/>
</service.CompositeService>
</configInfo>
</generic.GenericObject.configureInstance>
Composite service add service parameters
• method - service.CompositeService.addServices
• instanceFullName - comp-svc-mgr:cmp-service-${*id}. The FDN can be determined by looking at
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
286 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Composite service configuration
the Parent Hierarchy of the class to be created in the XML API Reference
• alnFdns - pointers to the services to be added
− <pointer> - svc-mgr:service-${*id} - add one for each service
<service.CompositeService.addServices xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<instanceFullName>comp-svc-mgr:cmp-service-1002</instanceFullName>
<aInFdns>
<pointer>svc-mgr:service-84</pointer>
<pointer>svc-mgr:service-87</pointer>
</aInFdns>
</service.CompositeService.addServices>
Composite service connector parameters
• method - see Table 19-8, “Composite service connector methods and objects” (p. 287)
• instanceFullName - comp-svc-mgr:cmp-service-${*id}. The FDN can be determined by looking at
the Parent Hierarchy of the class to be created in the XML API Reference
• Configuration input parameter - see Table 19-8, “Composite service connector methods and
objects” (p. 287)
− Connector object - see Table 19-8, “Composite service connector methods and objects”
(p. 287)
− Other properties to be configured depend on the connector type. The sample in Figure 19-
23, “Composite service SCP connector creation request example” (p. 287) is for a SCP
connector.
<service.CompositeService.createScpConnector xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<instanceFullName>comp-svc-mgr:cmp-service-1002</instanceFullName>
<configInfoConnector>
<actionMask>
<bit>create</bit>
</actionMask>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 287
Service configuration management NFM-P
Residential subscriber configuration
<displayedName>abcdef</displayedName>
<firstSvcPointer>svc-mgr:service-serviceIdA</firstSvcPointer>
<secondSvcPointer>svc-mgr:service-serviceIdB</secondSvcPointer>
<firstSitePointer>svc-mgr:service-serviceIdA:siteIdA</firstSitePointer>
<secondSitePointer>svc-mgr:service-serviceIdB:siteIdB</secondSitePointer>
<firstScpPointer>svc-mgr:service-serviceIdA:siteIdA:interface-portAandEncapValues
</firstScpPointer>
<secondScpPointer>svc-mgr:service-serviceIdB:siteIdB:interface-portBandEncapValues
</secondScpPointer>
</configInfoConnector>
</service.CompositeService.createScpConnector>
A host requires subscriber-profile and SLA-profile associations to access the network. Profiles
define service attributes for hosts such as scheduling, accounting, security, and traffic prioritization
by application type. A profile uses existing NFM-P policy definitions and allows the customization of
policy parameters using override values.
See “Residential subscriber management” in the NSP NFM-P Classic Management User Guide for
more information about residential subscriber management, including prerequisites and workflows.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
288 3HE-20022-AAAB-TQZZA Issue 1
Service configuration management NFM-P
Residential subscriber configuration
19.25.3 Example
The following example outlines what is required for an XML request to create a subscriber
identification policy for residential subscribers.
Subscriber identification policy creation parameters
• method - generic.GenericObject.configureChildInstance
• distinguishedName - Subscriber Identification Policy. The FDN can be determined by looking at
the Parent Hierarchy of the class to be created in the XML API Reference
• childConfigInfo - creates and configures the following policy parameters:
− Policy object- subscrident.Policy
− <displayedName> - assigns a unique name
− <children-Set>- tag to enclose children objects
• Subscriber profile entry object- subscrident.SubscrProfileEntry
• <displayedName> - assigns a name
• <subscrProfilePointer>- pointer to the subscriber profile
• <subscrIdentPolicyName> - name of the subscriber identification profile
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<distinguishedName>Subscriber Identification Policy</distinguishedName>
<childConfigInfo>
<subscrident.Policy>
<actionMask>
<bit>create</bit>
</actionMask>
<displayedName/>
..
<children-Set>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 289
Service configuration management NFM-P
Residential subscriber configuration
<subscrident.SubscrProfileEntry>
<actionMask>
<bit>create</bit>
</actionMask>
<displayedName>Subscr Profile 4</displayedName>
<subscrProfilePointer>Subscriber Profile:Subscriber Profile Example
10</subscrProfilePointer>
<subscrIdentPolicyName/>
</subscrident.SubscrProfileEntry>
</children-Set>
</subscrident.Policy>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
290 3HE-20022-AAAB-TQZZA Issue 1
Script and template configuration management NFM-P
WARNING
Equipment Damage
CLI and XML API scripts that are not correctly applied or created can cause serious damage to the
network.
Nokia recommends that system administrators clearly define user responsibilities for script usage,
and ensure that scripts are verified and validated before they are executed on devices in a live
network.
See the appropriate device hardware documentation for the applicable CLI commands, structure,
and usage.
Script management is typically delivered by the NFM-P GUI which provides the framework to
develop scripts to create, delete, configure, or view objects in the NFM-P network. An OSS client
can use the NFM-P script manager for the following:
• invoking XML scripts outside of the NFM-P GUI framework
• XML script and OSS software troubleshooting
The XML API uses the script package to allow for script management. There are two types of
scripts:
• CLI script—used to securely create and manage scripts executed against managed devices,
including GNEs
• XmlAPI script—is the same type of script used for OSS but are typically managed within NFM-P,
allowing them to be used from the NFM-P GUI, and perform complex actions on not just network
elements, but NFM-P itself, if required.
Note: The generic methods are not used to configure scripts, instead use the various
configuration methods that are included for the various classes in the script package. See the
XML API Reference for more information.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 291
Script and template configuration management NFM-P
XML API template configuration management
You can synchronously or asynchronously execute the scripts. For synchronous execution, a
response attribute identifies the success or failure of script execution. For asynchronous execution,
the OSS client can either wait for a JMS notification or poll for status on the execution of the script.
The script results are stored in a file for the OSS client to collect. When the OSS client retrieves the
results using the SOAP interface, the result is stripped of non-printable characters embedded in the
response.
20.2.2 Stages
1
Create script object using the script.Scriptmanager class.
a. Create CLI script object.
b. Create XML API script object.
2
Create script version.
a. For CLI script version, include the CLI commands for the target NEs.
b. For XML API script version, include velocity content and configuration details.
3
Create script target on instance
a. For CLI, create a script target that identifies the NE and specific NE parameter targets.
b. For XML API, create a script instance for an XML API script that identifies the
targetObjectFullName of the object and parameters to be configured.
4
Preview scripts.
5
Start and stop the execution of scripts.
6
Retrieve script results of executions using FTP SFTP, or SOAP/XML.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
292 3HE-20022-AAAB-TQZZA Issue 1
Script and template configuration management NFM-P
XML API template configuration management
Templates use the NFM-P GUI framework for configuring services, tunnels and equipment as an
alternative to OSS requests, even though the same XML API commands are used.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 293
Script and template configuration management NFM-P
XML API template configuration management
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
294 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
21.2 References
21.2.1 Overview
The following references are of interest to an OSS developer working in the traffic engineering
domain:
• NSP NFM-P Control Plane Assurance Manager User Guide— documents the description,
workflow, and configuration information about CPAM topology management, checkpoint
management, path monitoring, route management, and fault management
• NSP NFM-P Classic Management User Guide— documents the description, workflow, and
configuration information about routing and service management and integration with the CPAM
• XML API Reference—documents specific classes, attributes, and methods to configure CPAM
objects using the XML API. See 21.3 “Key packages and classes” (p. 296) for the packages and
classes that are relevant to a TE OSS developer.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 295
CPAM OSS interface NFM-P
Key packages and classes
• Chapter 8, “XML API Reference” —documents information about how to navigate the XML API
Reference
• Chapter 15, “Configuration management overview” —documents configuration methods, general
creation, modification, and deletion of NFM-P-managed objects, and describes deployments
• XML API SDK Sample Code Navigator—documents samples of CPAM objects
CAUTION
Service Disruption
The code samples in the following sections show the structures for object creation or modification,
and do not include all of the properties required to create working CPAM objects.
See the XML API SDK Sample Code Navigator for working samples.
Package Description
topology For routing topology object configuration and management, such as:
• administrative domains
• autonomous systems
• 7701 CPAA
• checkpoints
• alarm thresholds
rca For CPAM policy-driven IP/MPLS configuration audits for OSPF and IS-IS routing
protocols
simulator For defining the infrastructure used in CPAM network simulation and impact
analysis
topologysim For simulated routing topology object configuration and management, such as:
• monitored paths
• routers
It defines the topology simulation model used for IGP and MPLS impact analysis.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
296 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
CPAM commissioning configuration
1
Create the IGP administrative domains, or BGP autonomous systems (AS), or both, as
required.
2
Assign role(s) to the 7701 CPAAs and associate every 7701 CPAA to an IGP administrative
domain, or BGP AS, or both.
3
Enable the 7701 CPAA.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 297
CPAM OSS interface NFM-P
CPAM commissioning configuration
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>tpgy-mgr</distinguishedName>
<childConfigInfo>
<topology.AutonomousSystem>
<actionMask>
<bit>create</bit>
</actionMask>
<asNumber>10</asNumber>
<displayedName>IGPadminDomain1</displayedName>
<menuControl>
<bit>ospf</bit>
<bit>isis</bit>
<bit>igp</bit>
</menuControl>
</topology.AutonomousSystem>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
BGP autonomous system creation parameters
• method—generic.GenericObject.configureChildInstance
• distinguishedName—tpgy-mgr. The FDN can be determined by looking at the Parent Hierarchy
of the class to be created in the XML API Reference. In this case, it is the
topology.TopologyManager class.
• childConfigInfo—creates and configures the following parameters:
− BGP AS object - topology.BgpAutonomousSystem
− actionMask - specifies the create operation
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
298 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
CPAM commissioning configuration
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>tpgy-mgr</distinguishedName>
<childConfigInfo>
<topology.BgpAutonomousSystem>
<actionMask>
<bit>create</bit>
</actionMask>
<asNumber>35</asNumber>
<asType>as</asType>
<displayedName>BGPAS1</displayedName>
<igpAdminDomain>tpgy-mgr:name-IGPadminDomain1-AS-10</igpAdminDomain>
</topology.BgpAutonomousSystem>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>tpgy-mgr</distinguishedName>
<childConfigInfo>
<topology.BgpAutonomousSystem>
<actionMask>
<bit>create</bit>
</actionMask>
<asNumber>50</asNumber>
<asType>confederation</asType>
<displayedName>BGPAS2</displayedName>
</topology.BgpAutonomousSystem>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 299
CPAM OSS interface NFM-P
CPAM commissioning configuration
• method—generic.GenericObject.configureChildInstance
• distinguishedName—network:${systemAddress}:cpaa. The FDN can be determined by looking
at the Parent Hierarchy of the class to be created in the XML API Reference. In this case, it is the
topology.Cpaa class.
• configInfo—creates and configures the following parameters:
− 7701 CPAA object - topology.Cpaa
− actionMask - specifies the modify operation
− <role> - sets the role of the 7701 CPAA
− <asPointer> - tpgy-mgr:name-${displayedName}-AS${asNumber} - pointer to the
administrative domain
<generic.GenericObject.configureInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>network:198.51.100.70:cpaa</distinguishedName>
<configInfo>
<topology.Cpaa>
<actionMask>
<bit>modify</bit>
</actionMask>
<role>
<bit>igp</bit>
</role>
<asPointer>tpgy-mgr:name-IGPadminDomain1-AS-10</asPointer>
</topology.Cpaa>
</configInfo>
</generic.GenericObject.configureInstance>
Set event types, keep event history, and enable 7701 CPAA parameters
• method—generic.GenericObject.configureInstance
• distinguishedName—network:${systemAddress}:cpaa. The FDN can be determined by looking
at the Parent Hierarchy of the class to be created in the XML API Reference. In this case, it is the
topology.Cpaa class.
• configInfo—creates and configures the following parameters:
− 7701 CPAA object - topology.Cpaa
− actionMask - specifies the modify operation
− <protocolEventTypes> - sets the events that the 7701 CPAA will notify the CPAM
− <protocolRecord> - sets the protocol events to be recorded
− <administrativeState> - enables or disables the communication channels from the CPAM to
the 7701 CPAA
The following figure shows an example of a request to set event types, keep an event history, and
enable the 7701 CPAA.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
300 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Topology and checkpoint management
<generic.GenericObject.configureInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>network:198.51.100.70:cpaa</distinguishedName>
<configInfo>
<topology.Cpaa>
<actionMask>
<bit>modify</bit>
</actionMask>
<protocolEventTypes>
<bit>ospf</bit>
<bit>isis</bit>
</protocolEventTypes>
<protocolRecord>
<bit>ospf</bit>
<bit>isis</bit>
<bit>ospfTe</bit>
</protocolRecord>
<administrativeState>up</administrativeState>
</topology.Cpaa>
</configInfo>
</generic.GenericObject.configureInstance>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 301
CPAM OSS interface NFM-P
Topology and checkpoint management
model, including baselines. See Chapter 4, “Event monitoring using JMS” for information about how
to connect and subscribe to JMS.
The CPAM topology package is used to manage routing topology objects and routing alarms. The
CPAM supports IS-IS, OSPF, OSPFv3, and BGP.
OSPF, OSPFv3, and IS-IS topologies include information about routers, subnet objects, links,
OSPF/OSPFv3 areas, IS-IS levels, and LSDB updates. The IGP topology includes information
about routers, protocols for both OSPF, OSPFv3, and IS-IS, and information about IGP links. The
following table shows the routing topology objects for IS-IS, OSPF, OSPFv3, and IGP.
Area topology.Area
Router topology.Router
IS-IS
Area topology.Area
Router topology.Router
IGP
Link topology.IgpLink
Router topology.Router
The find or findToFile method, along with the appropriate class specified in Table 21-2, “OSPF, IS-
IS, and IGP routing topology objects” (p. 302) , and a filter, can be used to retrieve topology
information.
A real-time topology object shares the same XML API class as a checkpointed data object;
therefore, in the find or findToFile method filter, you need the following to distinguish real-time data
from checkpointed data.
For real-time data:
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
302 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Topology and checkpoint management
• fullClassName—the class where data is to be retrieved from. For Figure 21-6, “find request
example, IGP links” (p. 302) , the class is the topology.IgpLink class.
• filter—set a filter to only return IGP link objects that satisfy the filter criteria
− The filter criteria is to look for real-time data (not checkpointed data), with administrative
domain name of igp0, and router ID of 198.51.100.57.
<find xmlns="xmlapi_1.0">
<fullClassName>topology.IgpLink</fullClassName>
<filter>
<and>
<equal name="isCheckpointObject" value="false"/>
<equal name="asName" value="igp0"/>
<equal name="routerIdStr" value="198.51.100.57"/>
</and>
</filter>
</find>
See Chapter 13, “Inventory management” for more information about using the find or findToFile
method and filters.
The MPLS topology includes information about IGP links, MPLS, RSVP, and LDP interfaces for
routers.
The BGP topology includes BGP route information from a 7701 CPAA that monitors a BGP AS and
maintains a BGP RIB. The 7701 CPAA supports the following BGP configurations:
• BGP AS
• BGP Confederation AS
• BGP Sub-AS
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 303
CPAM OSS interface NFM-P
Topology and checkpoint management
Method Description
topology.TopologyManager.nextHopExt Calculates the next hop from all routers in the source
set to the specified destination FEC
<topology.TopologyManager.shortestPathFirstGraphExt xmlns="xmlapi_1.0">
<igpAdminDomain>tpgy-mgr:name-AdminDomain1-AS-1</igpAdminDomain>
<protocol>ospf</protocol>
<sourceType>ipv4</sourceType>
<source>198.51.100.71</source>
<sourceLen>32</sourceLen>
<destType>ipv4</destType>
<dest>198.51.100.72</dest>
<destLen>32</destLen>
</topology.TopologyManager.shortestPathFirstGraphExt>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
304 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Topology and checkpoint management
See the XML API Reference for descriptions of the input parameters. See the XML API SDK
Sample Code Navigator under the Configuration/CPAM directory for other sample topology
operation scripts and the results after executing these types of scripts.
1
Create topology checkpoints for an administrative domain.
2
Retrieve checkpointed data.
3
Compare checkpointed data.
4
Schedule automatic checkpoint creations.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 305
CPAM OSS interface NFM-P
Topology and checkpoint management
OSPF
Area topology.Area
Router topology.Router
IS-IS
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
306 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Topology and checkpoint management
Area topology.Area
Router topology.Router
Non-routed
Link topology.NonRoutedLink
Subnet topology.NonRoutedSubnet
<topology.Checkpoint.getCpTopology xmlns="xmlapi_1.0">
<checkpointId>1</checkpointId>
<asNumber>1</asNumber>
<asName>AdminDomain-1</asName>
<protocol>ospf</protocol>
<fullClassName>topology.Router</fullClassName>
<resultFilter/>
</topology.Checkpoint.getCpTopology>
See the XML API Reference for descriptions of the input parameters.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 307
CPAM OSS interface NFM-P
Topology and checkpoint management
A checkpointed object shares the same XML API class as a real-time topology object; therefore, in
the find or findToFile method filter, you need the following to distinguish checkpointed data from
real-time data.
For real-time data:
<find xmlns="xmlapi_1.0">
<fullClassName>topology.OspfLink</fullClassName>
<filter>
<and>
<equal name="isCheckpointObject" value="true"/>
<equal name="asName" value="igp0"/>
<equal name="routerIdStr" value="198.51.100.57"/>
</and>
</filter>
</find>
See Chapter 13, “Inventory management” for more information about using the find and findToFile
method and filters.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
308 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Topology and checkpoint management
<generic.GenericObject.triggerIncrementalRequest xmlns="xmlapi_1.0">
<aInIncrementalContext>
<generic.IncrementalContext>
<jmsClientId>JMS_client@n</jmsClientId>
<handlerName>GEN_COMPARE_OBJECTS</handlerName>
<appDefinedContext>
<generic.ComparisonParam>
<comparisonFilter>
<generic.ComparisonFilter>
<classesToProcess/>
<includeOnlyDiffs>true</includeOnlyDiffs>
</generic.ComparisonFilter>
</comparisonFilter>
<base>tpgy-mgr:name-igp0-AS-0:OspfCheckpoint-1</base>
<compareTo>tpgy-mgr:name-igp0-AS-0:OspfCheckpoint-3</compareTo>
</generic.ComparisonParam>
</appDefinedContext>
</generic.IncrementalContext>
</aInIncrementalContext>
</generic.GenericObject.triggerIncrementalRequest>
See the XML API Reference for descriptions of the input parameters.
The result of the comparison is retrieved through the JMS interface. An OSS needs to subscribe to
JMS to receive the result. See Chapter 4, “Event monitoring using JMS” for information about how
to connect and subscribe to JMS.
For a response, look for the JMS client ID that you specified in the request in Figure 21-10,
“Checkpoint comparison request example” (p. 309) in the ALA_clientId attribute in the JMS
message header and also filter for the IncrementalRequestEvent in the JMS message header.
<header xmlns="xmlapi_1.0">
<eventName>IncrementalRequestEvent</eventName>
<ALA_category>GENERAL</ALA_category>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 309
CPAM OSS interface NFM-P
Route management
<ALA_OLC>0</ALA_OLC>
<ALA_isVessel>false</ALA_isVessel>
<ALA_allomorphic/>
<MTOSI_osTime>1300820624174</MTOSI_osTime>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<MTOSI_objectName/>
<ALA_clientId>JMS_client@n</ALA_clientId>
<MTOSI_objectType>IncrementalRequestEvent</MTOSI_objectType>
<ALA_eventName>IncrementalRequestEvent</ALA_eventName>
</header>
See the XML API SDK Sample Code Navigator under the Configuration/CPAM directory for a
sample of the complete JMS event in response to the request in Figure 21-10, “Checkpoint
comparison request example” (p. 309) .
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
310 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Route management
1
Create a managed route client.
2
Create a request to add or register managed routes.
3
Monitor managed route changes via the JMS interface.
4
Retrieve managed routes information.
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>tpgy-mgr</distinguishedName>
<childConfigInfo>
<topology.RouteManager>
<actionMask>
<bit>create</bit>
</actionMask>
<applicationName>TestRoutes</applicationName>
</topology.RouteManager>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 311
CPAM OSS interface NFM-P
Route management
The following examples show the minimum XML parameter tags required to develop an XML
request to register a managed route.
Managed route registration parameters
• method—topology.RouteManager.registerRoutes
• <instanceFullName>—tpgy-mgr:application-${applicationName}, which is the FDN of the
managed route client
• <routeKeySet>—the set of route keys to register
− <topology.RouteKey> - creates and configures the following route key parameters:
• sourceType
• source
• sourceLen
• destType
• dest
• destLen
<topology.RouteManager.registerRoutes xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<instanceFullName>tpgy-mgr:application-TestRoutes</instanceFullName>
<routeKeySet>
<topology.RouteKey>
<sourceType>ipv4</sourceType>
<source>198.51.100.45</source>
<sourceLen>32</sourceLen>
<destType>ipv4</destType>
<dest>198.51.100.47</dest>
<destLen>32</destLen>
</topology.RouteKey>
</routeKeySet>
</topology.RouteManager.registerRoutes>
The route can be deregistered by using the topology.RouteManager.deregisterRoutes method with
the same parameters as the topology.RouteManager.registerRoutes method. See the XML API
Reference for descriptions of the input parameters. See the XML API SDK Sample Code Navigator
under the Configuration/CPAM directory for a sample of this script.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
312 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Route management
<topology.RouteManager.retrieveRoutesResponse xmlns="xmlapi_1.0">
<result>
<item>
<key>
<topology.RouteKey>
<sourceType>ipv4</sourceType>
<source>198.51.100.45</source>
<sourceLen>32</sourceLen>
<destType>ipv4</destType>
<dest>198.51.100.47</dest>
<destLen>32</destLen>
</topology.RouteKey>
</key>
<value>
<topology.RouteResult>
<errorCode>noError</errorCode>
<errorMessage>No Error</errorMessage>
<type>standard</type>
<vertices>
<topology.RouterVertex>
<fdn>tpgy-mgr:name-igp1-AS-0:router-595137581</fdn>
<egressEdges>
<topology.LinkEdge>
<destFdn>tpgy-mgr:name-igp1-AS-0:router-595137583</
destFdn>
<fdn>tpgy-mgr:name-igp1-AS-0:link-start-tpgy-mgr%name
-igp1-AS-0%router-595137581-ip-10.45.47.1-if-0-pointToPoint-to-tpgy-mgr%name-igp1-
AS-0%router-595137583</fdn>
</topology.LinkEdge>
</egressEdges>
</topology.RouterVertex>
<topology.RouterVertex>
<fdn>tpgy-mgr:name-igp1-AS-0:router-595137583</fdn>
<egressEdges/>
</topology.RouterVertex>
</vertices>
<detailedErrors/>
</topology.RouteResult>
</value>
</item>
</result>
</topology.RouteManager.retrieveRoutesResponse>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 313
CPAM OSS interface NFM-P
Path and prefix monitoring
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
314 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Path and prefix monitoring
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 315
CPAM OSS interface NFM-P
Path and prefix monitoring
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>monitored-path-mgr</distinguishedName>
<childConfigInfo>
<monpath.MonitoredIpPath>
<actionMask>
<bit>create</bit>
</actionMask>
<source>198.51.100.36</source>
<dest>198.51.100.35</dest>
<administrativeState>up</administrativeState>
</monpath.MonitoredIpPath>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
LSP path monitors can also be created using the
monpath.MonitoredPathManager.createMonitoredPath method. This method can be used to create
multiple monitored paths from the passed-in LSPs or service tunnels.
LSP path monitor creation using createMonitoredPath method
• method—monpath.MonitoredPathManager.createMonitoredPath
• <sourceObjectNameSet>—the set of LSP or service tunnel object pointers to create monitored
LSP paths from.
− <pointer> - FDN of a dynamic LSP or service tunnel - add one for each LSP or service tunnel
• <isBidirectional>—whether to create bidirectional monitored paths - true or false
• <pathType>—sets the path types (active, primary, secondary). Set all applicable bits.
− <bit> - monpath.PathTypeBitMask bitmask value
<monpath.MonitoredPathManager.createMonitoredPath>
<deployer>immediate</deployer>
<sourceObjectNameSet>
<pointer>lsp:from-198.51.100.35-id-1</pointer>
<pointer>lsp:from-198.51.100.32-id-4</pointer>
</sourceObjectNameSet>
<isBidirectional>false</isBidirectional>
<pathType>
<bit>active</bit>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
316 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Path and prefix monitoring
</pathType>
</monpath.MonitoredPathManager.createMonitoredPath>
<monpath.MonitoredIpPath.captureCurrentPath xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<instanceFullName>monitored-path-mgr:ip-path-src-ipv4-198.51.100.36-32-dest-ipv4-
198.51.100.35-32</instanceFullName>
</monpath.MonitoredIpPath.captureCurrentPath>
See the XML API Reference for descriptions of the input parameters.
<find xmlns="xmlapi_1.0">
<fullClassName>monpath.IpPathRecord</fullClassName>
<filter>
<and>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 317
CPAM OSS interface NFM-P
Path and prefix monitoring
<generic.GenericObject.configureChildInstance>
<deployer>immediate</deployer>
<synchronousDeploy>true</synchronousDeploy>
<deployRetries>1</deployRetries>
<clearOnDeployFailure>true</clearOnDeployFailure>
<distinguishedName>tpgy-mgr</distinguishedName>
<childConfigInfo>
<topology.BgpMonitoredPrefix>
<actionMask>
<bit>create</bit>
</actionMask>
<bgpASPointer>tpgy-mgr:AS-50:AS-65050</bgpASPointer>
<prefRd></prefRd>
<displayedName></displayedName>
<description></description>
<alarmSuppress>
<bit>asPath</bit>
<bit>redLoss</bit>
<bit>unreachable</bit>
</alarmSuppress>
<prefAddr>2.0.0.0</prefAddr>
<asPathLenThreshold>1</asPathLenThreshold>
<prefAddrType>ipv4</prefAddrType>
<prefLen>32</prefLen>
<alarmThreOverride>
<bit>asPath</bit>
<bit>redLoss</bit>
</alarmThreOverride>
<redLossThreshold>1</redLossThreshold>
<administrativeState>up</administrativeState>
<prefType>ipv4</prefType>
<rdType>none</rdType>
</topology.BgpMonitoredPrefix>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
318 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Path and prefix monitoring
Figure 21-20 Manually capture a monitored prefix status record request example
<topology.BgpMonitoredPrefix.captureCurrentPrefix xmlns="xmlapi_1.0">
<deployer>immediate</deployer><!--Type:deployer-->
<synchronousDeploy>true</synchronousDeploy><!--Type:synchronousDeploy-->
<clearOnDeployFailure>true</clearOnDeployFailure><!--Type:clearOnDeployFailure-->
<deployRetries>1</deployRetries><!--Type:deployRetries-->
<deployRetryInterval>60</deployRetryInterval><!--Type:deployRetryInterval-->
<taskDescription></taskDescription><!--Type:taskDescription-->
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 319
CPAM OSS interface NFM-P
Fault management
<instanceFullName>tpgy-mgr:AS-50:AS-65050:type-ipv4-rdtype-none-rd--addr-2.0.0.
0-len-32</instanceFullName><!--Type:instanceFullName-->
</topology.BgpMonitoredPrefix.captureCurrentPrefix>
• instanceFullName - monitored Prefix FDN
1
Create an RCA audit policy. Configure the attributes that are verified for each RCA audit policy
entry.
2
Run the RCA audit policy on a specific object.
3
Identify the problems and correct the configuration.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
320 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Fault management
When creating an RCA audit policy without specifying any audit policy entry, by default, all entries
are created and enabled for an RCA audit. If you want to only audit specific attributes, you would
need to create audit policy entries for those attributes.
The following example shows the minimum XML parameter tags required to develop an XML
request to create an OSPF RCA audit policy with an audit policy entry to audit only the MTU
attribute of OSPF interfaces.
The generic.GenericObject.configureChildInstance method is used to create an RCA audit policy.
The request response returns the <objectFullName> attribute to identify the new RCA audit policy.
RCA audit policy creation parameters
• method—generic.GenericObject.configureChildInstance
• distinguishedName—rca-mgr. The FDN can be determined by looking at the Parent Hierarchy of
the class to be created in the XML API Reference. In this case, it is the rca.RcaManager class.
• childConfigInfo—creates and configures the following parameters:
− RCA audit policy object- rca.AuditPolicy
− actionMask - specifies the create operation
− <id> - (optional) assigns a unique numeric ID. If not specified, the NFM-P automatically
assigns the ID.
− <policyName> - ospf for OSPF type RCA audit policy or isis for IS-IS type RCA audit policy
− <children-Set>—tag to enclose children objects
• RCA audit policy entry object - rca.AuditPolicyEntry
• actionMask - specifies the modify operation
• <objectFullName> - rca-mgr:ID-${*id}:enId-${*entryId} - FDN of the RCA audit policy
entry object
• <mismatchAttributes>—set of attributes to configure to enable or disable audit for and
the severity of the related problem.
• Mismatch attribute set - rca.MismatchAttribute
• attributeName - OSPF interface attributes. See ospf.Interface class in the XML
API Reference.
• severity - sets severity, such as info, minor, major, critical, etc. See the XML
API Reference for values.
• enabled - true or false
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>rca-mgr</distinguishedName>
<childConfigInfo>
<rca.AuditPolicy>
<actionMask>
<bit>create</bit>
</actionMask>
<id>100</id>
<policyName>ospf</policyName>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 321
CPAM OSS interface NFM-P
Fault management
<children-Set>
<rca.AuditPolicyEntry>
<actionMask>
<bit>modify</bit>
</actionMask>
<objectFullName>rca-mgr:ID-100:enId-1</objectFullName>
<mismatchAttributes>
<rca.MismatchAttribute>
<attributeName>mtu</attributeName>
<severity>critical</severity>
<enabled>true</enabled>
</rca.MismatchAttribute>
</mismatchAttributes>
</rca.AuditPolicyEntry>
</children-Set>
</rca.AuditPolicy>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
<rca.RcaManager.checkConfig xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<fdn>tpgy-mgr:name-AdminDomain1-AS-1:protocol-ospf-area-0.0.0.0</fdn>
<fdnPolicy>rca-mgr:ID-100</fdnPolicy>
<aInContext>
<rca.Context/>
</aInContext>
<resultFilter/>
</rca.RcaManager.checkConfig>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
322 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Fault management
If there are problems with the configuration, the response is similar to the example in the following
figure.
<rca.RcaManager.checkConfigResponse xmlns="xmlapi_1.0">
<problemList>
<rca.Problem>
<lastTimeChanged>1344305122231</lastTimeChanged>
<id>notFound</id>
<causedByObjectFullNames>
<pointer>network:198.51.100.32:router-1:ospf-v2:areaSite-0.0.0.0:interface-
5</pointer>
</causedByObjectFullNames>
<isFixable>false</isFixable>
<severity>indeterminate</severity>
<probableCause>unknown</probableCause>
<description>Far-End Not found</description>
<ignoreFix>false</ignoreFix>
<applicationEnum>unspecified</applicationEnum>
<solution/>
<policyFdn>rca-mgr:ID-100</policyFdn>
<deploymentState>0</deploymentState>
<objectFullName>network:198.51.100.32:router-1:ospf-v2:areaSite-0.0.0.0:
interface-5:cause-unknown-notFound</objectFullName>
<name>cause-unknown-notFound</name>
<selfAlarmed>false</selfAlarmed>
<children-Set/>
</rca.Problem>
<rca.Problem>
<lastTimeChanged>1344305122232</lastTimeChanged>
<id>aggregated</id>
<causedByObjectFullNames>
<pointer>ospf:area-0.0.0.0-version-2</pointer>
</causedByObjectFullNames>
<isFixable>false</isFixable>
<severity>indeterminate</severity>
<probableCause>aggregatedCause</probableCause>
<description>Aggregated Cause</description>
<ignoreFix>false</ignoreFix>
<applicationEnum>unspecified</applicationEnum>
<solution/>
<policyFdn>rca-mgr:ID-100</policyFdn>
<deploymentState>0</deploymentState>
<objectFullName>ospf:area-0.0.0.0-version-2:cause-aggregatedCause-aggregated
</objectFullName>
<name>cause-aggregatedCause-aggregated</name>
<selfAlarmed>false</selfAlarmed>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 323
CPAM OSS interface NFM-P
Fault management
<children-Set/>
</rca.Problem>
</problemList>
</rca.RcaManager.checkConfigResponse>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
324 3HE-20022-AAAB-TQZZA Issue 1
CPAM OSS interface NFM-P
Fault management
The following are the mandatory XML parameter tags required to develop an XML request to create
and set a BGP alarm threshold.
The generic.GenericObject.configureChildInstance method is used to create a BGP route count
alarm threshold. The request response returns the <objectFullName> attribute to identify an alarm
threshold.
Alarm threshold creation parameters
• method—generic.GenericObject.configureChildInstance
• distinguishedName—tpgy-rtr-alarm-mgr. The FDN can be determined by looking at the Parent
Hierarchy of the class to be created in the XML API Reference. In this case, it is the
topology.RoutingAlarmManager class.
• childConfigInfo—creates and configures the following parameters:
− BGP route count alarm threshold object - topology.BgpRouteCountAlarmThreshold
− actionMask - specifies the create operation
− <cpaaPointer> - network:${systemAddress}:cpaa - pointer to the 7701 CPAA
− <alarmName> - sets the alarm name for this threshold. In Figure 21-24, “BGP route count
alarm threshold creation request example” (p. 325) , the alamr name is the
BgpRouteCountThresholdReached alarm. See the XML API Reference under the
fm.alarmName type for a complete list of alarm names. Search for package=topology for
CPAM alarms.
− <threshold> - sets the threshold
− <administrativeState> - enables or disables monitoring of alarm threshold
Figure 21-24 BGP route count alarm threshold creation request example
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0">
<deployer>immediate</deployer>
<distinguishedName>tpgy-rtr-alarm-mgr</distinguishedName>
<childConfigInfo>
<topology.BgpRouteCountAlarmThreshold>
<actionMask>
<bit>create</bit>
</actionMask>
<cpaaPointer>network:198.51.100.37:cpaa</cpaaPointer>
<alarmName>topology.BgpRouteCountThresholdReached</alarmName>
<threshold>1000</threshold>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 325
CPAM OSS interface NFM-P
Fault management
<administrativeState>up</administrativeState>
</topology.BgpRouteCountAlarmThreshold>
</childConfigInfo>
</generic.GenericObject.configureChildInstance>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
326 3HE-20022-AAAB-TQZZA Issue 1
OSS developer best practices NFM-P
A.1 Recommendations
A.1.1 Communicating with the NFM-P
Nokia recommends that an OSS use the JMS event stream for ongoing monitoring of alarms and
network objects, and the XML API only for on-demand information retrieval when synchronization is
required. See Chapter 4, “Event monitoring using JMS” and Chapter 5, “XML requests” for more
information about JMS and HTTP communication with the NFM-P.
1
Establish a JMS connection and subscription with the NFM-P; listen to JMS events, and buffer
events locally. Nokia recommends that the OSS maintain two local buffer queues:
• One queue for critical system-related events that the OSS can use to monitor the state of the
JMS connection. Examples of critical system-related events includes the KeepAliveEvent,
SystemInfoEvent, JmsMissedEvent, and TerminateClientSessionEvent.
• One queue for inventory or alarm events in which the OSS is interested.
Note: The OSS must not begin processing the events from the second buffer until Step 3
is successfully completed.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 327
OSS developer best practices NFM-P
HTTP communication
2
Initiate retrieval of inventory, the latest alarm list, or statistics and OAM test results using
HTTP(S), or initiate retrieval of statistics and OAM log files via (S)FTP if any of the following
occurs:
• The IP address of the Primary NFM-P Server in the SystemInfoEvent is different from that of
the last known Primary NFM-P Server.
• The jmsStartTime or sysStartTime in the SystemInfoEvent are different from the last-recorded
jmsStartTime and sysStartTime.
• A JmsMissedEvent notification is received.
Note: While inventory is being retrieved, the OSS must continue to monitor the first buffer
queue, as described in Step 1 . If the OSS detects connectivity loss with the NFM-P, or a
loss of JMS events, the OSS should terminate the current inventory retrieval process, if
possible. The internal buffer queues should be cleared. Perform exit procedures to
gracefully unsubscribe and disconnect from the XML API. Then repeat the start-up
procedures from Step 1 .
3
After the inventory retrieval completes successfully, start listening to the events from the second
buffer queue described in Step 1 . Continue to monitor the first buffer queue.
4
If the OSS has to restart, the OSS should perform exit procedures to gracefully unsubscribe
and disconnect from the XML API, then repeat the start-up procedures from Step 1 .
The OSS may need to restart if the OSS detects one of the following:
• Messages have been lost (JmsMissedEvents).
• The connection to the NFM-P fails (JMSonException).
• There is silence on the JMS channel for an unreasonable time period, which may indicate a
loss of communication with the NFM-P.
See A.4.3 “Monitoring a JMS connection” (p. 332) in A.4 “JMS communication” (p. 332) for
more information about JMS connection monitoring.
END OF STEPS
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
328 3HE-20022-AAAB-TQZZA Issue 1
OSS developer best practices NFM-P
HTTP communication
The OSS requests of a specific NFM-P user have a priority that is assigned during user or user
group configuration. The prioritization may cause some lower-priority requests to time out in a high-
volume environment. Nokia recommends that you design each OSS application to include a
configurable request duration timeout in order to avoid request timeouts.
Nokia recommends that only one HTTP connection is used for XML SOAP requests from each
OSS. If more than one HTTP connection is required, the number of concurrent HTTP connections
must be configurable in the OSS application so that system integrators can manage the HTTP
connections across multiple applications.
HTTP security
The NFM-P supports both secure and non-secure communication over HTTP. Nokia recommends
that an OSS application support both protocols.
Inventory commands
The NFM-P can concurrently execute a maximum of five concurrent find and findToFile OSS
requests. An OSS can potentially consume all available HTTP connections if the number of
simultaneous inventory requests is not configurable. When an OSS must send simultaneous
inventory requests, Nokia recommends that the number be configurable at run time.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 329
OSS developer best practices NFM-P
HTTP communication
Response processing
Depending on the network and the XML request, the size of the XML response may be quite large.
Nokia recommends that OSS software process the XML response as it is streamed. This avoids the
need to buffer the entire XML response and the OSS software is able to process the response
without having to wait for the entire response to be generated.
Connection refused The NFM-P is not fully initialized; try again later.
HTTP code 405 The standby main server has received the request; redirect the request to the
primary main server.
HTTP code 905 The maximum number of concurrent OSS sessions for one user is reached; try
again later.
HTTP code 503 The HTTP connection limit is reached; try again later.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
330 3HE-20022-AAAB-TQZZA Issue 1
OSS developer best practices NFM-P
HTTP communication
Filters
When only a subset of a particular object class is required, filters can be used to limit the objects
being returned. Filters should only specify attributes that are part of the object being requested.
Filters that depend on attributes of children classes should be avoided.
Result filters
Result filters should be used to limit the attributes that are returned. Only those attributes that are of
interest to the OSS should be included in the filter. To uniquely identify objects at a later time, the
fully distinguished name (<objectFullName>), which is guaranteed unique, should be used.
Note: Nokia does not recommend making find or findToFile requests on a large scale network,
compared to a smaller scope, because requests could take longer for larger data sets.
Frequent large find or findToFile operations require more system resource so these requests
may need to be timed for appropriate daily windows. If an application needs updates more
frequently, event notification can be used by applications without extracting full inventory.
find
• Easy to send requests and parse results • Subject to failure due to network conditions
using HTTP (latency, dropped packets)
• Results can be parsed as they become
available
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 331
OSS developer best practices NFM-P
JMS communication
findToFile • Can resume file transfer after network • Requires waiting for entire response before
interruptions results can be parsed
• Does not require HTTP connection to remain
open (requires asynchronous requests used
in conjunction with JMS notifications)
Nokia recommends that an OSS should use only one JMS connection per JMS topic. When an
OSS client needs to receive events from multiple JMS topics, Nokia recommends subscribing to the
5620-SAM-topic-xml-filtered topic, which supports advanced message filtering and allows an OSS
to receive any required events. See 4.6 “JMS message filtering” (p. 37) for information about
advanced message filtering.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
332 3HE-20022-AAAB-TQZZA Issue 1
OSS developer best practices NFM-P
Statistics data retrieval with registerLogToFile and find/findToFile
• AUTO_ACKNOWLEDGE
• DUPS_OK_ACKNOWLEDGE
Nokia recommends that OSS clients use DUPS_OK_ACKNOWLEDGE mode in a network
environment with high latency to improve JMS message throughput. OSS clients using this mode
must be able to handle the potential of duplicate JMS messages. See 4.8 “Connection monitoring
and error recovery” (p. 57) for more information.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 333
OSS developer best practices NFM-P
To configure the registerLogToFile or registerSasLogToFile client inactivity
check
increase the timeout so that statistics files continue to be generated during the outage associated
with the upgrade. See 14.8 “Statistics retrieval using registerLogToFile” (p. 182) for configuration
information.
A JMS subscription is optional when using the registerLogToFile method. To avoid registerLogToFile
client deregistration because of JMS client inactivity, you can disable the JMS client inactivity check.
In such a scenario, the registering application is responsible for ensuring that JMS clients are
deregistered as required in order to allow the NFM-P to reclaim resources. See A.6 “To configure
the registerLogToFile or registerSasLogToFile client inactivity check” (p. 334) for configuration
information.
Note: The find and findToFile methods are not recommended as a means to recover from
prolonged outages.
The find and findToFile methods can be used to retrieve specific statistics on demand, for example,
during troubleshooting when statistics matching a set of criteria from a certain time are required. It
is recommended that OSS clients avoid invoking find/findToFile frequently without filters or result
filters.
The find and findToFile methods are subject to performance limitations in NFM-P deployments that
include an NSP auxiliary database. Specifically, if the results contain data from children classes,
responses can take up to 20 times longer than in a similarly sized NFM-P environment that does
not include an auxiliary database.
Delays may be minimized in the following ways:
• Use the <children/> resultFilter expression to explicitly exclude child class data, which is often
not the target of interest.
• Create request filters that reduce the overall number of objects returned. For Statistics and OAM
test results, use timeCaptured to limit the amount of logRecords for retrieval. Multiple
timestamps are provided by statistic log records. The NFM-P optimizes the filtering based on
timeCaptured, so timeCaptured should be used for find and findToFile queries filtering on time.
• Create requests that target the child class directly, where data may be retrieved without explicit
association to the parent object.
See 6.8 “Statistics filtering” (p. 84) for result filter and request filter information.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
334 3HE-20022-AAAB-TQZZA Issue 1
OSS developer best practices NFM-P
To configure the registerLogToFile or registerSasLogToFile client inactivity
check
CAUTION
Service Disruption
Modifying the server configuration can have serious consequences including service disruption.
Contact technical support before you attempt to modify the server configuration.
Note: You must perform the procedure on each main server in the NFM-P system.
A.6.2 Steps
1
Log in to the main server station as the nsp user.
2
Navigate to the /opt/nsp/nfmp/server/nms/config directory.
3
Create a backup copy of the nms-server.xml file.
4
Open the nms-server.xml file using a plain-text editor such as vi.
5
To configure the registerLogToFile inactivity check, perform the following steps.
1. Locate the section that begins with following XML tag:
<logToFile
2. Edit the following line in the section to read:
enableJmsClientInactivityCheck="value"
where value is true, which enables the check, or false, which disables the check
6
To configure the registerSasLogToFile inactivity check, perform the following steps.
1. Locate the section that begins with following XML tag:
<saslogtofile
2. Edit the following line in the section to read:
enableSasJmsClientInactivityCheck="value"
where value is true, which enables the check, or false, which disables the check
7
Save and close the nms-server.xml file.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 335
OSS developer best practices NFM-P
To configure the registerLogToFile or registerSasLogToFile client inactivity
check
8
Enter the following:
bash$ /opt/nsp/nfmp/server/nms/bin/nmsserver.bash read_config ↵
The main server configuration is updated.
9
Close the console window.
END OF STEPS
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
336 3HE-20022-AAAB-TQZZA Issue 1
JMS events NFM-P
B JMS events
File Description
Some events contain complete objects defined in the standard NFM-P XML schemas. See
B.2 “JMS event classes” (p. 337) for more information. See Chapter 3, “Communicating with the
NFM-P” for information about the W3C standards for XML.
“AttributeValueChangeEvent” (p. 339) Indicates a change to one or more parameter in the database
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 337
JMS events NFM-P
JMS event classes
“DBErrorEvent example” (p. 342) Indicates a new database error or the correction of an earlier error
“DeployerEvent example” (p. 343) Indicates the success or failure of an asynchronous deployment request; is available only in
XML topics
“EventVessel example” (p. 343) Indicates that the message is an event vessel that contains one or more events
“FileAvailableEvent example” (p. 345) Indicates that a file is available for retrieval; applies to asynchronous and synchronous
findToFile requests
“KeepAliveEvent example” (p. 346) A keep-alive message that is sent periodically to ensure that the server is running and can
communicate with the OSS client
“LogFileAvailableEvent example” Indicates that an accounting statistics file is ready for retrieval
(p. 347)
“LogRemoteFileAvailableEvent Notify Call Trace data file availability on the NE, not on NFM-P. The event includes the
example” (p. 347) filename, NE FTP server IP address, and the NE ID.
“ObjectCreationEvent example” Identifies a newly created object; contains the object details
(p. 348)
“ObjectDeletionEvent example” Identifies a newly deleted object; contains the object details
(p. 349)
“PolicyDistributionEvent example” Indicates the status of a policy distribution task to NEs. If the request is from XML API, a task
(p. 350) monitor is added to the distribute task. Once the task is completed, the event is sent. The
maximum number of sites per event is 1000. As a result, there may be multiple completed
events, each with up to 1000 sites.
“ScriptExecutionEvent example” Indicates script execution by an OSS or GUI client. If specified, the message is sent only to
(p. 351) the client that executed the script. Identifies script execution success or failure, the result full
name, and the location of the file that contains the result.
“StateChangeEvent” (p. 352) Indicates a server change, such as reloaded alarm information or changed alarm count An
example of an important state change event is the SystemInfoEvent, which is sent each time
an OSS client creates a new subscription or connects to a subscription.
“StatsEvent example” (p. 354) Indicates statistics-collection activity; includes the statistics type, collection time, and the NE
identifier, and marks the start or end of polling for an NE, as indicated by the <state>
parameter
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
338 3HE-20022-AAAB-TQZZA Issue 1
JMS events NFM-P
JMS event classes
“XMLFilterChangeEvent example” Indicates a successful XML filter change, as requested by the OSS client
(p. 355)
AlarmStatusChangeEvent
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1138396703631</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>AlarmStatusChange</MTOSI_objectType>
<MTOSI_NTType>NT_ATTRIBUTE_VALUE_CHANGE</MTOSI_NTType>
<ALA_category>FAULT</ALA_category>
<ALA_allomorphic>TiEvent</ALA_allomorphic>
<MTOSI_objectName>svc-mgr:service-3:10.1.1.143</MTOSI_objectName>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<alarmStatusChangeEvent>
<objectFullName>svc-mgr:service-3:10.1.1.143</objectFullName>
<attribute>
<attributeName>alarmStatus</attributeName>
<value>2</value>
</attribute>
</alarmStatusChangeEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
AttributeValueChangeEvent
Figure B-2, “AttributeValueChange message example” (p. 340) shows a JMS message example for
the AttributeValueChangeEvent class. An AttributeValueChangeEvent consists of a pointer with a
list of changed attributes; the event includes the old and new attribute values. For enum and
bitmask attribute types, the message includes the old and new text strings associated with the old
and new attribute values, as shown in the example.
For more information about the attributes, or parameters, of specific classes, see the XML API
Reference. For parameters that are enumerators, the integer value is used for
AttributeValueChangeEvents, while the string value is used in ObjectCreationEvents.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 339
JMS events NFM-P
JMS event classes
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1138123820148</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>netw.NetworkElement</MTOSI_objectType>
<MTOSI_NTType>NT_ATTRIBUTE_VALUE_CHANGE</MTOSI_NTType>
<ALA_category>GENERAL</ALA_category>
<ALA_allomorphic>netw.NetworkElement</ALA_allomorphic>
<MTOSI_objectName>network:10.1.186.218</MTOSI_objectName>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<attributeValueChangeEvent>
<objectFullName>network:10.1.186.218</objectFullName>
<attribute>
<attributeName>resyncStatus</attributeName>
<newValue>
<int>7</int>
</newValue>
<newValueString>requested</newValueString>
<oldValue>
<int>4</int>
</oldValue>
<oldValueString>failed</oldValueString>
</attribute>
<attribute>
<attributeName>lastTimeResyncStarted</attributeName>
<newValue>
<long>1138123819632</long>
</newValue>
<oldValue>
<long>1138123519629</long>
</oldValue>
</attribute>
</attributeValueChangeEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
340 3HE-20022-AAAB-TQZZA Issue 1
JMS events NFM-P
JMS event classes
DBActivityEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1138395709210</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>DBActivityEvent</MTOSI_objectType>
<MTOSI_NTType>NT_STATE_CHANGE</MTOSI_NTType>
<ALA_category>DATABASE</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName />
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<dbActivityEvent>
<state>failoverEnd</state>
</dbActivityEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
DBConnectionStateChangeEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1138395709210</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>DBConnectionStateChangeEvent</MTOSI_objectType>
<MTOSI_NTType>NT_STATE_CHANGE</MTOSI_NTType>
<ALA_category>DATABASE</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName />
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<dbConnectionStateChangeEvent>
<state>connectionUp</state>
</dbConnectionStateChangeEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 341
JMS events NFM-P
JMS event classes
DBErrorEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1138395709210</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>DBErrorEvent</MTOSI_objectType>
<MTOSI_NTType>NT_STATE_CHANGE</MTOSI_NTType>
<ALA_category>DATABASE</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName />
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<dbErrorEvent>
<state>clear</state>
<error />
</dbErrorEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
DBProxyStateChangeEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1138395709210</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>DBProxyStateChangeEvent</MTOSI_objectType>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<ALA_category>DATABASE</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName />
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<dbProxyStateChangeEvent>
<state>databaseProxyPrimaryUp</state>
</dbProxyStateChangeEvent>
</jms>
</SOAP:Body>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
342 3HE-20022-AAAB-TQZZA Issue 1
JMS events NFM-P
JMS event classes
</SOAP:Envelope>
DeployerEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1165863370530</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>DeployerEvent</MTOSI_objectType>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<ALA_category>GENERAL</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName />
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<deployerEvent>
<requestID>JMS_client@n</requestID>
<successList>
<deployerId>Default.DeployerBank:depl-486</deployerId>
</successList>
<failedList>
<deployerId>Default.DeployerBank:depl-487</deployerId>
</failedList>
</deployerEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
EventVessel example
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 343
JMS events NFM-P
JMS event classes
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<eventVessel>
<attributeValueChangeEvent>
<objectFullName>faultManager:network@192.168.101.13|alarm-31-4-24
</objectFullName>
<attribute>
<attributeName>numberOfOccurencesSinceClear</attributeName>
<newValue>
<long>3</long>
</newValue>
<oldValue>
<long>2</long>
</oldValue>
</attribute>
</attributeValueChangeEvent>
<statsEvent>
<state>begin</state>
<networkElement>192.168.101.13</networkElement>
<statsType>accounting</statsType>
<time>1308256029287</time>
</statsEvent>
<statsEvent>
<state>end</state>
<networkElement>192.168.101.13</networkElement>
<statsType>accounting</statsType>
<time>1308256029302</time>
</statsEvent>
</eventVessel>
</jms>
</SOAP:Body>
</SOAP:Envelope>
ExceptionEventXMLFormat example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1174926836987</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>aengr.Policy</MTOSI_objectType>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<ALA_category>GENERAL</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName>Access Egress:2100</MTOSI_objectName>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
344 3HE-20022-AAAB-TQZZA Issue 1
JMS events NFM-P
JMS event classes
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<ExceptionEventXMLFormat>
<className>aengr.Policy</className>
<operation>distribute on node 10.168.1.91</operation>
<objectName>Access Egress:2100</objectName>
<requestID>JMS_client@n</requestID>
<errorMessage>[ app: autoconfigChild ] [ class: aengr.Policy ] [
instance: network:10.168.1.91:Access Egress:2100 ] [ descr: invalid action
bitmask: 3 : Object deletion is in progress, the object cannot be configured
:Parent = network:10.168.1.91:Access Egress:2100: child = queue-1 ]</errorMessage>
</ExceptionEventXMLFormat>
</jms>
</SOAP:Body>
</SOAP:Envelope>
FileAvailableEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1138129016027</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>FileAvailableEvent</MTOSI_objectType>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<ALA_category>GENERAL</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName />
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<fileAvailableEvent>
<fileName>equipmentPhysicalPort.xml</fileName>
</fileAvailableEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 345
JMS events NFM-P
JMS event classes
IncrementalRequestEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<eventName>IncrementalRequestEvent</eventName>
<ALA_category>GENERAL</ALA_category>
<ALA_OLC>0</ALA_OLC>
<ALA_isVessel>false</ALA_isVessel>
<ALA_allomorphic/>
<MTOSI_osTime>1276545012449</MTOSI_osTime>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<MTOSI_objectName/>
<ALA_clientId/>
<MTOSI_objectType>IncrementalRequestEvent</MTOSI_objectType>
<ALA_eventName>IncrementalRequestEvent</ALA_eventName>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<IncrementalRequestEvent>
<requestID>JMS_client@n</requestID>
<incrementalAction>RE_EVAL_MSAPS_ON_MSAP_POLICY</incrementalAction>
<serviceType>default</serviceType>
<status>finished</status>
<originalParam>
<string>msapPolicy:msappolicy</string>
</originalParam>
<payload>
<boolean>true</boolean>
</payload>
</IncrementalRequestEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
KeepAliveEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1137166251642</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>KeepAliveEvent</MTOSI_objectType>
<MTOSI_NTType>NT_HEARTBEAT</MTOSI_NTType>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
346 3HE-20022-AAAB-TQZZA Issue 1
JMS events NFM-P
JMS event classes
<ALA_category>GENERAL</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName />
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<keepAliveEvent />
</jms>
</SOAP:Body>
</SOAP:Envelope>
LogFileAvailableEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<eventName>LogFileAvailable</eventName>
<MTOSI_osTime>1184770068031</MTOSI_osTime>
<ALA_clientId>JMS_client@n</ALA_clientId>
<MTOSI_objectType>LogFileAvailableEvent</MTOSI_objectType>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<ALA_category>GENERAL</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName />
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<logFileAvailableEvent>
<fileName>client_directory\NE_IP_address_1184770068031.xml</fileName>
<serverIpAddress>server_IP_address</serverIpAddress>
<routerId>NE_IP_address</routerId>
</logFileAvailableEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
LogRemoteFileAvailableEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<eventName>LogRemoteFileAvailable</eventName>
<ALA_isVessel>false</ALA_isVessel>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 347
JMS events NFM-P
JMS event classes
<MTOSI_objectType>LogRemoteFileAvailableEvent</MTOSI_objectType>
<JMSXDeliveryCount>0</JMSXDeliveryCount>
<ALA_allomorphic />
<ALA_OLC>0</ALA_OLC>
<ALA_category>GENERAL</ALA_category>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<ALA_eventName>LogRemoteFileAvailable</ALA_eventName>
<MTOSI_osTime>1527258136621</MTOSI_osTime>
<MTOSI_objectName/>
<ALA_clientId/>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<logRemoteFileAvailableEvent>
<fileName>/shared/restfm/traces/IMSI_12345678901_TRACE-ID_13_2018-05-25-
17-22-14-125.pcap</fileName>
<serverIpAddress>203.0.113.12</serverIpAddress>
<neId>203.0.113.12</neId>
</logRemoteFileAvailableEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
ObjectCreationEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1138128165344</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>aclfilter.MacFilterEntry</MTOSI_objectType>
<MTOSI_NTType>NT_OBJECTCREATION</MTOSI_NTType>
<ALA_category>GENERAL</ALA_category>
<ALA_allomorphic>aclfilter.MacFilterEntry</ALA_allomorphic>
<MTOSI_objectName>MAC Filter:3:entry-1</MTOSI_objectName>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<objectCreationEvent>
<aclfilter.MacFilterEntry>
<frameType>unspecified</frameType>
<sourceMacAddress>10-00-00-00-00-10</sourceMacAddress>
<sourceMacAddressMask>00-00-00-00-00-00</sourceMacAddressMask>
<destinationMacAddress>10-00-00-00-00-10</destinationMacAddress>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
348 3HE-20022-AAAB-TQZZA Issue 1
JMS events NFM-P
JMS event classes
<destinationMacAddressMask>00-00-00-00-00-00</destinationMacAddressMask>
<dot1pValue>notSet</dot1pValue>
<dot1pMask>unspecified</dot1pMask>
<ethernetType>-1</ethernetType>
<dsap>-1</dsap>
<dsapMask>-1</dsapMask>
<ssap>-1</ssap>
<ssapMask>-1</ssapMask>
<snapPid>-1</snapPid>
<snapOui>off</snapOui>
<action>default</action>
<logId>0</logId>
<administrativeState>notInService</administrativeState>
<containingPolicyDisplayedName>ACL Mac Filter 2</containingPolicyDisplayedName
<containingPolicyId>3</containingPolicyId>
<policyType>macAcl</policyType>
<isLocal>false</isLocal>
<siteId>0.0.0.0</siteId>
<siteName>N/A</siteName>
<displayedName>Filter 10-00-00-00-00-10</displayedName>
<description>Filter Entry # 1</description>
<id>1</id>
<globalPolicy>N/A</globalPolicy>
<deploymentState>0</deploymentState>
<objectFullName>MAC Filter:3:entry-1</objectFullName>
<name>Filter 10-00-00-00-00-10</name>
<selfAlarmed>false</selfAlarmed>
<children-Set />
</aclfilter.MacFilterEntry>
</objectCreationEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
ObjectDeletionEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<eventName>ObjectDeletion</eventName>
<MTOSI_osTime>1224518670453</MTOSI_osTime>
<ALA_clientId/>
<MTOSI_NTType>NT_OBJECTDELETION</MTOSI_NTType>
<MTOSI_objectType>equipment.PhysicalPort</MTOSI_objectType>
<ALA_category>EQUIPMENT</ALA_category>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 349
JMS events NFM-P
JMS event classes
<ALA_isVessel>false</ALA_isVessel>
<ALA_allomorphic>equipment.PhysicalPort</ALA_allomorphic>
<ALA_eventName>ObjectDeletion</ALA_eventName>
<ALA_span>:0:</ALA_span>
<MTOSI_objectName>network:15.1.1.89:shelf-1:cardSlot-1:card:daughterCardSlot-
1:daughterCard:port-53</MTOSI_objectName>
<ALA_OLC>2</ALA_OLC>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<objectDeletionEvent>
<objectFullName>network:15.1.1.89:shelf-1:cardSlot-1:card:daughterCardSlot-
1:daughterCard:port-53</objectFullName>
</objectDeletionEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
PolicyDistributionEvent example
<PolicyDistributeEvent isAlarm="no">
<properties>
<eventName>PolicyDistributeStatusEvent</eventName>
<ALA_OLC>0</ALA_OLC>
<ALA_category>GENERAL</ALA_category>
<ALA_isVessel>false</ALA_isVessel>
<MTOSI_osTime>1365047500446</MTOSI_osTime>
<ALA_allomorphic/>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<MTOSI_objectName>rpCommunity:testcommunity</MTOSI_objectName>
<ALA_clientId>JMS_client@n</ALA_clientId>
<MTOSI_objectType>rp.Community</MTOSI_objectType>
<ALA_eventName>PolicyDistributeStatusEvent</ALA_eventName>
</properties>
<Body>
<PolicyDistributeEventXMLFormat>
<className>rp.Community</className>
<operation>distribute</operation>
<objectFullName>rpCommunity:testcommunity</objectFullName>
<DistributionStatus>
<policy.DistributeSiteStatus>
<siteId>198.51.100.43</siteId>
<status>Failed</status>
</policy.DistributeSiteStatus>
<policy.DistributeSiteStatus>
<siteId>198.51.100.83</siteId>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
350 3HE-20022-AAAB-TQZZA Issue 1
JMS events NFM-P
JMS event classes
<status>Succeeded</status>
</policy.DistributeSiteStatus>
</DistributionStatus>
</PolicyDistributeEventXMLFormat>
</Body>
</PolicyDistributeEvent>
RelationshipChangeEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1138386054650</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>epipe.Epipe</MTOSI_objectType>
<MTOSI_NTType>ALA_RELATIONSHIPCHANGE</MTOSI_NTType>
<ALA_category>SERVICE</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName>svc-mgr:service-3</MTOSI_objectName>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<relationshipChangeEvent>
<objectFullName>svc-mgr:service-3</objectFullName>
<relationship>
<changeType>added</changeType>
<fromObjectName>svc-mgr:service-3</fromObjectName>
<fromObjectClass>epipe.Epipe</fromObjectClass>
<toObjectName>subscriber:1</toObjectName>
<toObjectClass>subscr.Subscriber</toObjectClass>
</relationship>
</relationshipChangeEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
ScriptExecutionEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1173717919050</MTOSI_osTime>
<ALA_clientId>JMS_client@n</ALA_clientId>
<MTOSI_objectType>ScriptExecutionEvent</MTOSI_objectType>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 351
JMS events NFM-P
JMS event classes
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<ALA_category>GENERAL</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName />
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<scriptExecutionEvent>
<targetScriptResultFullName>script-manager:script-4:target-script-6:target-
script-result-1173467653236</targetScriptResultFullName>
<fileName>scriptResult/target-script-6_1173467653236.txt</fileName>
<status>Unknown</status>
<errorMessage>Trying to connect to an already connected session.</
errorMessage>
<failedCommands />
</scriptExecutionEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
StateChangeEvent
AlarmInformationLoaded Sent to indicate a change in the status of the alarm list; see the XML schema for
the possible status values
AlarmCountChanged Sent when the number of alarms crosses above or below the maximum number of
alarms defined in the server configuration
JmsMissedEvents Sent to inform both durable and non-durable subscribers that events have been
missed
SystemInfoEvent Sent each time a client connects to a new subscription, or reconnects to an existing
durable subscription
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<eventName>JmsMissedEvents</eventName>
<MTOSI_osTime>1222891102168</MTOSI_osTime>
<ALA_clientId>JMS_client@n</ALA_clientId>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<MTOSI_objectType>StateChangeEvent</MTOSI_objectType>
<ALA_category>GENERAL</ALA_category>
<ALA_isVessel>false</ALA_isVessel>
<ALA_allomorphic/>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
352 3HE-20022-AAAB-TQZZA Issue 1
JMS events NFM-P
JMS event classes
<ALA_eventName>JmsMissedEvents</ALA_eventName>
<MTOSI_objectName/>
<ALA_OLC>0</ALA_OLC>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<stateChangeEvent>
<eventName>JmsMissedEvents</eventName>
<state>jmsMissedEvents</state>
</stateChangeEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
The following table lists the properties in a System Information StateChangeEvent message.
sysPrimaryIp IP address or hostname (if client hostname was configured via samconfig) of primary main
server; string1
sysStandbyIp IP address or hostname (if client peer-server hostname was configured via samconfig) of standby
main server in redundant NFM-P deployment; string1
Notes:
1. When not using hostnames in a NAT environment, the public IP address(es) are used.
The SystemInfoEvent is sent to a JMS client’s subscription after the OSS establishes a JMS
connection with the NFM-P.
The SystemInfoEvent sysPrimaryIp tells the OSS which NFM-P server is the current primary. An
OSS with a durable JMS subscription should initiate retrieval of inventory or alarms using HTTP if
any of the following occurs:
• The current sysPrimaryIp in the SystemInfoEvent is different from that of the last recorded
sysPrimaryIp.
• The jmsStartTime or sysStartTime in the SystemInfoEvent are different from the last recorded
jmsStartTime and sysStartTime.
See A.2 “Recommended durable JMS client operation” (p. 327) for more information about the
recommended start-up procedure for an OSS with a durable JMS subscription to the XML API.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 353
JMS events NFM-P
JMS event classes
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<eventName>SystemInfoEvent</eventName>
<MTOSI_osTime>1224527204299</MTOSI_osTime>
<ALA_clientId>JMS_client@n</ALA_clientId>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<MTOSI_objectType>StateChangeEvent</MTOSI_objectType>
<ALA_category>GENERAL</ALA_category>
<ALA_isVessel>false</ALA_isVessel>
<ALA_allomorphic/>
<ALA_eventName>SystemInfoEvent</ALA_eventName>
<MTOSI_objectName/>
<ALA_OLC>0</ALA_OLC>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<stateChangeEvent>
<eventName>SystemInfoEvent</eventName>
<state>systemInfo</state>
<sysStandbyIp>192.168.182.253</sysStandbyIp>
<sysPrimaryIp>192.168.169.94</sysPrimaryIp>
<jmsStartTime>1224525628189</jmsStartTime>
<sysStartTime>1224525628189</sysStartTime>
<sysType>Redundant</sysType>
</stateChangeEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
StatsEvent example
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1170864259082</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>StatsEvent</MTOSI_objectType>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<ALA_category>STATISTICS</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName />
</header>
</SOAP:Header>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
354 3HE-20022-AAAB-TQZZA Issue 1
JMS events NFM-P
JMS event classes
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<statsEvent>
<state>end</state>
<networkElement>10.1.200.71</networkElement>
<statsType>accounting</statsType>
<time>1170864259082</time>
</statsEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
TerminateClientSessionEvent example
Figure B-23, “TerminateClientSession message example” (p. 354) shows a JMS message example
for the TerminateClientSessionEvent class.
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
<header xmlns="xmlapi_1.0">
<MTOSI_osTime>1138395709210</MTOSI_osTime>
<ALA_clientId />
<MTOSI_objectType>TerminateClientSession</MTOSI_objectType>
<MTOSI_NTType>NT_STATE_CHANGE</MTOSI_NTType>
<ALA_category>GENERAL</ALA_category>
<ALA_allomorphic />
<MTOSI_objectName />
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<terminateClientSessionEvent>
<clientId>ossi@1</clientId>
</terminateClientSessionEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
XMLFilterChangeEvent example
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 355
JMS events NFM-P
JMS event classes
<header xmlns="xmlapi_1.0">
<eventName>XMLFilterChangeEvent</eventName>
<ALA_isVessel>false</ALA_isVessel>
<MTOSI_objectType>XMLFilterChangeEvent</MTOSI_objectType>
<JMSXDeliveryCount>0<JMSXDeliveryCount>
<ALA_allomorphic/>
<ALA_OLC>0</ALA_OLC>
<ALA_category>GENERAL</ALA_category>
<MTOSI_NTType>ALA_OTHER</MTOSI_NTType>
<ALA_eventName>XMLFilterChangeEvent</ALA_eventName>
<MTOSI_osTime>1536329823494</MTOSI_osTime>
<MTOSI_objectName/>
<ALA_clientId>AdvancedJMSFilter@1</ALA_clientId>
</header>
</SOAP:Header>
<SOAP:Body>
<jms xmlns="xmlapi_1.0">
<xmlFilterChangeEvent>
<filter-Set>
<filter>
<or>
<equal name="className" value="fm.AlarmObject"/>
<equal name="className" value="fm.AlarmNoteObject"/>
<or>
<filter>
</filter-Set>
<resultFilter-Set>
<resultFilter class="fm.AlarmNoteObject">
<attribute>isAckNote</attribute>
<attribute>objectFullName</attribute>
<attribute>status</attribute>
</resultFilter>
<resultFilter class="fm.AlarmObject">
<attribute>severity</attribute>
<attribute>affectedObjectFullName</attribute>
<attribute>numberOfOccurences</attribute>
<attribute>alarmClassTag</attribute>
<attribute>firstTimeDetected</attribute>
<attribute>additionalText</attribute>
<attribute>operatorAssignedUrgency</attribute>
<attribute>alarmName</attribute>
<attribute>objectFullName</attribute>
<attribute>acknowldegedBy</attribute>
</resultFilter>
<resultFilter-Set>
<extraTags>
</tag name="MTOSI_osTime"/>
</tag name="fullClassName"/>
</tag name="ALA_category"/>
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
356 3HE-20022-AAAB-TQZZA Issue 1
JMS events NFM-P
JMS event classes
</extraTags>
</xmlFilterChangeEvent>
</jms>
</SOAP:Body>
</SOAP:Envelope>
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 357
JMS events NFM-P
JMS event classes
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
358 3HE-20022-AAAB-TQZZA Issue 1
Troubleshooting NFM-P
C Troubleshooting
Note: See the NSP Troubleshooting Guide for more information about how to troubleshoot
common client issues.
Procedure
C.2 “The OSS client cannot communicate with the server” (p. 359)
C.3 “An attempt to log in to the NFM-P server fails” (p. 361)
C.4 “Unable to perform an action using the XML API” (p. 361)
C.5 “Receive insufficient privileges to perform this operation on an object exception when performing an action on an
NFM-P object” (p. 362)
C.6 “Receive an authorization failure to access an object exception when performing an action on an NFM-P object”
(p. 363)
C.8 “Receive a java.lang.UnsupportedClassVersionError when sending scripts using an OSS client” (p. 365)
C.9 “Receive a java.net.ConnectException when sending scripts using an OSS Client” (p. 366)
C.10 “The OSS client cannot connect with the HTTP or JMS server” (p. 366)
C.11 “The OSS client cannot perform find or findTofile requests” (p. 367)
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 359
Troubleshooting NFM-P
The OSS client cannot communicate with the server
C.2.2 Steps
1
Run a ping command similar to the following in Figure C-1, “Ping request example” (p. 359) .
2
Review the three-digit HTTP response code.
• 200 to 299—indicates success; client-server communication is not the problem
• 400 to 499—indicates that the error is on the client side; the request contains incorrect XML
syntax, or cannot be fulfilled
• 500 to 599—indicates that the error is on the server; the request is not the problem
3
Check the XML API response for any indication of other communication problems. Figure C-2,
“Ping response message” (p. 360) is a successful response message to the ping. The response
indicates the correct release 1.0 of XML on the server that responds to the ping.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
360 3HE-20022-AAAB-TQZZA Issue 1
Troubleshooting NFM-P
An attempt to log in to the NFM-P server fails
</SOAP:Body>
</SOAP:Envelope>
END OF STEPS
1
Send an OSS request to the NFM-P.
2
If you receive the SOAP fault message in Figure C-3, “SOAP fault message” (p. 360) , check
the following:
• incorrect username or password
• user does not exist
• username or password missing
• password not hashed; see 3.4 “Secure communication” (p. 25) for information about MD5-
hashed passwords
<SOAP:Fault>
<faultcode>SOAP:Client</faultcode>
<faultstring>[security] Login failure.</faultstring>
<faultactor>XmlApi</faultactor>
<detail>
<requestID>XML_API_client@n</requestID>
</detail>
</SOAP:Fault>
END OF STEPS
1
Check with your administrator to determine whether you have sufficient privileges to perform
the action. You receive the message in Figure C-4, “User security fault message” (p. 362) if you
are not assigned the appropriate scope of command to use the XML API.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 361
Troubleshooting NFM-P
Receive insufficient privileges to perform this operation on an object
exception when performing an action on an NFM-P object
2
Some actions are not available to an OSS application; for example, a GUI-specific action such
as changing a display preference. For such an action, you must use a GUI client.
END OF STEPS
Check with your administrator to determine whether you are assigned the appropriate scope of
command to allow you to access the NFM-P object.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
362 3HE-20022-AAAB-TQZZA Issue 1
Troubleshooting NFM-P
Receive an authorization failure to access an object exception when
performing an action on an NFM-P object
Check with your administrator to determine whether you are assigned the appropriate span of
control to allow you to access the NFM-P object.
CAUTION
Service Disruption
Contact your Nokia technical support representative before you attempt to modify the nms-
server.xml file.
Modifying the nms-server.xml file can have serious consequences that can include service
disruption.
CAUTION
Service Disruption
The purpose of the XML message log is to enable developers to evaluate the interaction of a third-
party application with the XML API. The logging consumes system resources and may degrade
performance in a live system.
It is strongly recommended that you enable the logging only in an OSS application development
environment.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 363
Troubleshooting NFM-P
Identifying XML messages from specific users
C.7.2 Steps
1
Log in to the main server station as the nsp user.
2
Navigate to the /opt/nsp/nfmp/server/nms/config directory.
3
Create a backup copy of the nms-server.xml file.
4
Open the nms-server.xml file using a plain-text editor.
5
Locate the <systemOssiLog> element.
6
Modify the attributes of the <systemOssiLog> element to enable the log option for an individual
user or multiple users. The NFM-P creates a unique log file for each HTTP request and
response associated with each user. The request log contains the body of the SOAP message.
The response log contains the entire SOAP envelope of the response.
a. To log the XML messages for all users, edit the section to read:
<systemOssiLog
allUsers="yes"
path="../log/all_users"/>
<systemOssiLog
allUsers="no"
timeToKeepLogFile="minutes"
user="yes"
path="../log/individual"/>
where
minutes is the time, in minutes, that the NFM-P retains the log files; when the parameter is
absent, the default is 1440, which is equivalent to one day
user is the NFM-P user name
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
364 3HE-20022-AAAB-TQZZA Issue 1
Troubleshooting NFM-P
Receive a java.lang.UnsupportedClassVersionError when sending scripts
using an OSS client
7
To change the log file retention period, add the "timeToKeepLogFile="minutes" attribute to the
<systemOssiLog> element:
<systemOssiLog
.
.
.
"timeToKeepLogFile="minutes" />
8
Save and close the nms-server.xml file.
9
Open a console window.
10
Navigate to the /opt/nsp/nfmp/server/nms/bin directory.
11
Enter the following at the prompt:
bash$ ./nmsserver.bash read_config ↵
The main server reads the nms-server.xml file and puts the configuration changes into effect.
END OF STEPS
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 365
Troubleshooting NFM-P
Receive a java.net.ConnectException when sending scripts using an OSS
Client
C.10 The OSS client cannot connect with the HTTP or JMS server
C.10.1 Steps
1
Verify that the OSS client uses the correct server IP address and port.
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
366 3HE-20022-AAAB-TQZZA Issue 1
Troubleshooting NFM-P
The OSS client cannot perform find or findTofile requests
2
If connectivity problems remain, perform the following:
• Use an ICMP ping to verify that you can ping the server from the OSS client station.
• For XML requests, perform an XML ping. See 5.1 “HTTP communication with the NFM-P”
(p. 67) for more information.
• For JMS problems:
− Verify that the samOSS.jar file used by the OSS client application is from the NFM-P
release that is on the server. The Implementation-Version in the META-INF/
MANIFEST.MF file in the samOss.jar indicates the NFM-P release that the jar file is from.
− Try to create the same JMS connection using JMSTest. See 4.12 “To compile and connect
an NFM-P JMS client” (p. 62) for information.
− Verify that the NFM-P credentials that the OSS JMS client uses are correct.
− Check for any indication of errors in the NFM-P JMS server log about the OSS client
connection attempt.
• Verify that the required ports are open between the OSS client station and the server. See
the NSP Planning Guide for firewall configuration information.
END OF STEPS
1
If you receive an exception indicating that the number of inventory connections has reached the
maximum, the request has been rejected. This occurs when there are five concurrent find or
findToFile requests. There is no indication of the number of concurrent requests. The OSS
client must pace the requests.
© 2024 Nokia.
Release 24.8 Use subject to Terms available at: www.nokia.com/terms
August 2024
Issue 1 3HE-20022-AAAB-TQZZA 367
Troubleshooting NFM-P
The OSS client cannot perform find or findTofile requests
2
Retry sending the request when the request volume is lower.
END OF STEPS
© 2024 Nokia.
Use subject to Terms available at: www.nokia.com/terms Release 24.8
August 2024
368 3HE-20022-AAAB-TQZZA Issue 1