Versions Compared

Key

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

Table of Contents

VNFM

VNFM registration

...

Request Parameters:

...

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

   {
       "vnfmId":"19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",

...

Table of Contents

VIM

VIM registration

Interface DefinitionDescription
URI

/api/aai-esr-server/v1/vims

Operation TypePOST

Request Body:

AttributeQualifierDefaultContentDescription
cloudOwnerM
Stringcloud owner name, can be customized, e.g. att-aic
cloudRegionIdM
Stringcloud region info based on deployment, e.g. RegionOne
cloudTypeM
Stringtype of the cloud, decides which multicloud plugin to use, openstack or vio
cloudRegionVersionM
Stringcloud version, ocata, mitaka or other
ownerDefinedTypeO
StringCloud-owner defined type indicator (e.g., dcp, lcp)
cloudZoneO
StringZone where the cloud is homed.
complexNameO
Stringcomplex name for cloud-region instance.
cloudExtraInfoO
Stringextra info for Cloud
vimAuthInfosM1[Obj]Auth information of Cloud

authInfoItem:

AttributeQualifierDefaultContentDescription
cloudDomainM
Stringdomain info for keystone v3
userNameM
StringUser name
passwordM
StringPassword
authUrlM
Stringauthentication url of the cloud, e.g. keystone url
sslCacertO
Stringca file content if enabled ssl on auth-url
sslInsecureO
BooleanWhether 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.44.11151.13:5000/v2.0", "certificateUrl
"sslCacert": "ssl-cacert",
"userNamesslInsecure":"admin", true,
"passwordcloudDomain": "admincloud-domain" }
}]
}


Response:

Success Code: 201: 200

body:

{
"cloudOwner": "ZTE",
"cloudRegionId": "region-one"
}

Errorcode: 500 Internal Server Error

...

Update VIM info

Interface Definition

Description

URI/onapapiapi/aai/-esr-server/v1/vnfmsvims/{vnfmIdcloudOwner}/{cloudRegionId}
Operation TypeGETPUT

Request ParametersBody:

   

vnfmId
AttributeQualifierCardinalityDefaultContentDescription
cloudTypeM1StringVNFM 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",
       "createTime":"2016-07-06 15:33:18"
   }

...


Stringtype of the cloud, decides which multicloud plugin to use, openstack or vio
cloudRegionVersionM
Stringcloud version, ocata, mitaka or other
ownerDefinedTypeO
StringCloud-owner defined type indicator (e.g., dcp, lcp)
cloudZoneO
StringZone where the cloud is homed.
complexNameO
Stringcomplex name for cloud-region instance.
cloudExtraInfoO
Stringextra info for Cloud
vimAuthInfos
M
[Obj]Auth information of Cloud

authInfoItem:

AttributeQualifierDefaultContentDescription
cloudDomainM
Stringdomain info for keystone v3
userNameM
StringUser name
passwordM
StringPassword
authUrlM
Stringauthentication url of the cloud, e.g. keystone url
sslCacert
O
Stringca file content if enabled ssl on auth-url
sslInsecureO
BooleanWhether 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 DefinitionDescription
URI

/

onapapi

api/aai

/

-esr-server/v1/

vnfms

vims/{cloudOwner}/{cloudRegionId}

Operation TypeGET

Request Parameters:N/A

AttributeQualifierCardinalityContentDescription
cloudOwnerM1StringCloud owner
cloudRegionIdM1StringCloud region

Request Sample:
/onapapiapi/aai-esr-server/v1/vims/ZTE/region-one

Response Parameters:

VIM

Get all VIM

Interface DefinitionDescription
URI/api/aai-esr-server/v1/

...

vims
Operation TypeGET

Request Parameters:
List<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",
           "createTime":"2016-07-06 15:33:18"
       }
   ]

Update VNFM

...

Request Parameters:

...

N/A

Request Sample:
/api/aai-esr-server/v1/vims

Response Parameters:
List<VIM>

Delete VIM

Interface DefinitionDescription
URI/api/aai-esr-server/v1/vims/{cloudOwner}/{cloudRegionId}
Operation TypeDELETE

Request Parameters:

