What queries can be run against Versa to view VNA inventory?

book

Article ID: 186844

calendar_today

Updated On:

Products

CA Virtual Network Assurance

Issue/Introduction

What are some examples of REST calls that VNA makes against the  VERSA plugin to validate that we are getting Data back from Versa Director ? 

Cause

NA

Environment

Component : Virtual Network Assurance

Resolution

  • Get Version - {PROTOCOL}://{DIRECTOR_IP}:{DIRECTOR_PORT}/api/operational/system/package-info?deep=true
  • Get Organizations - {PROTOCOL}://{DIRECTOR_IP}:{DIRECTOR_PORT}/api/config/nms/provider/organizations/organization
  • Get Appliances - {PROTOCOL}://{DIRECTOR_IP}:{DIRECTOR_PORT}/api/config/nms/provider/appliances/appliance
  • Get Assets - {PROTOCOL}://{DIRECTOR_IP}:{DIRECTOR_PORT}/vnms/assets/asset
  • Get Interfaces Brief - {PROTOCOL}://{DIRECTOR_IP}:{DIRECTOR_PORT}/vnms/dashboard/appliance/#{applianceName}/live?command=interfaces/brief
  • Get SLA-Profiles - {PROTOCOL}://{DIRECTOR_IP}:{DIRECTOR_PORT}/api/config/devices/device/#{deviceName}/config/orgs/org-services/#{orgName}/sd-wan/sla-profiles/sla-profile
  • Get Device Interfaces - {PROTOCOL}://{DIRECTOR_IP}:{DIRECTOR_PORT}/api/config/devices/device/#{deviceName}/config/interfaces/tvi?deep
  • Get Tunnels - {PROTOCOL}://{DIRECTOR_IP}:{DIRECTOR_PORT}/api/operational/devices/device/#{deviceName}/live-status/orgs/org/#{orgName}/sd-wan/statistics/access-circuit?deep