IPPM Profile
Configures, modifies and retrieves IPPM profile configurations. The URI to configure data for IPPM is:
/ippm/config/profileThe URI to modify a specific IPPM profile configuration using PATCH method is:
/ippm/config
{
"config" : {
"profile" : [
{
"name" : "p2",
"icmp-echo" : {
"config" : {
"name": "p2"
}
}
}
]
}
}
The
DELETE URI to delete a specific IPPM profile configuration
is:/ippm/config/profile/<profile-name>The DELETE URI to delete all the IPPM profile configurations is:
/ippm/config
Supported HTTP Operations
URL: https://<host>/restconf/data/ippm/config/profile/p1
Request body: None
Response body:
{
"icx-openconfig-ippm:profile": [
{
"name": "p1",
"icmp-echo": {
"config": {
"name": "p1",
"destination": "10.1.1.1",
"source": "20.1.1.1",
"ttl_max": 100,
"ttl_min": 10,
"rtt_max": 120,
"rtt_min": 30,
"jitter_max": 10,
"probe_count": 5,
"vrf": "vrf1",
"schedule": {
"now": true,
"duration": "80",
"frequency": "60"
}
},
"state": {
"schedule": {}
}
}
}
]
}
URL: https://<host>/restconf/data/ippm
Request body: {
"config" : {
"profile" : [
{
"name" : "p1",
"icmp-echo" : {
"config" : {
"name": "p1"
}
}
}
]
}
}
Response body: None
URL: https://<host>/restconf/data/ippm/config
Request body:
{
"config" : {
"profile" : [
{
"name" : "p2",
"icmp-echo" : {
"config" : {
"name": "p2"
}
}
}
]
}
}
OR
{
"config" : {
"profile" : [
{
"name" : "p2",
"icmp-echo" : {
"config" : {
"name": "p2",
"destination" : "www.google.com",
"source" : "10.1.1.1",
"ttl_min" : 10,
"ttl_max" : 200,
"rtt_min" : 20,
"rtt_max" : 180,
"jitter_max" : 10,
"schedule" : {
"date_format" : "2023-11-28T12:0:0Z",
"duration" : 70,
"frequency" : 80
}
}
}
}
]
}
}
Response body: None
PUT
methodURL: https://<host>/restconf/data/ippm/config
Request body:
{
"config" : {
"profile" : [
{
"name" : "p3",
"icmp-echo" : {
"config" : {
"name": "p3"
}
}
}
]
}
}
Response body: None
DELETE
methodURL: https://<host>/restconf/data/ippm/config/profile/p1 OR URL: https://<host>/restconf/data/ippm/config
Request body: None Response body: None