AttributeQualifierCardinalityContentDescription
vimIdM1StringVIM 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 DefinitionDescription
URI/api/aai-esr-server/v1/vnfms
Operation TypePOST

Request Parameters:

AttributeQualifierCardinalityContentDescription
nameM1StringVNFM name
typeM1StringVNFM type
vimIdO0..1StringRelated VIM
vendorM1StringVNFM vendor
versionM1StringVNFM version
certificateUrlO0..1StringVNFM vendorcertificate url
urlOM0..1StringAccess url
userNameO0..1StringUser name
passwordO0..1StringPassword

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

Body:

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

Response Parameters:

{
       "vnfmId":"19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",

}

Success Code: 201200

Errorcode: 500 Internal Server Error

...

VNFM update

Interface DefinitionDescription
URI/onapapiapi/aai/-esr-server/v1/vnfms/{vnfmId}
Operation TypeDELETEPUT

Request Parameters:

AttributeQualifierCardinalityContentDescription
vnfmIdnameM1StringVNFM identifiername

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

Response:

Success Code: 204

Errorcode: 500 Internal Server Error

VIM

VIM registration

...

Request Parameters:

cloudOwnerMCloud region
AttributeQualifierCardinalityContentDescription
nametypeM1StringVNFM type
vimIdO0..1StringRelated VIM
vendorM1StringVNFM vendor
versionM1StringVIM nameVNFM version
certificateUrlO0..1StringCloud ownercloudRegionM1Stringcertificate url
urlM1StringAccess url
userNameMO0..1StringUser name
passwordM1StringPasswordtenantM1StringTenant namedomainO0..1StringDomainPassword
vendorM1StringVIM vendor
versionM1StringVIM version
descriptionO0..1StringVIM description
typeM1Enum{openstack/vmware}VIM type

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

...

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

Body:

   {
       "name":"vnfm",
       "nametype":"vimTacker",
       "cloud-ownervimId":"owner",
       "cloud-regionvendor":"region-oneZTE",
       "urlversion":"http://10.74.151.13:5000/v2.0v1.0",
       "userNameurl":"adminhttp://10.74.44.11",
       "passwordcertificateUrl":"admin",
       "tenantuserName":"admin",
       "domainpassword":"admin",
       "vendor":"ZTE",
       "version":"v1.0",
       "description":"",
       "type":"openstack"
   }

Response:

Success Code: 201

Errorcode: 500 Internal Server Error

...

}

Response:

Success Code: 200

Errorcode: 500 Internal Server Error


Get VNFM

Interface DefinitionDescription
URI/onapapiapi/aai/-esr-server/v1/vims?cloud_owner=xxx&cloud_region=xxxvnfms/{vnfmId}
Operation TypeGET

Request Parameters:

AttributeQualifierCardinalityContentDescription
cloud_ownervnfmIdM1StringVIM VNFM identifier

Request Sample:
/onapapiapi/aai/-esr-server/v1/vims?cloud_owner=owner&cloud_region=region-one/vnfms/19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee

Response Parameters:
VIMVNFM

Response Sample:

Success

...

Code:

...

200

   {
       "namevnfmId":"vim19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",
       "cloud-ownername":"ownervnfm",
       "cloud-regiontype":"region-oneTacker",
       "urlvimId":"http://10.74.151.13:5000/v2.0",
       "userNamevendor":"adminZTE",
       "passwordversion":"adminv1.0",
       "tenantcertificateUrl":"admin",
       "vendorurl":"ZTEhttp://10.74.44.11",
       "versionuserName":"v1.0admin",
       "descriptionpassword":"",
       "domain":"",
       "type":"openstack",
  admin",
    "createTime":"2016-07-18 12:22:53"
   }

Get all

...

VNFM

Interface DefinitionDescription
URI/onapapiapi/aai/-esr-server/v1/vimsvnfms
Operation TypeGET

Request Parameters:
N/A

Request Sample:
/onapapiapi/aai/-esr-server/v1/vimsvnfms

Response Parameters:
List<VIMVNFM>

Response Sample:

