Returns every connection of a cloud router in one VRF as a leg: its saved configuration joined with what the router reports right now. Pass legId as kind:id to get one leg. With live=false no live source is read and every leg is not_instrumented; a pending refresh of the saved configuration can still reach the router. live.state is measured, finding (down), not_instrumented (nothing measures it) or unavailable (the read that measures it failed). Each bgp-neighbor leg carries underlying: the link it runs over as { kind, id, name, state }, null when that link is gone, or kind 'unknown' (id, name and state null) when it cannot be determined. meta.health is { state : up|partial|down|unknown|none, down, unmeasured }: any leg down is down, unavailable legs (counted in unmeasured) make it partial or unknown, not_instrumented ones never count.
GET/cloud-routing/routers/:routerId/view/routing/:vrfId/legs
Returns every connection of a cloud router in one VRF as a leg: its saved configuration joined with what the router reports right now. Pass legId as kind:id to get one leg. With live=false no live source is read and every leg is not_instrumented; a pending refresh of the saved configuration can still reach the router. live.state is measured, finding (down), not_instrumented (nothing measures it) or unavailable (the read that measures it failed). Each bgp-neighbor leg carries underlying: the link it runs over as { kind, id, name, state }, null when that link is gone, or kind 'unknown' (id, name and state null) when it cannot be determined. meta.health is { state : up|partial|down|unknown|none, down, unmeasured }: any leg down is down, unavailable legs (counted in unmeasured) make it partial or unknown, not_instrumented ones never count.
Request
Responses
- 200
- 204
- 400
- 403
An OK response
When you do a PATCH request, this indicates no actual were applied because the values you requested would not change anything.
A response provided when the request is invalid.
A response provided when the request is not authenticated.