{"type":"api","title":"Create OSPF Routes List","meta":{"id":"/apps/pubhub/media/sd-wan-api-20-16/58fb893fa751949ea20a40274e9ab219a20e19fa/e77267b5-7b4b-3f93-807c-c6d1c6b41343","info":{"title":"Cisco Catalyst SD-WAN Manager API","description":"The vManage API exposes the functionality of operations maintaining devices and the overlay network","contact":{"email":"vmanage@cisco.com"},"license":{"name":"Commercial License","url":"https://www.cisco.com/c/en/us/solutions/enterprise-networks/sd-wan/index.html"},"version":"2.0.0"},"openapi":"3.0.1","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Real-Time Monitoring - OSPF"],"description":"Get OSPF route list from device (Real Time)","operationId":"createOSPFRoutesList","parameters":[{"name":"deviceId","in":"query","description":"deviceId - Device IP","required":true,"schema":{"pattern":"^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$","type":"string","example":"169.254.10.10"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"examples":{"OSPF route list":{"description":"OSPF route list","value":{"data":[{"cost":"10","dest-type":"router","vdevice-name":"172.16.255.11","prefix":"172.16.255.12/32","flags":"2","info-id":"0","vpn-id":"1","vdevice-host-name":"vm1","if-name":"ge0/0","vdevice-dataKey":"172.16.255.11-1-router-172.16.255.12/32-0","route-type":"router","lastupdated":1646793742274,"area-id":"0","next-hop":"10.2.2.12","path-type":"intra-area"},{"cost":"20","dest-type":"router","vdevice-name":"172.16.255.11","prefix":"172.16.255.21/32","flags":"2","info-id":"0","vpn-id":"1","vdevice-host-name":"vm1","if-name":"ge0/0","vdevice-dataKey":"172.16.255.11-1-router-172.16.255.21/32-0","route-type":"router","lastupdated":1646793742276,"area-id":"0","next-hop":"10.2.2.12","path-type":"intra-area"},{"cost":"10","dest-type":"network","vdevice-name":"172.16.255.11","prefix":"10.2.2.0/24","flags":"0","info-id":"0","vpn-id":"1","vdevice-host-name":"vm1","if-name":"ge0/0","vdevice-dataKey":"172.16.255.11-1-network-10.2.2.0/24-0","route-type":"network","lastupdated":1646793742276,"area-id":"0","next-hop":"0.0.0.0","path-type":"intra-area"},{"cost":"20","dest-type":"network","vdevice-name":"172.16.255.11","prefix":"10.2.3.0/24","flags":"0","info-id":"0","vpn-id":"1","vdevice-host-name":"vm1","if-name":"ge0/0","vdevice-dataKey":"172.16.255.11-1-network-10.2.3.0/24-0","route-type":"network","lastupdated":1646793742276,"area-id":"0","next-hop":"10.2.2.12","path-type":"intra-area"},{"dest-type":"network","vdevice-name":"172.16.255.11","prefix":"172.16.255.112/32","flags":"78","info-id":"0","vpn-id":"1","vdevice-host-name":"vm1","type2-cost":"20","if-name":"ge0/0","vdevice-dataKey":"172.16.255.11-1-external-172.16.255.112/32-0","route-type":"external","lastupdated":1646793742276,"tag":"0","next-hop":"10.2.2.12","path-type":"external2"}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Routing-read,Routing-write","__originalOperationId":"createOSPFRoutesList","method":"get","path":"/device/ospf/routes"}}