- Created by Alexis de Talhouët, last modified on Aug 19, 2019
Design
The designer has to consider both topology and configuration for their service. They have to be designed together, making sure the overall service make sense.
Controller Design Studio
Note: All the design activities for vFW use case have been done and are located here: https://github.com/onap/ccsdk-apps/tree/casablanca/ms/controllerblueprints/application/load
The controller blueprint is the design time framework allowing the service designer to express what data needs to be resolved and how to resolve this data. It uses a fully model-driven approach (declarative vs imperative) pushing for re-usability of artifacts.
In Casablanca, CDS solves the pre-instantiation use-case; meaning it can be used to resolve resources required to instantiate a service. The resolution can occur at VNF as well as at VF-MODULE assignment level; this correlates to the new SO Building Block flows and actions introduced in Casablanca. Resolved resources (along with user provided and defaults) gets stored in the MDSAL data-store of SDNC, under the GENERIC-RESOURCE-API sub-tree.
The main runtime components used by CDS are the:
Service Logic Interpreter (SLI - Directed Graph engine): A set of
self-serve
DGs were introduced in Casablanca. These are fully service agnostic. The hooks to call the self serve flow at VNF and VF-MODULE level has been introduced in the main DGs, beingGENERIC-RESOURCE-API_vnf-topology-operation-assign.json
andGENERIC-RESOURCE-API_vf-module-topology-operation-assign.json
. These get called as part of the assignment step triggered by SO to SDNC, using theGENERIC-RESOURCE-API
(see the requests here). Theself-serve-*-ra-assignent
DGs are the ones responsible for fetching the blueprint along with templates.Casablanca self serve DG list Expand source#:~/onap-root/sdnc/oam/platform-logic/generic-resource-api/src/main/json$ ls | grep self GENERIC-RESOURCE-API_self-serve-aai-vf-module-put.json GENERIC-RESOURCE-API_self-serve-aai-vnf-put.json GENERIC-RESOURCE-API_self-serve-capability-param-resolution.json GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json GENERIC-RESOURCE-API_self-serve-generate-name.json GENERIC-RESOURCE-API_self-serve-mS-mac-address-assign.json GENERIC-RESOURCE-API_self-serve-mS-vlan-tag-assign.json GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json GENERIC-RESOURCE-API_self-serve-unresolved-composite-data.json GENERIC-RESOURCE-API_self-serve-vf-module-assign.json GENERIC-RESOURCE-API_self-serve-vfmodule-changeassign.json GENERIC-RESOURCE-API_self-serve-vf-module-forking-logic.json GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json GENERIC-RESOURCE-API_self-serve-vf-module-unassign.json GENERIC-RESOURCE-API_self-serve-vnf-assign.json GENERIC-RESOURCE-API_self-serve-vnf-changeassign.json GENERIC-RESOURCE-API_self-serve-vnf-forking-logic.json GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json GENERIC-RESOURCE-API_self-serve-vnf-unassign.json
- Resource Accumulator: It gets called as part of the DG execution; its goal is to resolve the resources as per as resources being defined in the node_template getting processed.
In Casablanca, CDS supports the following sources for resolution:
- SQL
- MD-SAL
- Input
- Default
- Capability: the logic to resolve the resource for that type of source is a DG, hence DG development is required to support a new capability. Currently the following capabilities exist:
- Netbox (IPAM)
- Name generation
There are two categories of resources, the ones that get created (and can be released at a later date); and the ones that get resolved, that were already existing. A capability as mentioned previously defines the former.
Blueprint
The blueprint is the overall JSON TOSCA based artifact expressing the 'what' for the resource assignment process; i.e. vFW_spinup.json for this use case.
It contains a metadata section; among other fields, the following two are important as they will be used at the HEAT design time. They will allow the runtime process to identify the blueprint to use for a given service.
- template_version
- template_name
In Casablanca, for the vFW use-case, the blueprint is used to define the various node_templates, along with their resource mappings.
node_templates
Defines the contract for the template, e.g. what resources should be resolved. It is a also link to the template itself. It has the following characteristics:
- type: defines what type of template artifact it is.
- capabilities
We can have as many node templates as necessary. In the case of the vFW use case we have five, one for the VNF, and four for each VFC (see topology).
mapping
Belongs to a node_template, and defines the contract for each resource (the what) to be resolved; it's comprised of:
- name
- required / optional
- type (support complex type)
- dictionary-name
- dictionary-source
- dependencies: this allows to make sure given resources get resolved prior the resolution of the resources defining the dependency.
The dictionary fields reference to a specific data dictionary.
template
For the pre-instantiation use-case, the resource accumulator templates are being used. In Casablanca, these templates are manually created.
For the vFW use case, templates can be found here: https://github.com/onap/ccsdk-apps/tree/casablanca/ms/controllerblueprints/application/load/blueprints/vFW/Templates
As a requirement the template name must match the VF-MODULE label name.
The resource accumulator template can be composed of the following sections:
resource-accumulator-resolved-data: defines all the resources that can be resolved directly from the Service Logic Interpreter context. It expresses a direct mapping between the name of the resource and its value.
RA resolved data Expand source"resource-accumulator-resolved-data": [ { "param-name": "service-instance-id", "param-value": "${service-instance-id}" }, { "param-name": "vnf_id", "param-value": "${vnf-id}" } ]
capability-data: defines what capability to use to create a specific resource, along with the ingredients required to invoke the capability and the output mapping.
RA capability payload Expand source{ "capability-name": "netbox-ip-assign", "key-mapping": [ { "payload": [ { "param-name": "service-instance-id", "param-value": "${service-instance-id}" }, { "param-name": "prefix-id", "param-value": "${private-prefix-id}" }, { "param-name": "vf-module-id", "param-value": "${vf-module-id}" }, { "param-name": "external_key", "param-value": "${vf-module-id}-vpg_private_ip_1" } ], "output-key-mapping": [ { "resource-name": "vpg_private_ip_1", "resource-value": "${vpg_private_ip_1}" } ] } ] }
Data Dictionary
The data dictionary design time framework, part of CDS, is a standalone activity from the blueprint design. Its goal is to model the how to resolve the resource, and to make this model re-usable across services; i.e. service-instance-id parameter will probably always get resolved the same way, hence it can be designed once, and re-used across all services.
As part of modelling a data dictionary entry, the following should be provided:
- name
- tags
- property
- sources
- <type of source>: (can be any type of source as long as the data to resolve already exist, else, a capability should be used; in the case of a capability, the data dictionary model would be different)
- properties
- input key mapping: resources required to perform the request/query
- output key mapping: name of the resource to be resolved mapped to the value resolved by the request/query
- key dependencies: ensure the listed dependencies are resolved prior
- <query/request>: either SQL statement or REST URI
A data dictionary entry can have multiple sources to handle resolution of the same resources in different ways. For instance, say a resource, coming from a SQL table, is to be shared accross VF-MODULE, designer could make the resolution as part of the VNF level. Hence the data dictionary would have two sources, SQL and MDSAL. At the VNF level, process will resolve the dependency, then store it in MDSAL. So while processing VF-MODULE resolution, process can simply fetch the resolved data at VNF level from MDSAL.
The vFW data dictionaries can be found here: https://github.com/onap/ccsdk-apps/tree/casablanca/ms/controllerblueprints/application/load/resource_dictionary
"dictionary-name": "aic-cloud-region", "dictionary-name": "image_name", "dictionary-name": "key_name", "dictionary-name": "nexus_artifact_repo", "dictionary-name": "nf-role", "dictionary-name": "nfc-naming-code", "dictionary-name": "onap_private_net_cidr", "dictionary-name": "onap_private_net_id", "dictionary-name": "onap_private_subnet_id", "dictionary-name": "private-prefix-id", "dictionary-name": "protected-prefix-id", "dictionary-name": "protected_private_net_cidr", "dictionary-name": "public_net_id", "dictionary-name": "pub_key", "dictionary-name": "sec_group", "dictionary-name": "service-instance-id", "dictionary-name": "unprotected-prefix-id", "dictionary-name": "unprotected_private_net_cidr", "dictionary-name": "vf-module-id", "dictionary-name": "vf-module-label", "dictionary-name": "vf-module-model-customization-uuid", "dictionary-name": "vf-module-type", "dictionary-name": "vf-naming-policy", "dictionary-name": "vf-nf-code", "dictionary-name": "vfccustomizationuuid", "dictionary-name": "vfw_name_0", "dictionary-name": "vfw_private_ip_0", "dictionary-name": "vfw_private_ip_1", "dictionary-name": "vfw_private_ip_2", "dictionary-name": "vf_module_name", "dictionary-name": "vm-type", "dictionary-name": "vnf-id", "dictionary-name": "vnf-model-customization-uuid", "dictionary-name": "vnf-name", "dictionary-name": "vnfc-model-invariant-uuid", "dictionary-name": "vnfc-model-version", "dictionary-name": "vnf_name", "dictionary-name": "vpg_name_0", "dictionary-name": "vpg_private_ip_0", "dictionary-name": "vpg_private_ip_1", "dictionary-name": "vsn_name_0", "dictionary-name": "vsn_private_ip_0", "dictionary-name": "vsn_private_ip_1",
Relation between blueprint, data dictionary and template
Below are two examples using color coding to help understand the relationships.
In orange is the information regarding the template. As mentioned before, template is part of the blueprint itself, and for the blueprint to know what template to use, the name has to match.
In green is the relationship between the value resolved within the template, and how it's mapped coming from the blueprint.
In blue is the relationship between a resource mapping to a data dictionary.
In red is the relationship between the resource name to be resolved and the HEAT environment variables.
The key takeaway here is that whatever the value is for each color, it has to match all across. This means both right and left hand side are equivalent; it's all on the designer to express the modeling for the service. That said, best practice is example 1.
Policy
In order to generate consistent name across instances of the service, a naming policy has been created. The naming policy provide the recipe to generate name based on the network function type, e.g. VNF, VNC, VF-MODULE, etc...
For the vFW use case, we are auto-generating names at VNF and VF-MODULE level.
The policies get created and pushed as part of policy micro-service creation, through the invocation of a script. To have this script getting called, make sure to set the preloadPolicies
to true
in the Chart Values.yaml file.
Topology
Here is the overall topology for the vFW service.
HEAT
Each VFC has its own HEAT template and environment file. One of the HEAT templates is the base_template, it takes care of the creation of shared resources across other VFCs; i.e the protected and unprotected networks. Within the MANIFEST.json file, the base_template is identified by the boolean is_base = true, ex: https://github.com/onap/demo/blob/master/heat/vFW_NextGen/templates/MANIFEST.json#L8 This allows to correctly resolve the VFC dependency.
In Casablanca, as CDS isn't integrated within SDC, in order for the runtime to know CDS should be used for assignment, the following fields are added to the server's metadata in the HEAT template:
sdnc_model_name - This is the name of the blueprint (e.g. CBA name)
sdnc_model_version - This is the version of the blueprint
sdnc_artifact_name - This is the name of the VNF/PNF
They identify a Controller Blueprint that has been designed and published; ex: https://github.com/onap/demo/blob/master/heat/vFW_NextGen/templates/vfw.yaml#L200
SDC
Run the init goal to setup ONAP's AAI boilerplate
Run design and distribution
SDC design activities and deployment activities mentioned below can be executed using a Robot tag. Do to so, run the following command in kubernetes/robot folder of OOM project:
VSP
First we need to create the Vendor Software Product (VSP). To do so, we zip the content of the vFW_NextGen/templates and we load that.
You'll see the two networks
And the four VFC
VF
Then create a VF, which is the same notion as a VNF.
This will provide the deployment artifacts, comprised of 4 VFCs:
- base_template (taking care of creating both networks)
- vFireWall
- vPacketGenerator
- vSink
The use case is making use of auto-generated name for the VFC, hence, in the properties assignment section, for each VFC we need to fill the following data:
- nfc_naming
- naming_policy: this is where we can put the naming of the naming_policy previously created and pushed in Policy engine.
nfc_naming_code
nfc_function
Service
Then design the service comprised of the VF. Similarly to the VF, we need to specify the naming policy and few other informations, that are:
- nf_naming
- naming_policy
- nf_naming_code
- nf_role
Distribution
Once topology gets distributed, many component consume the CSAR file. Let's have a look at SDNC and SO, and see how their SQL tables get updated with values regarding the service.
SDNC
The notion of VF_MODEL is equivalent to VNF, as the notion of VFC is equivalent to VNFC.
For instance, the VF_MODEL table contains information regarding the naming policy, but more importantly, the information regarding the CDS blueprint to use for that particular service.
mysql> mysql> select * from VF_MODEL where nf_function="ONAP-FIREWALL"; +--------------------------------------+------------+--------------------------------------+--------------------------------------+---------+-------------------------+---------------------------------------+------------------------+----------------------+---------------+---------+----------+---------+-------------------------+----------------+-----------------+--------------------+--------------------+ | customization_uuid | model_yaml | invariant_uuid | uuid | version | name | naming_policy | ecomp_generated_naming | avail_zone_max_count | nf_function | nf_code | nf_type | nf_role | vendor | vendor_version | sdnc_model_name | sdnc_model_version | sdnc_artifact_name | +--------------------------------------+------------+--------------------------------------+--------------------------------------+---------+-------------------------+---------------------------------------+------------------------+----------------------+---------------+---------+----------+---------+-------------------------+----------------+-----------------+--------------------+--------------------+ | 39106d12-7629-4b6a-a6d5-b6d7a8041f00 | null | 106c91b3-c577-4658-b8c1-8bc9cd86c672 | 71256464-e388-4b7f-9b92-7c5616766465 | 1.0 | b551da0a-1fe2-489d-a486 | SDNC_Policy.ONAP_VFW_NAMING_TIMESTAMP | Y | 1 | ONAP-FIREWALL | vfw | FIREWALL | vFW | 9debd032-c839-4a61-a149 | 1.0 | vFW_spinup | 1.0.0 | vFW_vNF_Artifact | +--------------------------------------+------------+--------------------------------------+--------------------------------------+---------+-------------------------+---------------------------------------+------------------------+----------------------+---------------+---------+----------+---------+-------------------------+----------------+-----------------+--------------------+--------------------+ 1 row in set (0.00 sec)
We do see the correlation between the VF_MODEL above, and its VFC, express in the VF_MODULE_MODEL table.
mysql> select * from VF_MODULE_MODEL where vf_customization_uuid="39106d12-7629-4b6a-a6d5-b6d7a8041f00"; +--------------------------------------+------------+--------------------------------------+--------------------------------------+---------+----------------+-------------------------+--------------------------------+--------------------------------------+-----------------+ | customization_uuid | model_yaml | invariant_uuid | uuid | version | vf_module_type | availability_zone_count | ecomp_generated_vm_assignments | vf_customization_uuid | vf_module_label | +--------------------------------------+------------+--------------------------------------+--------------------------------------+---------+----------------+-------------------------+--------------------------------+--------------------------------------+-----------------+ | 18718327-3953-4fab-8802-aa55ecc42c29 | null | 5d0cc1d8-94f1-461c-a7be-3d18cc22da38 | c29a71ad-01fe-4f57-b64f-91e30da52274 | 1 | Expansion | NULL | NULL | 39106d12-7629-4b6a-a6d5-b6d7a8041f00 | vsn | | 4e65668c-74b0-448f-b2d2-80ed3b1afa5d | null | 986109de-26dc-4084-8ca9-7306f2bb68f3 | 3f392a6b-585e-4e1c-ad98-459a17957841 | 1 | Base | NULL | NULL | 39106d12-7629-4b6a-a6d5-b6d7a8041f00 | base_template | | 8a4361d4-18a7-4122-9fc8-554db20c03d9 | null | b95372f6-e4c3-4ee0-bb69-c343bec4d7b8 | 7bc1ace1-fe43-4b21-b5d8-60e2da5d3ada | 1 | Expansion | NULL | NULL | 39106d12-7629-4b6a-a6d5-b6d7a8041f00 | vfw | | d48b9a01-8eb9-46e0-a1d6-bd1dbe8c769d | null | b0443ba5-090d-4210-9855-5aacd960d96e | 381bf92b-d500-4ff4-a6b0-c4c875aa2df1 | 1 | Expansion | NULL | NULL | 39106d12-7629-4b6a-a6d5-b6d7a8041f00 | vpg | +--------------------------------------+------------+--------------------------------------+--------------------------------------+---------+----------------+-------------------------+--------------------------------+--------------------------------------+-----------------+ 4 rows in set (0.01 sec)
The VFC_MODEL contains the naming policies as set up at design time. for each VFC.
mysql> select * from VFC_MODEL where naming_policy LIKE "SDNC_Policy%"; +--------------------------------------+------------+--------------------------------------+--------------------------------------+---------+---------------------------------------+------------------------+--------------+-----------------+---------+-------------+------------------------------------------+---------------------------------------------------+-------------------+------------------------------------------------------------------------------------+---------------+---------------+ | customization_uuid | model_yaml | invariant_uuid | uuid | version | naming_policy | ecomp_generated_naming | nfc_function | nfc_naming_code | vm_type | vm_type_tag | vm_image_name | vm_flavor_name | high_availability | nfc_naming | min_instances | max_instances | +--------------------------------------+------------+--------------------------------------+--------------------------------------+---------+---------------------------------------+------------------------+--------------+-----------------+---------+-------------+------------------------------------------+---------------------------------------------------+-------------------+------------------------------------------------------------------------------------+---------------+---------------+ | c619861e-6a66-4e9a-9d78-89327c07690d | null | 0f650273-b429-49f3-b075-6785fa2d19f2 | 8aa52209-f22f-44fb-ae44-26bfc8b1a5f9 | 1.0 | SDNC_Policy.ONAP_VSN_NAMING_TIMESTAMP | Y | vsn | vsn | vsn | vsn | PUT THE VM IMAGE NAME HERE (UBUNTU 1404) | PUT THE VM FLAVOR NAME HERE (m1.medium suggested) | NULL | {naming_policy=SDNC_Policy.ONAP_VSN_NAMING_TIMESTAMP, ecomp_generated_naming=true} | 0 | NULL | | cd2b0be2-a3e0-40d9-baed-84aff8bf2516 | null | 5c55a913-b8a6-4e0f-9aed-71e27f383e25 | 18a784c9-4654-4698-bace-deda8673741c | 1.0 | SDNC_Policy.ONAP_VFW_NAMING_TIMESTAMP | Y | vfw | vfw | vfw | vfw | PUT THE VM IMAGE NAME HERE (UBUNTU 1404) | PUT THE VM FLAVOR NAME HERE (m1.medium suggested) | NULL | {naming_policy=SDNC_Policy.ONAP_VFW_NAMING_TIMESTAMP, ecomp_generated_naming=true} | 0 | NULL | | d8d24f05-beab-4a2b-b1d3-7241fb0fe39b | null | 29fc467e-e69d-46da-8eaf-5c42996b7b26 | 20e5401b-1f75-4c56-b16e-c7a0c010e5c2 | 1.0 | SDNC_Policy.ONAP_VPG_NAMING_TIMESTAMP | Y | vpg | vpg | vpg | vpg | PUT THE VM IMAGE NAME HERE (UBUNTU 1404) | PUT THE VM FLAVOR NAME HERE (m1.medium suggested) | NULL | {naming_policy=SDNC_Policy.ONAP_VPG_NAMING_TIMESTAMP, ecomp_generated_naming=true} | 0 | NULL | +--------------------------------------+------------+--------------------------------------+--------------------------------------+---------+---------------------------------------+------------------------+--------------+-----------------+---------+-------------+------------------------------------------+---------------------------------------------------+-------------------+------------------------------------------------------------------------------------+---------------+---------------+ 3 rows in set (0.00 sec)
SO
The service
table contains information regarding the new deployed service.
MariaDB [catalogdb]> select * from service where model_name LIKE "vFW_NextGen%"; +--------------------------------------+-------------------------+--------------------------------------+---------------+-----------------------------+---------------------+--------------------------------------+--------------+--------------+-------------------------+------------------+------------------+ | MODEL_UUID | MODEL_NAME | MODEL_INVARIANT_UUID | MODEL_VERSION | DESCRIPTION | CREATION_TIMESTAMP | TOSCA_CSAR_ARTIFACT_UUID | SERVICE_TYPE | SERVICE_ROLE | ENVIRONMENT_CONTEXT | WORKLOAD_CONTEXT | SERVICE_CATEGORY | +--------------------------------------+-------------------------+--------------------------------------+---------------+-----------------------------+---------------------+--------------------------------------+--------------+--------------+-------------------------+------------------+------------------+ | f688ee9f-0fa0-4e22-bc93-ce1abd43f52e | vFWNG 2018-11-16 13:04: | ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00 | 1.0 | catalog service description | 2018-10-29 20:11:10 | 44918885-33b1-4f46-a2db-8caa4707f71b | | | General_Revenue-Bearing | Production | NULL | +--------------------------------------+-------------------------+--------------------------------------+---------------+-----------------------------+---------------------+--------------------------------------+--------------+--------------+-------------------------+------------------+------------------+ 2 rows in set (0.00 sec)
As well as the vf_module
table.
MariaDB [catalogdb]> select * from vf_module; +--------------------------------------+--------------------------------------+---------------+-----------------------------------------------+-------------+---------+--------------------------------------+---------------------------------+---------------------+--------------------------------------+ | MODEL_UUID | MODEL_INVARIANT_UUID | MODEL_VERSION | MODEL_NAME | DESCRIPTION | IS_BASE | HEAT_TEMPLATE_ARTIFACT_UUID | VOL_HEAT_TEMPLATE_ARTIFACT_UUID | CREATION_TIMESTAMP | VNF_RESOURCE_MODEL_UUID | +--------------------------------------+--------------------------------------+---------------+-----------------------------------------------+-------------+---------+--------------------------------------+---------------------------------+---------------------+--------------------------------------+ | 7bc1ace1-fe43-4b21-b5d8-60e2da5d3ada | b95372f6-e4c3-4ee0-bb69-c343bec4d7b8 | 1 | B551da0a1fe2489dA486..vfw..module-3 | NULL | 0 | 3e504ebd-fd7c-416f-9dac-045205670672 | NULL | 2018-10-29 18:51:11 | a2f4ba61-b8cf-4313-80cd-87f10c80039a | | c29a71ad-01fe-4f57-b64f-91e30da52274 | 5d0cc1d8-94f1-461c-a7be-3d18cc22da38 | 1 | B551da0a1fe2489dA486..vsn..module-1 | NULL | 0 | 6c08bc85-32e4-4103-8706-f6bef5828a54 | NULL | 2018-10-29 18:51:11 | a2f4ba61-b8cf-4313-80cd-87f10c80039a | | 381bf92b-d500-4ff4-a6b0-c4c875aa2df1 | b0443ba5-090d-4210-9855-5aacd960d96e | 1 | B551da0a1fe2489dA486..vpg..module-2 | NULL | 0 | 03595fd9-691b-475e-81c8-b3cfb7b2fb87 | NULL | 2018-10-29 18:51:11 | a2f4ba61-b8cf-4313-80cd-87f10c80039a | | 3f392a6b-585e-4e1c-ad98-459a17957841 | 986109de-26dc-4084-8ca9-7306f2bb68f3 | 1 | B551da0a1fe2489dA486..base_template..module-0 | NULL | 1 | 35f14cda-0259-4b1f-9467-a6f21e28976e | NULL | 2018-10-29 18:51:11 | a2f4ba61-b8cf-4313-80cd-87f10c80039a | +--------------------------------------+--------------------------------------+---------------+-----------------------------------------------+-------------+---------+--------------------------------------+---------------------------------+---------------------+--------------------------------------+ 6 rows in set (0.00 sec)
Instantiation
Assignment
SO requests
For context, please see SO Building Block flows.
Either you can invoke the Macro for assign, then for activate. The payload for assign and activate are slightly different, as for the activation, you don't need the userParams section providing the information regarding what to assign. Based on the action and the content of the userParams, during the decomposition step within SO, the list of building block to execute, along with the what they should be doing, will be generated. In this use case, we used the all-in-one SO request, hence you can see the decomposition results here.
Build it
Fetch models information
For the Service, VNF, and VF-MODULE, the model information are required to send the request to SO. In order to fetch it, we will use an API call to SO CatalogDB micro-service.
In the response below, there is some mapping to do for the SO request:
modelCustomizationUuid -> modelCustomizationId
modelUuid -> modelVersionId
We now have the model info for VNF and VF-MODULE.
GET http://{{ip}}:{{so-catalog-port}}/ecomp/mso/catalog/v2/serviceVnfs?serviceModelName=vFWNG 2018-11-16 13:04: Output: { "serviceVnfs": [ { "modelInfo": { "modelName": "b551da0a-1fe2-489d-a486", "modelUuid": "71256464-e388-4b7f-9b92-7c5616766465", "modelInvariantUuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672", "modelVersion": "1.0", "modelCustomizationUuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "modelInstanceName": "b551da0a-1fe2-489d-a486 0" }, "toscaNodeType": "org.openecomp.resource.vf.B551da0a1fe2489dA486", "nfFunction": "vfw", "nfType": "vfw", "nfRole": "vfw", "nfNamingCode": "100", "multiStageDesign": "false", "vfModules": [ { "modelInfo": { "modelName": "B551da0a1fe2489dA486..vfw..module-3", "modelUuid": "7bc1ace1-fe43-4b21-b5d8-60e2da5d3ada", "modelInvariantUuid": "b95372f6-e4c3-4ee0-bb69-c343bec4d7b8", "modelVersion": "1", "modelCustomizationUuid": "8a4361d4-18a7-4122-9fc8-554db20c03d9" }, "isBase": false, "vfModuleLabel": "vfw", "initialCount": 0, "hasVolumeGroup": false }, { "modelInfo": { "modelName": "B551da0a1fe2489dA486..vsn..module-1", "modelUuid": "c29a71ad-01fe-4f57-b64f-91e30da52274", "modelInvariantUuid": "5d0cc1d8-94f1-461c-a7be-3d18cc22da38", "modelVersion": "1", "modelCustomizationUuid": "18718327-3953-4fab-8802-aa55ecc42c29" }, "isBase": false, "vfModuleLabel": "vsn", "initialCount": 0, "hasVolumeGroup": false }, { "modelInfo": { "modelName": "B551da0a1fe2489dA486..vpg..module-2", "modelUuid": "381bf92b-d500-4ff4-a6b0-c4c875aa2df1", "modelInvariantUuid": "b0443ba5-090d-4210-9855-5aacd960d96e", "modelVersion": "1", "modelCustomizationUuid": "d48b9a01-8eb9-46e0-a1d6-bd1dbe8c769d" }, "isBase": false, "vfModuleLabel": "vpg", "initialCount": 0, "hasVolumeGroup": false }, { "modelInfo": { "modelName": "B551da0a1fe2489dA486..base_template..module-0", "modelUuid": "3f392a6b-585e-4e1c-ad98-459a17957841", "modelInvariantUuid": "986109de-26dc-4084-8ca9-7306f2bb68f3", "modelVersion": "1", "modelCustomizationUuid": "4e65668c-74b0-448f-b2d2-80ed3b1afa5d" }, "isBase": true, "vfModuleLabel": "base_template", "initialCount": 1, "hasVolumeGroup": false } ] } ] }
To get the model info for the service, we can query SDC; if you have multiple services designed, you can then look up by the name of the service to find the uuid and invariantUUID.
As above, there is some mapping to perform:
name → modelName
uuid -> modelVersionId
invariantUUID -> modelInvariantId
GET http://{{ip}}:{{sdc_port}}/sdc/v1/catalog/services Ouput: [ { "uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "invariantUUID": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "name": "vFWNG 2018-11-16 13:04:", "version": "1.0", "toscaModelURL": "/sdc/v1/catalog/services/f688ee9f-0fa0-4e22-bc93-ce1abd43f52e/toscaModel", "category": "Network L1-3", "lifecycleState": "CERTIFIED", "lastUpdaterUserId": "jm0007", "distributionStatus": "DISTRIBUTED" } ]
We now have all the model information to build the SO request.
Input parameters
Now, as part of assignment process, they are a few resources that we want to input, both at VNF and VF-MODULE level. These are captured under the instanceParams
of the element.
For VNF level, we have the following:
- onap_private_net_id: this is the ONAP general purpose 10.0.0.0/16 network name
- onap_private_subnet_id: this is the ONAP general purpose 10.0.0.0/16 subnet name
- pub_key: this is the public key to use to SSH into the created VMs
- image_name: this is the image to use for the VMs.
For the VF-MODULE level, we have these two:
- sec_group: this is the security group to use (can vary depending on the type of VNF (in ONAP's lab, we use default)
- public_net_id: this is the public network name (in ONAP lab it's external)
Send it
We are now able to construct the payload, and we can then send the request.
POST http://{{ip}}:{{so_port}}/onap/so/infra/serviceInstantiation/v7/serviceInstances/assign { "requestDetails": { "subscriberInfo": { "globalSubscriberId": "Demonstration" }, "requestInfo": { "suppressRollback": true, "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", "requestorId": "adt", "instanceName": "vFWNG_CDS", "source": "VID" }, "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "09d8566ea45e43aa974cf447ed591d77" }, "requestParameters": { "subscriptionServiceType": "vFW", "userParams": [ { "Homing_Solution": "none" }, { "service": { "instanceParams": [ ], "instanceName": "Service_E2E_vFW", "resources": { "vnfs": [ { "modelInfo": { "modelName": "b551da0a-1fe2-489d-a486", "modelVersionId": "71256464-e388-4b7f-9b92-7c5616766465", "modelInvariantUuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672", "modelVersion": "1.0", "modelCustomizationId": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "modelInstanceName": "b551da0a-1fe2-489d-a486 0" }, "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "09d8566ea45e43aa974cf447ed591d77" }, "platform": { "platformName": "test" }, "lineOfBusiness": { "lineOfBusinessName": "someValue" }, "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", "instanceName": "vFirewall 0", "instanceParams": [ { "onap_private_net_id": "oam_network_FMYR", "onap_private_subnet_id": "oam_network_FMYR", "pub_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd", "image_name": "Ubuntu_14.04.5_LTS" } ], "vfModules": [ { "modelInfo": { "modelName": "B551da0a1fe2489dA486..base_template..module-0", "modelVersionId": "3f392a6b-585e-4e1c-ad98-459a17957841", "modelInvariantUuid": "986109de-26dc-4084-8ca9-7306f2bb68f3", "modelVersion": "1", "modelCustomizationId": "4e65668c-74b0-448f-b2d2-80ed3b1afa5d" }, "instanceName": "vfirewall0..Vfirewall..base_template..module-0", "instanceParams": [ ] }, { "modelInfo": { "modelName": "B551da0a1fe2489dA486..vsn..module-1", "modelVersionId": "c29a71ad-01fe-4f57-b64f-91e30da52274", "modelInvariantUuid": "5d0cc1d8-94f1-461c-a7be-3d18cc22da38", "modelVersion": "1", "modelCustomizationId": "18718327-3953-4fab-8802-aa55ecc42c29" }, "instanceName": "vfirewall0..Vfirewall..vsn..module-0", "instanceParams": [ { "sec_group": "default", "public_net_id": "external" } ] }, { "modelInfo": { "modelName": "B551da0a1fe2489dA486..vfw..module-3", "modelVersionId": "7bc1ace1-fe43-4b21-b5d8-60e2da5d3ada", "modelInvariantUuid": "b95372f6-e4c3-4ee0-bb69-c343bec4d7b8", "modelVersion": "1", "modelCustomizationId": "8a4361d4-18a7-4122-9fc8-554db20c03d9" }, "instanceName": "vfirewall0..Vfirewall..vfw..module-0", "instanceParams": [ { "sec_group": "default", "public_net_id": "external" } ] }, { "modelInfo": { "modelName": "B551da0a1fe2489dA486..vpg..module-2", "modelVersionId": "381bf92b-d500-4ff4-a6b0-c4c875aa2df1", "modelInvariantUuid": "b0443ba5-090d-4210-9855-5aacd960d96e", "modelVersion": "1", "modelCustomizationId": "d48b9a01-8eb9-46e0-a1d6-bd1dbe8c769d" }, "instanceName": "vfirewall0..Vfirewall..vpg..module-0", "instanceParams": [ { "sec_group": "default", "public_net_id": "external" } ] } ] } ] }, "modelInfo": { "modelVersion": "1.0", "modelVersionId": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "modelInvariantId": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "modelName": "vFWNG 2018-11-16 13:04:", "modelType": "service" } } } ], "aLaCarte": false }, "project": { "projectName": "Project-Demonstration" }, "owningEntity": { "owningEntityId": "24ef5425-bec4-4fa3-ab03-c0ecf4eaac96", "owningEntityName": "OE-Demonstration" }, "modelInfo": { "modelVersion": "1.0", "modelVersionId": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "modelInvariantId": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "modelName": "vFWNG 2018-11-16 13:04:", "modelType": "service" } } }
SDNC requests
During the assignment process, SO building blocks are calling SDNC GENERIC-RESOURCE-API with the assignment action. This occurs as Service, VNF and VF-MODULE level. Below are the payloads.
http://sdnc.onap:8282/restconf/operations/GENERIC-RESOURCE-API:service-topology-operation/ { "input": { "request-information": { "request-action": "CreateServiceInstance", "source": "MSO", "request-id": "e9701845-a7af-4a60-b800-84647693f5f8" }, "sdnc-request-header": { "svc-request-id": "e9701845-a7af-4a60-b800-84647693f5f8", "svc-action": "assign" }, "service-information": { "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00" }, "subscription-service-type": "vFW", "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, "service-request-input": { "service-instance-name": "vFWNG_CDS_0" } } }
POST http://sdnc.onap:8282/restconf/operations/GENERIC-RESOURCE-API:vnf-topology-operation/ { "input": { "request-information": { "request-action": "CreateVnfInstance", "source": "MSO", "request-id": "142ce2b5-f7ef-44be-b310-74e18895cfb8" }, "sdnc-request-header": { "svc-request-id": "142ce2b5-f7ef-44be-b310-74e18895cfb8", "svc-action": "assign" }, "service-information": { "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00" }, "subscription-service-type": "vFW", "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, "vnf-information": { "onap-model-information": { "model-name": "b551da0a-1fe2-489d-a486", "model-version": "1.0", "model-customization-uuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "model-uuid": "71256464-e388-4b7f-9b92-7c5616766465", "model-invariant-uuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672" }, "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "vnf-name": "vFirewall 0", "vnf-type": "vFWNG 2018-11-16 13:04:/null" }, "vnf-request-input": { "aic-cloud-region": "RegionOne", "cloud-owner": "CloudOwner", "tenant": "09d8566ea45e43aa974cf447ed591d77", "vnf-network-instance-group-ids": [ ], "vnf-input-parameters": { "param": [ { "name": "image_name", "value": "Ubuntu_14.04.5_LTS" }, { "name": "onap_private_net_id", "value": "oam_network_FMYR" }, { "name": "pub_key", "value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd" } ] }, "vnf-name": "vFirewall 0" } } }
POST http://sdnc.onap:8282/restconf/operations/GENERIC-RESOURCE-API:vf-module-topology-operation/ { "input": { "request-information": { "request-action": "CreateVfModuleInstance", "source": "MSO", "request-id": "e90d493b-a530-4c8e-b7ff-1bce99a79783" }, "sdnc-request-header": { "svc-request-id": "e90d493b-a530-4c8e-b7ff-1bce99a79783", "svc-action": "assign" }, "service-information": { "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00" }, "subscription-service-type": "vFW", "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, "vf-module-information": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..base_template..module-0", "model-version": "1", "model-customization-uuid": "4e65668c-74b0-448f-b2d2-80ed3b1afa5d", "model-uuid": "3f392a6b-585e-4e1c-ad98-459a17957841", "model-invariant-uuid": "986109de-26dc-4084-8ca9-7306f2bb68f3" }, "vf-module-id": "b7384274-aa66-4794-91ae-637d775c6725", "vf-module-type": "B551da0a1fe2489dA486..base_template..module-0" }, "vf-module-request-input": { "aic-cloud-region": "RegionOne", "cloud-owner": "CloudOwner", "tenant": "09d8566ea45e43aa974cf447ed591d77", "vf-module-name": "vfirewall0..Vfirewall..base_template..module-0", "vf-module-input-parameters": { } }, "vnf-information": { "onap-model-information": { "model-name": "b551da0a-1fe2-489d-a486", "model-version": "1.0", "model-customization-uuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "model-uuid": "71256464-e388-4b7f-9b92-7c5616766465", "model-invariant-uuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672" }, "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "vnf-name": "RegionOne_vFW_20181116T195414474Z", "vnf-type": "vFWNG 2018-11-16 13:04:/null" } } }
POST http://sdnc.onap:8282/restconf/operations/GENERIC-RESOURCE-API:vf-module-topology-operation/ { "input": { "request-information": { "request-action": "CreateVfModuleInstance", "source": "MSO", "request-id": "eab8ec76-9fa1-4f87-b39d-a6e87b451478" }, "sdnc-request-header": { "svc-request-id": "eab8ec76-9fa1-4f87-b39d-a6e87b451478", "svc-action": "assign" }, "service-information": { "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00" }, "subscription-service-type": "vFW", "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, "vf-module-information": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..vfw..module-3", "model-version": "1", "model-customization-uuid": "8a4361d4-18a7-4122-9fc8-554db20c03d9", "model-uuid": "7bc1ace1-fe43-4b21-b5d8-60e2da5d3ada", "model-invariant-uuid": "b95372f6-e4c3-4ee0-bb69-c343bec4d7b8" }, "vf-module-id": "f4cf32a2-fa4f-4239-9621-8c5f3121a0ea", "vf-module-type": "B551da0a1fe2489dA486..vfw..module-3" }, "vf-module-request-input": { "aic-cloud-region": "RegionOne", "cloud-owner": "CloudOwner", "tenant": "09d8566ea45e43aa974cf447ed591d77", "vf-module-name": "vfirewall0..Vfirewall..vfw..module-0", "vf-module-input-parameters": { "param": [ { "name": "public_net_id", "value": "external" }, { "name": "sec_group", "value": "default" } ] } }, "vnf-information": { "onap-model-information": { "model-name": "b551da0a-1fe2-489d-a486", "model-version": "1.0", "model-customization-uuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "model-uuid": "71256464-e388-4b7f-9b92-7c5616766465", "model-invariant-uuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672" }, "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "vnf-name": "RegionOne_vFW_20181116T195414474Z", "vnf-type": "vFWNG 2018-11-16 13:04:/null" } } }
POST http://sdnc.onap:8282/restconf/operations/GENERIC-RESOURCE-API:vf-module-topology-operation/ { "input": { "request-information": { "request-action": "CreateVfModuleInstance", "source": "MSO", "request-id": "bdcd47ee-bbb6-477b-8af4-5c387ea0404e" }, "sdnc-request-header": { "svc-request-id": "bdcd47ee-bbb6-477b-8af4-5c387ea0404e", "svc-action": "assign" }, "service-information": { "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00" }, "subscription-service-type": "vFW", "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, "vf-module-information": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..vsn..module-1", "model-version": "1", "model-customization-uuid": "18718327-3953-4fab-8802-aa55ecc42c29", "model-uuid": "c29a71ad-01fe-4f57-b64f-91e30da52274", "model-invariant-uuid": "5d0cc1d8-94f1-461c-a7be-3d18cc22da38" }, "vf-module-id": "b698db6f-8177-4a95-9ca6-6cf1da9ed92e", "vf-module-type": "B551da0a1fe2489dA486..vsn..module-1" }, "vf-module-request-input": { "aic-cloud-region": "RegionOne", "cloud-owner": "CloudOwner", "tenant": "09d8566ea45e43aa974cf447ed591d77", "vf-module-name": "vfirewall0..Vfirewall..vsn..module-0", "vf-module-input-parameters": { "param": [ { "name": "public_net_id", "value": "external" }, { "name": "sec_group", "value": "default" } ] } }, "vnf-information": { "onap-model-information": { "model-name": "b551da0a-1fe2-489d-a486", "model-version": "1.0", "model-customization-uuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "model-uuid": "71256464-e388-4b7f-9b92-7c5616766465", "model-invariant-uuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672" }, "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "vnf-name": "RegionOne_vFW_20181116T195414474Z", "vnf-type": "vFWNG 2018-11-16 13:04:/null" } } }
POST http://sdnc.onap:8282/restconf/operations/GENERIC-RESOURCE-API:vf-module-topology-operation/ { "input": { "request-information": { "request-action": "CreateVfModuleInstance", "source": "MSO", "request-id": "8478ac1b-8ce5-4058-898a-11c1a9c89d77" }, "sdnc-request-header": { "svc-request-id": "8478ac1b-8ce5-4058-898a-11c1a9c89d77", "svc-action": "assign" }, "service-information": { "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00" }, "subscription-service-type": "vFW", "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, "vf-module-information": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..vpg..module-2", "model-version": "1", "model-customization-uuid": "d48b9a01-8eb9-46e0-a1d6-bd1dbe8c769d", "model-uuid": "381bf92b-d500-4ff4-a6b0-c4c875aa2df1", "model-invariant-uuid": "b0443ba5-090d-4210-9855-5aacd960d96e" }, "vf-module-id": "c99eb0c8-ddb0-411d-85df-9761da7bc895", "vf-module-type": "B551da0a1fe2489dA486..vpg..module-2" }, "vf-module-request-input": { "aic-cloud-region": "RegionOne", "cloud-owner": "CloudOwner", "tenant": "09d8566ea45e43aa974cf447ed591d77", "vf-module-name": "vfirewall0..Vfirewall..vpg..module-0", "vf-module-input-parameters": { "param": [ { "name": "public_net_id", "value": "external" }, { "name": "sec_group", "value": "default" } ] } }, "vnf-information": { "onap-model-information": { "model-name": "b551da0a-1fe2-489d-a486", "model-version": "1.0", "model-customization-uuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "model-uuid": "71256464-e388-4b7f-9b92-7c5616766465", "model-invariant-uuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672" }, "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "vnf-name": "RegionOne_vFW_20181116T195414474Z", "vnf-type": "vFWNG 2018-11-16 13:04:/null" } } }
Creation
SO requests
To build the request, use the same process as we've done for assignment. Note, we don't need the userParams
section for activate action.
POST http://{{ip}}:{{so_port}}/onap/so/infra/serviceInstantiation/v7/serviceInstances/$service-instance-id/activate { "requestDetails": { "subscriberInfo": { "globalSubscriberId": "Demonstration" }, "requestInfo": { "suppressRollback": true, "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", "requestorId": "adt", "instanceName": "test24", "source": "VID" }, "requestParameters": { "subscriptionServiceType": "vFW", "aLaCarte": false }, "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "09d8566ea45e43aa974cf447ed591d77" }, "project": { "projectName": "Project-Demonstration" }, "owningEntity": { "owningEntityId": "24ef5425-bec4-4fa3-ab03-c0ecf4eaac96", "owningEntityName": "OE-Demonstration" }, "modelInfo": { "modelVersion": "1.0", "modelVersionId": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "modelInvariantId": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "modelName": "vFWNG 2018-11-16 13:04:", "modelType": "service" } } }
SO OpenStack adapter requests
These are the requests SO will generate and send to the openstack adapter.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <createVfModuleRequest> <messageId>767b48ec-2262-4ece-b076-be9e54b46202</messageId> <notificationUrl>http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/767b48ec-2262-4ece-b076-be9e54b46202</notificationUrl> <skipAAI>true</skipAAI> <backout>false</backout> <baseVfModuleId>b7384274-aa66-4794-91ae-637d775c6725</baseVfModuleId> <cloudSiteId>RegionOne</cloudSiteId> <failIfExists>true</failIfExists> <modelCustomizationUuid>4e65668c-74b0-448f-b2d2-80ed3b1afa5d</modelCustomizationUuid> <msoRequest> <requestId>e55c9da4-43b2-47f8-8237-d9edfe474202</requestId> <serviceInstanceId>c478e926-f4ca-41e8-9c74-af700ba80f56</serviceInstanceId> </msoRequest> <tenantId>09d8566ea45e43aa974cf447ed591d77</tenantId> <vfModuleId>b7384274-aa66-4794-91ae-637d775c6725</vfModuleId> <vfModuleName>RegionOne_vFW_20181116T195414474Z_base</vfModuleName> <vfModuleParams> <entry> <key>vf_module_id</key> <value>b7384274-aa66-4794-91ae-637d775c6725</value> </entry> <entry> <key>vnf_model_customization_uuid</key> <value>39106d12-7629-4b6a-a6d5-b6d7a8041f00</value> </entry> <entry> <key>aai-vnf-put</key> <value>SUCCESS</value> </entry> <entry> <key>unprotected_private_subnet_id</key> <value>RegionOne_vFW_20181116T195414474Z_unprotected_sub</value> </entry> <entry> <key>vfw_private_ip_1</key> <value>192.168.20.3</value> </entry> <entry> <key>vnf_name</key> <value>RegionOne_vFW_20181116T195414474Z</value> </entry> <entry> <key>onap_private_subnet_id</key> <value>oam_network_FMYR_sub</value> </entry> <entry> <key>vfw_private_ip_0</key> <value>192.168.10.3</value> </entry> <entry> <key>aic-cloud-region</key> <value>RegionOne</value> </entry> <entry> <key>workload_context</key> <value>Production</value> </entry> <entry> <key>vf_module_name</key> <value>RegionOne_vFW_20181116T195414474Z_base</value> </entry> <entry> <key>image_name</key> <value>Ubuntu_14.04.5_LTS</value> </entry> <entry> <key>vnf_id</key> <value>cdf6d5d1-f589-49a1-9868-ae3bd927c8a9</value> </entry> <entry> <key>protected_private_subnet_id</key> <value>RegionOne_vFW_20181116T195414474Z_protected_sub</value> </entry> <entry> <key>vsn_private_ip_0</key> <value>192.168.20.4</value> </entry> <entry> <key>protected_private_net_cidr</key> <value>192.168.20.0/24</value> </entry> <entry> <key>vpg_private_ip_0</key> <value>192.168.10.4</value> </entry> <entry> <key>unprotected_private_net_cidr</key> <value>192.168.10.0/24</value> </entry> <entry> <key>onap_private_net_id</key> <value>oam_network_FMYR</value> </entry> <entry> <key>unprotected_private_net_id</key> <value>RegionOne_vFW_20181116T195414474Z_unprotected</value> </entry> <entry> <key>service-instance-id</key> <value>c478e926-f4ca-41e8-9c74-af700ba80f56</value> </entry> <entry> <key>aai-vf-module-put</key> <value>SUCCESS</value> </entry> <entry> <key>environment_context</key> <value>General_Revenue-Bearing</value> </entry> <entry> <key>vnf-model-customization-uuid</key> <value>39106d12-7629-4b6a-a6d5-b6d7a8041f00</value> </entry> <entry> <key>pub_key</key> <value>ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd</value> </entry> <entry> <key>key_name</key> <value>RegionOne_vFW_20181116T195414474Z</value> </entry> <entry> <key>protected_private_net_id</key> <value>RegionOne_vFW_20181116T195414474Z_protected</value> </entry> <entry> <key>vf_module_type</key> <value>Base</value> </entry> </vfModuleParams> <vfModuleType>B551da0a1fe2489dA486..base_template..module-0</vfModuleType> <vnfId>cdf6d5d1-f589-49a1-9868-ae3bd927c8a9</vnfId> <vnfType>vFWNG 2018-11-16 13:04:/null</vnfType> <vnfVersion>1.0</vnfVersion> </createVfModuleRequest>
<createVfModuleRequest> <messageId>c9e54305-77c7-45bf-8d7f-7a72d7e29d44</messageId> <notificationUrl>http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c9e54305-77c7-45bf-8d7f-7a72d7e29d44</notificationUrl> <skipAAI>true</skipAAI> <backout>false</backout> <baseVfModuleId>b7384274-aa66-4794-91ae-637d775c6725</baseVfModuleId> <baseVfModuleStackId>RegionOne_vFW_20181116T195414474Z_base/25a6384c-ec39-47d3-b236-506e80872678</baseVfModuleStackId> <cloudSiteId>RegionOne</cloudSiteId> <failIfExists>true</failIfExists> <modelCustomizationUuid>8a4361d4-18a7-4122-9fc8-554db20c03d9</modelCustomizationUuid> <msoRequest> <requestId>e55c9da4-43b2-47f8-8237-d9edfe474202</requestId> <serviceInstanceId>c478e926-f4ca-41e8-9c74-af700ba80f56</serviceInstanceId> </msoRequest> <tenantId>09d8566ea45e43aa974cf447ed591d77</tenantId> <vfModuleId>f4cf32a2-fa4f-4239-9621-8c5f3121a0ea</vfModuleId> <vfModuleName>RegionOne_vFW_20181116T195414474Z_vfw_Expansion_001</vfModuleName> <vfModuleParams> <entry> <key>vf-module-name</key> <value>RegionOne_vFW_20181116T195414474Z_vfw_Expansion_001</value> </entry> <entry> <key>vnf_model_customization_uuid</key> <value>39106d12-7629-4b6a-a6d5-b6d7a8041f00</value> </entry> <entry> <key>public_net_id</key> <value>external</value> </entry> <entry> <key>sec_group</key> <value>default</value> </entry> <entry> <key>nfc-function</key> <value>vFW</value> </entry> <entry> <key>vnfc-model-invariant-uuid</key> <value>5c55a913-b8a6-4e0f-9aed-71e27f383e25</value> </entry> <entry> <key>nfc-naming-code</key> <value>vfw</value> </entry> <entry> <key>vfw_name_0</key> <value>RegionOne_vFW_20181116T195414474Z_vfw_001</value> </entry> <entry> <key>workload_context</key> <value>Production</value> </entry> <entry> <key>onap_private_net_cidr</key> <value>10.0.0.0/8</value> </entry> <entry> <key>nexus_artifact_repo</key> <value>nexus_artifact_repo</value> </entry> <entry> <key>image_name</key> <value>Ubuntu_14.04.5_LTS</value> </entry> <entry> <key>flavor_name</key> <value>m1.medium</value> </entry> <entry> <key>dcae_collector_ip</key> <value>10.0.4.1</value> </entry> <entry> <key>vf_module_customization_uuid</key> <value>8a4361d4-18a7-4122-9fc8-554db20c03d9</value> </entry> <entry> <key>onap_private_net_id</key> <value>oam_network_FMYR</value> </entry> <entry> <key>unprotected_private_net_id</key> <value>RegionOne_vFW_20181116T195414474Z_unprotected</value> </entry> <entry> <key>demo_artifacts_version</key> <value>1.2.1-SNAPSHOT</value> </entry> <entry> <key>ipv4-oam-address</key> <value>10.0.101.4</value> </entry> <entry> <key>vnf-model-customization-uuid</key> <value>39106d12-7629-4b6a-a6d5-b6d7a8041f00</value> </entry> <entry> <key>key_name</key> <value>RegionOne_vFW_20181116T195414474Z</value> </entry> <entry> <key>install_script_version</key> <value>1.2.1-SNAPSHOT</value> </entry> <entry> <key>vf_module_type</key> <value>Expansion</value> </entry> <entry> <key>KEY</key> <value>RegionOne_vFW_20181116T195414474Z</value> </entry> <entry> <key>vm-type</key> <value>vfw</value> </entry> <entry> <key>vf_module_id</key> <value>f4cf32a2-fa4f-4239-9621-8c5f3121a0ea</value> </entry> <entry> <key>repo_url_blob</key> <value>https://nexus.onap.org/content/repositories/raw</value> </entry> <entry> <key>aai-vnf-put</key> <value>SUCCESS</value> </entry> <entry> <key>vnfc-name</key> <value>RegionOne_vFW_20181116T195414474Z_vfw_001</value> </entry> <entry> <key>unprotected_private_subnet_id</key> <value>RegionOne_vFW_20181116T195414474Z_unprotected_sub</value> </entry> <entry> <key>vfw_private_ip_1</key> <value>192.168.20.3</value> </entry> <entry> <key>vnf_name</key> <value>RegionOne_vFW_20181116T195414474Z</value> </entry> <entry> <key>onap_private_subnet_id</key> <value>oam_network_FMYR_sub</value> </entry> <entry> <key>vfw_private_ip_0</key> <value>192.168.10.3</value> </entry> <entry> <key>aic-cloud-region</key> <value>RegionOne</value> </entry> <entry> <key>vfw_private_ip_2</key> <value>10.0.101.4</value> </entry> <entry> <key>vf_module_name</key> <value>RegionOne_vFW_20181116T195414474Z_vfw_Expansion_001</value> </entry> <entry> <key>vnf_id</key> <value>cdf6d5d1-f589-49a1-9868-ae3bd927c8a9</value> </entry> <entry> <key>protected_private_subnet_id</key> <value>RegionOne_vFW_20181116T195414474Z_protected_sub</value> </entry> <entry> <key>dcae_collector_port</key> <value>8080</value> </entry> <entry> <key>vnfc-model-customization-uuid</key> <value>cd2b0be2-a3e0-40d9-baed-84aff8bf2516</value> </entry> <entry> <key>vsn_private_ip_0</key> <value>192.168.20.4</value> </entry> <entry> <key>protected_private_net_cidr</key> <value>192.168.20.0/24</value> </entry> <entry> <key>vpg_private_ip_0</key> <value>192.168.10.4</value> </entry> <entry> <key>unprotected_private_net_cidr</key> <value>192.168.10.0/24</value> </entry> <entry> <key>vnfc-model-version</key> <value>1.0</value> </entry> <entry> <key>service-instance-id</key> <value>c478e926-f4ca-41e8-9c74-af700ba80f56</value> </entry> <entry> <key>aai-vf-module-put</key> <value>SUCCESS</value> </entry> <entry> <key>environment_context</key> <value>General_Revenue-Bearing</value> </entry> <entry> <key>vfc_customization_uuid</key> <value>cd2b0be2-a3e0-40d9-baed-84aff8bf2516</value> </entry> <entry> <key>pub_key</key> <value>ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd</value> </entry> <entry> <key>repo_url_artifacts</key> <value>https://nexus.onap.org/content/groups/staging</value> </entry> <entry> <key>protected_private_net_id</key> <value>RegionOne_vFW_20181116T195414474Z_protected</value> </entry> <entry> <key>cloud_env</key> <value>openstack</value> </entry> <entry> <key>ipv4-oam-address-prefix</key> <value>10.0.0.0/8</value> </entry> </vfModuleParams> <vfModuleType>B551da0a1fe2489dA486..vfw..module-3</vfModuleType> <vnfId>cdf6d5d1-f589-49a1-9868-ae3bd927c8a9</vnfId> <vnfType>vFWNG 2018-11-16 13:04:/null</vnfType> <vnfVersion>1.0</vnfVersion> </createVfModuleRequest>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <createVfModuleRequest> <messageId>4c08d474-0878-4d4f-8e64-d91805d42ea2</messageId> <notificationUrl>http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/4c08d474-0878-4d4f-8e64-d91805d42ea2</notificationUrl> <skipAAI>true</skipAAI> <backout>false</backout> <baseVfModuleId>b7384274-aa66-4794-91ae-637d775c6725</baseVfModuleId> <baseVfModuleStackId>RegionOne_vFW_20181116T195414474Z_base/25a6384c-ec39-47d3-b236-506e80872678</baseVfModuleStackId> <cloudSiteId>RegionOne</cloudSiteId> <failIfExists>true</failIfExists> <modelCustomizationUuid>18718327-3953-4fab-8802-aa55ecc42c29</modelCustomizationUuid> <msoRequest> <requestId>e55c9da4-43b2-47f8-8237-d9edfe474202</requestId> <serviceInstanceId>c478e926-f4ca-41e8-9c74-af700ba80f56</serviceInstanceId> </msoRequest> <tenantId>09d8566ea45e43aa974cf447ed591d77</tenantId> <vfModuleId>b698db6f-8177-4a95-9ca6-6cf1da9ed92e</vfModuleId> <vfModuleName>RegionOne_vFW_20181116T195414474Z_vsn_Expansion_001</vfModuleName> <vfModuleParams> <entry> <key>vf-module-name</key> <value>RegionOne_vFW_20181116T195414474Z_vsn_Expansion_001</value> </entry> <entry> <key>vnf_model_customization_uuid</key> <value>39106d12-7629-4b6a-a6d5-b6d7a8041f00</value> </entry> <entry> <key>public_net_id</key> <value>external</value> </entry> <entry> <key>sec_group</key> <value>default</value> </entry> <entry> <key>nfc-function</key> <value>vSN</value> </entry> <entry> <key>vnfc-model-invariant-uuid</key> <value>0f650273-b429-49f3-b075-6785fa2d19f2</value> </entry> <entry> <key>nfc-naming-code</key> <value>vsn</value> </entry> <entry> <key>workload_context</key> <value>Production</value> </entry> <entry> <key>onap_private_net_cidr</key> <value>10.0.0.0/8</value> </entry> <entry> <key>nexus_artifact_repo</key> <value>nexus_artifact_repo</value> </entry> <entry> <key>image_name</key> <value>Ubuntu_14.04.5_LTS</value> </entry> <entry> <key>flavor_name</key> <value>m1.medium</value> </entry> <entry> <key>dcae_collector_ip</key> <value>10.0.4.1</value> </entry> <entry> <key>volume-group-name</key> </entry> <entry> <key>vf_module_customization_uuid</key> <value>18718327-3953-4fab-8802-aa55ecc42c29</value> </entry> <entry> <key>vsn_name_0</key> <value>RegionOne_vFW_20181116T195414474Z_vsn_001</value> </entry> <entry> <key>onap_private_net_id</key> <value>oam_network_FMYR</value> </entry> <entry> <key>unprotected_private_net_id</key> <value>RegionOne_vFW_20181116T195414474Z_unprotected</value> </entry> <entry> <key>demo_artifacts_version</key> <value>1.2.1-SNAPSHOT</value> </entry> <entry> <key>ipv4-oam-address</key> <value>10.0.101.3</value> </entry> <entry> <key>vnf-model-customization-uuid</key> <value>39106d12-7629-4b6a-a6d5-b6d7a8041f00</value> </entry> <entry> <key>key_name</key> <value>RegionOne_vFW_20181116T195414474Z</value> </entry> <entry> <key>install_script_version</key> <value>1.2.1-SNAPSHOT</value> </entry> <entry> <key>vf_module_type</key> <value>Expansion</value> </entry> <entry> <key>vm-type</key> <value>vsn</value> </entry> <entry> <key>vf_module_id</key> <value>b698db6f-8177-4a95-9ca6-6cf1da9ed92e</value> </entry> <entry> <key>repo_url_blob</key> <value>https://nexus.onap.org/content/repositories/raw</value> </entry> <entry> <key>aai-vnf-put</key> <value>SUCCESS</value> </entry> <entry> <key>vnfc-name</key> <value>RegionOne_vFW_20181116T195414474Z_vsn_001</value> </entry> <entry> <key>vfw_private_ip_1</key> <value>192.168.20.3</value> </entry> <entry> <key>vnf_name</key> <value>RegionOne_vFW_20181116T195414474Z</value> </entry> <entry> <key>onap_private_subnet_id</key> <value>oam_network_FMYR_sub</value> </entry> <entry> <key>vfw_private_ip_0</key> <value>192.168.10.3</value> </entry> <entry> <key>aic-cloud-region</key> <value>RegionOne</value> </entry> <entry> <key>vf_module_name</key> <value>RegionOne_vFW_20181116T195414474Z_vsn_Expansion_001</value> </entry> <entry> <key>vnf_id</key> <value>cdf6d5d1-f589-49a1-9868-ae3bd927c8a9</value> </entry> <entry> <key>protected_private_subnet_id</key> <value>RegionOne_vFW_20181116T195414474Z_protected_sub</value> </entry> <entry> <key>dcae_collector_port</key> <value>8080</value> </entry> <entry> <key>vnfc-model-customization-uuid</key> <value>c619861e-6a66-4e9a-9d78-89327c07690d</value> </entry> <entry> <key>vsn_private_ip_0</key> <value>192.168.20.4</value> </entry> <entry> <key>vsn_private_ip_1</key> <value>10.0.101.3</value> </entry> <entry> <key>protected_private_net_cidr</key> <value>192.168.20.0/24</value> </entry> <entry> <key>vpg_private_ip_0</key> <value>192.168.10.4</value> </entry> <entry> <key>unprotected_private_net_cidr</key> <value>192.168.10.0/24</value> </entry> <entry> <key>vnfc-model-version</key> <value>1.0</value> </entry> <entry> <key>service-instance-id</key> <value>c478e926-f4ca-41e8-9c74-af700ba80f56</value> </entry> <entry> <key>aai-vf-module-put</key> <value>SUCCESS</value> </entry> <entry> <key>environment_context</key> <value>General_Revenue-Bearing</value> </entry> <entry> <key>vfc_customization_uuid</key> <value>c619861e-6a66-4e9a-9d78-89327c07690d</value> </entry> <entry> <key>pub_key</key> <value>ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd</value> </entry> <entry> <key>repo_url_artifacts</key> <value>https://nexus.onap.org/content/groups/staging</value> </entry> <entry> <key>protected_private_net_id</key> <value>RegionOne_vFW_20181116T195414474Z_protected</value> </entry> <entry> <key>cloud_env</key> <value>openstack</value> </entry> <entry> <key>ipv4-oam-address-prefix</key> <value>10.0.0.0/8</value> </entry> </vfModuleParams> <vfModuleType>B551da0a1fe2489dA486..vsn..module-1</vfModuleType> <vnfId>cdf6d5d1-f589-49a1-9868-ae3bd927c8a9</vnfId> <vnfType>vFWNG 2018-11-16 13:04:/null</vnfType> <vnfVersion>1.0</vnfVersion> </createVfModuleRequest>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <createVfModuleRequest> <messageId>a33bf411-88de-4207-9d4b-1b6c9c4e03c1</messageId> <notificationUrl>http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/a33bf411-88de-4207-9d4b-1b6c9c4e03c1</notificationUrl> <skipAAI>true</skipAAI> <backout>false</backout> <baseVfModuleId>b7384274-aa66-4794-91ae-637d775c6725</baseVfModuleId> <baseVfModuleStackId>RegionOne_vFW_20181116T195414474Z_base/25a6384c-ec39-47d3-b236-506e80872678</baseVfModuleStackId> <cloudSiteId>RegionOne</cloudSiteId> <failIfExists>true</failIfExists> <modelCustomizationUuid>d48b9a01-8eb9-46e0-a1d6-bd1dbe8c769d</modelCustomizationUuid> <msoRequest> <requestId>e55c9da4-43b2-47f8-8237-d9edfe474202</requestId> <serviceInstanceId>c478e926-f4ca-41e8-9c74-af700ba80f56</serviceInstanceId> </msoRequest> <tenantId>09d8566ea45e43aa974cf447ed591d77</tenantId> <vfModuleId>c99eb0c8-ddb0-411d-85df-9761da7bc895</vfModuleId> <vfModuleName>RegionOne_vFW_20181116T195414474Z_vpg_Expansion_001</vfModuleName> <vfModuleParams> <entry> <key>vf-module-name</key> <value>RegionOne_vFW_20181116T195414474Z_vpg_Expansion_001</value> </entry> <entry> <key>vnf_model_customization_uuid</key> <value>39106d12-7629-4b6a-a6d5-b6d7a8041f00</value> </entry> <entry> <key>public_net_id</key> <value>external</value> </entry> <entry> <key>sec_group</key> <value>default</value> </entry> <entry> <key>nfc-function</key> <value>vPG</value> </entry> <entry> <key>vnfc-model-invariant-uuid</key> <value>29fc467e-e69d-46da-8eaf-5c42996b7b26</value> </entry> <entry> <key>nfc-naming-code</key> <value>vpg</value> </entry> <entry> <key>workload_context</key> <value>Production</value> </entry> <entry> <key>onap_private_net_cidr</key> <value>10.0.0.0/8</value> </entry> <entry> <key>nexus_artifact_repo</key> <value>nexus_artifact_repo</value> </entry> <entry> <key>image_name</key> <value>Ubuntu_14.04.5_LTS</value> </entry> <entry> <key>flavor_name</key> <value>m1.medium</value> </entry> <entry> <key>dcae_collector_ip</key> <value>10.0.4.1</value> </entry> <entry> <key>vf_module_customization_uuid</key> <value>d48b9a01-8eb9-46e0-a1d6-bd1dbe8c769d</value> </entry> <entry> <key>vpg_name_0</key> <value>RegionOne_vFW_20181116T195414474Z_vpg_001</value> </entry> <entry> <key>onap_private_net_id</key> <value>oam_network_FMYR</value> </entry> <entry> <key>unprotected_private_net_id</key> <value>RegionOne_vFW_20181116T195414474Z_unprotected</value> </entry> <entry> <key>demo_artifacts_version</key> <value>1.2.1-SNAPSHOT</value> </entry> <entry> <key>vnf-model-customization-uuid</key> <value>39106d12-7629-4b6a-a6d5-b6d7a8041f00</value> </entry> <entry> <key>key_name</key> <value>RegionOne_vFW_20181116T195414474Z</value> </entry> <entry> <key>install_script_version</key> <value>1.2.1-SNAPSHOT</value> </entry> <entry> <key>vf_module_type</key> <value>Expansion</value> </entry> <entry> <key>vm-type</key> <value>vpg</value> </entry> <entry> <key>vf_module_id</key> <value>c99eb0c8-ddb0-411d-85df-9761da7bc895</value> </entry> <entry> <key>repo_url_blob</key> <value>https://nexus.onap.org/content/repositories/raw</value> </entry> <entry> <key>aai-vnf-put</key> <value>SUCCESS</value> </entry> <entry> <key>vnfc-name</key> <value>RegionOne_vFW_20181116T195414474Z_vpg_001</value> </entry> <entry> <key>unprotected_private_subnet_id</key> <value>RegionOne_vFW_20181116T195414474Z_unprotected_sub</value> </entry> <entry> <key>vfw_private_ip_1</key> <value>192.168.20.3</value> </entry> <entry> <key>vnf_name</key> <value>RegionOne_vFW_20181116T195414474Z</value> </entry> <entry> <key>vfw_private_ip_0</key> <value>192.168.10.3</value> </entry> <entry> <key>onap_private_subnet_id</key> <value>oam_network_FMYR_sub</value> </entry> <entry> <key>aic-cloud-region</key> <value>RegionOne</value> </entry> <entry> <key>vf_module_name</key> <value>RegionOne_vFW_20181116T195414474Z_vpg_Expansion_001</value> </entry> <entry> <key>vnf_id</key> <value>cdf6d5d1-f589-49a1-9868-ae3bd927c8a9</value> </entry> <entry> <key>protected_private_subnet_id</key> <value>RegionOne_vFW_20181116T195414474Z_protected_sub</value> </entry> <entry> <key>dcae_collector_port</key> <value>8080</value> </entry> <entry> <key>vnfc-model-customization-uuid</key> <value>d8d24f05-beab-4a2b-b1d3-7241fb0fe39b</value> </entry> <entry> <key>vpg_private_ip_1</key> <value>10.0.101.5</value> </entry> <entry> <key>vsn_private_ip_0</key> <value>192.168.20.4</value> </entry> <entry> <key>vpg_private_ip_0</key> <value>192.168.10.4</value> </entry> <entry> <key>unprotected_private_net_cidr</key> <value>192.168.10.0/24</value> </entry> <entry> <key>vnfc-model-version</key> <value>1.0</value> </entry> <entry> <key>service-instance-id</key> <value>c478e926-f4ca-41e8-9c74-af700ba80f56</value> </entry> <entry> <key>aai-vf-module-put</key> <value>SUCCESS</value> </entry> <entry> <key>environment_context</key> <value>General_Revenue-Bearing</value> </entry> <entry> <key>vfc_customization_uuid</key> <value>d8d24f05-beab-4a2b-b1d3-7241fb0fe39b</value> </entry> <entry> <key>pub_key</key> <value>ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd</value> </entry> <entry> <key>repo_url_artifacts</key> <value>https://nexus.onap.org/content/groups/staging</value> </entry> <entry> <key>protected_private_net_id</key> <value>RegionOne_vFW_20181116T195414474Z_protected</value> </entry> <entry> <key>cloud_env</key> <value>openstack</value> </entry> <entry> <key>ipv4-oam-address-prefix</key> <value>10.0.0.0/8</value> </entry> </vfModuleParams> <vfModuleType>B551da0a1fe2489dA486..vpg..module-2</vfModuleType> <vnfId>cdf6d5d1-f589-49a1-9868-ae3bd927c8a9</vnfId> <vnfType>vFWNG 2018-11-16 13:04:/null</vnfType> <vnfVersion>1.0</vnfVersion> </createVfModuleRequest>
Assignment & Creation
You can send an overall Macro that will take care of both. The payload is the same as in the Macro assign case, but the URI is different. The way to build the payload is the same as for assignment, seen before.
POST http://{{ip}}:{{so_port}}/onap/so/infra/serviceInstantiation/v7/serviceInstances { "requestDetails": { "subscriberInfo": { "globalSubscriberId": "Demonstration" }, "requestInfo": { "suppressRollback": true, "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", "requestorId": "adt", "instanceName": "vFWNG_CDS", "source": "VID" }, "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "09d8566ea45e43aa974cf447ed591d77" }, "requestParameters": { "subscriptionServiceType": "vFW", "userParams": [ { "Homing_Solution": "none" }, { "service": { "instanceParams": [ ], "instanceName": "Service_E2E_vFW", "resources": { "vnfs": [ { "modelInfo": { "modelName": "b551da0a-1fe2-489d-a486", "modelVersionId": "71256464-e388-4b7f-9b92-7c5616766465", "modelInvariantUuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672", "modelVersion": "1.0", "modelCustomizationId": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "modelInstanceName": "b551da0a-1fe2-489d-a486 0" }, "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "09d8566ea45e43aa974cf447ed591d77" }, "platform": { "platformName": "test" }, "lineOfBusiness": { "lineOfBusinessName": "someValue" }, "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", "instanceName": "vFirewall 0", "instanceParams": [ { "onap_private_net_id": "oam_network_FMYR", "pub_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd", "image_name": "Ubuntu_14.04.5_LTS" } ], "vfModules": [ { "modelInfo": { "modelName": "B551da0a1fe2489dA486..base_template..module-0", "modelVersionId": "3f392a6b-585e-4e1c-ad98-459a17957841", "modelInvariantUuid": "986109de-26dc-4084-8ca9-7306f2bb68f3", "modelVersion": "1", "modelCustomizationId": "4e65668c-74b0-448f-b2d2-80ed3b1afa5d" }, "instanceName": "vfirewall0..Vfirewall..base_template..module-0", "instanceParams": [ ] }, { "modelInfo": { "modelName": "B551da0a1fe2489dA486..vsn..module-1", "modelVersionId": "c29a71ad-01fe-4f57-b64f-91e30da52274", "modelInvariantUuid": "5d0cc1d8-94f1-461c-a7be-3d18cc22da38", "modelVersion": "1", "modelCustomizationId": "18718327-3953-4fab-8802-aa55ecc42c29" }, "instanceName": "vfirewall0..Vfirewall..vsn..module-0", "instanceParams": [ { "sec_group": "default", "public_net_id": "external" } ] }, { "modelInfo": { "modelName": "B551da0a1fe2489dA486..vfw..module-3", "modelVersionId": "7bc1ace1-fe43-4b21-b5d8-60e2da5d3ada", "modelInvariantUuid": "b95372f6-e4c3-4ee0-bb69-c343bec4d7b8", "modelVersion": "1", "modelCustomizationId": "8a4361d4-18a7-4122-9fc8-554db20c03d9" }, "instanceName": "vfirewall0..Vfirewall..vfw..module-0", "instanceParams": [ { "sec_group": "default", "public_net_id": "external" } ] }, { "modelInfo": { "modelName": "B551da0a1fe2489dA486..vpg..module-2", "modelVersionId": "381bf92b-d500-4ff4-a6b0-c4c875aa2df1", "modelInvariantUuid": "b0443ba5-090d-4210-9855-5aacd960d96e", "modelVersion": "1", "modelCustomizationId": "d48b9a01-8eb9-46e0-a1d6-bd1dbe8c769d" }, "instanceName": "vfirewall0..Vfirewall..vpg..module-0", "instanceParams": [ { "sec_group": "default", "public_net_id": "external" } ] } ] } ] }, "modelInfo": { "modelVersion": "1.0", "modelVersionId": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "modelInvariantId": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "modelName": "vFWNG 2018-11-16 13:04:", "modelType": "service" } } } ], "aLaCarte": false }, "project": { "projectName": "Project-Demonstration" }, "owningEntity": { "owningEntityId": "24ef5425-bec4-4fa3-ab03-c0ecf4eaac96", "owningEntityName": "OE-Demonstration" }, "modelInfo": { "modelVersion": "1.0", "modelVersionId": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "modelInvariantId": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "modelName": "vFWNG 2018-11-16 13:04:", "modelType": "service" } } }
Decomposition logs
2018-11-16T19:53:59.596Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - List of BuildingBlocks to execute: 2018-11-16T19:53:59.596Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - AssignServiceInstanceBB 2018-11-16T19:53:59.597Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - AssignVnfBB 2018-11-16T19:53:59.597Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - AssignVfModuleBB 2018-11-16T19:53:59.597Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - AssignVfModuleBB 2018-11-16T19:53:59.598Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - AssignVfModuleBB 2018-11-16T19:53:59.598Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - AssignVfModuleBB 2018-11-16T19:53:59.599Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - CreateVfModuleBB 2018-11-16T19:53:59.599Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - CreateVfModuleBB 2018-11-16T19:53:59.599Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - CreateVfModuleBB 2018-11-16T19:53:59.600Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - CreateVfModuleBB 2018-11-16T19:53:59.600Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateVfModuleBB 2018-11-16T19:53:59.601Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateVfModuleBB 2018-11-16T19:53:59.601Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateVfModuleBB 2018-11-16T19:53:59.601Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateVfModuleBB 2018-11-16T19:53:59.602Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateVnfBB 2018-11-16T19:53:59.602Z|e55c9da4-43b2-47f8-8237-d9edfe474202| o.o.s.b.i.workflow.tasks.WorkflowAction - ActivateServiceInstanceBB
Result
SDNC MDSAL
As you can see below, for the service instance we have assigned, all the data is retrievable from SDNC MDSAL.
GET http://{{ip}}:{{sdnc_port}}/restconf/config/GENERIC-RESOURCE-API:services/service/c478e926-f4ca-41e8-9c74-af700ba80f56 Output: { "service": [ { "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "service-data": { "service-request-input": { "service-instance-name": "vFWNG_CDS_0" }, "service-information": { "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e" }, "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "subscription-service-type": "vFW" }, "service-topology": { "service-topology-identifier": { "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "service-instance-name": "vFWNG_CDS_0", "service-type": "vFW", "global-customer-id": "Demonstration" }, "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e" } }, "sdnc-request-header": { "svc-action": "assign", "svc-request-id": "e9701845-a7af-4a60-b800-84647693f5f8" }, "request-information": { "request-id": "e9701845-a7af-4a60-b800-84647693f5f8", "request-action": "CreateServiceInstance", "source": "MSO" }, "service-level-oper-status": { "order-status": "Created", "last-rpc-action": "assign", "last-action": "CreateServiceInstance" }, "vnfs": { "vnf": [ { "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "vnf-data": { "vnf-level-oper-status": { "order-status": "Created", "last-rpc-action": "activate", "last-action": "CreateVnfInstance" }, "vf-modules": { "vf-module": [ { "vf-module-id": "b7384274-aa66-4794-91ae-637d775c6725", "vf-module-data": { "service-information": { "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e" }, "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "subscription-service-type": "vFW" }, "vf-module-topology": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..base_template..module-0", "model-invariant-uuid": "986109de-26dc-4084-8ca9-7306f2bb68f3", "model-version": "1", "model-customization-uuid": "4e65668c-74b0-448f-b2d2-80ed3b1afa5d", "model-uuid": "3f392a6b-585e-4e1c-ad98-459a17957841" }, "vf-module-parameters": { "param": [ { "name": "vnf_id", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "unprotected_private_subnet_id", "value": "RegionOne_vFW_20181116T195414474Z_unprotected_sub", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "vf_module_type", "value": "Base", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "protected_private_net_id", "value": "RegionOne_vFW_20181116T195414474Z_protected", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "protected_private_net_cidr", "value": "192.168.20.0/24", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "vf_module_id", "value": "b7384274-aa66-4794-91ae-637d775c6725", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "vnf_model_customization_uuid", "value": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "protected_private_subnet_id", "value": "RegionOne_vFW_20181116T195414474Z_protected_sub", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "unprotected_private_net_id", "value": "RegionOne_vFW_20181116T195414474Z_unprotected", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "unprotected_private_net_cidr", "value": "192.168.10.0/24", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "aai-vf-module-put", "value": "SUCCESS", "resource-resolution-data": { "capability-name": "aai-vf-module-put", "status": "SUCCESS", "resource-key": [ { "name": "vf-module", "value": "vf-module" } ] } }, { "name": "vf_module_name", "value": "RegionOne_vFW_20181116T195414474Z_base", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } }, { "name": "vnf_name", "value": "RegionOne_vFW_20181116T195414474Z", "resource-resolution-data": { "capability-name": "RA Resolved", "status": "SUCCESS" } } ] }, "tenant": "09d8566ea45e43aa974cf447ed591d77", "sdnc-generated-cloud-resources": true, "vf-module-topology-identifier": { "vf-module-type": "B551da0a1fe2489dA486..base_template..module-0", "vf-module-id": "b7384274-aa66-4794-91ae-637d775c6725", "vf-module-name": "vfirewall0..Vfirewall..base_template..module-0" }, "aic-cloud-region": "RegionOne", "vf-module-assignments": {} }, "vf-module-request-input": { "vf-module-name": "RegionOne_vFW_20181116T195414474Z_base", "tenant": "09d8566ea45e43aa974cf447ed591d77", "cloud-owner": "CloudOwner", "aic-cloud-region": "RegionOne" }, "sdnc-request-header": { "svc-action": "activate", "svc-request-id": "57d0f437-f6ca-4756-b912-11dde9e917e3" }, "vf-module-information": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..base_template..module-0", "model-invariant-uuid": "986109de-26dc-4084-8ca9-7306f2bb68f3", "model-version": "1", "model-customization-uuid": "4e65668c-74b0-448f-b2d2-80ed3b1afa5d", "model-uuid": "3f392a6b-585e-4e1c-ad98-459a17957841" }, "vf-module-type": "B551da0a1fe2489dA486..base_template..module-0", "vf-module-id": "b7384274-aa66-4794-91ae-637d775c6725" }, "vnf-information": { "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "onap-model-information": { "model-name": "b551da0a-1fe2-489d-a486", "model-invariant-uuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672", "model-version": "1.0", "model-customization-uuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "model-uuid": "71256464-e388-4b7f-9b92-7c5616766465" }, "vnf-type": "vFWNG 2018-11-16 13:04:/null", "vnf-name": "RegionOne_vFW_20181116T195414474Z" }, "request-information": { "request-id": "57d0f437-f6ca-4756-b912-11dde9e917e3", "request-action": "CreateVfModuleInstance", "source": "MSO" }, "vf-module-level-oper-status": { "order-status": "Created", "last-rpc-action": "activate" } } }, { "vf-module-id": "f4cf32a2-fa4f-4239-9621-8c5f3121a0ea", "vf-module-data": { "service-information": { "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e" }, "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "subscription-service-type": "vFW" }, "vf-module-topology": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..vfw..module-3", "model-invariant-uuid": "b95372f6-e4c3-4ee0-bb69-c343bec4d7b8", "model-version": "1", "model-customization-uuid": "8a4361d4-18a7-4122-9fc8-554db20c03d9", "model-uuid": "7bc1ace1-fe43-4b21-b5d8-60e2da5d3ada" }, "vf-module-parameters": { "param": [ { "name": "vfc_customization_uuid", "value": "cd2b0be2-a3e0-40d9-baed-84aff8bf2516", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "repo_url_artifacts", "value": "https://nexus.onap.org/content/groups/staging", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "dcae_collector_ip", "value": "10.0.4.1", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "key_name", "value": "RegionOne_vFW_20181116T195414474Z", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "protected_private_net_id", "value": "RegionOne_vFW_20181116T195414474Z_protected", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "cloud_env", "value": "openstack", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "ipv4-oam-address-prefix", "value": "10.0.0.0/8", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-model-customization-uuid", "value": "cd2b0be2-a3e0-40d9-baed-84aff8bf2516", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf-module-name", "value": "RegionOne_vFW_20181116T195414474Z_vfw_Expansion_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-model-version", "value": "1.0", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnf_model_customization_uuid", "value": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "protected_private_subnet_id", "value": "RegionOne_vFW_20181116T195414474Z_protected_sub", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-name", "value": "RegionOne_vFW_20181116T195414474Z_vfw_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "unprotected_private_net_cidr", "value": "192.168.10.0/24", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "install_script_version", "value": "1.2.1-SNAPSHOT", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "demo_artifacts_version", "value": "1.2.1-SNAPSHOT", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-model-invariant-uuid", "value": "5c55a913-b8a6-4e0f-9aed-71e27f383e25", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vfw_private_ip_2", "value": "10.0.101.4", "resource-resolution-data": { "capability-name": "netbox-ip-assign", "status": "SUCCESS", "resource-key": [ { "name": "vf-module-id", "value": "f4cf32a2-fa4f-4239-9621-8c5f3121a0ea" }, { "name": "external_key", "value": "f4cf32a2-fa4f-4239-9621-8c5f3121a0ea-vfw_private_ip_2" }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, { "name": "prefix-id", "value": "3" } ] } }, { "name": "ipv4-oam-address", "value": "10.0.101.4", "resource-resolution-data": { "capability-name": "unresolved-composite-data", "status": "SUCCESS" } }, { "name": "vf_module_name", "value": "RegionOne_vFW_20181116T195414474Z_vfw_Expansion_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS", "resource-key": [ { "name": "VF_MODULE_LABEL", "value": "vfw" }, { "name": "resource-name", "value": "vf_module_name" }, { "name": "resource-value", "value": "${vf_module_name}" }, { "name": "naming-type", "value": "VF-MODULE" }, { "name": "nf-role", "value": "vFW" }, { "name": "VNF_NAME", "value": "RegionOne_vFW_20181116T195414474Z" }, { "name": "external-key", "value": "f4cf32a2-fa4f-4239-9621-8c5f3121a0ea_vf_module_name" }, { "name": "policy-instance-name", "value": "SDNC_Policy.Config_MS_ONAP_VFW_NAMING_TIMESTAMP" }, { "name": "VF_MODULE_TYPE", "value": "Expansion" } ] } }, { "name": "pub_key", "value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "onap_private_net_cidr", "value": "10.0.0.0/8", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "image_name", "value": "Ubuntu_14.04.5_LTS", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnf_id", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "nfc-naming-code", "value": "vfw", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "flavor_name", "value": "m1.medium", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "unprotected_private_subnet_id", "value": "RegionOne_vFW_20181116T195414474Z_unprotected_sub", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "onap_private_subnet_id", "value": "oam_network_FMYR_sub", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf_module_customization_uuid", "value": "8a4361d4-18a7-4122-9fc8-554db20c03d9", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf_module_type", "value": "Expansion", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "dcae_collector_port", "value": "8080", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "protected_private_net_cidr", "value": "192.168.20.0/24", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf_module_id", "value": "f4cf32a2-fa4f-4239-9621-8c5f3121a0ea", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "KEY", "value": "RegionOne_vFW_20181116T195414474Z", "resource-resolution-data": { "capability-name": "unresolved-composite-data", "status": "SUCCESS" } }, { "name": "vm-type", "value": "vfw", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "onap_private_net_id", "value": "oam_network_FMYR", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "unprotected_private_net_id", "value": "RegionOne_vFW_20181116T195414474Z_unprotected", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "repo_url_blob", "value": "https://nexus.onap.org/content/repositories/raw", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "aai-vf-module-put", "value": "SUCCESS", "resource-resolution-data": { "capability-name": "aai-vf-module-put", "status": "SUCCESS", "resource-key": [ { "name": "vf-module", "value": "vf-module" }, { "name": "vnfc", "value": "vnfc" } ] } }, { "name": "aic-cloud-region", "value": "RegionOne", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vfw_name_0", "value": "RegionOne_vFW_20181116T195414474Z_vfw_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS", "resource-key": [ { "name": "resource-name", "value": "vfw_name_0" }, { "name": "resource-value", "value": "${vfw_name_0}" }, { "name": "naming-type", "value": "VNFC" }, { "name": "nf-role", "value": "vFW" }, { "name": "VNF_NAME", "value": "RegionOne_vFW_20181116T195414474Z" }, { "name": "external-key", "value": "f4cf32a2-fa4f-4239-9621-8c5f3121a0ea_vfw_name_0" }, { "name": "policy-instance-name", "value": "SDNC_Policy.Config_MS_ONAP_VFW_NAMING_TIMESTAMP" }, { "name": "NFC_NAMING_CODE", "value": "vfw" } ] } }, { "name": "sec_group", "value": "default", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "nfc-function", "value": "vFW", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "public_net_id", "value": "external", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnf_name", "value": "RegionOne_vFW_20181116T195414474Z", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "nexus_artifact_repo", "value": "nexus_artifact_repo", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } } ] }, "tenant": "09d8566ea45e43aa974cf447ed591d77", "sdnc-generated-cloud-resources": true, "vf-module-topology-identifier": { "vf-module-type": "B551da0a1fe2489dA486..vfw..module-3", "vf-module-id": "f4cf32a2-fa4f-4239-9621-8c5f3121a0ea", "vf-module-name": "vfirewall0..Vfirewall..vfw..module-0" }, "aic-cloud-region": "RegionOne", "vf-module-assignments": {} }, "vf-module-request-input": { "vf-module-input-parameters": { "param": [ { "name": "public_net_id", "value": "external" }, { "name": "sec_group", "value": "default" } ] }, "vf-module-name": "RegionOne_vFW_20181116T195414474Z_vfw_Expansion_001", "tenant": "09d8566ea45e43aa974cf447ed591d77", "cloud-owner": "CloudOwner", "aic-cloud-region": "RegionOne" }, "sdnc-request-header": { "svc-action": "activate", "svc-request-id": "eecd7c1a-3f41-4a9d-bd31-90436e7fc2ba" }, "vf-module-information": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..vfw..module-3", "model-invariant-uuid": "b95372f6-e4c3-4ee0-bb69-c343bec4d7b8", "model-version": "1", "model-customization-uuid": "8a4361d4-18a7-4122-9fc8-554db20c03d9", "model-uuid": "7bc1ace1-fe43-4b21-b5d8-60e2da5d3ada" }, "vf-module-type": "B551da0a1fe2489dA486..vfw..module-3", "vf-module-id": "f4cf32a2-fa4f-4239-9621-8c5f3121a0ea" }, "vnf-information": { "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "onap-model-information": { "model-name": "b551da0a-1fe2-489d-a486", "model-invariant-uuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672", "model-version": "1.0", "model-customization-uuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "model-uuid": "71256464-e388-4b7f-9b92-7c5616766465" }, "vnf-type": "vFWNG 2018-11-16 13:04:/null", "vnf-name": "RegionOne_vFW_20181116T195414474Z" }, "request-information": { "request-id": "eecd7c1a-3f41-4a9d-bd31-90436e7fc2ba", "request-action": "CreateVfModuleInstance", "source": "MSO" }, "vf-module-level-oper-status": { "order-status": "Created", "last-rpc-action": "activate" } } }, { "vf-module-id": "b698db6f-8177-4a95-9ca6-6cf1da9ed92e", "vf-module-data": { "service-information": { "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e" }, "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "subscription-service-type": "vFW" }, "vf-module-topology": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..vsn..module-1", "model-invariant-uuid": "5d0cc1d8-94f1-461c-a7be-3d18cc22da38", "model-version": "1", "model-customization-uuid": "18718327-3953-4fab-8802-aa55ecc42c29", "model-uuid": "c29a71ad-01fe-4f57-b64f-91e30da52274" }, "vf-module-parameters": { "param": [ { "name": "vfc_customization_uuid", "value": "c619861e-6a66-4e9a-9d78-89327c07690d", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "repo_url_artifacts", "value": "https://nexus.onap.org/content/groups/staging", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "dcae_collector_ip", "value": "10.0.4.1", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "key_name", "value": "RegionOne_vFW_20181116T195414474Z", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "protected_private_net_id", "value": "RegionOne_vFW_20181116T195414474Z_protected", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "cloud_env", "value": "openstack", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "ipv4-oam-address-prefix", "value": "10.0.0.0/8", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-model-customization-uuid", "value": "c619861e-6a66-4e9a-9d78-89327c07690d", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf-module-name", "value": "RegionOne_vFW_20181116T195414474Z_vsn_Expansion_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-model-version", "value": "1.0", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnf_model_customization_uuid", "value": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "protected_private_subnet_id", "value": "RegionOne_vFW_20181116T195414474Z_protected_sub", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-name", "value": "RegionOne_vFW_20181116T195414474Z_vsn_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "install_script_version", "value": "1.2.1-SNAPSHOT", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "unprotected_private_net_cidr", "value": "192.168.10.0/24", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "demo_artifacts_version", "value": "1.2.1-SNAPSHOT", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vfw_private_ip_1", "value": "192.168.20.3", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-model-invariant-uuid", "value": "0f650273-b429-49f3-b075-6785fa2d19f2", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "ipv4-oam-address", "value": "10.0.101.3", "resource-resolution-data": { "capability-name": "unresolved-composite-data", "status": "SUCCESS" } }, { "name": "vf_module_name", "value": "RegionOne_vFW_20181116T195414474Z_vsn_Expansion_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS", "resource-key": [ { "name": "VF_MODULE_LABEL", "value": "vsn" }, { "name": "resource-name", "value": "vf_module_name" }, { "name": "resource-value", "value": "${vf_module_name}" }, { "name": "naming-type", "value": "VF-MODULE" }, { "name": "nf-role", "value": "vSN" }, { "name": "VNF_NAME", "value": "RegionOne_vFW_20181116T195414474Z" }, { "name": "external-key", "value": "b698db6f-8177-4a95-9ca6-6cf1da9ed92e_vf_module_name" }, { "name": "policy-instance-name", "value": "SDNC_Policy.Config_MS_ONAP_VSN_NAMING_TIMESTAMP" }, { "name": "VF_MODULE_TYPE", "value": "Expansion" } ] } }, { "name": "pub_key", "value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "onap_private_net_cidr", "value": "10.0.0.0/8", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "image_name", "value": "Ubuntu_14.04.5_LTS", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "volume-group-name", "resource-resolution-data": { "capability-name": "unresolved-composite-data", "status": "SUCCESS" } }, { "name": "vnf_id", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "nfc-naming-code", "value": "vsn", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "flavor_name", "value": "m1.medium", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "onap_private_subnet_id", "value": "oam_network_FMYR_sub", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf_module_customization_uuid", "value": "18718327-3953-4fab-8802-aa55ecc42c29", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf_module_type", "value": "Expansion", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "dcae_collector_port", "value": "8080", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vsn_private_ip_1", "value": "10.0.101.3", "resource-resolution-data": { "capability-name": "netbox-ip-assign", "status": "SUCCESS", "resource-key": [ { "name": "vf-module-id", "value": "b698db6f-8177-4a95-9ca6-6cf1da9ed92e" }, { "name": "external_key", "value": "b698db6f-8177-4a95-9ca6-6cf1da9ed92e-vsn_private_ip_1" }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, { "name": "prefix-id", "value": "3" } ] } }, { "name": "protected_private_net_cidr", "value": "192.168.20.0/24", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf_module_id", "value": "b698db6f-8177-4a95-9ca6-6cf1da9ed92e", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vm-type", "value": "vsn", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vsn_name_0", "value": "RegionOne_vFW_20181116T195414474Z_vsn_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS", "resource-key": [ { "name": "resource-name", "value": "vsn_name_0" }, { "name": "resource-value", "value": "${vsn_name_0}" }, { "name": "naming-type", "value": "VNFC" }, { "name": "nf-role", "value": "vSN" }, { "name": "VNF_NAME", "value": "RegionOne_vFW_20181116T195414474Z" }, { "name": "external-key", "value": "b698db6f-8177-4a95-9ca6-6cf1da9ed92e_vsn_name_0" }, { "name": "policy-instance-name", "value": "SDNC_Policy.Config_MS_ONAP_VSN_NAMING_TIMESTAMP" }, { "name": "NFC_NAMING_CODE", "value": "vsn" } ] } }, { "name": "onap_private_net_id", "value": "oam_network_FMYR", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "unprotected_private_net_id", "value": "RegionOne_vFW_20181116T195414474Z_unprotected", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "repo_url_blob", "value": "https://nexus.onap.org/content/repositories/raw", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "aai-vf-module-put", "value": "SUCCESS", "resource-resolution-data": { "capability-name": "aai-vf-module-put", "status": "SUCCESS", "resource-key": [ { "name": "vf-module", "value": "vf-module" }, { "name": "vnfc", "value": "vnfc" } ] } }, { "name": "aic-cloud-region", "value": "RegionOne", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "sec_group", "value": "default", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "nfc-function", "value": "vSN", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "public_net_id", "value": "external", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnf_name", "value": "RegionOne_vFW_20181116T195414474Z", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "nexus_artifact_repo", "value": "nexus_artifact_repo", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } } ] }, "tenant": "09d8566ea45e43aa974cf447ed591d77", "sdnc-generated-cloud-resources": true, "vf-module-topology-identifier": { "vf-module-type": "B551da0a1fe2489dA486..vsn..module-1", "vf-module-id": "b698db6f-8177-4a95-9ca6-6cf1da9ed92e", "vf-module-name": "vfirewall0..Vfirewall..vsn..module-0" }, "aic-cloud-region": "RegionOne", "vf-module-assignments": {} }, "vf-module-request-input": { "vf-module-input-parameters": { "param": [ { "name": "public_net_id", "value": "external" }, { "name": "sec_group", "value": "default" } ] }, "vf-module-name": "RegionOne_vFW_20181116T195414474Z_vsn_Expansion_001", "tenant": "09d8566ea45e43aa974cf447ed591d77", "cloud-owner": "CloudOwner", "aic-cloud-region": "RegionOne" }, "sdnc-request-header": { "svc-action": "activate", "svc-request-id": "ead186f4-d869-4b82-9aac-a8209de3074a" }, "vf-module-information": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..vsn..module-1", "model-invariant-uuid": "5d0cc1d8-94f1-461c-a7be-3d18cc22da38", "model-version": "1", "model-customization-uuid": "18718327-3953-4fab-8802-aa55ecc42c29", "model-uuid": "c29a71ad-01fe-4f57-b64f-91e30da52274" }, "vf-module-type": "B551da0a1fe2489dA486..vsn..module-1", "vf-module-id": "b698db6f-8177-4a95-9ca6-6cf1da9ed92e" }, "vnf-information": { "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "onap-model-information": { "model-name": "b551da0a-1fe2-489d-a486", "model-invariant-uuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672", "model-version": "1.0", "model-customization-uuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "model-uuid": "71256464-e388-4b7f-9b92-7c5616766465" }, "vnf-type": "vFWNG 2018-11-16 13:04:/null", "vnf-name": "RegionOne_vFW_20181116T195414474Z" }, "request-information": { "request-id": "ead186f4-d869-4b82-9aac-a8209de3074a", "request-action": "CreateVfModuleInstance", "source": "MSO" }, "vf-module-level-oper-status": { "order-status": "Created", "last-rpc-action": "activate" } } }, { "vf-module-id": "c99eb0c8-ddb0-411d-85df-9761da7bc895", "vf-module-data": { "service-information": { "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e" }, "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "subscription-service-type": "vFW" }, "vf-module-topology": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..vpg..module-2", "model-invariant-uuid": "b0443ba5-090d-4210-9855-5aacd960d96e", "model-version": "1", "model-customization-uuid": "d48b9a01-8eb9-46e0-a1d6-bd1dbe8c769d", "model-uuid": "381bf92b-d500-4ff4-a6b0-c4c875aa2df1" }, "vf-module-parameters": { "param": [ { "name": "vfc_customization_uuid", "value": "d8d24f05-beab-4a2b-b1d3-7241fb0fe39b", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "repo_url_artifacts", "value": "https://nexus.onap.org/content/groups/staging", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "dcae_collector_ip", "value": "10.0.4.1", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "key_name", "value": "RegionOne_vFW_20181116T195414474Z", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "protected_private_net_id", "value": "RegionOne_vFW_20181116T195414474Z_protected", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "cloud_env", "value": "openstack", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "ipv4-oam-address-prefix", "value": "10.0.0.0/8", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-model-customization-uuid", "value": "d8d24f05-beab-4a2b-b1d3-7241fb0fe39b", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf-module-name", "value": "RegionOne_vFW_20181116T195414474Z_vpg_Expansion_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-model-version", "value": "1.0", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnf_model_customization_uuid", "value": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "protected_private_subnet_id", "value": "RegionOne_vFW_20181116T195414474Z_protected_sub", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-name", "value": "RegionOne_vFW_20181116T195414474Z_vpg_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "unprotected_private_net_cidr", "value": "192.168.10.0/24", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "install_script_version", "value": "1.2.1-SNAPSHOT", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "demo_artifacts_version", "value": "1.2.1-SNAPSHOT", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnfc-model-invariant-uuid", "value": "29fc467e-e69d-46da-8eaf-5c42996b7b26", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf_module_name", "value": "RegionOne_vFW_20181116T195414474Z_vpg_Expansion_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS", "resource-key": [ { "name": "VF_MODULE_LABEL", "value": "vpg" }, { "name": "resource-name", "value": "vf_module_name" }, { "name": "resource-value", "value": "${vf_module_name}" }, { "name": "naming-type", "value": "VF-MODULE" }, { "name": "nf-role", "value": "vPG" }, { "name": "VNF_NAME", "value": "RegionOne_vFW_20181116T195414474Z" }, { "name": "external-key", "value": "c99eb0c8-ddb0-411d-85df-9761da7bc895_vf_module_name" }, { "name": "policy-instance-name", "value": "SDNC_Policy.Config_MS_ONAP_VPG_NAMING_TIMESTAMP" }, { "name": "VF_MODULE_TYPE", "value": "Expansion" } ] } }, { "name": "vfw_private_ip_0", "value": "192.168.10.3", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "pub_key", "value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "onap_private_net_cidr", "value": "10.0.0.0/8", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "image_name", "value": "Ubuntu_14.04.5_LTS", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnf_id", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "nfc-naming-code", "value": "vpg", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "flavor_name", "value": "m1.medium", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "unprotected_private_subnet_id", "value": "RegionOne_vFW_20181116T195414474Z_unprotected_sub", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "onap_private_subnet_id", "value": "oam_network_FMYR_sub", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf_module_customization_uuid", "value": "d48b9a01-8eb9-46e0-a1d6-bd1dbe8c769d", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vf_module_type", "value": "Expansion", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "dcae_collector_port", "value": "8080", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vpg_private_ip_1", "value": "10.0.101.5", "resource-resolution-data": { "capability-name": "netbox-ip-assign", "status": "SUCCESS", "resource-key": [ { "name": "vf-module-id", "value": "c99eb0c8-ddb0-411d-85df-9761da7bc895" }, { "name": "external_key", "value": "c99eb0c8-ddb0-411d-85df-9761da7bc895-vpg_private_ip_1" }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, { "name": "prefix-id", "value": "3" } ] } }, { "name": "vf_module_id", "value": "c99eb0c8-ddb0-411d-85df-9761da7bc895", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vpg_private_ip_0", "value": "192.168.10.4", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vpg_name_0", "value": "RegionOne_vFW_20181116T195414474Z_vpg_001", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS", "resource-key": [ { "name": "resource-name", "value": "vpg_name_0" }, { "name": "resource-value", "value": "${vpg_name_0}" }, { "name": "naming-type", "value": "VNFC" }, { "name": "nf-role", "value": "vPG" }, { "name": "VNF_NAME", "value": "RegionOne_vFW_20181116T195414474Z" }, { "name": "external-key", "value": "c99eb0c8-ddb0-411d-85df-9761da7bc895_vpg_name_0" }, { "name": "policy-instance-name", "value": "SDNC_Policy.Config_MS_ONAP_VPG_NAMING_TIMESTAMP" }, { "name": "NFC_NAMING_CODE", "value": "vpg" } ] } }, { "name": "vm-type", "value": "vpg", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vsn_private_ip_0", "value": "192.168.20.4", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "onap_private_net_id", "value": "oam_network_FMYR", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "unprotected_private_net_id", "value": "RegionOne_vFW_20181116T195414474Z_unprotected", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "repo_url_blob", "value": "https://nexus.onap.org/content/repositories/raw", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "aai-vf-module-put", "value": "SUCCESS", "resource-resolution-data": { "capability-name": "aai-vf-module-put", "status": "SUCCESS", "resource-key": [ { "name": "vf-module", "value": "vf-module" }, { "name": "vnfc", "value": "vnfc" } ] } }, { "name": "aic-cloud-region", "value": "RegionOne", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "sec_group", "value": "default", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "nfc-function", "value": "vPG", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "public_net_id", "value": "external", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnf_name", "value": "RegionOne_vFW_20181116T195414474Z", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "nexus_artifact_repo", "value": "nexus_artifact_repo", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } } ] }, "tenant": "09d8566ea45e43aa974cf447ed591d77", "sdnc-generated-cloud-resources": true, "vf-module-topology-identifier": { "vf-module-type": "B551da0a1fe2489dA486..vpg..module-2", "vf-module-id": "c99eb0c8-ddb0-411d-85df-9761da7bc895", "vf-module-name": "vfirewall0..Vfirewall..vpg..module-0" }, "aic-cloud-region": "RegionOne", "vf-module-assignments": {} }, "vf-module-request-input": { "vf-module-input-parameters": { "param": [ { "name": "public_net_id", "value": "external" }, { "name": "sec_group", "value": "default" } ] }, "vf-module-name": "RegionOne_vFW_20181116T195414474Z_vpg_Expansion_001", "tenant": "09d8566ea45e43aa974cf447ed591d77", "cloud-owner": "CloudOwner", "aic-cloud-region": "RegionOne" }, "sdnc-request-header": { "svc-action": "activate", "svc-request-id": "82b806a0-460b-48a1-aa5c-5695a48188cd" }, "vf-module-information": { "onap-model-information": { "model-name": "B551da0a1fe2489dA486..vpg..module-2", "model-invariant-uuid": "b0443ba5-090d-4210-9855-5aacd960d96e", "model-version": "1", "model-customization-uuid": "d48b9a01-8eb9-46e0-a1d6-bd1dbe8c769d", "model-uuid": "381bf92b-d500-4ff4-a6b0-c4c875aa2df1" }, "vf-module-type": "B551da0a1fe2489dA486..vpg..module-2", "vf-module-id": "c99eb0c8-ddb0-411d-85df-9761da7bc895" }, "vnf-information": { "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "onap-model-information": { "model-name": "b551da0a-1fe2-489d-a486", "model-invariant-uuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672", "model-version": "1.0", "model-customization-uuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "model-uuid": "71256464-e388-4b7f-9b92-7c5616766465" }, "vnf-type": "vFWNG 2018-11-16 13:04:/null", "vnf-name": "RegionOne_vFW_20181116T195414474Z" }, "request-information": { "request-id": "82b806a0-460b-48a1-aa5c-5695a48188cd", "request-action": "CreateVfModuleInstance", "source": "MSO" }, "vf-module-level-oper-status": { "order-status": "Created", "last-rpc-action": "activate" } } } ] }, "service-information": { "service-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "onap-model-information": { "model-name": "vFWNG 2018-11-16 13:04:", "model-invariant-uuid": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "model-version": "1.0", "model-uuid": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e" }, "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "global-customer-id": "Demonstration", "subscription-service-type": "vFW" }, "sdnc-request-header": { "svc-action": "activate", "svc-request-id": "d18d33c9-eb4f-410c-a222-9be49bc7d4ab" }, "vnf-information": { "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "onap-model-information": { "model-name": "b551da0a-1fe2-489d-a486", "model-invariant-uuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672", "model-version": "1.0", "model-customization-uuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "model-uuid": "71256464-e388-4b7f-9b92-7c5616766465" }, "vnf-type": "vFWNG 2018-11-16 13:04:/null", "vnf-name": "RegionOne_vFW_20181116T195414474Z" }, "request-information": { "request-id": "d18d33c9-eb4f-410c-a222-9be49bc7d4ab", "request-action": "CreateVnfInstance", "source": "MSO" }, "vnf-request-input": { "vnf-input-parameters": { "param": [ { "name": "image_name", "value": "Ubuntu_14.04.5_LTS" }, { "name": "onap_private_net_id", "value": "oam_network_FMYR" }, { "name": "pub_key", "value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd" } ] }, "vnf-name": "RegionOne_vFW_20181116T195414474Z", "tenant": "09d8566ea45e43aa974cf447ed591d77", "cloud-owner": "CloudOwner", "aic-cloud-region": "RegionOne" }, "vnf-topology": { "onap-model-information": { "model-name": "b551da0a-1fe2-489d-a486", "model-invariant-uuid": "106c91b3-c577-4658-b8c1-8bc9cd86c672", "model-version": "1.0", "model-customization-uuid": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "model-uuid": "71256464-e388-4b7f-9b92-7c5616766465" }, "tenant": "09d8566ea45e43aa974cf447ed591d77", "sdnc-generated-cloud-resources": true, "aic-cloud-region": "RegionOne", "vnf-topology-identifier-structure": { "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "vnf-type": "vFWNG 2018-11-16 13:04:/null", "nf-type": "FIREWALL", "nf-role": "vFW", "nf-code": "vfw", "nf-function": "ONAP-FIREWALL" }, "vnf-resource-assignments": {}, "vnf-parameters-data": { "param": [ { "name": "image_name", "value": "Ubuntu_14.04.5_LTS", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vnf_id", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "onap_private_subnet_id", "value": "oam_network_FMYR_sub", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "key_name", "value": "RegionOne_vFW_20181116T195414474Z", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vpg_private_ip_0", "value": "192.168.10.4", "resource-resolution-data": { "capability-name": "netbox-ip-assign", "status": "SUCCESS", "resource-key": [ { "name": "external_key", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9-vpg_private_ip_0" }, { "name": "vnf-id", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9" }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, { "name": "prefix-id", "value": "2" } ] } }, { "name": "vsn_private_ip_0", "value": "192.168.20.4", "resource-resolution-data": { "capability-name": "netbox-ip-assign", "status": "SUCCESS", "resource-key": [ { "name": "external_key", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9-vsn_private_ip_0" }, { "name": "vnf-id", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9" }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, { "name": "prefix-id", "value": "1" } ] } }, { "name": "vnf-model-customization-uuid", "value": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "aai-vnf-put", "value": "SUCCESS", "resource-resolution-data": { "capability-name": "aai-vnf-put", "status": "SUCCESS", "resource-key": [ { "name": "generic-vnf", "value": "generic-vnf" } ] } }, { "name": "onap_private_net_id", "value": "oam_network_FMYR", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "aic-cloud-region", "value": "RegionOne", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } }, { "name": "vfw_private_ip_1", "value": "192.168.20.3", "resource-resolution-data": { "capability-name": "netbox-ip-assign", "status": "SUCCESS", "resource-key": [ { "name": "external_key", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9-vfw_private_ip_1" }, { "name": "vnf-id", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9" }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, { "name": "prefix-id", "value": "1" } ] } }, { "name": "vfw_private_ip_0", "value": "192.168.10.3", "resource-resolution-data": { "capability-name": "netbox-ip-assign", "status": "SUCCESS", "resource-key": [ { "name": "external_key", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9-vfw_private_ip_0" }, { "name": "vnf-id", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9" }, { "name": "service-instance-id", "value": "c478e926-f4ca-41e8-9c74-af700ba80f56" }, { "name": "prefix-id", "value": "2" } ] } }, { "name": "vnf_name", "value": "RegionOne_vFW_20181116T195414474Z", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS", "resource-key": [ { "name": "resource-name", "value": "vnf_name" }, { "name": "resource-value", "value": "${vnf_name}" }, { "name": "AIC_CLOUD_REGION", "value": "RegionOne" }, { "name": "naming-type", "value": "VNF" }, { "name": "nf-role", "value": "vFW" }, { "name": "external-key", "value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9_vnf_name" }, { "name": "policy-instance-name", "value": "SDNC_Policy.Config_MS_ONAP_VFW_NAMING_TIMESTAMP" } ] } }, { "name": "pub_key", "value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd", "resource-resolution-data": { "capability-name": "INPUT", "status": "SUCCESS" } } ] } } } } ] } }, "service-status": { "final-indicator": "Y", "rpc-action": "activate", "rpc-name": "vnf-topology-operation", "response-code": "200", "response-timestamp": "2018-11-16T19:58:22.855Z", "response-message": "", "action": "CreateVnfInstance", "request-status": "synccomplete" } } ] }
Stack created
AAI
Few information gets populated in AAI as well. Here is the resulting Service Instance and Generic VNF once the process is completed.
{ "service-instance-id": "c478e926-f4ca-41e8-9c74-af700ba80f56", "service-instance-name": "vFWNG_CDS_0", "environment-context": "General_Revenue-Bearing", "workload-context": "Production", "model-invariant-id": "ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00", "model-version-id": "f688ee9f-0fa0-4e22-bc93-ce1abd43f52e", "resource-version": "1542398309291", "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/c478e926-f4ca-41e8-9c74-af700ba80f56/service-data/service-topology/", "orchestration-status": "Active", "relationship-list": { "relationship": [ { "related-to": "project", "relationship-label": "org.onap.relationships.inventory.Uses", "related-link": "/aai/v14/business/projects/project/Project-Demonstration", "relationship-data": [ { "relationship-key": "project.project-name", "relationship-value": "Project-Demonstration" } ] }, { "related-to": "generic-vnf", "relationship-label": "org.onap.relationships.inventory.ComposedOf", "related-link": "/aai/v14/network/generic-vnfs/generic-vnf/cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "relationship-data": [ { "relationship-key": "generic-vnf.vnf-id", "relationship-value": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9" } ], "related-to-property": [ { "property-key": "generic-vnf.vnf-name", "property-value": "RegionOne_vFW_20181116T195414474Z" } ] }, { "related-to": "owning-entity", "relationship-label": "org.onap.relationships.inventory.BelongsTo", "related-link": "/aai/v14/business/owning-entities/owning-entity/24ef5425-bec4-4fa3-ab03-c0ecf4eaac96", "relationship-data": [ { "relationship-key": "owning-entity.owning-entity-id", "relationship-value": "24ef5425-bec4-4fa3-ab03-c0ecf4eaac96" } ] } ] } }
{ "vnf-id": "cdf6d5d1-f589-49a1-9868-ae3bd927c8a9", "vnf-name": "RegionOne_vFW_20181116T195414474Z", "vnf-type": "vFWNG 2018-11-16 13:04:/null", "prov-status": "NVTPROV", "operational-status": "out-of-service-path", "orchestration-status": "Active", "in-maint": false, "is-closed-loop-disabled": false, "resource-version": "1542398303218", "model-invariant-id": "106c91b3-c577-4658-b8c1-8bc9cd86c672", "model-version-id": "71256464-e388-4b7f-9b92-7c5616766465", "model-customization-id": "39106d12-7629-4b6a-a6d5-b6d7a8041f00", "nf-type": "FIREWALL", "nf-function": "ONAP-FIREWALL", "nf-role": "vFW", "nf-naming-code": "vfw", "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/c478e926-f4ca-41e8-9c74-af700ba80f56/service-data/vnfs/vnf/cdf6d5d1-f589-49a1-9868-ae3bd927c8a9/vnf-data/vnf-topology/", "relationship-list": { "relationship": [ { "related-to": "service-instance", "relationship-label": "org.onap.relationships.inventory.ComposedOf", "related-link": "/aai/v14/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW/service-instances/service-instance/c478e926-f4ca-41e8-9c74-af700ba80f56", "relationship-data": [ { "relationship-key": "customer.global-customer-id", "relationship-value": "Demonstration" }, { "relationship-key": "service-subscription.service-type", "relationship-value": "vFW" }, { "relationship-key": "service-instance.service-instance-id", "relationship-value": "c478e926-f4ca-41e8-9c74-af700ba80f56" } ], "related-to-property": [ { "property-key": "service-instance.service-instance-name", "property-value": "vFWNG_CDS_0" } ] }, { "related-to": "platform", "relationship-label": "org.onap.relationships.inventory.Uses", "related-link": "/aai/v14/business/platforms/platform/test", "relationship-data": [ { "relationship-key": "platform.platform-name", "relationship-value": "test" } ] }, { "related-to": "line-of-business", "relationship-label": "org.onap.relationships.inventory.Uses", "related-link": "/aai/v14/business/lines-of-business/line-of-business/someValue", "relationship-data": [ { "relationship-key": "line-of-business.line-of-business-name", "relationship-value": "someValue" } ] } ] }, "vf-modules": { "vf-module": [ { "vf-module-id": "f4cf32a2-fa4f-4239-9621-8c5f3121a0ea", "vf-module-name": "RegionOne_vFW_20181116T195414474Z_vfw_Expansion_001", "heat-stack-id": "RegionOne_vFW_20181116T195414474Z_vfw_Expansion_001/5111528a-a070-44ad-9710-5f50d3e378a7", "orchestration-status": "Active", "is-base-vf-module": false, "automated-assignment": false, "resource-version": "1542398285665", "model-invariant-id": "b95372f6-e4c3-4ee0-bb69-c343bec4d7b8", "model-version-id": "7bc1ace1-fe43-4b21-b5d8-60e2da5d3ada", "model-customization-id": "8a4361d4-18a7-4122-9fc8-554db20c03d9", "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/c478e926-f4ca-41e8-9c74-af700ba80f56/service-data/vnfs/vnf/cdf6d5d1-f589-49a1-9868-ae3bd927c8a9/vnf-data/vf-modules/vf-module/f4cf32a2-fa4f-4239-9621-8c5f3121a0ea/vf-module-data/vf-module-topology/" }, { "vf-module-id": "b698db6f-8177-4a95-9ca6-6cf1da9ed92e", "vf-module-name": "RegionOne_vFW_20181116T195414474Z_vsn_Expansion_001", "heat-stack-id": "RegionOne_vFW_20181116T195414474Z_vsn_Expansion_001/1084ffc9-e6ba-40a5-bb6d-6ed493306467", "orchestration-status": "Active", "is-base-vf-module": false, "automated-assignment": false, "resource-version": "1542398276496", "model-invariant-id": "5d0cc1d8-94f1-461c-a7be-3d18cc22da38", "model-version-id": "c29a71ad-01fe-4f57-b64f-91e30da52274", "model-customization-id": "18718327-3953-4fab-8802-aa55ecc42c29", "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/c478e926-f4ca-41e8-9c74-af700ba80f56/service-data/vnfs/vnf/cdf6d5d1-f589-49a1-9868-ae3bd927c8a9/vnf-data/vf-modules/vf-module/b698db6f-8177-4a95-9ca6-6cf1da9ed92e/vf-module-data/vf-module-topology/" }, { "vf-module-id": "c99eb0c8-ddb0-411d-85df-9761da7bc895", "vf-module-name": "RegionOne_vFW_20181116T195414474Z_vpg_Expansion_001", "heat-stack-id": "RegionOne_vFW_20181116T195414474Z_vpg_Expansion_001/6473e601-7c27-4227-8ddb-fc0b58b2094d", "orchestration-status": "Active", "is-base-vf-module": false, "automated-assignment": false, "resource-version": "1542398295104", "model-invariant-id": "b0443ba5-090d-4210-9855-5aacd960d96e", "model-version-id": "381bf92b-d500-4ff4-a6b0-c4c875aa2df1", "model-customization-id": "d48b9a01-8eb9-46e0-a1d6-bd1dbe8c769d", "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/c478e926-f4ca-41e8-9c74-af700ba80f56/service-data/vnfs/vnf/cdf6d5d1-f589-49a1-9868-ae3bd927c8a9/vnf-data/vf-modules/vf-module/c99eb0c8-ddb0-411d-85df-9761da7bc895/vf-module-data/vf-module-topology/" }, { "vf-module-id": "b7384274-aa66-4794-91ae-637d775c6725", "vf-module-name": "RegionOne_vFW_20181116T195414474Z_base", "heat-stack-id": "RegionOne_vFW_20181116T195414474Z_base/25a6384c-ec39-47d3-b236-506e80872678", "orchestration-status": "Active", "is-base-vf-module": true, "automated-assignment": false, "resource-version": "1542398267528", "model-invariant-id": "986109de-26dc-4084-8ca9-7306f2bb68f3", "model-version-id": "3f392a6b-585e-4e1c-ad98-459a17957841", "model-customization-id": "4e65668c-74b0-448f-b2d2-80ed3b1afa5d", "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/c478e926-f4ca-41e8-9c74-af700ba80f56/service-data/vnfs/vnf/cdf6d5d1-f589-49a1-9868-ae3bd927c8a9/vnf-data/vf-modules/vf-module/b7384274-aa66-4794-91ae-637d775c6725/vf-module-data/vf-module-topology/" } ] } }
28 Comments
Stanislav Chlebec
Alexis de Talhouët
I'll add this in the doc itself. Thanks for the feedback
Stanislav Chlebec
Alexis de Talhouët
Yes, I will add information here once I record demo.
pranjal sharma
Hello Alexis,
We are looking for the recorded video of vFirewall (VNF) using Casablanca Release.
Thanks,
Pranjal
Yang Xu
Excellent document! Wish to see more details or reference to self-serve DG implementation
Perry Dong
Good information. What is the purpose of "template"? Can the information in "template" be directly put into "blueprint" and "data dictionary"? For example, the method to resolve or create a resource can be part of the data dictionary, as data dictionary contains "how to resolve the resource".
Yuriy Malakov
Perry Dong
Templates are Velocity based template. See Reference: http://velocity.apache.org/engine/1.7/user-guide.html
Why do we need template? Template contain content that include dynamic properties (params to be resolved using data dictionary engine) and data. With velocity based template are able to provide condition based logic see below for reference. So its not enough to resolve dynamic parameters during run time. You will also need to mesh the dynamic params that are resolved with the template to generate the final content.
Based on the meta data that is provide via input, default, and/or via source resolution your final content shall vary during the template and dynamic data meshing processing in run time.
What type of content is included in template?
NOTE:
#If $region=US
Interface-name=apple
#else
Interface-name=pear
#end
#set ($interface-data = ${interface})
$interface-data.interfaceName
another example:
#foreach( $tacacs-server-ipv4-address in ${tacacs-server-ipv4-addresses} )
<tacplus-server>
<name>$tacacs-server-ipv4-address</name>
<port>${tacacs-domain-port}</port>
<secret>${tacacs-domain-key}</secret>
<address>${ipv4-address}</address>
</tacplus-server>
#end
another example:
#foreach( $physical-interface in ${physical-interfaces} )
<interface>
<name>$physical-interface.name</name>
<description>$physical-interface.description</description>
<bundle>${bundle-id}</bundle>
<distribution-list>DL$foreach.count</distribution-list>
</interface>
#end
Abdelmuhaimen Seaudi
I see there are other 2 capabilities :
"capability-name": "aai-vf-module-put"
"capability-name": "unresolved-composite-data"
what does the "unresolved-composite-data" do ?
Yuriy Malakov
unresolved-composite-data - Is a sub dg capability which is executed as one of the last capability with the GR-API for VNF/VF Module topology self service flow. The capability is a mechanism that loops through the params block and substitutes the unresolved variables with the resolved value.
Use Case:
This capability is very useful when you have a cloud parameter that is a list of variable. For example, vlan_filter is a cloud param that is a list of vlan ids.
vlan_filter [$vlan_id, $vlan_stag, $vlan_ctag].
With the casablanca design this will resolved in the following:
The velocity template will have 4 capability that resolves 4 cloud params value
"capability-name": "vlan-tag-ms"
param_name: vlan_id
param_value: $vlan_id
"capability-name": "vlan-tag-ms"
param_name: vlan_stag
param_value: $vlan_stag
"capability-name": "vlan-tag-ms"
param_name: vlan_ctag
param_value: $vlan_ctag
"capability-name": "unresolved-composite-data"
param_name: vlan_filter
param_value: [$vlan_id, $vlan_stag, $vlan_ctag].
The flow is as follows:
SO > GR-API
GR-API > Resource Accumulator - resolved params via data dictionary and returned meshed content back to the calling dg.
GR -API > Naming mS - resolves cloud params for names. vnf-name, vf module name etc..
GR -API > netbox capability - resolves cloud params for ip using netbox.
GR -API > vlan tagging ms - resolves cloud params for vlan id. In this use case 3 cloud params are resolved in orange.
GR -API > unresolved-composite-data - loops through all the unresolved params and substitutes with the resolved value if matched is found. in this use case the vlan filter is resolved.
GR -API > aai put capability - capability to put data in aai for vnf and vf module.
"capability-name": "vlan-tag-ms"
param_name: vlan_id
param_value: 1
"capability-name": "vlan-tag-ms"
param_name: vlan_stag
param_value: 2
"capability-name": "vlan-tag-ms"
param_name: vlan_ctag
param_value: 3
"capability-name": "unresolved-composite-data"
param_name: vlan_filter
param_value: [$vlan_id, $vlan_stag, $vlan_ctag].
Then the self service main dg will trigger unresolved-composite-data capability which will resolve vlan filter in this use case. The unresolved-composite-data is a generic capability shall loops through all the params to find unresolved param values and substitutes with the resolved param value. So in context memory you will see the following:
"capability-name": "vlan-tag-ms"
param_name: vlan_id
param_value: 1
"capability-name": "vlan-tag-ms"
param_name: vlan_stag
param_value: 2
"capability-name": "vlan-tag-ms"
param_name: vlan_ctag
param_value: 3
"capability-name": "unresolved-composite-data"
param_name: vlan_filter
param_value: [1, 2, 3]
Abdelmuhaimen Seaudi
Hi,
I tried instantiating vfw using GR-API, and I got the following error in SDNC :
2019-04-15 12:21:45,555 WARN qtp1636405735-61 SvcLogicClassResolver 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 Could not find service reference object for class com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin
2019-04-15 12:22:05,933 ERROR qtp1636405735-61 GenericResourceApiProvider 237 - org.onap.sdnc.northbound.generic-resource-api-provider - 1.4.3 Returned FAILED for vf-module-topology-operation [f2a0a0d8-cc14-4d2e-840f-cafd158f8883] VfModuleTopologyOperationOutput [_ackFinalIndicator=Y, _responseCode=500, _responseMessage=Failure in call to auto-ip-assignment: , _svcRequestId=2ca869d5-be14-41e4-9069-25949b4bb9e4, augmentation=[]]
Which means that the DG for the auto ip assignment is trying to run the class com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin, but I could not find this class in ONAP code
Is there a way around this to run the GR-API ?
Abdelmuhaimen Seaudi
Hi, I am using Casablanca, and when I tried running :
./demo-k8s.sh onap distributeVFWNG
The script fails, and I see in SDC there is deploy error "Exception caught during installation of 94823f95-111b-45c6-beef. Transaction rollback."
2019-04-17T11:31:28.059Z|a2d0b2bf-2480-428a-9a83-4fa14c0c3dec| org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 1406, SQLState: 22001
2019-04-17T11:31:28.060Z|a2d0b2bf-2480-428a-9a83-4fa14c0c3dec| org.hibernate.engine.jdbc.spi.SqlExceptionHelper - (conn:48351) Data too long for column 'RESOURCE_INPUT' at row 1
Query is: insert into vnf_resource_customization (AVAILABILITY_ZONE_MAX_COUNT, CREATION_TIMESTAMP, MAX_INSTANCES, MIN_INSTANCES, MODEL_INSTANCE_NAME, MULTI_STAGE_DESIGN, NF_FUNCTION, NF_NAMING_CODE, NF_ROLE, NF_TYPE, RESOURCE_INPUT, VNF_RESOURCE_MODEL_UUID, MODEL_CUSTOMIZATION_UUID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?), parameters [<null>,'2019-04-17 11:31:28.044',<null>,<null>,'94823f95-111b-45c6-beef 0','false','ONAP-FIREWALL','vfw','vFW','FIREWALL','{\"vf_module_id\":\"vFirewallCL\",\"nf_function\":\"ONAP-FIREWALL\",\"vfw_private_ip_1\":\"192.168.20.100\",\"public_net_id\":\"PUT THE PUBLIC NETWORK ID HERE\",\"unprotected_private_subnet_id\":\"zdfw1fwl01_unprotected_sub\",\"vfw_private_ip_0\":\"192.168.10.100\",\"onap_private_subnet_id\":\"PUT THE ONAP PRIVATE NETWORK NAME HERE\",\"vfw_private_ip_2\":\"10.0.100.1\",\"sec_group\":\"PUT THE ONAP SECURITY GROUP HERE\",\"nf_type\":\"FIREWALL\",\"vfw_name_0\":\"zdfw1fwl01fwl01\",\"nexus_artifact_repo\":\"https://nexus.onap.org\",\"onap_private_net_cidr\":\"10...
2019-04-17T11:31:28.063Z|a2d0b2bf-2480-428a-9a83-4fa14c0c3dec| o.o.so.asdc.installer.heat.ToscaResourceInstaller - Exception :
org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; nested exception is org.hibernate.exception.DataException: could not execute statement
Any idea why we have this error ?
Abdelmuhaimen Seaudi
From: FREEMAN, BRIAN D [mailto:bf1936@att.com]
Sent: Wednesday, April 17, 2019 3:12 PM
To: 'onap-discuss@lists.onap.org'; SEAUDI Abdelmuhaimen O-EG/HRCS
Subject: RE: vfw CDS Casablanca
You also could change the image tag to use 1.3.7 of that container if that is easier.
Brian
From: FREEMAN, BRIAN D
Sent: Wednesday, April 17, 2019 8:41 AM
To: onap-discuss@lists.onap.org; abdelmuhaimen.seaudi@orange.com
Subject: RE: vfw CDS Casablanca
See
https://jira.onap.org/browse/SO-1400
We are updating the release notes to highlight this bug. The fix is to manually apply the schema change listed in the jira.
Brian
Abdelmuhaimen Seaudi
Hi,
The results of the robot script “./demo-k8s.sh onap distributeVFWNG”, for your reference.
root@olc-rancher:~/oom/kubernetes/robot# ./demo-k8s.sh onap distributeVFWNG
Number of parameters:
2
KEY:
distributeVFWNG
++ kubectl --namespace onap get pods
++ grep robot
++ sed 's/ .*//'
+ POD=onap-robot-robot-5b5cbb95fc-drmb8
+ ETEHOME=/var/opt/OpenECOMP_ETE
++ kubectl --namespace onap exec onap-robot-robot-5b5cbb95fc-drmb8 -- bash -c 'ls -1q /share/logs/ | wc -l'
+ export GLOBAL_BUILD_NUMBER=16
+ GLOBAL_BUILD_NUMBER=16
++ printf %04d 16
+ OUTPUT_FOLDER=0016_demo_distributeVFWNG
+ DISPLAY_NUM=106
+ VARIABLEFILES='-V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py'
+ kubectl --namespace onap exec onap-robot-robot-5b5cbb95fc-drmb8 -- /var/opt/OpenECOMP_ETE/runTags.sh -V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py -d /share/logs/0016_demo_distributeVFWNG -i distributeVFWNG --display 106
Starting Xvfb on display :106 with res 1280x1024x24
Executing robot tests at log level TRACE
==============================================================================
Testsuites
==============================================================================
Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu...
==============================================================================
Distribute vFWNG CDS Model :: Distribute vFWNG for CDS resp=[{u'getInputValues': None, u'parentUniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'instanceUniqueId': None, u'schemaProperty': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'schemaType': None, u'propertyId': None, u'componentInstanceId': None, u'defaultValue': None, u'label': None, u'componentInstanceName': None, u'version': None, u'uniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369.nfc_function', u'hidden': False, u'type': u'string', u'annotations': None, u'empty': False, u'schema': {u'derivedFrom': None, u'version': None, u'ownerId': None, u'property': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'type': None, u'properties': None, u'empty': False, u'constraints': None}, u'status': None, u'inputs': None, u'description': None, u'rules': None, u'valueUniqueUid': None, u'inputId': None, u'inputPath': None, u'path': None, u'password': False, u'properties': None, u'definition': False, u'name': u'nfc_function', u'required': False, u'value': u'vsn', u'immutable': False, u'getInputProperty': False, u'ownerId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'constraints': None}, {u'getInputValues': None, u'parentUniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'instanceUniqueId': None, u'schemaProperty': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'schemaType': None, u'propertyId': None, u'componentInstanceId': None, u'defaultValue': None, u'label': None, u'componentInstanceName': None, u'version': None, u'uniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369.nfc_naming', u'hidden': False, u'type': u'org.openecomp.datatypes.Naming', u'annotations': None, u'empty': False, u'schema': {u'derivedFrom': None, u'version': None, u'ownerId': None, u'property': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'type': None, u'properties': None, u'empty': False, u'constraints': None}, u'status': None, u'inputs': None, u'description': u'vfc naming', u'rules': None, u'valueUniqueUid': None, u'inputId': None, u'inputPath': None, u'path': None, u'password': False, u'properties': None, u'definition': False, u'name': u'nfc_naming', u'required': False, u'value': u'{"ecomp_generated_naming":true,"naming_policy":"SDNC_Policy.ONAP_VSN_NAMING_TIMESTAMP"}', u'immutable': False, u'getInputProperty': False, u'ownerId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'constraints': None}]
resp=[{u'getInputValues': None, u'parentUniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'instanceUniqueId': None, u'schemaProperty': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'schemaType': None, u'propertyId': None, u'componentInstanceId': None, u'defaultValue': None, u'label': None, u'componentInstanceName': None, u'version': None, u'uniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369.nfc_function', u'hidden': False, u'type': u'string', u'annotations': None, u'empty': False, u'schema': {u'derivedFrom': None, u'version': None, u'ownerId': None, u'property': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'type': None, u'properties': None, u'empty': False, u'constraints': None}, u'status': None, u'inputs': None, u'description': None, u'rules': None, u'valueUniqueUid': None, u'inputId': None, u'inputPath': None, u'path': None, u'password': False, u'properties': None, u'definition': False, u'name': u'nfc_function', u'required': False, u'value': u'vfw', u'immutable': False, u'getInputProperty': False, u'ownerId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'constraints': None}, {u'getInputValues': None, u'parentUniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'instanceUniqueId': None, u'schemaProperty': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'schemaType': None, u'propertyId': None, u'componentInstanceId': None, u'defaultValue': None, u'label': None, u'componentInstanceName': None, u'version': None, u'uniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369.nfc_naming', u'hidden': False, u'type': u'org.openecomp.datatypes.Naming', u'annotations': None, u'empty': False, u'schema': {u'derivedFrom': None, u'version': None, u'ownerId': None, u'property': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'type': None, u'properties': None, u'empty': False, u'constraints': None}, u'status': None, u'inputs': None, u'description': u'vfc naming', u'rules': None, u'valueUniqueUid': None, u'inputId': None, u'inputPath': None, u'path': None, u'password': False, u'properties': None, u'definition': False, u'name': u'nfc_naming', u'required': False, u'value': u'{"ecomp_generated_naming":true,"naming_policy":"SDNC_Policy.ONAP_VFW_NAMING_TIMESTAMP"}', u'immutable': False, u'getInputProperty': False, u'ownerId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'constraints': None}]
resp=[{u'getInputValues': None, u'parentUniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'instanceUniqueId': None, u'schemaProperty': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'schemaType': None, u'propertyId': None, u'componentInstanceId': None, u'defaultValue': None, u'label': None, u'componentInstanceName': None, u'version': None, u'uniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369.nfc_function', u'hidden': False, u'type': u'string', u'annotations': None, u'empty': False, u'schema': {u'derivedFrom': None, u'version': None, u'ownerId': None, u'property': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'type': None, u'properties': None, u'empty': False, u'constraints': None}, u'status': None, u'inputs': None, u'description': None, u'rules': None, u'valueUniqueUid': None, u'inputId': None, u'inputPath': None, u'path': None, u'password': False, u'properties': None, u'definition': False, u'name': u'nfc_function', u'required': False, u'value': u'vpg', u'immutable': False, u'getInputProperty': False, u'ownerId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'constraints': None}, {u'getInputValues': None, u'parentUniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'instanceUniqueId': None, u'schemaProperty': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'schemaType': None, u'propertyId': None, u'componentInstanceId': None, u'defaultValue': None, u'label': None, u'componentInstanceName': None, u'version': None, u'uniqueId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369.nfc_naming', u'hidden': False, u'type': u'org.openecomp.datatypes.Naming', u'annotations': None, u'empty': False, u'schema': {u'derivedFrom': None, u'version': None, u'ownerId': None, u'property': {u'getInputValues': None, u'parentUniqueId': None, u'instanceUniqueId': None, u'schemaProperty': None, u'schemaType': None, u'propertyId': None, u'defaultValue': None, u'label': None, u'version': None, u'uniqueId': None, u'hidden': False, u'type': None, u'annotations': None, u'empty': False, u'schema': None, u'status': None, u'description': None, u'inputId': None, u'inputPath': None, u'password': False, u'definition': True, u'name': None, u'required': False, u'value': None, u'immutable': False, u'getInputProperty': False, u'ownerId': None}, u'type': None, u'properties': None, u'empty': False, u'constraints': None}, u'status': None, u'inputs': None, u'description': u'vfc naming', u'rules': None, u'valueUniqueUid': None, u'inputId': None, u'inputPath': None, u'path': None, u'password': False, u'properties': None, u'definition': False, u'name': u'nfc_naming', u'required': False, u'value': u'{"ecomp_generated_naming":true,"naming_policy":"SDNC_Policy.ONAP_VPG_NAMING_TIMESTAMP"}', u'immutable': False, u'getInputProperty': False, u'ownerId': u'f3ee4b9b-9155-4c10-9aae-6d7bd6292369', u'constraints': None}]
Downloaded:service-Vfwng201904171329-csar.csar
| PASS |
------------------------------------------------------------------------------
Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Testsuites | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Output: /share/logs/0016_demo_distributeVFWNG/output.xml
Log: /share/logs/0016_demo_distributeVFWNG/log.html
Report: /share/logs/0016_demo_distributeVFWNG/report.html
root@olc-rancher:~/oom/kubernetes/robot#
pranjal sharma
Hi Abdelmuhaimen Seaudi,
We are trying to create a VNF using VF-C.
Hence tried to execute the command <./demo-k8s.sh onap distributeVFWNG>
Getting error while deploying the distributeVFWNG
l': '/sdc/v1/catalog/services/Vfwng2019042211:09:/1.0/artifacts/service-Vfwng201904221109-template.yml'},
{'errorReason': 'Exception caught during installation of 4770ef87-0700-4420-a577. Transaction rollback.', 'omfComponentID': 'SO-COpenSource-Env11', 'status': 'DEPLOY_ERROR', 'timestamp': '1555931578865', 'url': '/sdc/v1/catalog/services/Vfwng2019042211:09:/1.0/resourceInstances/4770ef8707004420a5770/artifacts/vpg.yaml'},
{'errorReason': 'Exception caught during installation of 4770ef87-0700-4420-a577. Transaction rollback.', 'omfComponentID': 'SO-COpenSource-Env11', 'status': 'DEPLOY_ERROR', 'timestamp': '1555931575803', 'url': '/sdc/v1/catalog/services/Vfwng2019042211:09:/1.0/resourceInstances/4770ef8707004420a5770/artifacts/4770ef8707004420a5770_modules.json'},
Please let us know is it required to update the package according to the environment. If yes,then how can i do that.
Please let us know the brief steps of execution/doc/demo_video to better understand the execution of VNF thorough VF-C.
Regards,
Pranjal
Abdelmuhaimen Seaudi
I see there are 2 service instance names in the SO Assign POST REST Call, what is the difference between the 2 ?
POST http:
//{{ip}}:{{so_port}}/onap/so/infra/serviceInstantiation/v7/serviceInstances/assign
{
"requestDetails": {
"subscriberInfo": {
"globalSubscriberId": "Demonstration"
},
"requestInfo": {
"suppressRollback": true,
"productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
"requestorId": "adt",
"instanceName": "vFWNG_CDS", <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 1st instance name
"source": "VID"
},
"cloudConfiguration": {
"lcpCloudRegionId": "fr1",
"tenantId": "6270eaa820934710960682c506115453"
},
"requestParameters": {
"subscriptionServiceType": "vFW",
"userParams": [
{
"Homing_Solution": "none"
},
{
"service": {
"instanceParams": [
],
"instanceName": "Service_E2E_vFW", <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 2nd instance name
"resources"
: {
"vnfs"
: [
{
"modelInfo"
: {
Yuriy Malakov
Abdelmuhaimen Seaudi ,
Let me know if this clarifies the difference.
Abdelmuhaimen Seaudi
Hi Yuriy,
What is the difference between the Instance Name under the requestInfo block (the sdc model name) and the model name below :
"modelInfo"
: {
"modelVersion"
:
"1.0"
,
"modelVersionId"
:
"f688ee9f-0fa0-4e22-bc93-ce1abd43f52e"
,
"modelInvariantId"
:
"ec75d7c7-8fdf-4f35-a4bf-3df4cc66dc00"
,
"modelName"
:
"vFWNG 2018-11-16 13:04:"
,
"modelType"
:
"service"
Viji J
Hi Yuriy MalakovAbdelmuhaimen Seaudi team,
Currently, got stuck at vnf-topology-operation assignment in SDNC. Please see the logs.
SO Active Infra Requests
-----------------------------
http://{{k8s}}:30277/infraActiveRequests/{{cds-requestid}}
"clientRequestId": null,
"action": "createInstance",
"requestStatus": "FAILED",
"statusMessage": "Exception in org.onap.so.bpmn.infrastructure.sdnc.tasks.SDNCUnassignTasks.unassignServiceInstance Error from SDNC:Cannot delete the service because there are VNFs defined",
"progress": 100,
"startTime": "2019-04-26T14:52:46.000+0000",
"endTime": null,
"source": "VID",
"vnfId": "6ea9474a-066e-418a-80df-4ab0679df5c3",
"vnfName": null,
bpmn logs
------------
2019-04-26T14:53:19.902Z|203a7e3f-2cca-4b7d-9a7a-403aa9f50c5a|camundaTaskExecutor-2|AssignVnfBB||BPMN|AssignVnfBB|ERROR|300|Error from SDNC: Failed to create self-serve assignment for vnf with vnf-id=6ea9474a-066e-418a-80df-4ab0679df5c3 with error: Encountered error from capability: self-serve-generate-name, with error: Error from NameGenerationNode Assign|RA_RESPONSE_FROM_SDNC
2019-04-26T14:53:19.904Z|203a7e3f-2cca-4b7d-9a7a-403aa9f50c5a|camundaTaskExecutor-2|AssignVnfBB||||ERROR|300|Error from SDNC: Failed to create self-serve assignment for vnf with vnf-id=6ea9474a-066e-418a-80df-4ab0679df5c3 with error: Encountered error from capability: self-serve-generate-name, with error: Error from NameGenerationNode Assign|Error from SDNC: Failed to create self-serve assignment for vnf with vnf-id=6ea9474a-066e-418a-80df-4ab0679df5c3 with error: Encountered error from capability: self-serve-generate-name, with error: Error from NameGenerationNode Assign
org.onap.so.client.exception.BadResponseException: Error from SDNC: Failed to create self-serve assignment for vnf with vnf-id=6ea9474a-066e-418a-80df-4ab0679df5c3 with error: Encountered error from capability: self-serve-generate-name, with error: Error from NameGenerationNode Assign
2019-04-26T14:53:19.905Z|203a7e3f-2cca-4b7d-9a7a-403aa9f50c5a|camundaTaskExecutor-2|AssignVnfBB||BPMN|AssignVnfBB|ERROR|900|Exception in org.onap.so.bpmn.infrastructure.sdnc.tasks.SDNCAssignTasks.assignVnf |BPMN_GENERAL_EXCEPTION_ARG
2019-04-26T14:53:27.066Z|203a7e3f-2cca-4b7d-9a7a-403aa9f50c5a|camundaTaskExecutor-2|UnassignServiceInstanceBB||BPMN|UnassignServiceInstanceBB|ERROR|300|Error from SDNC: Cannot delete the service because there are VNFs defined|RA_RESPONSE_FROM_SDNC
2019-04-26T14:53:27.067Z|203a7e3f-2cca-4b7d-9a7a-403aa9f50c5a|camundaTaskExecutor-2|UnassignServiceInstanceBB||||ERROR|300|Error from SDNC: Cannot delete the service because there are VNFs defined|Error from SDNC: Cannot delete the service because there are VNFs defined
org.onap.so.client.exception.BadResponseException: Error from SDNC: Cannot delete the service because there are VNFs defined
at org.onap.so.client.sdnc.SdnCommonTasks.validateSDNResponse(SdnCommonTasks.java:118)
at org.onap.so.client.sdnc.SDNCClient.post(SDNCClient.java:68)
SDNC LOGS - Failing in vnf-topology-operation assign
--------------
0.3.3 | SvcLogicGraph [module=GENERIC-RESOURCE-API, rpc=vnf-topology-operation-assign, mode=sync, version=1.4.4, md5sum=33d481bcfdc11492aadce50c9aae6922] - 9 (get-resource) | Outcome (success) not found, keys are { (not-found) (failure)}
2019-04-29T12:27:28,767 | INFO | qtp190573995-112 | SvcLogicExprListener | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | SvcLogicGraph [module=GENERIC-RESOURCE-API, rpc=vnf-topology-operation-assign, mode=sync, version=1.4.4, md5sum=33d481bcfdc11492aadce50c9aae6922] - 9 (get-resource) | Outcome (Other) not found, keys are { (not-found) (failure)}
2019-04-29T12:27:28,768 | INFO | qtp190573995-112 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | SvcLogicGraph [module=GENERIC-RESOURCE-API, rpc=vnf-topology-operation-assign, mode=sync, version=1.4.4, md5sum=33d481bcfdc11492aadce50c9aae6922] - 9 (get-resource) | About to execute node # 12 (call)
2019-04-29T12:27:29,025 | INFO | qtp190573995-112 | ConfigAssignmentProcessService | 396 - wrap_file__opt_opendaylight_system_com_att_eelf_eelf-core_1.0.0_eelf-core-1.0.0.jar - 0.0.0 | SvcLogicGraph [module=GENERIC-RESOURCE-API, rpc=self-serve-vnf-ra-assignment, mode=sync, version=1.4.4, md5sum=6b46660055c62cc28b2b64e950131e62] - 22 (execute) | List of Resources provided in input: {service-data.vnfs.vnf[0].vnf-data.vnf-topology.vnf-parameters-data.param[5].name=pub_key, service-data.vnfs.vnf[0].vnf-data.sdnc-request-header.svc-request-id=17258dff-efb6-4d36-a78b-b782cf625400, vnf-type=VFW, tmp.sdnc-model-name=vFW_spinup, db.vf-model.customization-uuid=8302334f-bb35-4dcc-8ddf-d34334aa2cb2, prop.restapi.connection-oof-url=http://oof-osdf:8698/api/oof/v1/route, vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid=9252e27e-f502-4d9d-956b-c1c9164f8bba, service-data.vnfs.vn
2019-04-29T12:27:30,338 | ERROR | qtp190573995-112 | GenericResourceApiProvider | 237 - org.onap.sdnc.northbound.generic-resource-api-provider - 1.4.3 | - | Returned FAILED for vnf-topology-operation [f074b153-72cb-4cb5-a2c1-ccc034a1f1b4] VnfTopologyOperationOutput [_ackFinalIndicator=Y, _responseCode=500, _responseMessage=Failed to create self-serve assignment for vnf with vnf-id=3ba192d0-a002-4412-bcf5-99cd493b070b with error: Encountered error from capability: self-serve-generate-name, with error: Error from NameGenerationNode Assign, _svcRequestId=17258dff-efb6-4d36-a78b-b782cf625400, augmentation=[]]
Can you please help us. Awaiting for your reply.
Viji J
Hi,
After VFWNG got distributed, we see that in service: properties assignment, nf_naming - naming_policy not got updated , whereas VF: properties assignment, nf_naming got updated
We cant able to edit manually too. Please help on this.
Abdelmuhaimen Seaudi
Hi Viji,
The naming policies have a default value in the vtl templates used while resolving the component resource assingments, so even if you don't see them in sdc, the resource assignment processor will update them, as per the example below from the vsn template.
{"name":"vf-naming-policy",
"property":{
"description":"",
"required":true,
"type":"string","status":"",
"constraints":[{}],
"entry_schema":{"type":""},
"default":"SDNC_Policy.Config_MS_ONAP_VSN_NAMING_TIMESTAMP"},
"input-param":false,"dictionary-name":"vf-naming-policy",
"dictionary-source":"default",
"dependencies":[],
"version":0}
Yuriy Malakov
By default, push policies set to false. Can you check if in your policy env if its set to false or true. If its false, can you redploy policy with push policies with true.
pranjal sharma
Hello Yuriy Malakov,
Did you mean preloadPolicies flag in oom/kubernetes/policy/values.yaml file. We made it 'true' before deploying the policy module.
Didn't find push policies flag, let me know the file path if you meant the same.
Regards
Yuriy Malakov
This is correct.
Can you please verify the that 3 policy instance exists as well.
Link to US:
POLICY-983 - Getting issue details... STATUS
Here is the link gerrit patch that enable to preload the 3 naming policies for vfw, vsnk, vpg:
https://gerrit.onap.org/r/gitweb?p=oom.git;hb=refs%2Fchanges%2F38%2F72238%2F2;f=kubernetes%2Fpolicy%2Fresources%2Fconfig%2Fpe%2Fpush-policies.sh
Viji J
Hi Yuriy Malakov ,
Thanks for the info, it definitely help us in making or understanding more broader.
We have verified 3 policy instances ( vfw, vsn, vpg ) in ~/oom/kubernetes/policy/resources/config/pe/push-policies.sh and we see both create and push SDNC Naming Policies are present in it.
Also, we were able to see above policyname in nf_naming property of VF xxxx:xxxx:xxxx:xx for vpg, vsn and nfw abstract artifacts.
But, for Service VFWNG xx:xx:xx property assignment, nf_naming property remains empty.
Shall we try to push the policies manually and see it get pushed in Service VFWNG xx:xx:xx property assignment ?
Checked the SDNC portal for nf_naming entry but it doesn't have entry.
Thanks,
Viji J
Yuriy Malakov
Viji Jplease go ahead property assignment manually.
Once you retry the macro assign request please capture the logs for the naming ms.
https://github.com/onap/ccsdk-apps/tree/master/ms/neng
Viji J
Hi Yuriy Malakov,
Can you provide the manual steps to Service VFWNG xx:xx:xx property assignment of nf_naming property.
As of now, through SDC portal, I cant able to edit the property.
mysql> select * from VF_MODEL where nf_function="ONAP-FIREWALL";
Thanks,
Viji J
Abdelmuhaimen Seaudi
Hi Viji,
Could you open POLICY from PORTAL and see if the naming policies are listed there ?
If yes, and if the robot distribute script PASSed OK, then try to create a new service instance (choose a new service instance name) based on the service model name generated by robot.
In my case, if I monitor SDNC Logs, I can see the REST call going to the naming service. Also, if you login to the POLICY pods, you can monitor the debug.log file and catch the generate name request as it comes to POLICY.
2019-04-24 18:44:07,052 | INFO | qtp1244890018-97 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 54 (execute)
2019-04-24 18:44:07,065 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Parameter templateFileName: [/opt/onap/sdnc/restapi/templates/naming-ms-post-gen-name.json]
2019-04-24 18:44:07,066 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Parameter restapiUrl: [http://neng-serv:8080/web/service/v1/genNetworkElementName]
2019-04-24 18:44:07,068 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Parameter restapiUser: [ccsdkapps]
2019-04-24 18:44:07,069 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Parameter restapiPassword: [ccsdkapps]
2019-04-24 18:44:07,070 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Parameter format: [json]
2019-04-24 18:44:07,073 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Parameter httpMethod: [POST]
2019-04-24 18:44:07,075 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Parameter responsePrefix: [nameGenResponse]
2019-04-24 18:44:07,119 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Building JSON started
2019-04-24 18:44:07,120 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | tmp.gen-name_length:1
2019-04-24 18:44:07,121 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | tmp.gen-name[0].element_length:7
2019-04-24 18:44:07,125 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Building JSON completed. Time: 5
2019-04-24 18:44:19,396 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Sending request:
2019-04-24 18:44:19,398 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | {
"elements": [{"resource-name": "vnf_name",
"resource-value": "${vnf_name}",
"external-key": "307b4f3f-c999-4e01-a2bb-169860b51698_vnf_name",
"policy-instance-name": "SDNC_Policy.Config_MS_ONAP_VFW_NAMING_TIMESTAMP",
"nf-role": "vFW",
"naming-type": "VNF",
"AIC_CLOUD_REGION": "fr1"}]}
2019-04-24 18:44:20,343 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Response received. Time: 934
2019-04-24 18:44:20,344 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | HTTP response code: 200
2019-04-24 18:44:20,346 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | HTTP response message: null
2019-04-24 18:44:20,366 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | HTTP response headers:
2019-04-24 18:44:20,367 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | --- Content-Length:[153]
2019-04-24 18:44:20,368 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | --- Content-Type:[application/json;charset=UTF-8]
2019-04-24 18:44:20,369 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | --- Date:[Wed, 24 Apr 2019 18:44:20 GMT]
2019-04-24 18:44:20,370 | INFO | qtp1244890018-97 | RestapiCallNode | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | HTTP response: {"elements":[{"resource-value":"fr1_vFW_20190424T184420079Z","resource-name":"vnf_name","external-key":"307b4f3f-c999-4e01-a2bb-169860b51698_vnf_name"}]}
2019-04-24 18:44:20,379 | INFO | qtp1244890018-97 | JsonParser | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Added property: elements_length: 1
2019-04-24 18:44:20,381 | INFO | qtp1244890018-97 | JsonParser | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Added property: elements[0].resource-value : fr1_vFW_20190424T184420079Z
2019-04-24 18:44:20,382 | INFO | qtp1244890018-97 | JsonParser | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Added property: elements[0].external-key : 307b4f3f-c999-4e01-a2bb-169860b51698_vnf_name
2019-04-24 18:44:20,383 | INFO | qtp1244890018-97 | JsonParser | 235 - org.onap.ccsdk.sli.plugins.restapi-call-node-provider - 0.3.3 | Added property: elements[0].resource-name : vnf_name
2019-04-24 18:44:20,384 | INFO | qtp1244890018-97 | SvcLogicExprListener | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (not-found) (failure)} <<< PS this means the node succeeded OK