Cisco Cisco Configuration Engine 3.5 Entwickleranleitung

Seite von 344
9-17
Cisco Configuration Engine Software Development Kit API Reference and Programmer Guide 3.5
OL-17661-02
Chapter 9      DTDs for Cisco IOS Devices
Event Gateway Communications
        <interface>Ethernet3/0</interface> 
    </card-info> 
    <card-info> 
        <card-type>67</card-type> 
        <card-desc>Ethernet</card-desc> 
        <slot>4</slot> 
        <ports>1</ports> 
        <hw-version>1.1</hw-version> 
        <board-revision>E0</board-revision> 
        <serial-number>19661861 </serial-number> 
        <part-number>800-02026-03</part-number> 
        <rma-number>00-00-00</rma-number> 
        <eeprom-size>128</eeprom-size> 
        <eeprom-data>01 43 01 01 01 2C 04 25 50 07 EA 03 00 00 00 00 
        70 00 00 00 00 05 10 00 FF FF FF FF FF FF FF FF FF FF FF FF 
        FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
        FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
        FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
        FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
        FF FF FF FF FF FF FF FF FF FF FF FF </eeprom-data> 
        <interface>Ethernet4/0</interface> 
    </card-info> 
    </device-details> 
cisco.mgmt.cns.event.id-changed
This event is sent whenever the device ID of a device that is connected to the Event Gateway is changed. 
This is the result of a cns id CLI command.
DTD for an Event ID Changed Message
<!ELEMENT event-id-changed (time, new_data, old_data)> 
<!ELEMENT time (#PCDATA)> 
<!ELEMENT new_data (#PCDATA)> 
<!ELEMENT old_data (#PCDATA)> 
Sample XML for an Event ID Changed Event
<event-id-changed> 
    <time>03:37:40 BST Mon Jul 29 2002</time> 
    <new_data>sdo-3660-1</new_data> 
    <old_data>test-3660-1</old_data> 
</event-id-changed> 
Table 9-15
XML Elements for an ‘ID changed’ Message
XML Elements
Description
event-id-changed
The root tag for the event ID changed event.
Time
The time that the event ID was changed.
new-data
The new event ID.
old-data
The old event ID.