@itentialopensource/adapter-nokia_nsp_device_configurator
Version:
This adapter integrates with system described as: 22.11Modeled-deviceConfiguratorRestconfApis.
67 lines • 2.22 kB
JSON
{
"actions": [
{
"name": "fieldquerytoselectmultiplefieldsunderthetargetresource",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/restconf/data/network-device-mgr:network-devices/{pathv1}/root/nokia-conf:/configure/port?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/fieldquerytoselectmultiplefieldsunderthetargetresource-default.json"
}
]
},
{
"name": "fieldquerywithsubSelectorsofanodeunderthetargetresource",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/restconf/data/network-device-mgr:network-devices/{pathv1}/root/nokia-conf:/configure/{pathv2}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/fieldquerywithsubSelectorsofanodeunderthetargetresource-default.json"
}
]
},
{
"name": "fieldQueryToRetrieveASingleChildNodeUnderTheTargetResource",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/restconf/data/network-device-mgr:network-devices/{pathv1}/root/nokia-conf:/configure/{pathv2}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/fieldquerytoretrieveasinglechildnodeunderthetargetresource-default.json"
}
]
}
]
}