Cisco Cisco Configuration Engine 3.5.3 开发者指南

下载
页码 348
6-42
Cisco Configuration Engine Software Development Kit API Reference and Programmer Guide 3.5.3
OL-17661-04
Chapter 6      Namespace Administration, Group Administration, and Notification APIs
Mapping Scenarios
Mapping Scenarios
This section describes the mapping scenarios that are supported by NSM in hierarchical grouping. 
Example
 shows an example of hierarchical groups. 
 lists the sample mappings stored in 
namespaces NS1.
Figure 6-7
Example Of Hierarchical Grouping For namespace NS1
Terminology
Given below are two sets of terminologies respectively for describing the hierarchical-grouping elements 
and the resulting maps.
  •
Parent of a group G (or a device D) refers to the direct super group that contains group G (or device 
D). For example, in 
, the parent group of device D3 is G3 while the parent group of G3 is 
G1.
  •
Ancestor(s) of a group G (or a device D) refers to the direct and indirect super groups of G (or 
device D) in the hierarchy. For example, the ancestor group of group G3 is G1 while the ancestor 
groups of device D3 are G3 and G1.
  •
Children of group G refer to the direct sub-groups and device members of group G. For example, 
the children of group G1 are groups G2 and G3 while the child of G3 is device D3.
  •
Descendant of group G refers to the direct and indirect sub-groups and device members of group 
G. For example, the descendant of group G1 are groups G2 and G3 and devices D1, D2, and D3.
Table 6-1
NS1 Mapping Table 
NS1
Subject
cisco.mgmt.cns.config.load
Subscriber map
cisco.mgmt.cns.config.load.vpn1
Publisher map
cisco.mgmt.cns.config.load.vpn1
G1
G2
D1
D3
D2
G3
NS1