Success Code: 201200   
 [
       {
           "namevnfmId":"vim",
           "cloud-owner":"owner",
19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",
           "cloud-regionname":"region-onevnfm",
           "urltype":"http://10.74.151.13:5000/v2.0Tacker",
           "userNamevimId":"admin",
           "passwordvendor":"adminZTE",
           "tenantversion":"adminv1.0",
           "vendorcertificateUrl":"ZTE",
           "versionurl":"v1.0http://10.74.44.11",
           "descriptionuserName":"admin",
           "domainpassword":"admin",
       }
   "type":"openstack",
           "createTime":"2016-07-18 12:22:53"
       }
   ]

...

]

Delete VNFM

Interface DefinitionDescription
URI/onapapiapi/aai/-esr-server/v1/vims?cloud_owner=xxx&cloud_region=xxx/vnfms/{vnfmId}
Operation TypePUTDELETE

Request Parameters:

AttributeQualifierCardinalityContentDescription
namevnfmIdOM0..1StringVIM name
cloudOwnerM1StringCloud owner
cloudRegionM1StringCloud region
urlO0..1StringAccess url
userNameO0..1StringUser name
passwordO0..1StringPassword
tenantO0..1StringTenant name
domainVNFM identifier

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

Response:

Success Code: 204

Errorcode: 500 Internal Server Error

SDN Controller

SDN Controller registration 

Interface DefinitionDescription
URI/api/aai-esr-server/v1/sdncontrollers
Operation TypePOST

Request Parameters:

AttributeQualifierCardinalityContentDescription

sdnControllerId

M1StringUUID of sdncontroller
nameM1StringSDN Controller name
locationO1Stringfit for DC type
urlM1StringAccess url
vendorM1StringSDNC vendor
versionM1StringSDNC version
descriptionO0..1StringDomainSDNC description
vendorproductNameO0..1StringVIM vendor

Request Sample:
/onapapi/aai/esr/v1/vims?cloud_owner=owner&cloud_region=region-one

...

SDNC productName
protocolM1Stringprotocol, such as netconf/snmp
userNameM1StringUser name
passwordM1StringPassword
typeM1Enum{WAN/DC}SDN Controller type

Request Sample:
/api/aai-esr-server/v1/sdncontrollers

Body:

{

"name":"

...

sdn",

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

...

"url":"http://10.74.151.13:

...

8181",

...

"userName":"admin",

...

"password":"admin",

...

"version":"

...

v1.0",

...

"vendor":"

...

Response:

...

ZTE",

"description":"",

"protocol":"netconf",

"productName":"",

"type":"WAN"

}

Response:

body:

{

"sdnControllerId":"a6c42529-cd6b-4c01-b149-03eb54b20a03",

}

Success Code: 200

Errorcode: 500 Internal Server Error

...

Update SDN Controller info

Interface DefinitionDescription
URI/onapapiapi/aai/-esr-server/v1/vims?cloud_owner=xxx&cloud_region=xxx/sdncontrollers/{sdnControllerId}
Operation TypeDELETEPUT

Request Parameters:

vimId
AttributeQualifierCardinalityContentDescription

sdnControllerId

M1StringVIM identifier

Request Sample:
/onapapi/aai/esr/v1/vims?cloud_owner=owner&cloud_region=region-one

Response:

Success Code: 204

Errorcode: 500 Internal Server Error

SDN Controller

SDN Controller registration

...

Request Parameters:

M
AttributeQualifierCardinalityContentDescription
nameM1StringSDN Controller name
locationO1Stringfit for DC type
urlM1StringAccess url
vendorUUID of sdncontroller
nameM1StringSDN Controller name
locationO1Stringfit for DC type
urlM1StringAccess url
vendorM1StringSDNC vendor
versionM1StringSDNC version
descriptionO0..1StringSDNC description
productNameO0..1StringSDNC productName
protocolM1Enum{Stringprotocol, such as netconf/snmp}protocol
userNameM1StringUser name
passwordM1StringPassword
typeM1Enum{WAN/DC}SDN Controller type

Request Sample:
/onapapiapi/aai/-esr-server/v1/sdncontrollers

...

/a6c42529-cd6b-4c01-b149-03eb54b20a03

Body:

