{"type":"api","title":"Modify an RSVP-TE tunnel","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/12f7c7f2-ff72-3233-9d84-8e3a78dbf913","info":{"description":"This API provides operations for managing RSVP-TE tunnels, including creation, modification, deletion, and dry-run simulations.","version":"7.1.0","title":"Cisco Crosswork RSVP-TE Tunnel 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":"rsvpTeTunnelModify","tags":["cisco-crosswork-optimization-engine-rsvp-te-tunnel-operations"],"summary":"Modify an RSVP-TE tunnel","description":"Modifies the configuration of an existing RSVP-TE tunnel.","parameters":[{"in":"body","name":"rsvp.te.tunnel.common.RsvpTeTunnelDetailList.body-param","description":"Input parameters for modifying an RSVP-TE tunnel.","required":false,"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"rsvp-te-tunnels":{"type":"array","items":{"type":"object","properties":{"head-end":{"type":"string","description":"The IP address of the RSVP-TE tunnel source"},"end-point":{"type":"string","description":"The IP address of the RSVP-TE tunnel destination"},"path-name":{"type":"string","description":"The path name of the RSVP-TE tunnel"},"rsvp-te-tunnel-path":{"type":"object","properties":{"disjointness":{"x-choice":"rsvp-te-tunnel-path:dynamic-path","type":"object","properties":{"association-group":{"type":"integer","format":"int64","description":"Association group"},"disjointness-type":{"type":"string","enum":["node","circuit","srlg","srlg-node"],"$$ref":"#/definitions/rsvp.te.tunnel.common.DisjointnessTypeEnumeration"},"association-sub-group":{"type":"integer","format":"int64","description":"Association sub-group"}},"$$ref":"#/definitions/rsvp.te.tunnel.common.rsvptetunneldynamicpath.Disjointness"},"hops":{"type":"array","items":{"type":"object","properties":{"hop":{"type":"object","properties":{"adjacency-address":{"type":"string","description":"The IPv4 adjacency address","x-choice":"hop:adjacency-hop"},"node-address":{"type":"string","description":"The IPv4 node address","x-choice":"hop:node-hop"}},"$$ref":"#/definitions/rsvp.te.tunnel.common.rsvptetunnelexplicitpath.hops.Hop"},"step":{"type":"integer","format":"int64","description":"The representation of the hop order in the path"},"hop-type":{"description":"The type of hop, strict or loose","type":"string","enum":["loose","strict"],"$$ref":"#/definitions/rsvp.te.tunnel.common.HopType"}},"$$ref":"#/definitions/rsvp.te.tunnel.common.rsvptetunnelexplicitpath.Hops"},"x-choice":"rsvp-te-tunnel-path:explicit-path"},"optimization-objective":{"description":"The objective to minimize, igp-metric, te-metric or delay","x-choice":"rsvp-te-tunnel-path:dynamic-path","type":"string","enum":["igp-metric","te-metric","delay"],"$$ref":"#/definitions/rsvp.te.tunnel.common.OptimizationObjectiveEnumeration"},"affinities":{"x-choice":"rsvp-te-tunnel-path:dynamic-path","type":"object","properties":{"include-all":{"type":"integer","format":"int64","description":"include-any affinity bits combined into an unsigned integer"},"exclude-any":{"type":"integer","format":"int64","description":"include-any affinity bits combined into an unsigned integer"},"include-any":{"type":"integer","format":"int64","description":"include-any affinity bits combined into an unsigned integer"}},"$$ref":"#/definitions/rsvp.te.tunnel.common.rsvptetunneldynamicpath.Affinities"}},"$$ref":"#/definitions/rsvp.te.tunnel.common.rsvptetunnelpath.RsvpTeTunnelPath"},"binding-label":{"type":"integer","format":"int64","description":"The binding label for the RSVP-TE tunnel"},"description":{"type":"string","description":"The description of the RSVP-TE tunnel"},"setup-priority":{"type":"integer","format":"int64","description":"Setup priority for the RSVP-TE tunnel"},"signaled-bandwidth":{"type":"integer","format":"int32","description":"The signaled bandwidth for the RSVP-TE tunnel","default":0},"hold-priority":{"type":"integer","format":"int64","description":"Hold priority for the RSVP-TE tunnel"},"fast-re-route":{"description":"Enable or disable fast re-route of the RSVP-TE tunnel","type":"string","enum":["enable","disable"],"$$ref":"#/definitions/rsvp.te.tunnel.common.FastReRoute"}},"$$ref":"#/definitions/rsvp.te.tunnel.common.rsvptetunneldetaillist.RsvpTeTunnels"}}},"$$ref":"#/definitions/rsvp.te.tunnel.common.RsvpTeTunnelDetailList"}}}}],"responses":{"200":{"description":"Correct response","schema":{"type":"object","properties":{"output":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"head-end":{"type":"string","description":"The IP address of the RSVP-TE tunnel source"},"end-point":{"type":"string","description":"The IP address of the RSVP-TE tunnel destination"},"path-name":{"type":"string","description":"The path name of the RSVP-TE tunnel"},"message":{"type":"string","description":"The details of state above, for failure and degraded"},"state":{"description":"The result for a RSVP-TE tunnel create, update or delete operation","type":"string","enum":["success","failure","degraded"],"$$ref":"#/definitions/rsvp.te.tunnel.common.StateEnumeration"}},"$$ref":"#/definitions/rsvp.te.tunnel.common.rsvptetunnelresultlist.Results"}}},"$$ref":"#/definitions/rsvp.te.tunnel.common.RsvpTeTunnelResultList"}}}},"204":{"description":"No response"},"400":{"description":"Internal error"}},"__originalOperationId":"rsvpTeTunnelModify","consumes":["application/yang-data+json"],"produces":["application/yang-data+json"],"method":"post","path":"/operations/cisco-crosswork-optimization-engine-rsvp-te-tunnel-operations:rsvp-te-tunnel-modify"}}