Versions Compared

Key

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

...

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:
/onapapi/aai/esr/v1/vnfms

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

Response Parameters:

Success Code: 201

Errorcode: 500 Internal Server Error

Get VNFM

...

Response Sample:

...

by id

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/vnfms/{vnfmId}
Operation TypeGET

Request Parameters:

AttributeQualifierCardinalityContentDescription
vnfmIdM1StringVNFM 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",
       "certificateUrluserName":"admin",
       "userNamepassword":"admin",
       "passwordcreateTime":"admin",
       "createTime":"2016-07-06 15:33:18"
   }

Get all VNFM

...

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/vnfms/{vnfmId}
Operation TypeGET

Request Parameters:

...

N/A

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

Response 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

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/vnfms/{vnfmId}
Operation TypeGETPUT

Request Parameters:
N/A

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

Response Parameters:
List<VNFM>

Response Sample:

...

AttributeQualifierCardinalityContentDescription
vnfmIdM1StringVNFM identifier
nameO0..1StringVNFM name
vendorO0..1StringVNFM vendor
urlO0..1StringAccess url
userNameO0..1StringUser name
passwordO0..1StringPassword

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

   {
       "vnfmId":"19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",
  
        "name":"vnfm",
 
         "type":"Tacker",
           "vimId":"",
           "vendor":"ZTE",
  
        "versionurl":"v1.0http://10.74.44.11",
           "descriptionuserName":"vnfmadmin",
   
       "certificateUrlpassword":"admin",
           "url":"http://10.74.44.11",
           "userName":"admin",
           "password":"admin",
           "createTime":"2016-07-06 15:33:18"
       }
   ]

...

}

Response Parameters:

Success Code: 201

Errorcode: 500 Internal Server Error

Delete VNFM

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/vnfms/{vnfmId}
Operation TypePUTDELETE

Request Parameters:

AttributeQualifierCardinalityContentDescription
vnfmIdM1StringVNFM identifier
nameO0..1StringVNFM name
vendorO0..1StringVNFM vendor
urlO0..1StringAccess url
userNameO0..1StringUser name
passwordO0..1StringPassword

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

   {
       "vnfmId":"19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee",
       "name":"vnfm",
       "vendor":"ZTE",
       "url":"http://10.74.44.11",
       "userName":"admin",
       "password":"admin"
   }

Response Parameters:
VNFM

Response Sample:

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

Delete VNFM

...

Request Parameters:

...

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

Response Parameters:
N/A

Response Sample:
N/A

VIM

VIM registration

...

Request Parameters:

...

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

   {
       "name":"vim",
       "cloud-owner":"owner",
       "cloud-region":"region-one",
       "url":"http://10.74.151.13:5000/v2.0",
       "userName":"admin",
       "password":"admin",
       "tenant":"admin",
       "domain":"",
       "vendor":"ZTE",
       "version":"v1.0",
       "description":"",
       "type":"openstack"
   }

Response Parameters:
VIM

Response Sample:

Response:

Success Code: 204

Errorcode: 500 Internal Server Error

VIM

VIM registration

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/vims
Operation TypePUT

Request Parameters:

AttributeQualifierCardinalityContentDescription
nameM1StringVIM name
cloudOwnerM1StringCloud owner
cloudRegionM1StringCloud region
urlM1StringAccess url
userNameM1StringUser name
passwordM1StringPassword
tenantM1StringTenant name
domainO0..1StringDomain
vendorM1StringVIM vendor
versionM1StringVIM version
descriptionO0..1StringVIM description
typeM1Enum{openstack/vmware}VIM type

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

   {
       "name":"vim",
       "cloud-owner":"owner",
       "cloud-region":"region-one",
       "url":"http://10.74.151.13:5000/v2.0",
       "userName":"admin",
       "password":"admin",
       "tenant":"admin",
       "vendordomain":"ZTE",
       "versionvendor":"v1.0ZTE",
       "descriptionversion":"v1.0",
       "domaindescription":"",
       "type":"openstack",
       "createTime":"2016-07-18 12:22:53"
   }
}

Response:

Success Code: 201

Errorcode: 500 Internal Server Error