{

"name":"sdn",

...

"url":"http://10.74.151.13:8181",

...

"userName":"admin",

...

"password":"admin",

...

"version":"v1.0",

...

"vendor":"ZTE",

...

"description":"",

...

"protocol":"netconf",

...

"productName":"",

...

"type":"WAN"

...

}

...

Response:

Success Code: 201200

Errorcode: 500 Internal Server Error

Get SDN Controller

...

Interface DefinitionDescription
URI/onapapiapi/aai/-esr-server/v1/sdncontrollers/{sdnControllerId}
Operation TypeGET

Request Parameters:

AttributeQualifierCardinalityContentDescription
sdnControllerIdM1StringSDN Controller identifier

Request Sample:
/onapapiapi/aai/-esr-server/v1/sdncontrollers/57674786-5b2e-4c92-bb68-578dbd79e2f5

Response Parameters:
SDN Controller

Response Sample:

Success Code: 201200

   {
       "sdnControllerId":"a6c42529-cd6b-4c01-b149-03eb54b20a03",
       "name":"sdn",
       "url":"http://10.74.151.13:8181",
       "userName":"admin",
       "password":"admin", 
       "version":"v1.0",
       "vendor":"ZTE",
       "description":"",
       "protocol":"netconf",
       "productName":"",
       "type":"WAN",
       "createTime":"2016-07-18 12:22:53"
   }

Get all SDN Controller

Interface DefinitionDescription
URI/onapapiapi/aai/-esr-server/v1/sdncontrollers
Operation TypeGET

Request Parameters:
N/A

Request Sample:
/onapapiapi/aai/-esr-server/v1/sdncontrollers

Response Parameters:
List<SDN Controller>

Response Sample:

Success Code: 201200  
 [
       {
           "sdnControllerId":"a6c42529-cd6b-4c01-b149-03eb54b20a03",
           "name":"sdn",
           "url":"http://10.74.151.13:8181",
           "userName":"admin",
           "password":"admin",
           "version":"v1.0",
           "vendor":"ZTE",
           "description":"",
           "protocol":"netconf",
           "productName":"", 
           "type":"WAN",
   
       "createTime":"2016-07-18 12:22:53"
       }
   ]

...

Delete SDN Controller

Interface DefinitionDescription
URI/onapapiapi/aai/-esr-server/v1/sdncontrollers/{sdnControllerId}
Operation TypePUTDELETE

Request Parameters:

SDNC
AttributeQualifierCardinalityContentDescription
sdnControllerIdM1StringSDN Controller identifier
nameO0..1StringSDN Controller name
urlO0..1StringAccess url
vendorO0..1StringSDNC vendor
versionO0..1String

Request Sample:
/api/aai-esr-server/v1/sdncontrollers/57674786-5b2e-4c92-bb68-578dbd79e2f5

Response:

Success Code: 204

Errorcode: 500 Internal Server Error


EMS

EMS registration 

Interface DefinitionDescription
URI/api/aai-esr-server/v1/emses
Operation TypePOST

Request Parameters:

O0..
AttributeQualifierCardinalityContentDescription
nameM1StringEMS name
vendorM1Stringvendor
versionM1Stringversion
descriptionO0..1StringSDNC descriptionproductName
resourceAddrM1StringSDNC productName
protocolO0..1Enum{netconf/snmp}protocol
userNameO0..1StringUser name
passwordO0..1StringPassword

Request Sample:
/onapapi/aai/esr/v1/sdncontrollers/57674786-5b2e-4c92-bb68-578dbd79e2f5

   {
       "sdnControllerId":"a6c42529-cd6b-4c01-b149-03eb54b20a03",
       "name":"sdn",
       "url":"http://10.74.151.13:8181",
       "userName":"admin",
       "password":"admin",
       "version":"v1.0",
       "vendor":"ZTE",
       "description":"",
       "protocol":"netconf",
       "productName":""
   }

Response Parameters:
SDN Controller

Response Sample:

Success Code: 201  
 {
       "sdnControllerId":"a6c42529-cd6b-4c01-b149-03eb54b20a03",
       "name":"sdn",
       "url":"http://10.74.151.13:8181",
       "userName":"admin",
       "password":"admin", 
       "version":"v1.0",
       "vendor":"ZTE",
       "description":"",
       "protocol":"netconf",
       "productName":"", 
       "type":"WAN",
       "createTime":"2016-07-18 12:22:53"
   }

