Руководство Разработчика для Cisco Cisco Prime Home 3.0
Cisco Prime Home – Integration Guide
OL-28558-01 v5.1
24
element dto {attribute-tree}
)})}
element actionLog {(
attribute queuedRunId {number}?
attribute name {string}
attribute actorName {string}
attribute runOn {date}?
attribute state {}
element log {(
attribute timestamp {date}
attribute message {string}
attribute status {
"NEXT_SESSION"|"SCHEDULED"|"RUNNING"|"COMPLETED"|
"INTERNAL_ERROR"|"SYNTAX_OR_EVAL_ERROR"|"ABORT"|
"NO_RESPONSE_FROM_DEVICE"|"DEVICE_FAULT"|"SUBSCRIBER_FAULT"|
"DOWNLOAD_FAILURE"|CANCEL
}
)*}?
)*}
element queuedActions {(
attribute revision {number}?
attribute solicit {boolean}?
element scripts {(
attribute queuedRunId {number}? [out]
attribute scriptCode {string}
attribute status {
"NEXT_SESSION"|"SCHEDULED"|"RUNNING"|"COMPLETED"|
"INTERNAL_ERROR"|"SYNTAX_OR_EVAL_ERROR"|"ABORT"|
"NO_RESPONSE_FROM_DEVICE"|"DEVICE_FAULT"|"SUBSCRIBER_FAULT"|
"DOWNLOAD_FAILURE"|"CANCEL"
}?
element parameters {(
attribute name {string}
attribute value {string}
)*}
)*}
element applications {map({string}, {(
attribute pendingSync {boolean}
attribute dataOwner {"DEVICE"|"SERVER"}
attribute needsInitialization {boolean}?
)})}
element services {map({string}, {(
attribute canToggleStatus {boolean}
attribute status {"ENABLED"|"DISABLED"}
)})}
)*}
}
)})}
element actionLog {(
attribute queuedRunId {number}?
attribute name {string}
attribute actorName {string}
attribute runOn {date}?
attribute state {}
element log {(
attribute timestamp {date}
attribute message {string}
attribute status {
"NEXT_SESSION"|"SCHEDULED"|"RUNNING"|"COMPLETED"|
"INTERNAL_ERROR"|"SYNTAX_OR_EVAL_ERROR"|"ABORT"|
"NO_RESPONSE_FROM_DEVICE"|"DEVICE_FAULT"|"SUBSCRIBER_FAULT"|
"DOWNLOAD_FAILURE"|CANCEL
}
)*}?
)*}
element queuedActions {(
attribute revision {number}?
attribute solicit {boolean}?
element scripts {(
attribute queuedRunId {number}? [out]
attribute scriptCode {string}
attribute status {
"NEXT_SESSION"|"SCHEDULED"|"RUNNING"|"COMPLETED"|
"INTERNAL_ERROR"|"SYNTAX_OR_EVAL_ERROR"|"ABORT"|
"NO_RESPONSE_FROM_DEVICE"|"DEVICE_FAULT"|"SUBSCRIBER_FAULT"|
"DOWNLOAD_FAILURE"|"CANCEL"
}?
element parameters {(
attribute name {string}
attribute value {string}
)*}
)*}
element applications {map({string}, {(
attribute pendingSync {boolean}
attribute dataOwner {"DEVICE"|"SERVER"}
attribute needsInitialization {boolean}?
)})}
element services {map({string}, {(
attribute canToggleStatus {boolean}
attribute status {"ENABLED"|"DISABLED"}
)})}
)*}
}
Data Types :
device
-data
element device-data {
attribute revision {number}?
attribute deviceId {number}?
attribute subscriberCode {string}?
(
(attribute oui {string}, attribute sn {string}) |
(attribute provisioningCode {string}) |
(attribute cpProvisioningId {int})
)
attribute manufacturer {string}? [out]
attribute friendlyManufacturerName {string}? [out]
attribute deviceTypeId {number}? [out]
attribute deviceTypeImagePath {string}? [out]