...
Swisscom Edge SDN M&C and virtual BNG
BBS Service Configuration
AAI: Business customer
Create a business customer and subscription to BBS service type in AAI
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
curl -X PUT \
https://aai.api.simpledemo.openecomp.org:30233/aai/v16/business/customers/customer/0dd5ab04-11a1-48b2-9792-6f12a42223d3 \
-H 'Accept: application/json' \
-H 'Authorization: Basic QUFJOkFBSQ==' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'Host: aai.api.simpledemo.openecomp.org:30233' \
-H 'User-Agent: PostmanRuntime/7.15.0' \
-H 'X-FromAppId: Postman Application' \
-H 'X-TransactionId: Postman REST Transaction' \
-H 'accept-encoding: gzip, deflate' \
-H 'cache-control: no-cache' \
-H 'content-length: 140' \
-d '{
"global-customer-id": "0dd5ab04-11a1-48b2-9792-6f12a42223d3",
"subscriber-name": "BBSCustomer",
"subscriber-type": "CUST"
}
'
curl -X GET \
https://aai.api.simpledemo.openecomp.org:30233/aai/v16/business/customers/customer/0dd5ab04-11a1-48b2-9792-6f12a42223d3 \
-H 'Accept: application/json' \
-H 'Authorization: Basic QUFJOkFBSQ==' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'Host: aai.api.simpledemo.openecomp.org:30233' \
-H 'User-Agent: PostmanRuntime/7.15.0' \
-H 'X-FromAppId: Postman Application' \
-H 'X-TransactionId: Postman REST Transaction' \
-H 'accept-encoding: gzip, deflate' \
-H 'cache-control: no-cache'
{
"global-customer-id": "0dd5ab04-11a1-48b2-9792-6f12a42223d3",
"subscriber-name": "BBSCustomer",
"subscriber-type": "CUST",
"resource-version": "1561552477331"
} |
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
curl -X PUT \
https://aai.api.simpledemo.openecomp.org:30233/aai/v14/business/customers/customer/0dd5ab04-11a1-48b2-9792-6f12a42223d3/service-subscriptions/service-subscription/BBS_E2E_Service \
-H 'Accept: application/json' \
-H 'Authorization: Basic QUFJOkFBSQ==' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'Host: aai.api.simpledemo.openecomp.org:30233' \
-H 'User-Agent: PostmanRuntime/7.15.0' \
-H 'X-FromAppId: Postman Application' \
-H 'X-TransactionId: Postman REST Transaction' \
-H 'accept-encoding: gzip, deflate' \
-H 'cache-control: no-cache' \
-H 'content-length: 38' \
-d '{
"service-type": "BBS_E2E_Service"
}'
curl -X GET \
'https://aai.api.simpledemo.openecomp.org:30233/aai/v16/business/customers/customer/0dd5ab04-11a1-48b2-9792-6f12a42223d3?depth=all' \
-H 'Accept: application/json' \
-H 'Authorization: Basic QUFJOkFBSQ==' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'Host: aai.api.simpledemo.openecomp.org:30233' \
-H 'User-Agent: PostmanRuntime/7.15.0' \
-H 'X-FromAppId: Postman Application' \
-H 'X-TransactionId: Postman REST Transaction' \
-H 'accept-encoding: gzip, deflate' \
-H 'cache-control: no-cache'
{
"global-customer-id": "0dd5ab04-11a1-48b2-9792-6f12a42223d3",
"subscriber-name": "BBSCustomer",
"subscriber-type": "CUST",
"resource-version": "1561552477331",
"service-subscriptions": {
"service-subscription": [
{
"service-type": "BBS_E2E_Service",
"resource-version": "1561553245301"
}
]
}
} |
Service order: request input
...