Get VIM by conditions

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/vims?cloud_owner=xxx&cloud_region=xxx
Operation TypeGET

...

Response Parameters:
VIM

Response Sample:

Success Code: 201 
  {
       "name":"vim",
       "cloud-owner":"owner",

...

Response Parameters:
List<VIM>

Response Sample:

   [
       {
           "name":"vim",
           "cloud-owner":"owner",
           "cloud-region":"region-one",

...

Sample:

Success Code: 201  
 [
       "userName":"admin",{
           "passwordname":"adminvim",
            "tenantcloud-owner":"adminowner",
           "vendorcloud-region":"ZTEregion-one",
            "versionurl":"v1http://10.74.151.13:5000/v2.0",
           "descriptionuserName":"admin",
           "domainpassword":"admin",
           "typetenant":"openstackadmin",

          "createTime":"2016-07-18 12:22:53"
  "vendor":"ZTE",
     }    ]

Update VIM

...

Request Parameters:

...

  "version":"v1.0",
           "description":"",
           "domain":"",
           "type":"openstack",
           "createTime":"2016-07-18 12:22:53"
       }
   ]

Update VIM

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/vims?cloud_owner=

...

xxx&cloud_region=

...

   {
       "name":"vim",
       "cloud-owner":"owner",
       "cloud-region":"region-one",
       "url":"http://10.74.151.13:5000/v2.0",
       "userName":"admin",
       "password":"admin",
       "tenant":"admin",
       "domain":"",
       "version":"v2.0"
   }

Response Parameters:
VIM

Response Sample:

   {
       "name":"vim",
       "cloud-owner":"owner",
       "cloud-region":"region-one",

...

xxx
Operation TypePUT

Request Parameters:

AttributeQualifierCardinalityContentDescription
nameO0..1StringVIM name
cloudOwnerM1StringCloud owner
cloudRegionM1StringCloud region
urlO0..1StringAccess url
userNameO0..1StringUser name
passwordO0..1StringPassword
tenantO0..1StringTenant name
domainO0..1StringDomain
vendorO0..1StringVIM vendor

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

   {
       "name":"vim",
       "cloud-owner":"owner",
        "tenantcloud-region":"adminregion-one",
       "vendorurl":"ZTEhttp://10.74.151.13:5000/v2.0",
       "versionuserName":"v2.0admin",
       "descriptionpassword":"admin",
       "domaintenant":"admin",
       "typedomain":"openstack",
       "createTimeversion":"2016-07-18 12:22:53v2.0"
   }

Response:

Success Code: 201

Errorcode: 500 Internal Server Error

Delete VIM

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/vims?cloud_owner=xxx&cloud_region=xxx
Operation TypeDELETE

...

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

Response Parameters:N/AResponse Sample:
N/A

Success Code: 204

Errorcode: 500 Internal Server Error

SDN Controller

SDN Controller registration

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/sdncontrollers
Operation TypePUT

Request Parameters:

AttributeQualifierCardinalityContentDescription
nameM1StringSDN Controller name
locationO1Stringfit for DC type
urlM1StringAccess url
vendorM1StringSDNC vendor
versionM1StringSDNC version
descriptionO0..1StringSDNC description
productNameO0..1StringSDNC productName
protocolM1Enum{netconf/snmp}protocol
userName
Operation TypePUT

Request Parameters:

Mtype
AttributeQualifierCardinalityContentDescription
nameM1StringUser SDN Controller namepassword
locationO1StringPasswordfit for DC type
urlM1Enum{WAN/DC}SDN Controller type

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

   {
       "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 Parameters:
SDN Controller

Response Sample:

StringAccess url
vendorM1StringSDNC vendor
versionM1StringSDNC version
descriptionO0..1StringSDNC description
productNameO0..1StringSDNC productName
protocolM1Enum{netconf/snmp}protocol
userNameM1StringUser name
passwordM1StringPassword
typeM1Enum{WAN/DC}SDN Controller type

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

   {
       "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:53WAN"
   }

Response:

Success Code: 201

Errorcode: 500 Internal Server Error

Get SDN Controller by id

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/sdncontrollers/{sdnControllerId}
Operation TypeGET

...

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"
   }

...

Response Parameters:
List<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"
       }
   ]

