Summary
Get a list of providers
Description
Get a list of valid provider destinations
Route
GET /smart_template/destinations
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
This method has no parameters |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
destination_list |
array |
Array of Provider Ids |
Copied to Clipboard
[
{
"id": "d82ybpQ4",
"type": "wKFfZiZeHG",
"brokers": [
"compliance"
],
"groups": [
"37bdcf37-3456-c856-215d-413d1ae1e92e"
],
"properties": {
"http": {
"host": "127.0.0.1",
"port": 8080
},
"netconf": {
"host": "localhost",
"port": 2022,
"protocol": "ssh",
"frame_size": 16376
},
"credentials": {
"user": "admin",
"passwd": "admin"
},
"commitWait": 10000,
"poolSize": 3,
"authenticationStrategy": {
"type": "machine",
"location": "NSO",
"method": "myCustomAuthScript"
},
"ssl": {
"enabled": false,
"acceptInvalidCerts": false,
"caFile": "",
"ciphers": ""
}
}
},
{
"id": "vLaWFV",
"type": "CQoqHa",
"brokers": [
"service"
],
"groups": [
"a831025d-b155-8919-c616-8264e14307ea"
],
"properties": {
"http": {
"host": "localhost",
"port": 8080
},
"netconf": {
"host": "localhost",
"port": 2022,
"protocol": "ssh",
"frame_size": 16376
},
"credentials": {
"user": "admin",
"passwd": "admin"
},
"commitWait": 10000,
"poolSize": 3,
"authenticationStrategy": {
"type": "machine",
"location": "NSO",
"method": ""
},
"ssl": {
"enabled": false,
"acceptInvalidCerts": false,
"caFile": "keys/key.pem",
"ciphers": "DHE-RSA-AES256-SHA"
}
}
},
{
"id": "z6iYQSL",
"type": "RQpdgDfrFO",
"brokers": [
"compliance"
],
"groups": [
"fe6fdfd1-8ff6-ce2f-340f-c27788abfb2f"
],
"properties": {
"http": {
"host": "localhost",
"port": 8080
},
"netconf": {
"host": "localhost",
"port": 2022,
"protocol": "ssh",
"frame_size": 16376
},
"credentials": {
"user": "admin",
"passwd": "admin"
},
"commitWait": 10000,
"poolSize": 3,
"authenticationStrategy": {
"type": "machine",
"location": "",
"method": "tokenLogin"
},
"ssl": {
"enabled": false,
"acceptInvalidCerts": false,
"caFile": "keys/key.pem",
"ciphers": "DHE-RSA-AES256-SHA"
}
}
},
{
"id": "pDtqKDV",
"type": "Iz",
"brokers": [
"device"
],
"groups": [
"f3447399-3aed-9748-0ba8-d23d37dbf0dc"
],
"properties": {
"http": {
"host": "localhost",
"port": 8080
},
"netconf": {
"host": "127.0.0.1",
"port": 2022,
"protocol": "ssh",
"frame_size": 16376
},
"credentials": {
"user": "admin",
"passwd": "admin"
},
"commitWait": 10000,
"poolSize": 3,
"authenticationStrategy": {
"type": "machine",
"location": "NSO",
"method": "tokenLogin"
},
"ssl": {
"enabled": false,
"acceptInvalidCerts": false,
"caFile": "",
"ciphers": ""
}
}
}
]
Copied to Clipboard
{
"type": "array",
"minItems": 2,
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "[a-zA-Z0-9]+"
},
"type": {
"type": "string",
"pattern": "[a-zA-Z]+"
},
"brokers": {
"type": "array",
"items": [
{
"type": "string",
"enum": [
"device",
"service",
"compliance",
"persistence"
]
}
]
},
"groups": {
"type": "array",
"items": [
{
"type": "string",
"pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$"
}
]
},
"properties": {
"$ref": "adapterNSOSchema"
}
},
"required": [
"id",
"type",
"brokers",
"groups",
"properties"
]
}
}