Delete SDN Controller

...

Request Parameters:

...

Request Sample:
/onapapi/aai/esr/v1/sdncontrollers/57674786-5b2e-4c92-bb68-578dbd79e2f5

Response:

...

ObjAddress to get resource data
performanceAddrM1ObjAddress to get performance data
alarmAddrM1ObjAddress to get alarm data

resourceAddr:

AttributeQualifierCardinalityContentDescription
ftptypeM1Enum{ftp/sftp}ftp type
ipM1Stringservice IP of ftp server
portM1Stringservice port of ftp server
userM1Stringftp user name
passwordM1Stringftp password
remotepathM1Stringresource data file path
passiveM1Booleanftp passive mode or not

performanceAddr:

AttributeQualifierCardinalityContentDescription
ftptypeM1Enum{ftp/sftp}ftp type
ipM1Stringservice IP of ftp server
portM1Stringservice port of ftp server
userM1Stringftp user name
passwordM1Stringftp password
remotepathM1Stringperformance data file path
passiveM1Booleanftp passive mode or not

alarmAddr:

AttributeQualifierCardinalityContentDescription
ipM1Stringservice IP of ftp server
portM1Stringservice port of ftp server
userM1Stringftp user name
passwordM1Stringftp password

Request Sample:

/api/aai-esr-server/v1/emses

Body:

{

"emsName": "EMS_TEST",

"version":"v1.0",

"vendor":"ZTE",

"description":"",

"resouceAddr": {

        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/res/data/",
        "passive": true
 },

"performanceAddr": {
        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/Gcp/data/",
        "passive": true

},

"alarmAddr": {
        "ip": "10.44.55.145",
        "port": 2000,
        "user": "root",
        "password": "test"

}

}


Response Sample:

body:

{

"emsId": "19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",

}

Success Code: 200

Errorcode: 500 Internal Server Error

Update EMS info

EMS registration

Interface DefinitionDescription
URI/onapapiapi/aai/-esr-server/v1/emses/{emsId}
Operation TypePUT

Request Parameters:

UUID generated by esr-server
AttributeQualifierCardinalityContentDescriptionemsIdM1String
nameM1StringEMS name
vendorM1Stringvendor
versionM1Stringversion
descriptionO0..1Stringdescription
resourceAddrM1ObjAddress to get resource data
performanceAddrM1ObjAddress to get performance data
alarmAddrM1ObjAddress to get alarm data

resourceAddr:

AttributeQualifierCardinalityContentDescription
ftptypeM1Enum{ftp/sftp}ftp type
ipM1Stringservice IP of ftp server
portM1Stringservice port of ftp server
userM1Stringftp user name
passwordM1Stringftp password
remotepathM1Stringresource data file path
passiveM1Booleanftp passive mode or not

...

AttributeQualifierCardinalityContentDescription
ipM1Stringservice IP of ftp server
portM1Stringservice port of ftp server
userM1Stringftp user name
passwordM1Stringftp password

Request Sample:

/onapapiapi/aai/-esr-server/v1/emses

Body:

{   

"emsName": "EMS_TEST",

...

"version":"v1.0",

...

"vendor":"ZTE",

...

"description":"",

...

...

"resouceAddr": {

        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/res/data/",
        "passive": true
 

...

},

...

"performanceAddr": {
        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/Gcp/data/",
        "passive": true

...

},

...

"alarmAddr": {
        "ip": "10.44.55.145",
        "port": 2000,
        "user": "root",
        "password": "test"

...

}

}

Response Parameters:
EMS

Response Sample:

...


Get EMS by id

Interface DefinitionDescription
URI/api/aai-esr-server/v1/emses/{emsId}
Operation TypeGET

Request Parameters:

AttributeQualifierCardinalityContentDescription
emsIdM1StringEMS identifier

Request Sample:
/api/aai-esr-server/v1/emses/19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee

Response Parameters:
EMS

Response Sample:

