Cisco Cisco Configuration Engine 3.5 Entwickleranleitung

Seite von 344
C H A P T E R
4-1
Cisco Configuration Engine Software Development Kit API Reference and Programmer Guide 3.5
OL-17661-02
4
Namespace Mapping Service
The Namespace Mapping Service (NSM) API allows you to address multiple network devices by a single 
posting of a publish or subscribe event, and it allows you to map Cisco-standardized event names to 
names of his or her choosing. 
For example, in a network of 100 routers, there might be 10 which the administrator wants to configure 
as a VPN (Virtual Private Network). In order to load a configuration into each of these devices, your 
client application could either publish 10 cisco.mgmt.cns.config.load.<deviceId> events, or the 
administrator could associate the 10 devices with a common group name and your client application can 
post the event once. The administrator could rename the cisco.mgmt.cns.config.load subject to 
application.load./config/westcoast and group all the devices in the West Coast under a group called 
“westcoast.” Then the application would just have to publish on application.load./config/westcoast and 
the devices in the “westcoast” group would get the event.
Namespace Mapper
The Namespace Mapper is a service that maps one subject to one or more subjects. The purpose of the 
Namespace Mapper is that it gives an application the ability to address a group of devices in a single 
event. It also de-couples the development namespace from the deployment (application) namespace.