You need to name one RegionTwo or something,
From: [email protected]
[mailto:[email protected]] On Behalf Of Alexis de Talhouët
Sent: Tuesday, January 09, 2018 9:34 AM
To: onap-discuss <[email protected]>
Subject: [onap-discuss] [AAI][SO] How to add another LCP Region
Hello AAI, SO expert,
I’m trying to add another LCP Region to be able to deploy VNF in another
OpenStack instance.
To do so, I have done the following:
In MSO:
- Add a Cloud Site
"RegionAlex":
{
"region_id": "RegionOne",
"clli": "RegionOne",
"aic_version": "2.5",
"identity_service_id": "ALEX_KEYSTONE"
}
- Add it’s associated Cloud Identity Services
"ALEX_KEYSTONE":
{
"identity_url":
"http://10.195.194.215:5000/v2.0<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.195.194.215-3A5000_v2.0&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=oHswheJmkWJIcCFYw24k7XQ3lZ-POKBf-k_XFejRrNQ&s=u3st_5cAWjMqICf5KR8cqtqgGnlBWa9NLed_jnRmi9Q&e=>",
"mso_id": "nso",
"mso_pass": "86b74198e8ccb959eaaadefevsd2a8a2",
"admin_tenant": "service",
"member_role": "admin",
"tenant_metadata": true,
"identity_server_type": "KEYSTONE",
"identity_authentication_type": "USERNAME_PASSWORD"
}
In AAI:
- Create a cloud region
{
"cloud-owner": "CloudOwner",
"cloud-region-id": "RegionAlex",
"cloud-type": "SharedNode",
"owner-defined-type": "OwnerType",
"cloud-region-version": "v1",
"cloud-zone": "CloudZone",
"sriov-automation": false,
"resource-version": "1515506147118",
"relationship-list": {
"relationship": [
{
"related-to": "complex",
"related-link":
"/aai/v11/cloud-infrastructure/complexes/complex/clli1",
"relationship-data": [
{
"relationship-key":
"complex.physical-location-id",
"relationship-value": "clli1"
}
]
}
]
}
}
- Create the tenant in the region for the 4 different services with the right
tenant id:
{
"tenant-id": "21ca0f4c2239475fbf1b4b499399163e",
"tenant-name": "nso-rancher",
"relationship-list": {
"relationship": [
{
"related-to": "service-subscription",
"related-link":
"/aai/v11/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vLB",
"relationship-data": [
{
"relationship-key": "customer.global-customer-id",
"relationship-value": "Demonstration"
},
{
"relationship-key": "service-subscription.service-type",
"relationship-value": "vLB"
}
]
},
{
"related-to": "service-subscription",
"related-link":
"/aai/v11/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vIMS",
"relationship-data": [
{
"relationship-key": "customer.global-customer-id",
"relationship-value": "Demonstration"
},
{
"relationship-key": "service-subscription.service-type",
"relationship-value": "vIMS"
}
]
},
{
"related-to": "service-subscription",
"related-link":
"/aai/v11/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFWCL",
"relationship-data": [
{
"relationship-key": "customer.global-customer-id",
"relationship-value": "Demonstration"
},
{
"relationship-key": "service-subscription.service-type",
"relationship-value": "vFWCL"
}
]
},
{
"related-to": "service-subscription",
"related-link":
"/aai/v11/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vCPE",
"relationship-data": [
{
"relationship-key": "customer.global-customer-id",
"relationship-value": "Demonstration"
},
{
"relationship-key": "service-subscription.service-type",
"relationship-value": "vCPE"
}
]
}
]
}
}
So my expectation is to have VID displaying the two LCP Region so I can pick
the one where I want to deploy.
The thing is, VID is showing only one “RegionOne” option. But in the console I
can see it’s retrieving two.
cloudRegionTenantList= creationService.js:909:3
[
{
"cloudRegionId": "",
"tenantName": "Please choose a region",
"tenantId": ""
},
{
"cloudRegionId": "RegionOne",
"tenantName": "nso-rancher",
"tenantId": "5c59f02201d54aa89af1f2207f7be2c1",
"isPermitted": true
},
{
"cloudRegionId": "RegionOne",
"tenantName": "nso-rancher",
"tenantId": "21ca0f4c2239475fbf1b4b499399163e",
"isPermitted": true
}
]
So I’m wondering what I could have done wrong. As the cloudRegionId are the
same, it’s displaying only one, but you can see the tenantId is different.
My question is, what should be the process to do this?
Thanks,
Alexis
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss