- Preface
- Product Overview
- Graphical User Interface
- Device and Subdevice Manager
- User Account Manager
- Configuration and Image Update Jobs Manager
- Groups
- Namespace Manager
- Query Manager
- Data Manager
- Directory Manager
- Parameter Manager
- Templates
- Security Manager
- Log Manager
- Service Manager
- Bulk Data Manager
- Email Manager
- Image Service
- Upgrade or Downgrade Cisco IOS Image
- Backup and Restore
- PIX Firewall Device Support
- IMGW Device Module Development Toolkit
- Troubleshooting
- Software Licenses and Acknowledgements
Directory Manager
Note Directory Manager can be accessed only when operating in Internal Directory mode.
To access Directory management tasks, log into the system (see "Logging In" section on page 2-1). Then, from the Home page, click the Tools tab. The Tools page appears.
From the Tools page, click Directory Mgr.
With the directory manager you can:
•Edit the schema
•Import a schema from an XML file
Editing Schema
Step 1 From the Directory Manager page, click Edit Schema.
The schema editor appears (see Figure 10-1).
Figure 10-1 Schema Editor
Step 2 Enter the name of the new attribute.
Table 10-1 shows valid values for these fields.
Step 3 Accept or modify the Unique ID for this attribute.
Step 4 To clear your entries, click Reset.
Step 5 To add this attribute to the schema, click Add Entry.
Importing Schema
You can import a schema accessible from your computer. However, the file must be in XML format and conform to the definitions specified in the document type definition (DTD) file shown here:
<?xml version="1.0" encoding="UTF-8"?>
<!-- DTD for DAML -->
<!-- Last updated: 2006-01-18 -->
<!ELEMENT attribute EMPTY>
<!ATTLIST attribute
ref CDATA #REQUIRED
required CDATA #REQUIRED
>
<!ELEMENT attribute-type (name, object-identifier, syntax)>
<!ATTLIST attribute-type
id CDATA #REQUIRED
single-value CDATA #REQUIRED
obsolete CDATA #REQUIRED
user-modification CDATA #REQUIRED
>
<!ELEMENT class (name, object-identifier, attribute)>
<!ATTLIST class
id CDATA #REQUIRED
superior CDATA #REQUIRED
type CDATA #REQUIRED
obsolete CDATA #REQUIRED
>
<!ELEMENT directory-schema (attribute-type, class)>
<!ELEMENT dsml (directory-schema)>
<!ATTLIST dsml
complete CDATA #REQUIRED
>
<!ELEMENT name (#PCDATA)>
<!ELEMENT object-identifier (#PCDATA)>
<!ELEMENT syntax (#PCDATA)>
>
Example
For example, a valid schema would look like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dsml SYSTEM "dsml.dtd">
<dsml complete="true">
<directory-schema>
<attribute-type id="IOSe1ipaddress" single-value="true" obsolete="false" user-modification="true">
<name>IOSe1ipaddress</name>
<object-identifier>1.2.840.113548.3.1.2.20</object-identifier>
<syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
</attribute-type>
<class id="IOSConfigClass" superior="top" type="structural" obsolete="false">
<name>IOSConfigClass</name>
<object-identifier>1.2.840.113548.3.2.2.1</object-identifier>
<attribute ref="1.2.840.113548.3.1.2.20" required="false"/>
</class>
</directory-schema>
</dsml>
Step 1 From the Directory Manager page, click Import Schema.
The import schema dialog box appears (see Figure 10-2).
Figure 10-2 Import Schema
Step 2 Enter the filename of the schema you want to import in the Schema Filename field.
Table 10-2 shows valid values for these fields.
|
|
|
---|---|---|
Schema Filename |
Name of schema file to import. |
a-z |
Use the browse function to locate the file, if needed.
Step 3 To clear your entries, click Reset.
Step 4 To import the file, click Import.