{

"emsId": "19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",

...

"emsName": "EMS_TEST",

...

"version":"v1.0",

...

"vendor":"ZTE",

...

"description":"",

...

...

"resouceAddr": {

        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/res/data/",
        "passive": true
 

...

},

...

"performanceAddr": {
        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/Gcp/data/",
        "passive": true

...

},

...

"alarmAddr": {
        "ip": "10.44.55.145",
        "port": 2000,
        "user": "root",
        "password": "test"

...

}

}

Get all EMS

...

Interface DefinitionDescription
URI/onapapiapi/aai/-esr-server/v1/emses/{emsId}
Operation TypeGET

Request Parameters:

...

N/A

Request Sample:
/onapapiapi/aai/-esr-server/v1/emses/19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee

Response Parameters:
List<EMS>

Response Sample:{


    Success Code: 200

[

{

"emsId": "19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",

...

"emsName": "EMS_TEST",

...

"version":"v1.0",

...

"vendor":"ZTE",

...

"description":"",

...

...

"resouceAddr": {

        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/res/data/",
        "passive": true
 

...

},

...

"performanceAddr": {
        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/Gcp/data/",
        "passive": true

...

},

...

"alarmAddr": {
        "ip": "10.44.55.145",
        "port": 2000,
        "user": "root",
        "password": "test"

...

}

}

]

...

Delete EMS

Interface DefinitionDescription
URI/onapapiapi/aai/-esr-server/v1/emses/emss{emsId}
Operation TypeGETDELETE

Request Parameters:N/A

AttributeQualifierCardinalityContentDescription
emsIdM1StringEMS identifier

Request Sample:
/onapapiapi/aai/-esr-server/v1/emss

Response Parameters:
List<EMS>

Response Sample:

Success Code: 201

   [

...

/emses/19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee

...

    "emsName": "EMS_TEST",

  "version":"v1.0",
  "vendor":"ZTE",
  "description":"",
  "createTime":"2016-07-18 12:22:53"

    "resouce": {
        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/res/data/",
        "passive": true
    },
    "performance": {
        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/Gcp/data/",
        "passive": true
    },
    "alarm": {
        "ip": "10.44.55.145",
        "port": 2000,
        "user": "root",
        "password": "test"
    }
}

   ]

Update EMS

...

Request Parameters:

...

Response:

Success Code: 204

Errorcode: 500 Internal Server Error


PNF

PNF registration

Interface Definition

Description

URI/api/aai-esr-server/v1/pnfs
Operation TypePOST

Request Parameters:

Attribute

Qualifier

Cardinality

Content

Description

pnfIdM1Stringunique ID of PNF
userLabelM1StringPNF system name
subnetIdM1Stringsubnet ID of DU network element
neIdM1Stringnetwork element ID
managementTypeO1String
vendorO1String
pnfdIdM1String
EMS identifiernameO0..vendor

emsIdM1String
EMS name

lattitudeO
0..
1String
Vendorversion

longitudeO
0..
1String
versiondescriptionO0..1StringdescriptionresourceAddrO0..1ObjAddress to get resource dataperformanceAddrO0..1ObjAddress to get performance dataalarmAddrO0..1ObjAddress to get alarm data

resourceAddr:

...

performanceAddr:

...

alarmAddr:

...

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

{
    "emsId": "19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",

    "emsName": "EMS_TEST",

  "version":"v1.0",
  "vendor":"ZTE",
  "description":"",
  "createTime":"2016-07-18 12:22:53"

    "resouceAddr": {
        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/res/data/",
        "passive": true
    },
    "performanceAddr": {
        "ftptype": "ftp",
        "ip": "10.44.55.145",
        "port": "2000",
        "user": "root",
        "password": "test",
        "remotepath": "/opt/Gcp/data/",
        "passive": true
    },
    "alarmAddr": {
        "ip": "10.44.55.145",
        "port": 2000,
        "user": "root",
        "password": "test"
    }
}

Response:

Success Code: 201

Errorcode: 500 Internal Server Error

Delete EMS

...

Request Parameters:

AttributeQualifierCardinalityContentDescription
emsIdM1StringEMS identifier

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

Response:

Success Code: 204

Errorcode: 500 Internal Server Error

Other

Get basic info by id

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/common/{instanceId}
Operation TypeGET

Request Parameters:

