Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

VIM

...

VIM registration(Update

...

VIM)

Interface DefinitionDescription
URI

/api/aai-

vnfm

cloudInfrastructure/v1/

vnfms/vnfm/{vnfmId

cloud-regions/cloud-region/{cloud-owner}/{cloud-region-id}

Operation TypePUT

Request ParametersBody:

nametypevendor
AttributeQualifierCardinalityContentDescription
vnfmIdcloud-ownerOM0..1StringVNFM UUID generated by ESRCloud owner
cloud-regionIdM1StringVNFM nameCloud region
auth-infoM1StringVNFM type
vimIdO0..1StringRelated VIM
ObjAuth information of Cloud

authInfo:

AttributeQualifierCardinalityContentDescription
urlM1StringAccess url
userNameM1StringVNFM vendorUser name
versionpasswordM1StringVNFM versionPassword
descriptiontenantOM0..1StringVNFM descriptionTenant name
certificateUrldomainO0..1Stringcertificate urlDomainurl
vendorM1StringAccess urlVIM vendor
userNameversionOM0..1StringUser nameVIM version
passwordtypeOM0..1StringPasswordVIM type

Request Sample:
/api/aai-vnfmcloudInfrastructure/v1/vnfms/vnfm/19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee/cloud-regions/cloud-region/owner/region-one

Body:

...

{

...

"cloud-owner":"

...

owner",

...

"cloud-region":"

...

region-one",

...

"authInfo": {

"

...

url":"http://10.74.151.13:5000/v2.0",

"userName":"admin",

"password":"admin",

"tenant":"admin",

"domain":"",

"vendor":"ZTE",

"version":"v1.0",

"type":"openstack"

}

}

Response:

Success Code: 201

Errorcode: 500 Internal Server Error

Get

...

VIM

Interface DefinitionDescription
URI

/api/aai-

vnfm

cloudInfrastructure/v1

/vnfms/vnfm/{vnfmId

/cloud-regions/cloud-region/{cloud-owner}/{cloud-region-id}

Operation TypeGET

Request Parameters:

AttributeQualifierCardinalityContentDescription
vnfmIdcloudOwnerM1StringVNFM identifier

Request Sample:
/onapapi/aai/esr/v1/vnfms/19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee

Response Parameters:
VNFM

Response Sample:

Success Code: 201

...

Cloud owner
cloudRegionIdM1StringCloud region

Request Sample:
/api/aai-cloudInfrastructure/v1/cloud-regions/cloud-region/owner/region-one

Response Parameters:

VIM

Get all VIM

Interface DefinitionDescription
URI/api/aai-cloudInfrastructure/v1/cloud-regions
Operation TypeGET

Request Parameters:
N/A

Request Sample:
/onapapi/aai/esr/v1/vims

Response Parameters:
List<VIM>

Response Sample:

Success Code: 201  
 [
      "vnfmId":"19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",
 {
       "namecloud-owner":"vnfmowner",
        "typecloud-region":"Tackerregion-one",
        "vimIdauthInfo":"", {
       "vendorurl":"ZTE",
http://10.74.151.13:5000/v2.0",
       "versionuserName":"v1.0admin",
       "descriptionpassword":"vnfmadmin",
       "certificateUrltenant":"admin",
       "urldomain":"http://10.74.44.11",
       "userNamevendor":"adminZTE",
       "passwordversion":"adminv1.0",
   }

Get all VNFM

...

    "type":"openstack"
       }
       }
   ]

Delete VIM

Interface DefinitionDescription
URI/apionapapi/aai-vnfm/esr/v1/vnfmsvims?cloudOwner=xxx&cloudRegionId=xxx
Operation TypeGETDELETE

Request Parameters:
N/A

AttributeQualifierCardinalityContentDescription
vimIdM1StringVIM identifier

Request Sample:
/onapapi/aai/esr/v1/vnfms

Response Parameters:
List<VNFM>

Response Samplevims?cloudOwner=owner&cloudRegionId=region-one

Response:

Success

...

Code: 204

Errorcode: 500 Internal Server Error

VNFM

VNFM registration (Update VNFM)

Interface DefinitionDescription
URI/api/aai-vnfm/v1/vnfms/vnfm/{vnfmId}
Operation TypePUT

Request Parameters:

AttributeQualifierCardinalityContentDescription
vnfmIdO0..1StringVNFM UUID generated by ESR
nameM1StringVNFM name
typeM1StringVNFM type
vimIdO0..1StringRelated VIM
vendorM1StringVNFM vendor
versionM1StringVNFM version
descriptionO0..1StringVNFM description
certificateUrlO0..1Stringcertificate url
urlM1StringAccess url
userNameO0..1StringUser name
passwordO0..1StringPassword

Request Sample:
/api/aai-vnfm/v1/vnfms/vnfm/19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee

Body:

   {
       "urlvnfmId":"http://10.74.44.11",19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",
       "name":"vnfm",
       "type":"Tacker",
       "userNamevimId":"admin",
       "vendor":"ZTE",
       "passwordversion":"admin"v1.0",
       "description":"vnfm",
  }    ]

