Create the ZTP template for one OS type
One template per OS type; creating a second one is rejected.
Required scope: SRE (roles: Air SRE)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
os_type
OS family this template applies to.
cumulus- Cumulusnvos- NVOS
Allowed values:
template
Template body. Cumulus: a string holding the provisioning script. NVOS: a JSON object holding the ZTP configuration.
Response
id
created
modified
os_type
OS family this template applies to.
cumulus- Cumulusnvos- NVOS
Allowed values:
template
Template body. Cumulus: a string holding the provisioning script. NVOS: a JSON object holding the ZTP configuration.
created_by
The client who originally created the ZTP template.
last_modified_by
The client who last updated the ZTP template.
Errors
400
Bad Request Error
403
Forbidden Error
500
Internal Server Error