Schedule

Configures, modifies and retrieves the schedule configuration for an icmp-echo IPPM configuration.

/ippm/config/profile/<profile-name>/icmp-echo/config/schedule	

The URI to add the schedule configuration for an icmp-echo IPPM configuration using the POST method is:
/ippm/config/profile/<profile-name>/icmp-echo/config
{
    "icx-openconfig-ippm:schedule": {
        "now": true,
        "duration": "80",
        "frequency": "60"
    }
}
The URI to add the schedule configuration for an icmp-echo IPPM configuration the PATCH method is:
/ippm/config/profile/<profile-name>/icmp-echo/config/schedule
{
    "icx-openconfig-ippm:schedule": {
        "now": true,
        "duration": "80",
        "frequency": "60"
    }
}
The URI to modify the schedule configuration for an icmp-echo IPPM configuration the PUT method is:
/ippm/config/profile/<profile-name>/icmp-echo/config/schedule
{
    "icx-openconfig-ippm:schedule": {
        "now": true,
        "duration": "80",
        "frequency": "60"
    }
}

Supported HTTP Operations

GET method

URL: https://<host>/restconf/data/ippm/config/profile/p1/icmp-echo/config/schedule
Request body: None
Response body:  
{
    "icx-openconfig-ippm:schedule": {
        "now": true,
        "duration": "80",
        "frequency": "60"
    }
}

POST method

URL: https://<host>/restconf/data/ippm/config/profile/p1/icmp-echo/config
Request body: 
{
    "icx-openconfig-ippm:schedule": {
        "now" : true, 
        "infinite" : true, 
        "frequency" : 90
}
}

Response body: None

PATCH method

URL: https://<host>/restconf/data/ippm/config/profile/p1/icmp-echo/config/schedule
Request body:
{
    "icx-openconfig-ippm:schedule": {
        "now" : true, 
        "infinite" : true, 
        "frequency" : 100
}
}
or
{
    "icx-openconfig-ippm:schedule": {
        "now" : true, 
        "end" : "2023-11-28T12:0:0Z",
        "frequency" : 90
}
}
or
{
    "icx-openconfig-ippm:schedule": {
        "date_format" : "2023-11-28T12:0:0Z",
        "end" : "2023-11-30T12:0:0Z",
        "frequency" : 90
}
}
or
{
    "icx-openconfig-ippm:schedule": {
        "now": true,
        "duration": "80",
        "frequency": "60"
    }
}

Response body: None    

PUT method
URL: https://<host>/restconf/data/ippm/config/profile/p1/icmp-echo/config/schedule
Request body:
{
    "icx-openconfig-ippm:schedule": {
        "now" : true, 
        "infinite" : true, 
        "frequency" : 90
}
}

Response body: None 
DELETE method
URL: https://<host>/restconf/data/ippm/config/profile/p1/icmp-echo/config/schedule
Request body: None
Response body: None