adapter-nso Schemas

On this page:


{ "$id": "addDeviceInput", "title": "Add Device", "description": "JSON object defining input for add device", "type": "object", "properties": { "name": { "type": "string", "description": "Name of device" }, "tenant": { "type": "string", "description": "Name of the tenant" }, "address": { "type": "string", "description": "IP address for the device", "pattern": "((25[0-5])|(2[0-4]\\d)|(1\\d\\d)|([1-9]?\\d))((^|\\.)((25[0-5])|(2[0-4]\\d)|(1\\d\\d)|([1-9]?\\d))){3}" }, "port": { "type": "number", "minimum": 0, "maximum": 65535, "multipleOf": 1, "description": "Port number to connect with the device" }, "authgroup": { "type": "string", "description": "Device authgroup in the NSO" }, "device-type": { "type": "string", "description": "Type of device", "enum": [ "cli", "generic", "snmp", "netconf" ] }, "ned": { "type": "string", "description": "NED Id associaed with the device" }, "protocol": { "type": "string", "description": "Protocol used to connect to the device", "pattern": "[A-Za-z]+" }, "snmp-authgroup": { "type": "string", "description": "snmp authgroup for this device" }, "version": { "type": "string", "description": "snmp version for this device" } }, "required": [ "name", "address", "port", "authgroup", "device-type", "ned" ] }