Failure
Configures, modifies and retrieves the logging action to be performed when the watcher encounters a failure when checking IPPM test results.
/watcher/config/profile/<watcher-name>/action/logging/failurePATCH method to modify the logging action when the watcher profile encounters a failure.
/restconf/data/watcher/config/profile/w1/action/logging
{
"icx-openconfig-watcher:logging": {
"failure": true
}
}PUT
method to replace the logging action when the watcher profile encounters a
failure./restconf/data/watcher/config/profile/w1/action/logging
{
"icx-openconfig-watcher:logging": {
"failure": true
}
}
POST
method to add the logging action when the watcher profile encounters a
failure./restconf/data/watcher/config/profile/w1/action
{
"icx-openconfig-watcher:logging": {
"failure": true
}
}Supported HTTP Operations
URL: https://<host>/restconf/data/watcher/config/profile/w1/action/logging/failure
Request body: None
Response body: {
"icx-openconfig-watcher:failure": true
}
URL: https://<host>/restconf/data/watcher/config/profile/w1/action
Request body:
{
"icx-openconfig-watcher:logging": {
"failure": true
}
}
Response body: None
PATCH
method
URL: https://<host>/restconf/data/watcher/config/profile/w1/action/logging
Request body:
{
"icx-openconfig-watcher:action": {
"logging": {
"failure" : true
}
}
}
Response body: None
PUT
methodURL: https://<host>/restconf/data/watcher/config/profile/w1/action/logging
Request body: {
"icx-openconfig-watcher:logging": {
"failure": true
}
}
Response body: None
DELETE
method
URL: https://<host>/restconf/data/watcher/config/profile/w1/action/logging/failure
Request body: None Response body: None