...
Value | Description | |
---|---|---|
URL | http://hostname:8888/opennaas/resources/remove/{resourceId} | |
Method | POSTDELETE | |
Path Parameter | resourceId | Id of the resource to be removed. |
Return | - |
...
Value | Description | |
---|---|---|
URL | http://hostname:8888/opennaas/getResourceTypesresources/type | |
Method | GET | |
Return | List<String> | Name of the resources types supported by OpenNaaS. |
...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <elements><resourcesTypes> <element xsi:type="xs:string">bod</element> <element xsi:type="xs:string">roadm</element> <element xsi:type="xs:string">MACBridgeIOS</element> <element xsi:type="xs:string">pdu</element> <element xsi:type="xs:string">sampleresource</element> <element xsi:type="xs:string">quantumresource</element> <element xsi:type="xs:string">network</element> <element xsi:type="xs:string">powernet</element> <element xsi:type="xs:string">vnmapper</element> <element xsi:type="xs:string">router</element> <element xsi:type="xs:string">openflowswitch</element> <element xsi:type="xs:string">vcpenet</element> <element xsi:type="xs:string">ofnetwork</element> </elements> <resourceType>bod</resourceType> <resourceType>roadm</resourceType> <resourceType>MACBridgeIOS</resourceType> <resourceType>pdu</resourceType> <resourceType>sampleresource</resourceType> <resourceType>quantumresource</resourceType> <resourceType>network</resourceType> <resourceType>powernet</resourceType> <resourceType>vnmapper</resourceType> <resourceType>router</resourceType> <resourceType>openflowswitch</resourceType> <resourceType>vcpenet</resourceType> <resourceType>ofnetwork</resourceType> </resourcesTypes> |
GetNameFromResourceID
Given the resourceId of an existing resource, this method return its name.
...