{"type":"api","title":"Set OAM trace route by calculation","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/088308c4-ecbd-3319-abc0-c2e38584d6b9","info":{"description":"This API provides operations for managing OAM configurations, including setting delete intervals and performing trace routes.","version":"7.1.0","title":"Cisco Crosswork OAM Operations API","contact":{"name":"API Support","url":"https://www.cisco.com/support","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"}},"swagger":"2.0","host":"localhost:30603","basePath":"/crosswork/nbi/optimization/v3/restconf","securityDefinitions":{"api_key":{"description":"Authentication: Bearer $JWT","type":"apiKey","name":"api_key","in":"header"}}},"spec":{"operationId":"setOamTraceRouteByCalc","tags":["cisco-crosswork-optimization-engine-oam-operations"],"summary":"Set OAM trace route by calculation","description":"Runs a trace route based on route parameters.","parameters":[{"in":"body","name":"oam.common.ServiceRoute.body-param","description":"Request body containing service route parameters.","required":false,"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"query-id":{"type":"string"},"update-time":{"type":"integer","format":"int32"},"tail-end-te-router-id":{"type":"string"},"service-type":{"type":"string"},"available-path-count":{"type":"integer","format":"int64"},"create-time":{"type":"integer","format":"int32"},"head-end-node-uuid":{"type":"string"},"service-name":{"type":"string"},"head-end-node-name":{"type":"string"},"status-message":{"type":"string"},"head-end-te-router-id":{"type":"string"},"tail-end-node-uuid":{"type":"string"},"path-info-list":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"path-info":{"type":"object","properties":{"out-interface":{"type":"string"},"device-uuids":{"type":"array","description":"Unordered list of device UUIDs","items":{"type":"string"}},"path-details":{"type":"string"},"destination":{"type":"string"},"next-hop":{"type":"string"},"source":{"type":"string"},"path-status":{"type":"string"}},"$$ref":"#/definitions/oam.common.ServicePathInfo"}},"$$ref":"#/definitions/oam.common.serviceroute.PathInfoList"}},"yang-path":{"type":"string"},"transport-type":{"type":"integer","format":"int64"},"tail-end-node-name":{"type":"string"},"status":{"type":"integer","format":"int64"}},"$$ref":"#/definitions/oam.common.ServiceRoute"}}}}],"responses":{"200":{"description":"Correct response","schema":{"type":"object","properties":{"output":{"type":"object","properties":{"response-result":{"description":"Result of the request","type":"string","enum":["valid","invalid","error"],"$$ref":"#/definitions/oam.common.ResponseResultEnumeration"},"query-id":{"type":"string"},"update-time":{"type":"integer","format":"int32"},"tail-end-te-router-id":{"type":"string"},"service-type":{"type":"string"},"available-path-count":{"type":"integer","format":"int64"},"create-time":{"type":"integer","format":"int32"},"head-end-node-uuid":{"type":"string"},"service-name":{"type":"string"},"head-end-node-name":{"type":"string"},"status-message":{"type":"string"},"head-end-te-router-id":{"type":"string"},"tail-end-node-uuid":{"type":"string"},"path-info-list":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"path-info":{"type":"object","properties":{"out-interface":{"type":"string"},"device-uuids":{"type":"array","description":"Unordered list of device UUIDs","items":{"type":"string"}},"path-details":{"type":"string"},"destination":{"type":"string"},"next-hop":{"type":"string"},"source":{"type":"string"},"path-status":{"type":"string"}},"$$ref":"#/definitions/oam.common.ServicePathInfo"}},"$$ref":"#/definitions/oam.common.serviceroute.PathInfoList"}},"yang-path":{"type":"string"},"transport-type":{"type":"integer","format":"int64"},"tail-end-node-name":{"type":"string"},"status":{"type":"integer","format":"int64"}},"$$ref":"#/definitions/oam.operations.setoamtraceroutebycalc.Output"}}}},"204":{"description":"No response"},"400":{"description":"Internal error"}},"__originalOperationId":"setOamTraceRouteByCalc","consumes":["application/yang-data+json"],"produces":["application/yang-data+json"],"method":"post","path":"/operations/cisco-crosswork-optimization-engine-oam-operations:set-oam-trace-route-by-calc"}}