A&AI: External System Operation API Definition In ESR
- 1 VIM
- 1.1 VIM registration
- 1.2 Update VIM info
- 1.3 Get VIM
- 1.4 Get all VIM
- 1.5 Delete VIM
- 2 VNFM
- 2.1 VNFM registration
- 2.2 VNFM update
- 2.3 Get VNFM
- 2.4 Get all VNFM
- 2.5 Delete VNFM
- 3 SDN Controller
- 4 EMS
- 4.1 EMS registration
- 4.2 Update EMS info
- 4.4 Get EMS by id
- 4.5 Get all EMS
- 4.6 Delete EMS
- 5 PNF
- 5.1 PNF registration
- 5.2 Update PNF info
- 5.3 Get PNF by ID
- 5.4 Get all PNF
- 5.5 Delete PNF
- 6 Information elements
- 6.1 VNFM
- 6.2 VIM
- 6.3 SDN Controller
- 6.4 EMS
- 6.4.1 resourceAddr
- 6.4.2 performanceAddr
- 6.4.3 alarmAddr
- 6.5 PNF
VIM
VIM registration
Interface Definition | Description |
|---|---|
URI | /api/aai-esr-server/v1/vims |
Operation Type | POST |
Request Body:
Attribute | Qualifier | Default | Content | Description |
|---|---|---|---|---|
cloudOwner | M |
| String | cloud owner name, can be customized, e.g. att-aic |
cloudRegionId | M |
| String | cloud region info based on deployment, e.g. RegionOne |
cloudType | M |
| String | type of the cloud, decides which multicloud plugin to use, openstack or vio |
cloudRegionVersion | M |
| String | cloud version, ocata, mitaka or other |
ownerDefinedType | O |
| String | Cloud-owner defined type indicator (e.g., dcp, lcp) |
cloudZone | O |
| String | Zone where the cloud is homed. |
complexName | O |
| String | complex name for cloud-region instance. |
cloudExtraInfo | O |
| String | extra info for Cloud |
vimAuthInfos | M | 1 | [Obj] | Auth information of Cloud |
authInfoItem:
Attribute | Qualifier | Default | Content | Description |
|---|---|---|---|---|
cloudDomain | M |
| String | domain info for keystone v3 |
userName | M |
| String | User name |
password | M |
| String | Password |
authUrl | M |
| String | authentication url of the cloud, e.g. keystone url |
sslCacert | O |
| String | ca file content if enabled ssl on auth-url |
sslInsecure | O |
| Boolean | Whether to verify VIM's certificate |
Request Sample:
/api/aai-esr-server/v1/vims
Body:
{ "cloudOwner": "ZTE", "cloudRegionId": "region-one", "cloudType": "openstack", "cloudRegionVersion": "v1.0", "ownerDefinedType": "owner-defined-type", "cloudZone": "cloud zone", "complexName": "complex name", "cloudExtraInfo": "cloud-extra-info", "vimAuthInfos": [{ "userName": "admin", "password": "admin", "authUrl": "http://10.74.151.13:5000/v2.0", "sslCacert": "ssl-cacert", "sslInsecure": true, "cloudDomain": "cloud-domain" }]}
Response:
Success Code: 200
body:
{
"cloudOwner": "ZTE",
"cloudRegionId": "region-one"
}
Errorcode: 500 Internal Server Error
Update VIM info
Interface Definition | Description |
|---|---|
URI | /api/aai-esr-server/v1/vims/{cloudOwner}/{cloudRegionId} |
Operation Type | PUT |
Request Body:
Attribute | Qualifier | Default | Content | Description |
|---|---|---|---|---|
cloudType | M |
| String | type of the cloud, decides which multicloud plugin to use, openstack or vio |
cloudRegionVersion | M |
| String | cloud version, ocata, mitaka or other |
ownerDefinedType | O |
| String | Cloud-owner defined type indicator (e.g., dcp, lcp) |
cloudZone | O |
| String | Zone where the cloud is homed. |
complexName | O |
| String | complex name for cloud-region instance. |
cloudExtraInfo | O |
| String | extra info for Cloud |
| M |
| [Obj] | Auth information of Cloud |
authInfoItem:
Attribute | Qualifier | Default | Content | Description |
|---|---|---|---|---|
cloudDomain | M |
| String | domain info for keystone v3 |
userName | M |
| String | User name |
password | M |
| String | Password |
authUrl | M |
| String | authentication url of the cloud, e.g. keystone url |
| O |
| String | ca file content if enabled ssl on auth-url |
sslInsecure | O |
| Boolean | Whether to verify VIM's certificate |
Request Sample:
/api/aai-esr-server/v1/vims/ZTE/region-one
{
"cloudOwner": "ZTE",
"cloudRegionId": "region-one",
"cloudType": "openstack",
"cloudRegionVersion": "v1.0",
"ownerDefinedType": "owner-defined-type",
"cloudZone": "cloud zone",
"complexName": "complex name",
"cloudExtraInfo": "cloud-extra-info",
"vimAuthInfos":
[{
"userName": "admin",
"password": "admin",
"authUrl": "http://10.74.151.13:5000/v2.0",
"sslCacert": "ssl-cacert",
"sslInsecure": true,
"cloudDomain": "cloud-domain"
}]
}
Get VIM
Interface Definition | Description |
|---|---|
URI | /api/aai-esr-server/v1/vims/{cloudOwner}/{cloudRegionId} |
Operation Type | GET |
Request Parameters:
Attribute | Qualifier | Cardinality | Content | Description |
|---|---|---|---|---|
cloudOwner | M | 1 | String | Cloud owner |
cloudRegionId | M | 1 | String | Cloud region |
Request Sample:
/api/aai-esr-server/v1/vims/ZTE/region-one
Response Parameters:
Get all VIM
Interface Definition | Description |
|---|---|
URI | /api/aai-esr-server/v1/vims |
Operation Type | GET |
Request Parameters:
N/A
Request Sample:
/api/aai-esr-server/v1/vims
Response Parameters:
List<VIM>
Delete VIM
Interface Definition | Description |
|---|---|
URI | /api/aai-esr-server/v1/vims/{cloudOwner}/{cloudRegionId} |
Operation Type | DELETE |
Request Parameters:
Attribute | Qualifier | Cardinality | Content | Description |
|---|---|---|---|---|
vimId | M | 1 | String | VIM identifier |
Request Sample:
/api/aai-esr-server/v1/vims/owner/region-one
Response:
Success Code: 204
Errorcode: 500 Internal Server Error
VNFM
VNFM registration
Interface Definition | Description |
|---|---|
URI | /api/aai-esr-server/v1/vnfms |
Operation Type | POST |
Request Parameters:
Attribute | Qualifier | Cardinality | Content | Description |
|---|---|---|---|---|
name | M | 1 | String | VNFM name |
type | M | 1 | String | VNFM type |
vimId | O | 0..1 | String | Related VIM |
vendor | M | 1 | String | VNFM vendor |
version | M | 1 | String | VNFM version |
certificateUrl | O | 0..1 | String | certificate url |
Hello,
As all other updates are PUT operation, can you please, confirm if VNFM Update is a POST operation ?
Thanks.