AttributeQualifierCardinalityContentDescription
instanceIdM1StringExternal system identifier

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

Response Parameters:

AttributeContentDescription
instanceIdStringExternal system identifier(UUID)
categoryEnum{VIM/VNFM/SDNC/EMS}External system category
nameStringExternal system name
descriptionStringExternal system description
versionStringExternal system version
vendorStringExternal system vendor
typeStringExternal system type
createTimeStringCreate time

Response Sample:

   {
       "instanceId":"19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",
       "category":"VNFM",
       "name":"vnfm",
       "description":"",
       "version":"v1.0",
       "vendor":"ZTE",
       "type":"Tacker",
       "createTime":"2016-07-18 12:22:53"
   }

Information elements

VNFM

...

VIM

AttributeContentDescription
vimIdStringVIM identifier(UUID)
nameStringVIM name
descriptionStringVIM description
versionStringVIM version
vendorStringVIM vendor
typeEnum{openstack/vmware}VIM type
urlStringAccess url
userNameStringUser name
passwordStringPassword
createTimeStringCreate time
tenantStringTenant name
domainStringVIM domain

SDN Controller

...

EMS

...

resourceAddr:

...


performanceAddr:

...

alarmAddr:

...

Request Sample:
/api/aai-esr-server/v1/pnfs

Body:

   {
       "pnfId":"dafdaf3213dfa",
       "userLabel":"pnf1",
       "subnetId":"15da65fa1f",
       "neId":"4f6asd8ff4asd",
       "managementType":"test",
       "vendor":"zte",
       "pnfdId":"8f7adfa8fa9",
       "emsId":"fdsa5f4afd4a",
       "lattitude":"156.446",
       "longitude":"121.154"
   }

Response:


Success Code: 200

Errorcode: 500 Internal Server Error

Update PNF info

Interface Definition

Description

URI/api/aai-esr-server/v1/pnfs/{pnfId}
Operation TypePUT

Request Parameters:

Attribute

Qualifier

Cardinality

Content

Description

pnfIdM1Stringunique ID of PNF
userLabelM1StringPNF system name
subnetIdM1Stringsubnet ID of DU network element
neIdM1Stringnetwork element ID
managementTypeO1String
vendorO1String
pnfdIdM1String
emsIdM1String
lattitudeO1String
longitudeO1String


Body:Request Sample:
/api/aai-esr-server/v1/pnfs/dafdaf3213dfa

   {
       "pnfId":"dafdaf3213dfa",
       "userLabel":"pnf1",
       "subnetId":"15da65fa1f",
       "neId":"4f6asd8ff4asd",
       "managementType":"test",
       "vendor":"zte",
       "pnfdId":"8f7adfa8fa9",
       "emsId":"fdsa5f4afd4a",
       "lattitude":"156.446",
       "longitude":"121.154"
   }

Response:

Success Code: 200

Errorcode: 500 Internal Server Error

Get PNF by ID

Interface Definition

Description

URI/api/aai-esr-server/v1/pnfs/{pnfId}
Operation TypeGET

Request Parameters:

Attribute

Qualifier

Cardinality

Content

Description

pnfIdM1StringPNF identifier

Request Sample:
/api/aai-esr-server/v1/pnfs/dafdaf3213dfa

Response Parameters:
PNF

Response Sample:

Success Code: 200

   {
       "pnfId":"dafdaf3213dfa",
       "userLabel":"pnf1",
       "subnetId":"15da65fa1f",
       "neId":"4f6asd8ff4asd",
       "managementType":"test",
       "vendor":"zte",
       "pnfdId":"8f7adfa8fa9",
       "emsId":"fdsa5f4afd4a",
       "lattitude":"156.446",
       "longitude":"121.154"
   }

Get all PNF

Interface Definition

Description

URI/api/aai-esr-server/v1/pnfs
Operation TypeGET

Request Parameters:
N/A

Request Sample:
/api/aai-esr-server/v1/pnfs

Response Parameters:
List<PNF>

Response Sample:

Success Code: 200   
 [
   {
       "pnfId":"dafdaf3213dfa",
       "userLabel":"pnf1",
       "subnetId":"15da65fa1f",
       "neId":"4f6asd8ff4asd",
       "managementType":"test",
       "vendor":"zte",
       "pnfdId":"8f7adfa8fa9",
       "emsId":"fdsa5f4afd4a",
       "lattitude":"156.446",
       "longitude":"121.154"
   }
   ]

Delete PNF

Interface Definition

Description

URI/api/aai-esr-server/v1/pnfs/{pnfId}
Operation TypeDELETE

Request Parameters:

Attribute

Qualifier

Cardinality

Content

Description

pnfIdM1StringPNF identifier

Request Sample:
/api/aai-esr-server/v1/pnfs/dafdaf3213dfa

Response:

Success Code: 204

Errorcode: 500 Internal Server Error

Information elements

VNFM

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

VIM

AttributeQualifierDefaultContentDescription
cloudOwnerM
Stringcloud owner name, can be customized, e.g. att-aic
cloudRegionIdM
Stringcloud region info based on deployment, e.g. RegionOne
cloudTypeM
Stringtype of the cloud, decides which multicloud plugin to use, openstack or vio
cloudRegionVersionM
Stringcloud version, ocata, mitaka or other
ownerDefinedTypeO
StringCloud-owner defined type indicator (e.g., dcp, lcp)
cloudZoneO
StringZone where the cloud is homed.
complexNameO
Stringcomplex name for cloud-region instance.
cloudExtraInfoO
Stringextra info for Cloud
vimAuthInfosM1[Obj]Auth information of Cloud

vimAuthInfo:

AttributeQualifierDefaultContentDescription
cloudDomainM
Stringdomain info for keystone v3
userNameM
StringUser name
passwordM
StringPassword
authUrlM
Stringauthentication url of the cloud, e.g. keystone url
defaultTenantO
String
sslCacertO
Stringca file content if enabled ssl on auth-url
sslInsecureO
BooleanWhether to verify VIM's certificate


SDN Controller

AttributeQualifierCardinalityContentDescription

sdnControllerId

M1StringUUID of sdncontroller
nameM1StringSDN Controller name
locationO1Stringfit for DC type
urlM1StringAccess url
vendorM1StringSDNC vendor
versionM1StringSDNC version
descriptionO0..1StringSDNC description
productNameO0..1StringSDNC productName
protocolM1Enum{netconf/snmp}protocol
userNameM1StringUser name
passwordM1StringPassword
typeM1Enum{WAN/DC}SDN Controller type

EMS

AttributeQualifierCardinalityContentDescription
emsIdM1StringEMS identifier
nameO0..1StringEMS name
vendorO0..1StringVendor
versionO0..1Stringversion
descriptionO0..1Stringdescription
resourceAddrO0..1ObjAddress to get resource data
performanceAddrO0..1ObjAddress to get performance data
alarmAddrO0..1ObjAddress to get alarm data

resourceAddr

AttributeQualifierCardinalityContentDescription
ftptypeO0..1Enum{ftp/sftp}ftp type
ipO0..1Stringservice IP of ftp server
portO0..1Stringservice port of ftp server
userO0..1Stringftp user name
passwordO0..1Stringftp password
remotepathO0..1Stringresource data file path
passiveO0..1Booleanftp passive mode or not

performanceAddr

AttributeQualifierCardinalityContentDescription
ftptypeO0..1Enum{ftp/sftp}ftp type
ipO0..1Stringservice IP of ftp server
portO0..1Stringservice port of ftp server
userO0..1Stringftp user name
passwordO0..1Stringftp password
remotepathO0..1Stringperformance data file path
passiveO0..1Booleanftp passive mode or not

alarmAddr

AttributeQualifierCardinalityContentDescription
ipO0..1Stringservice IP of ftp server
portO0..1Stringservice port of ftp server
userO0..1Stringftp user name
passwordO0..1Stringftp password


PNF

Attribute

Qualifier

Cardinality

Content

Description

pnfIdM1Stringunique ID of PNF
userLabelM1StringPNF system name
subnetIdM1Stringsubnet ID of DU network element
neIdM1Stringnetwork element ID
managementTypeO1String
vendorO1String
pnfdIdM1String
emsIdM1String
lattitudeO1String
longitudeO1String