Request failed.
{
"request": {
"instanceReferences": {
"requestorId": "vCPE-Robot",
"serviceInstanceId": "55393ea4-02ea-4132-a945-deb76bfd6443",
"vfModuleInstanceName": "vcpe_vfmodule_vcpevspinfra0412_201805091605",
"vnfInstanceId": "5415a53e-a200-4e2b-9b40-32bcc62a3957"
},
"requestId": "d1cda2c6-1fc8-4eb6-bf42-0f6e2377fbb1",
"requestScope": "vfModule",
"requestStatus": {
"finishTime": "Wed, 09 May 2018 20:10:42 GMT",
"percentProgress": 100,
"requestState": "FAILED",
"statusMessage": "Received vfModuleException from VnfAdapter: category='INTERNAL' message='Exception during create VF 0 : Stack error (CREATE_FAILED): Resource CREATE failed: Forbidden: resources.my_keypair: Quota exceeded, too many key pairs. (HTTP 403) (Request-ID: req-75d81333-d54c-4521-ae73-28ab6c7d75ad)' rolledBack='true'"
},
"requestType": "createInstance",
"startTime": "Wed, 09 May 2018 20:10:13 GMT"
}
}
----------------------------------------------------------
Yes. I’ve kept SNIRO Functionality, all that is needed is to add a user param of Name:”Homing_Solution” Value:“sniro” when instantiating the vCPE service. If ”Homing_Solution” user param is omitted, or has value:”oof” it will use new homing/OOF flow. To use OOF the userParam “Customer_Location” is also needed.
Here is an example rest request, with user param highlighted:
{
"requestDetails":
{
"modelInfo":
{
"modelType":"service",
"modelInvariantUuid":"uuid-miu-svc-011-abcdef",
"modelVersionId":"ASDC_TOSCA_UUID",
"modelName":"SIModelName1",
"modelVersion":"2"
},
"subscriberInfo":
{
"globalSubscriberId":"SDN-ETHERNET-INTERNET",
"subscriberName":"Kaneohe"
},
"requestInfo":
{
"instanceName":"VCPE1",
"source":"VID",
"suppressRollback":"false",
"productFamilyId":"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb"
},
"cloudConfiguration":
{
"lcpCloudRegionId":"cloudowner_mdt1",
"tenantId":"8b1df54faa3b49078e3416e21370a3ba"
},
"owningEntity": {
"owningEntityId": "randomStrings",
"owningEntityName": "randomStrings"
},
"requestParameters": {
"subscriptionServiceType":"123456789",
"aLaCarte":"false",
"userParams":
[
{
"name":"BRG_WAN_MAC_Address",
"value":"brgmac"
},
{
"name": "Customer_Location",
"value": {
"customerLatitude": "32.897480",
"customerLongitude": "-97.040443",
"customerName": "some_company"
}
},
{
"name":"Homing_Solution",
"value":"sniro"
}
]
}
}
}
Cheers,
Marcus Williams
IRC @ mgkwill
...