...

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.13:8181",
       "vendoruserName":"ZTEadmin",
       "descriptionpassword":"admin", 
       "protocolversion":"netconfv1.0",
       "productNamevendor":"ZTE", 
       "typedescription":"WAN",
       "createTimeprotocol":"2016-07-18 12:22:53""netconf",
     }

Delete SDN Controller

...

Request Parameters:

...

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

Response Parameters:
N/A

Response Sample:
N/A

EMS

EMS registration

...

Request Parameters:

...

  "productName":"", 
       "type":"WAN",
       "createTime":"2016-07-18 12:22:53"
   }

Delete SDN Controller

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/sdncontrollers/{sdnControllerId}
Operation TypeDELETE

Request Parameters:

AttributeQualifierCardinalityContentDescription
ftptypesdnControllerIdM1Enum{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

...

StringSDN Controller identifier

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

Response:

Success Code: 204

Errorcode: 500 Internal Server Error


EMS

EMS registration

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/emses
Operation TypePUT

Request Parameters:

ftptypeipportftp user name
AttributeQualifierCardinalityContentDescription
emsIdM1StringUUID generated by esr-server
nameM1Enum{ftp/sftp}ftp typeStringEMS name
vendorM1Stringservice IP of ftp servervendor
versionM1Stringservice port of ftp serveruserMversion
descriptionO0..1Stringdescription
passwordresourceAddrM1Stringftp passwordremotepathObjAddress to get resource data
performanceAddrM1StringObjAddress to get performance data file path
passivealarmAddrM1Booleanftp passive mode or not

...

ObjAddress 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
remotepath

Request Sample:

/onapapi/aai/esr/v1/emses

{

    "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 Parameters:
EMS

Response Sample:

...

M1Stringresource 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:

/onapapi/aai/esr/v1/emses

{

    "emsName": "EMS_TEST",

...

    "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 EMS by id

...

Request Parameters:

...

Request Sample:
/onapapi/aai/esr/v1/emses/19ecbb3a-3242-4fa3-9926-8dfb7ddc29ee,
        "user": "root",
        "password": "test"
    }
}


Response Parameters:
EMS

Response Sample:

...

    "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

...

EMS by id

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/emssemses/{emsId}
Operation TypeGET

Request Parameters:N/A

AttributeQualifierCardinalityContentDescription
emsIdM1StringEMS identifier

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

Response Parameters:
List<EMS>

Response Sample:

   [

{
    "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"
    }
}

   ]

...

Get all EMS

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/emses/{emsId}emss
Operation TypePUTGET

Request Parameters:

...

resourceAddr:

...

performanceAddrN/A

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

Response Parameters:
List<EMS>

Response Sample:

Success Code: 201

   [

{
    "emsId": "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

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/emses/{emsId}
Operation TypePUT

Request Parameters:

AttributeQualifierCardinalityContentDescription
ftptype
emsIdM1StringEMS identifier
nameO0..1
Enum{ftp/sftp}ftp typeip
StringEMS name
vendorO0..1String
service IP of ftp serverport
Vendor
versionO0..1String
service port of ftp serveruser
version
descriptionO0..1String
ftp user name
description
password
resourceAddrO0..1
Stringftp passwordremotepath
ObjAddress to get resource data
performanceAddrO0..1
String
ObjAddress to get performance data
file path
passive
alarmAddrO0..1
Booleanftp passive mode or not

...

ObjAddress to get alarm data

resourceAddr:

ipport
AttributeQualifierCardinalityContentDescription
ftptypeO0..1Stringservice IP of ftp serverEnum{ftp/sftp}ftp type
ipO0..1Stringservice port IP of ftp server
userO0..1Stringftp user name
passwordO0..1Stringftp password

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 Parameters:
EMS

Response Sample:

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

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

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

...

    "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

Interface DefinitionDescription
URI/onapapi/aai/esr/v1/emses/{emsId}
Operation TypeDELETE

...

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

Response Parameters:N/AResponse Sample:
N/A

Success Code: 204

Errorcode: 500 Internal Server Error


Other

Get basic info by id

...