ska-network-deploy-automation documentation

API Reference

GET /api/device/mgmt_intf

Get Mgmt Intf

Request Netbox platform for device’s mgmt interface name, IP and netmask based on serial number query parameter

Query Parameters:
  • serial (string) – Device serial number (Required)

Status Codes:
GET /api/device/os

Get Os

Request Netbox platform for the OS version that should be installed in the device based on serial, model and current version query parameter

Query Parameters:
  • serial (string) – Device serial number (Required)

  • model (string) – Device model (Required)

  • version (string) – current OS Version installed (Required)

Status Codes:
POST /api/device/config

Post Init Conf

ZTP server is notified with the following HTTP POST that target OS and bootstrap.cfg were installed

Status Codes:
POST /api/config/test

Post Test Conf

Trigger the testing device pipeline

Status Codes:
POST /api/config/deploy

Post Deploy Conf

Trigger the configuration deployment (merge)

Status Codes:
POST /api/config/render

Post Render Conf

Trigger the configuration rendering in Netbox and save the file in /opt/ska-network-deploy/configs

Status Codes: