Skip to main content

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​

An OK response