Mist Runner Collections 0.3.14.2

Number of APIs: 84

This Qodex collection gather multiple Qodex Runners to automate Juniper Mist deployment and configuration.

Site Creation

This collection will use a CSV Template to create multiple sites via the Mist API.

It also uses a google API to get the lat/long of the address and use the properly formatted address returned from Google Maps.

Inventory Assignment

This collection will use a CSV Template to assign multiple devices to a site.

SDWAN Build

This collection runner will deploy Hub-Spoke topology via MIST APIs call.
It require use a CSV Template to create new Organization with multiple sites via the Mist API and environmental variables.

Troubleshooting

Site Troubleshooting

This collection will iterate through sites and check the AP version for what is defined in the site settings and check the APs for the site to make sure they are running the correct version. It will fail a test and log an ERROR to the console for each AP that is not in compliance.

Device Troubleshooting

This collection will use a the exported JSON payload of all sites to upgrade all sites that do not match the desired_ap_version variable

Update Sites

Group of Qodex Runners to update sites configuration:

  • templates
  • SLEs
  • Autoupgrade Firmwares
  • Site Webhooks
  • Site Variables
  • ...

Update Devices

Group of Qodex Runners to update device configuration:

  • name
  • management
  • notes
  • IPs
  • ...
  1. Update Sites(Group)-Add Webhook To Sites - createSiteWebhook - Webhook POST https://{{host}}/api/v1/sites/:site_id/webhooks

  2. SDWAN build-Devices - MIST-devices GET {{host}}/api/v1/orgs/{{org_id}}/inventory

  3. SDWAN build-Devices - MIST-claim_devices POST {{host}}/api/v1/orgs/{{org_id}}/inventory

  4. Update Devices(Group)-Reset Installer Mode - getOrgInventory_installer GET https://{{host}}/api/v1/orgs/:org_id/inventory?mac={{mac}}

  5. SDWAN build-Common - MIST-Hub-network POST {{host}}/api/v1/orgs/{{org_id}}/networks

  6. Update Devices(Group)-Device Management - getOrgInventory_management GET https://{{host}}/api/v1/orgs/:org_id/inventory?mac={{mac_address}}

  7. SDWAN build-Base - MIST-base GET {{host}}/api/v1/self

  8. Update Sites(Group)-Add sitegroup_ids To Sites - updateSiteGroups PUT https://{{host}}/api/v1/sites/:site_id

  9. Inventory Assignment - getOrgSitesByName_assignment GET https://{{host}}/api/v1/orgs/:org_id/sites

  10. Update Sites(Group)-Add sitegroup_ids To Sites - getOrgSites GET https://{{host}}/api/v1/orgs/:org_id/sites