...
Errorcode: 500 Internal Server Error
VIM
VIM registration(Update VIM)
Interface Definition | Description |
---|---|
URI | /api/aai-cloudInfrastructure/v1/cloud-regions/cloud-region/{cloud-owner}/{cloud-region-id} |
Operation Type | PUT |
...
Attribute | Qualifier | Cardinality | Content | Description |
---|---|---|---|---|
cloudOwnercloud-owner | M | 1 | String | Cloud ownercloudRegionId |
cloud-regionId | M | 1 | String | Cloud regionauthInfo |
auth-info | M | 1 | Obj | Auth information of Cloud |
authInfo:
Attribute | Qualifier | Cardinality | Content | Description |
---|---|---|---|---|
url | M | 1 | String | Access url |
userName | M | 1 | String | User name |
password | M | 1 | String | Password |
tenant | M | 1 | String | Tenant name |
domain | O | 0..1 | String | Domain |
vendor | M | 1 | String | VIM vendor |
version | M | 1 | String | VIM version |
type | M | 1 | String | VIM type |
Request Sample:
/onapapiapi/aai/esr/v1/vims-cloudInfrastructure/v1/cloud-regions/cloud-region/owner/region-one
{
"cloud-owner":"owner",
"cloud-region":"region-one",
...
Errorcode: 500 Internal Server Error
Get VIM
...
Interface Definition | Description |
---|---|
URI | /api/aai-cloudInfrastructure/v1/cloud-regions/cloud-region/{cloud-owner}/{cloud-region-id} |
Operation Type | GET |
...
Request Sample:
/api/aai-cloudInfrastructure/v1/cloud-regions/cloud-region/owner/region-one
Response Parameters:
Get all VIM
Interface Definition | Description |
---|---|
URI | /api/aai-cloudInfrastructure/v1/cloud-regions |
Operation Type | GET |
...
Response Sample:
Success Code: 201
[ {
"cloud-owner":"owner",
"cloud-region":"region-one",
"authInfo": {
"url":"http://10.74.151.13:5000/v2.0", "userName":"admin", "password":"admin", "tenant":"admin", "vendordomain":"ZTE", "version":"v1.0", "domain":"", "type":"openstack" } ]
Update VIM
...
Request Parameters:
...
Request Sample:
/onapapi/aai/esr/v1/vims?cloudOwner=owner&cloudRegionId=region-one
{
"cloudOwner":"owner",
"cloudRegionId":"region-one",
"url":"http://10.74.151.13:5000/v2.0", "userName":"admin", "password":"adminvendor":"ZTE", "tenantversion":"adminv1.0", "domaintype":"openstack",
}
"version":"v2.0" }
Response:
Success Code: 201
...
]
Delete VIM
Interface Definition | Description |
---|---|
URI | /onapapi/aai/esr/v1/vims?cloudOwner=xxx&cloudRegionId=xxx |
Operation Type | DELETE |
...
Attribute | Content | Description |
---|---|---|
vnfmId | String | VNFM identifier(UUID) |
name | String | VNFM name |
description | String | VNFM description |
version | String | VNFM version |
vendor | String | VNFM vendor |
type | String | VNFM type |
url | String | Access url |
userName | String | User name |
password | String | Password |
createTime | String | Create time |
vimId | String | Related VIM |
certificateUrl | String | VNFM certificate url |
VIM
Attribute | Qualifier | Cardinality | Content | Description |
---|---|---|---|---|
cloudOwner | M | 1 | String | Cloud owner |
cloudRegionId | M | 1 | String | Cloud region |
cloud-type | O | 0...1 | String | Type of the cloud (e.g., openstack) |
owner-defined-type | O | 0...1 | String | Cloud-owner defined type indicator |
cloud-region-version | O | 0...1 | String | Software version employed at the site |
identity-url | O | 0...1 | String | URL of the keystone identity service |
cloud-zone | O | 0...1 | String | Zone where the cloud is homed |
complex-name | O | 0...1 | String | complex name for cloud-region instance |
resource-version | O | 0...1 | String | Used for optimistic concurrency. Must be empty on create, valid on update and delete. |
volume-groups | O | 0...1 | object[] | definition detail see AAI API |
tenants | O | 0...1 | object[] | definition detail see AAI API |
flavors | O | 0...1 | object[] | definition detail see AAI API |
group-assignments | O | 0...1 | object[] | definition detail see AAI API |
snapshots | O | 0...1 | object[] | definition detail see AAI API |
images | O | 0...1 | object[] | definition detail see AAI API |
availability-zones | O | 0...1 | object[] | definition detail see AAI API |
relationship-list | O | 0...1 | object[] | definition detail see AAI API |
authInfo | M | 1 | Obj | Auth information of Cloud |
volume-group
Attribute | Qualifier | Cardinality | Content | Description |
---|---|---|---|---|
volume-group-id | M | 1 | String | Unique ID of volume-group. |
volume-group-name | M | 1 | String | Name of the volume group. |
heat-stack-id | O | 0...1 | String | Heat stack id corresponding to this volume-group |
vnf-type | M | 1 | String | String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded and clients should expect changes to occur in the future to this field as ASDC matures. |
orchestration-status | O | 0...1 | String | Orchestration status of this volume-group |
resource-version | O | 0...1 | String | Used for optimistic concurrency. Must be empty on create, valid on update and delete. |
relationship-list | O | 0...1 | object[] |
authInfo
...
Attribute | Qualifier | Cardinality | Content | Description |
---|---|---|---|---|
url | M | 1 | String | Access url |
userName | M | 1 | String | User name |
password | M | 1 | String | Password |
tenant | M | 1 | String | Tenant name |
domain | O | 0..1 | String | Domain |
vendor | M | 1 | String | VIM vendor |
version | M | 1 | String | VIM version |
type | M | 1 | String | VIM type |
SDN Controller
Attribute | Content | Description |
---|---|---|
sdnControllerId(UUID) | String | SDN Controller identifier |
name | String | SDN Controller name |
description | String | description |
version | String | version |
vendor | String | vendor |
type | Enum{WAN/DC} | SDN Controller type |
url | String | Access url |
userName | String | User name |
password | String | Password |
createTime | String | Create time |
protocol | Enum{netconf/snmp} | protocol |
productName | String | productName |
location | String | only fit for DC type |
...