Table of Contents |
---|
Analysis
vFirewall Demo Sequence of Events
All the events during a VF creation so we can understand all the orchestration steps at a granular REST level.
PrerequisitesÂ
...
Config
...
Table of Contents |
---|
Analysis
vFirewall Demo Sequence of Events
All the events during a VF creation so we can understand all the orchestration steps at a granular REST level.
PrerequisitesÂ
Seq | Name | Source | Target | Actor | REST write | REST read |
---|---|---|---|---|---|---|
Config
Seq | Name | Source | Target | Actor | REST write | REST read | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
create customer | robot | aai | ./demo.sh init | PUT https://{{aai_ip}}:8443/aai/v8/business/customers/customer/ONAP-User { "global-customer-id": "ONAP-User", | https://{{aai_ip}}:8443/aai/v8/business/customers/customer { "global-customer-id": "Demonstration","subscriber-name": "Demonstration", | ||||||
create service model | robot | aai | ./demo.sh init | PUT https://{{aai_ip}}:8443/aai/v8/business/customers/customer/ONAP-User{ "global-customer-id": "ONAP-Userservice-design-and-creation/models "model-name-version-id": "dcb40136-9cec-45be-b080-2a36b31c2f06", | https://{{aai_ip}}:8443/aai/v8/business/customers/customer { "global-customer-id": "Demonstration","subscriber-name": "Demonstration", | create service model | robot | aai | ./demo.sh init |
...
"43d59b70-8829-4a50-a3f7-d261b220ceef" |
Service Deployment
Seq | Name | Source | Target | Actor | REST write | REST read |
---|---|---|---|---|---|---|
deploy service model | vid | demo user | ||||
create service instance | vid | demo user | Input: InstanceName=DemoInstance Output: | https://{{aai_ip}}:8443/aai/v8/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW/service-instances/ { "service-instance": [{ | ||
Add VNF to Service Instance | vid | demo user | Input: Output: VNFID=6229cdee-10f6-4ec4-a5e0-0593154e6d83 | get VSPs http://{{sdc_ip}}:8080/onboarding-api/v1.0/vendor-software-products "name": "vsp", |
VNF Creation
Seq | Name | Source | Target | Actor | REST write | REST read | deploy service model | vid | demo user | create service instance | vid | demo user | Input: InstanceName=DemoInstance Output: | https|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
robot | ./demo.sh init | |||||||||||||
VfModule Preload
Seq | Name | Source | Target | Actor | REST write | REST read | ||||
---|---|---|---|---|---|---|---|---|---|---|
preload vnf | robot | ./demo.sh preload <DemoVNF> <DemoModule> | http://{{aaisdnc_ip}}:84438282/aairestconf/v8/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW/service-instances/config/VNF-API:preload-vnfs { "servicepreload-instancevnfs": [ { | Add VNF to Service Instance | vid | demo user | Input: VSP from onboarding InstanceName=DemoVNF ProductFamily=vFW LCPRegion=IAD|DFW Tenant=<RS ID> |
...
type": "Vsp..base_vfw..module-0", | ||||||
VfModule Creation
Seq | Name | Source | Target | Actor | REST write | REST read | robot | ./demo.sh init |
---|
VFModule Preload
...
create Vf module <DemoModule> | vid | demo user | Output: VfModuleID=5a08199b-4161-4181-9b2d-da29f6df1410 | |||
Closed Loop
Seq | Name | Source | Target | Actor | REST write | REST read | create vf module <DemoModule> | vid | demo user |
---|
Closed Loop
...
appc | robot | ./demo.sh appc <DemoModule> | ||||
see also
http://{{sdc_ip}}:8080/sdc2/rest/v1/catalog/services/latestversion/notabstract/uidonly?internalComponentType=SERVICE
feeds
http://{{sdc_ip}}:8080/sdc2/rest/v1/catalog/services/378bc9b7-2b7d-4a4f-96d9-1c654c2242fa
Design Issues
DI 1: 20170712: AAI Cert required for HTTPS REST calls
...
// require: cert, username, password, headers(X-FromAppId,Accept), Authenticator public String run(boolean isSSL, String url, String port, String path) { String record = null; client = ClientBuilder.newClient(); |
---|
public class Authenticator implements ClientRequestFilter { |
---|
DI 2: 20170712: Spring Boot Backend Framework
...