Delete VNFM

...

Request Parameters:

...

 "url":"http://10.74.44.11",
       "certificateUrl":"",
       "userName":"admin",
       "password":"admin"
   }

Response:

Success Code: 204201

Errorcode: 500 Internal Server Error

VIM

...

Get VNFM

Interface DefinitionDescription
URI/api/aai-
cloudInfrastructure
vnfm/v1/
cloud-regions/cloud-region
vnfms/vnfm/{
cloud-owner}/{cloud-region-id}
vnfmId}
Operation Type
PUT
GET

Request BodyParameters:

AttributeQualifierCardinalityContentDescription
cloud-owner
vnfmIdM1String
Cloud ownercloud-regionIdM1StringCloud regionauth-infoM1ObjAuth information of Cloud

authInfo:

...

Request Sample:
/api/aai-cloudInfrastructure/v1/cloud-regions/cloud-region/owner/region-one

Body:

{

"cloud-owner":"owner",

"cloud-region":"region-one",

"authInfo": {

"url":"http://10.74.151.13:5000/v2.0",

"userName":"admin",

"password":"admin",

"tenant":"admin",

"domain":"",

"vendor":"ZTE",

"version":"v1.0",

"type":"openstack"

}

}

Response:

Success Code: 201

Errorcode: 500 Internal Server Error

Get VIM

...

/api/aai-cloudInfrastructure/v1/cloud-regions/cloud-region/{cloud-owner}/{cloud-region-id}

...

Request Parameters:

...

Request Sample:
/api/aai-cloudInfrastructure/v1/cloud-regions/cloud-region/owner/region-one

Response Parameters:

VIM

...

VNFM identifier

Request Sample:
/onapapi/aai/esr/v1/vnfms/19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee

Response Parameters:
VNFM

Response Sample:

Success Code: 201

   {
       "vnfmId":"19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",
       "name":"vnfm",
       "type":"Tacker",
       "vimId":"",
       "vendor":"ZTE",
       "version":"v1.0",
       "description":"vnfm",
       "certificateUrl":"",
       "url":"http://10.74.44.11",
       "userName":"admin",
       "password":"admin",
   }

Get all VNFM

Interface DefinitionDescription
URI/api/aai-
cloudInfrastructure
vnfm/v1/
cloud-regions
vnfms
Operation TypeGET

Request Parameters:
N/A

Request Sample:
/onapapi/aai/esr/v1/vimsvnfms

Response Parameters:
List<VIMVNFM>

Response Sample:

Success Code: 201   
 [
       {
           "cloud-ownervnfmId":"owner19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",
           "cloud-regionname":"region-onevnfm",  
           "type":"Tacker",
    "authInfo": {       "urlvimId":"http://10.74.151.13:5000/v2.0",
           "userNamevendor":"adminZTE",
           "passwordversion":"adminv1.0",
           "tenantdescription":"adminvnfm",
           "domaincertificateUrl":"",
           "vendorurl":"ZTE",http://10.74.44.11",
           "versionuserName":"v1.0admin",
           "typepassword":"openstackadmin"
      }       }
   ]

Delete

...

VNFM

Interface DefinitionDescription
URI/
onapapi
api/aai-vnfm/v1/
esr
vnfms/
v1/vims?cloudOwner=xxx&cloudRegionId=xxx
vnfm/{vnfmId}
Operation TypeDELETE

Request Parameters:

AttributeQualifierCardinalityContentDescription
vimId
vnfmIdM1String
VIM
VNFM identifier

Request Sample:
/onapapiapi/aai-vnfm/esrv1/vnfms/v1/vims?cloudOwner=owner&cloudRegionId=region-onevnfm/19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee

Response:

Success Code: 204

Errorcode: 500 Internal Server Error

SDN Controller

SDN Controller registration (Update SDN Controller)

...