UNPKG

@itentialopensource/adapter-nuage

Version:
1,097 lines 28 kB
{ "id": "@itentialopensource/adapter-nuage", "type": "Adapter", "export": "Nuage", "displayName": "Nuage", "title": "Nuage", "src": "adapter.js", "roles": [ "admin" ], "methods": [ { "name": "getEnterprises", "summary": "get enterprise from nuage", "description": "get enterprise from nuage", "input": [ { "name": "enterpriseId", "type": "string", "info": "the id of a specific enterprise to get" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "createEnterprise", "summary": "create enterprise in nuage", "description": "create a new enterprise in nuage", "input": [ { "name": "enterprise", "type": "object", "info": "the enterprise to be created in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "updateEnterprise", "summary": "update enterprise in nuage", "description": "update an existing enterprise in nuage", "input": [ { "name": "enterpriseId", "type": "string", "info": "the id of a specific enterprise to update" }, { "name": "enterprise", "type": "object", "info": "the enterprise information to update in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "deleteEnterprise", "summary": "delete enterprise in nuage", "description": "delete an enterprise in nuage", "input": [ { "name": "enterpriseId", "type": "string", "info": "the id of a specific enterprise to delete" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getDomains", "summary": "get domains from nuage", "description": "get domains from nuage", "input": [ { "name": "domainId", "type": "string", "info": "the id of a specific domain to get" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getEnterpriseDomains", "summary": "get enterprise domains from nuage", "description": "get the domains in the enterprise from nuage", "input": [ { "name": "enterpriseId", "type": "string", "info": "the id of a specific enterprise to get domains from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getDomainTemplates", "summary": "get domain templates from nuage", "description": "get the domain templates in the enterprise from nuage", "input": [ { "name": "enterpriseId", "type": "string", "info": "the id of a specific enterprise to get domain templates from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getDomainTemplate", "summary": "get a domain template from nuage", "description": "get the specific domain template from nuage", "input": [ { "name": "templateId", "type": "string", "info": "the id of a specific domain template to get" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "createDomain", "summary": "create domain in nuage", "description": "create a new domain in nuage", "input": [ { "name": "enterpriseId", "type": "string", "info": "the id of the enterprise to create the domain in" }, { "name": "domain", "type": "object", "info": "the domain to be created in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "createDomainTemplate", "summary": "create domain template in nuage", "description": "create a new domain template in nuage", "input": [ { "name": "enterpriseId", "type": "string", "info": "the id of the enterprise to create the domain template in" }, { "name": "template", "type": "object", "info": "the domain template to be created in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "updateDomain", "summary": "update domain in nuage", "description": "update an existing domain in nuage", "input": [ { "name": "domainId", "type": "string", "info": "the id of a specific domain to update" }, { "name": "domain", "type": "object", "info": "the domain information to update in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "updateDomainTemplate", "summary": "update domain template in nuage", "description": "update an existing domain template in nuage", "input": [ { "name": "templateId", "type": "string", "info": "the id of a specific domain template to update" }, { "name": "template", "type": "object", "info": "the domain template information to update in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "deleteDomain", "summary": "delete domain in nuage", "description": "delete an domain in nuage", "input": [ { "name": "domainId", "type": "string", "info": "the id of a specific domain to delete" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "deleteDomainTemplate", "summary": "delete domain template in nuage", "description": "delete an domain template in nuage", "input": [ { "name": "templateId", "type": "string", "info": "the id of a specific domain template to delete" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getZones", "summary": "get zones from nuage", "description": "get zones from nuage", "input": [ { "name": "zoneId", "type": "string", "info": "the id of a specific zone to get" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getDomainZones", "summary": "get domain zones from nuage", "description": "get the zones in the domain from nuage", "input": [ { "name": "domainId", "type": "string", "info": "the id of a specific domain to get zones from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "createZone", "summary": "create zone in nuage", "description": "create a new zone in nuage", "input": [ { "name": "domainId", "type": "string", "info": "the id of the domain to create the zone in" }, { "name": "zone", "type": "object", "info": "the zone to be created in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "updateZone", "summary": "update zone in nuage", "description": "update an existing zone in nuage", "input": [ { "name": "zoneId", "type": "string", "info": "the id of a specific zone to update" }, { "name": "zone", "type": "object", "info": "the zone information to update in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "deleteZone", "summary": "delete zone in nuage", "description": "delete a zone in nuage", "input": [ { "name": "zoneId", "type": "string", "info": "the id of a specific zone to delete" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getSubnets", "summary": "get subnets from nuage", "description": "get subnets from nuage", "input": [ { "name": "subnetId", "type": "string", "info": "the id of a specific subnet to get" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getDomainSubnets", "summary": "get domain subnets from nuage", "description": "get the subnets in the domain from nuage", "input": [ { "name": "domainId", "type": "string", "info": "the id of a specific domain to get subnets from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getZoneSubnets", "summary": "get zone subnets from nuage", "description": "get the subnets in the zone from nuage", "input": [ { "name": "zoneId", "type": "string", "info": "the id of a specific zone to get subnets from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "createSubnet", "summary": "create subnet in nuage", "description": "create a new subnet in nuage", "input": [ { "name": "zoneId", "type": "string", "info": "the id of the zone to create the subnet in" }, { "name": "subnet", "type": "object", "info": "the subnet to be created in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "updateSubnet", "summary": "update subnet in nuage", "description": "update an existing subnet in nuage", "input": [ { "name": "subnetId", "type": "string", "info": "the id of a specific subnet to update" }, { "name": "subnet", "type": "object", "info": "the subnet information to update in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "deleteSubnet", "summary": "delete subnet in nuage", "description": "delete a subnet in nuage", "input": [ { "name": "subnetId", "type": "string", "info": "the id of a specific subnet to delete" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getVports", "summary": "get vports from nuage", "description": "get vports from nuage", "input": [ { "name": "domainId", "type": "string", "info": "the id of a specific domain to get vports from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getVport", "summary": "get a vport from nuage", "description": "get a specific vport from nuage", "input": [ { "name": "vportId", "type": "string", "info": "the id of a specific vport to get" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getZoneVports", "summary": "get zone vports from nuage", "description": "get the vports in the zone from nuage", "input": [ { "name": "zoneId", "type": "string", "info": "the id of a specific zone to get vports from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getSubnetVports", "summary": "get subnet vports from nuage", "description": "get the vports in the subnet from nuage", "input": [ { "name": "subnetId", "type": "string", "info": "the id of a specific subnet to get vports from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "createVport", "summary": "create vport in nuage", "description": "create a new vport in nuage", "input": [ { "name": "subnetId", "type": "string", "info": "the id of the subnet to create the vport in" }, { "name": "vport", "type": "object", "info": "the vport to be created in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "updateVport", "summary": "update vport in nuage", "description": "update an existing vport in nuage", "input": [ { "name": "vportId", "type": "string", "info": "the id of a specific vport to update" }, { "name": "vport", "type": "object", "info": "the vport information to update in nuage" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "deleteVport", "summary": "delete vport in nuage", "description": "delete a vport in nuage", "input": [ { "name": "vportId", "type": "string", "info": "the id of a specific vport to delete" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getVMs", "summary": "get vms from nuage", "description": "get vms from nuage", "input": [ { "name": "vmId", "type": "string", "info": "the id of a specific vm to get" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getEnterpriseVMs", "summary": "get enterprise vms from nuage", "description": "get the vms in the enterprise from nuage", "input": [ { "name": "enterpriseId", "type": "string", "info": "the id of a specific enterprise to get vms from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getDomainVMs", "summary": "get domain vms from nuage", "description": "get the vms in the domain from nuage", "input": [ { "name": "domainId", "type": "string", "info": "the id of a specific domain to get vms from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getZoneVMs", "summary": "get zone vms from nuage", "description": "get the vms in the zone from nuage", "input": [ { "name": "zoneId", "type": "string", "info": "the id of a specific zone to get vms from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getSubnetVMs", "summary": "get subnet vms from nuage", "description": "get the vms in the subnet from nuage", "input": [ { "name": "subnetId", "type": "string", "info": "the id of a specific subnet to get vms from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getVportVMs", "summary": "get vport vms from nuage", "description": "get the vms in the vport from nuage", "input": [ { "name": "vportId", "type": "string", "info": "the id of a specific vport to get vms from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getVMinterfaces", "summary": "get vm interfaces from nuage", "description": "get vm interfaces from nuage", "input": [ { "name": "vminterfaceId", "type": "string", "info": "the id of a specific vm interface to get" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getDomainVMinterfaces", "summary": "get domain vm interfaces from nuage", "description": "get the vm interfaces in the domain from nuage", "input": [ { "name": "domainId", "type": "string", "info": "the id of a specific domain to get vm interfaces from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getZoneVMinterfaces", "summary": "get zone vm interfaces from nuage", "description": "get the vm interfaces in the zone from nuage", "input": [ { "name": "zoneId", "type": "string", "info": "the id of a specific zone to get vm interfaces from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getSubnetVMinterfaces", "summary": "get subnet vm interfaces from nuage", "description": "get the vm interfaces in the subnet from nuage", "input": [ { "name": "subnetId", "type": "string", "info": "the id of a specific subnet to get vm interfaces from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getVportVMinterfaces", "summary": "get vport vm interfaces from nuage", "description": "get the vm interfaces in the vport from nuage", "input": [ { "name": "vportId", "type": "string", "info": "the id of a specific vport to get vm interfaces from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getVMVMinterfaces", "summary": "get vm - vm interfaces from nuage", "description": "get the vm interfaces in the vm from nuage", "input": [ { "name": "vmId", "type": "string", "info": "the id of a specific vm to get vm interfaces from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getVRSs", "summary": "get vrs from nuage", "description": "get vrs from nuage", "input": [ { "name": "vrsId", "type": "string", "info": "the id of a specific vrs to get" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getDomainZones", "summary": "get domain zones from nuage", "description": "get the zones in the domain from nuage", "input": [ { "name": "domainId", "type": "string", "info": "the id of a specific domain to get zones from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getZoneSubnets", "summary": "get zone subnets from nuage", "description": "get the subnets in the zone from nuage", "input": [ { "name": "zoneId", "type": "string", "info": "the id of a specific zone to get subnets from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getSubnetVports", "summary": "get subnet vports from nuage", "description": "get the vports in the subnet from nuage", "input": [ { "name": "subnetId", "type": "string", "info": "the id of a specific subnet to get vports from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true }, { "name": "getVportVminterfaces", "summary": "get vport vminterfaces from nuage", "description": "get the vminterfaces in the vport from nuage", "input": [ { "name": "vportId", "type": "string", "info": "the id of a specific vport to get vminterfaces from" } ], "output": { "name": "result", "type": "object", "description": "A JSON Object containing status, code and the result" }, "roles": [ "admin" ], "task": true } ] }