Set the ranges in which PTP Clock Class values are classified as OK, Degraded and Failure. Allowed ranges are 0-255, there should not be an overlap between the ranges of OK/Degraded/Failure.
Example: op/ptppreference/system/clock
Payload example:{"PtpPreferenceFacade_SetPtpClock_In": {"clockThreshold":"[{\"PtpClockClasse\":\"OK\",\"from\":0,\"to\" :100,\"color\":\"Green\"},{\"PtpClockClasse\":\"Degraded\" ,\"from\":101,\"to\":197,\"color\":\"Orange\"},{\"PtpClockClasse\" :\"Failure\",\"from\":198,\"to\":252,\"color\":\"Red\"}]"}}
Example: op/ptppreference/system/clock
Payload example:{"PtpPreferenceFacade_SetPtpClock_In": {"clockThreshold":"[{\"PtpClockClasse\":\"OK\",\"from\":0,\"to\" :100,\"color\":\"Green\"},{\"PtpClockClasse\":\"Degraded\" ,\"from\":101,\"to\":197,\"color\":\"Orange\"},{\"PtpClockClasse\" :\"Failure\",\"from\":198,\"to\":252,\"color\":\"Red\"}]"}}
Since Product Version: 1.0
Resource Information
Rate Limiting? |
No |
Sorting? |
No |
Paging? |
No |
Filtering? |
No |
Group Filtering? |
No |
Aggregation? |
No |
Response Formats |
xml json |
User Group |
NBI Write |
HTTP Methods |
POST |
Resource URL
/webacs/api/v4/op/ptppreference/system/clockUnmodified
This resource has not been modified since the previous API version.
Sample Payloads
Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.
Sample XML Request Payload
https://10.64.80.159/webacs/api/v4/op/ptppreference/system/clock
<?xml version="1.0" ?>
<PtpPreferenceFacade_SetPtpClock_In>
<clockThreshold>String value</clockThreshold>
</PtpPreferenceFacade_SetPtpClock_In>
Sample JSON Request Payload
https://10.64.80.159/webacs/api/v4/op/ptppreference/system/clock.json
{
"PtpPreferenceFacade_SetPtpClock_In" : {
"clockThreshold" : "String value"
}
}