...
- Browse SDC model
- Deploy service
Preload A&AI (https://wiki.onap.org/display/DW/Tutorial_vIMS%3A+Create+AAI+cloud+account)
AAI Postman headers
- Basic Authentication: AAI/AAI
- Accept: application/json
- Content-Type: application/json
- X-FromAppId: AAI
- X-TransactionId: get_aai_subscr
Add a new service to A&AI
- Generate UUID https://www.uuidgenerator.net/ (use version 4), e.g.: e8cb8968-5411-478b-906a-f28747de72cd
- PUT the new service in A&AI: {{aai_ip}}:8443/aai/v11/service-design-and-creation/services/service/e8cb8968-5411-478b-906a-f28747de72cd
vFW Service
{
"service-id": "e8cb8968-5411-478b-906a-f28747de72cd",
"service-description": "vFW"
}
Check: GET (https) {{aai_ip}}:8443/aai/v11/service-design-and-creation/services
Create a new cloud region
PUT (https) {{aai_ip}}:8443/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/OpenStack/RegionOne
{
"cloud-owner": "OpenStack",
"cloud-region-id": "RegionOne",
"cloud-type": "openstack",
"owner-defined-type": "owner type",
"cloud-region-version": "v2.5",
"cloud-zone": "cloud zone",
"tenants": {
"tenant": [{
"tenant-id": "41d6d38489bd40b09ea8a6b6b852dcbd",
"tenant-name": "Integration"
}]
}
}
Check: GET (https) {{aai_ip}}:8443/aai/v11/cloud-infrastructure/cloud-regions
Create a new customer
PUT (https) {{aai_ip}}:8443/aai/v11/business/customers/customer/Demonstration
{
"global-customer-id": "Demonstration",
"subscriber-name": "Demonstration",
"subscriber-type": "INFRA",
"service-subscriptions": {
"service-subscription": [
{
"service-type": "vFW",
"relationship-list": {
"relationship": [{
"related-to": "tenant",
"relationship-data": [
{"relationship-key": "cloud-region.cloud-owner", "relationship-value": "OpenStack"},
{"relationship-key": "cloud-region.cloud-region-id", "relationship-value": "RegionOne"},
{"relationship-key": "tenant.tenant-id", "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"}
]
}]
}
}
]
}
}
Check: GET (https) {{aai_ip}}:8443/aai/v11/business/customers
Create service instance and then VNF instance in VID (https://wiki.onap.org/display/DW/Tutorial+vIMS%3A+VID+Instantiate+the+VNF)
Preload VID
VID Postman headers
- Basic Authentication: demo/Kp8bJ4SXszM0WX
- Accept: application/json
- Content-Type: application/json
- USER_ID: demo
- X-TransactionId: robot-ete-bd65600d-8669-4903-8a14-af88203add38
- X-FromAppId: robot-ete
POST (http) {{vid_ip}}:{{vid_port}}/vid/maintenance/category_parameter/platform
{
"options": ["Test-Platform"]
}
POST (http) {{vid_ip}}:{{vid_port}}/vid/maintenance/category_parameter/project
{
"options": ["Test-Project"]
}
POST (http) {{vid_ip}}:{{vid_port}}/vid/maintenance/category_parameter/owningEntity
{
"options": ["Test-Entity"]
}
POST (http) {{vid_ip}}:{{vid_port}}/vid/maintenance/category_parameter/lineOfBusiness
{
"options": ["Test-Business"]
}
Preload SDNC (https://wiki.onap.org/display/DW/Tutorial_vIMS+%3A+SDNC+Updates)
- Create username and password: {{sdnc_ip}}:8843/signup
- Login: {{sdnc_ip}}:8843/login
- Preload topology information: {{sdnc_ip}}:8282/apidoc/explorer/index.html
- Username/password: admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
- POST /VNF-API/operations/VNF-API/preload-vnf-topology-operation