Cisco Headend System Release 2.5 Manual De Manutenção
Files Required for Staging
4024836 Rev D
9
Inventory File Format
The inventory file (/inventry) contains the following C structure:
The inventory file (/inventry) contains the following C structure:
struct dhct {
char HctSerialNumber[10],
//ASCII
char HctHostMacAddress[18],
//ASCII
char HctCmMacAddress[18],
//ASCII
char HctHostId[14],
//ASCII
unsigned short HctType_Type,
unsigned short HctType_Rev,
char HctType_Oui[3],
//this is binary data
char CaModuleSerialNumber[10],
//ASCII
char CaModuleMacAddress[18],
//ASCII
char CaModuleId[14],
//ASCII
unsigned short CaModuleType_Type,
unsigned short CaModuleType_Rev,
char CaModuleType_Oui[3]
//this is binary data
}
The serial number fields are formatted as SAxxxxxxx (for DHCTs) or PKxxxxxxx (for
CableCARD modules), where xxxxxxx represents a BASE-20 number starting at
BBBBBBB.
The MAC address fields are formatted using the traditional UNIX syntax for a
The MAC address fields are formatted using the traditional UNIX syntax for a
printed Ethernet address (aa:bb:cc:dd:ee:ff) where a through f are hexadecimal
digits. All ASCII strings are NULL (0x0) terminated.
The Type_Type, Type_Rev, and Type_Oui fields communicate the type of device
The Type_Type, Type_Rev, and Type_Oui fields communicate the type of device
included in the shipment (SSC DHCTs excluded). These fields use the same values
as those supplied in a BOSS DhctType descriptor. The OUI field is three binary bytes
rather than a set of ASCII characters.