...
Define a new data type based on the tosca.nodes.nfv.VNF with optional attributes that are specific to ONAP.
...
SOL001 VNF | SDC AID DM |
---|---|
N/A |
...
org.openecomp.resource |
...
.abstracts.nodes.service | |
org.tosca.nodes.nfv.NS | tosca.nodes. |
...
nfv.NS |
tosca.nodes.nfv. |
...
NsVirtualLink | tosca.nodes.nfv.NsVirtualLink |
tosca.nodes.nfv.Vnf |
org.openecomp.resource.abstract.nodes.ETSI.VNF |
tosca.nodes.nfv.vdu |
org.openecomp.resource.abstract.nodes. |
VFC | |
tosca.nodes.nfv.VirtualLink | org.openecomp.resources.vl |
tosca.nodes.nfv. |
VduCp | org.openecomp.resources.cp |
org.openecomp.resource.allottedResource | |
tosca.nodes.nfv.Pnf | org.openecomp.resource.abstract.nodes.PNF |
Proposal A
Make the org.openecomp.resource.abstract.nodes.VF a superset of both tosca.nodes.nfv.VNF and org.openecomp.resource.abstract.node.VF
SOL001 VNF (tosca.nodes.nfv.VNF) | Mapping | New SDC AID DM VNF (org.openecomp.resource.abstract.nodes.ETSI.VNF) derived from org.openecomp.resource.abstract.nodes.VF | ||||
---|---|---|---|---|---|---|
name | required | type | name | required | type | |
<SOL001 tosca.nodes.nfv.VNF attributes > | <SOL001 tosca.nodes.nfv.VNF attributes > | |||||
descriptor_id | yes | string | <--> | descriptor_id | yes | string |
descriptor_version | yes | string | <--> | descriptor_version | yes | string |
provider | yes | string | <--> | provider | yes | string |
product_name | yes | string | <--> | product_name | yes | string |
software_version | yes | string | <--> | software_version | yes | string |
product_info_name | no | string | <--> | product_info_name | no | string |
vnfm_info | yes | list of string | <--> | vnfm_info | yes | list of string |
localization_languages | no | list of string | <--> | localization_languages | no | list of string |
default_localization_language | no | string | <--> | default_localization_language | no | string |
configurable_properties | no | tosca.datatypes.nfv.VnfconfigurableProperties | <--> | configurable_properties | no | tosca.datatypes.nfv.VnfconfigurableProperties |
modifiable_attributes | no | tosca.datatypes.nfv.VnfInfoModifiableAttributes | <--> | modifiable_attributes | no | tosca.datatypes.nfv.VnfInfoModifiableAttributes |
lcm_operations_configuraion | no | tosca.datatypes.nfv.VnfLcmOperationsConfiguration | <--> | lcm_operations_configuraion | no | tosca.datatypes.nfv.VnfLcmOperationsConfiguration |
monitoring_parameters | no | list of tosca.dataypes.nfv.VnfMonitoringParameter | <--> | monitoring_parameters | no | list of tosca.dataypes.nfv.VnfMonitoringParameter |
flavour_id | yes | string | <--> | flavour_id | yes | string |
flavour_description | yes | string | <--> | flavour_description | yes | string |
vnf_profile | no | tosca.datatyhpes.nfv.VnfProfile | <--> | vnf_profile | no | tosca.datatyhpes.nfv.VnfProfile |
<SDC AID DM VF attributes that are inherited from org.openecomp.resource.abstract.nodes.VF> | ||||||
nf_function | no | string | ||||
nf_role | no | string | ||||
nf_type | no | string | ||||
nf_naming_code | no | string | ||||
nf_naming | no | org.openecomp.datatypes.Naming | ||||
availability_zone_max_count | no | integer | ||||
min_instances | no | integer | ||||
max_instances | no | integer | ||||
multi_stage_design | no | boolean | ||||
sdnc_model_name | no | string | ||||
sdnc_artifact_name | no | string | ||||
skip_post_instantiation_configuration | no | boolean (default true)
| ||||
controller_actor | no | string (default: SO-REF-DATA)
| ||||
Proposal B
Can we use the additionalAttribute map to represent ONAP specific attributes? If so, we can use the base data type extensively.
New SDC AID DM VNF (org.openecomp.resource.abstract.nodes.ETSI.VNF) | ||
---|---|---|
name | required | type |
descriptor_id | yes | string |
descriptor_version | yes | string |
provider | yes | string |
product_name | yes | string |
software_version | yes | string |
product_info_name | no | string |
vnfm_info | yes | list of string |
localization_languages | no | list of string |
default_localization_language | no | string |
configurable_properties | no | tosca.datatypes.nfv.VnfconfigurableProperties |
modifiable_attributes | no | tosca.datatypes.nfv.VnfInfoModifiableAttributes |
lcm_operations_configuraion | no | tosca.datatypes.nfv.VnfLcmOperationsConfiguration |
monitoring_parameters | no | list of tosca.dataypes.nfv.VnfMonitoringParameter |
flavour_id | yes | string |
flavour_description | yes | string |
vnf_profile | no | tosca.datatyhpes.nfv.VnfProfile |
additionalAttribute | no (0..N) | map (string, object pair) |
SOL001 VDU vs. SDC AID DM VFC
SOL001 VDU | SDC AID DM VFC (org.openecomp.resource.abstract.nodes.VFC) | ||||
---|---|---|---|---|---|
Name | Required | Type | Name | Required | Type |
name | yes | string | nfc_function | string | |
description | yes | string | high_availability | no | string |
boot_order | no | boolean | vm_image_name | string | |
nfvi_constraints | no | map of string | vm_flavor_name | yes | string |
monitoring_parameters | no | list of tosca.datatypes.nfv.VnfcMonitoringParameter | nfc_naming_code | no |
string | ||
configurable_properties | no | map of tosca.datatypes.nfv. |
VnfcConfigurableProperties | vm_type_tag | no | string |
boot_data | no | tosca.datatypes.nfv. |
BootData |
nfc_ |
naming | org.openecomp.datatypes.Naming
| ||||
vdu_profile | yes | tosca.datatypes.nfv.VduProfile | min_instances | no | integer |
sw_image_data |
no | tosca. |
datatypes.nfv. |
SwImageData |
New SDC AID DM
...
VFC type (org.openecomp.resource.abstract.nodes.
...
boolean (default true)
- constraints: true, false
...
string (default: SO-REF-DATA)
- constraints: SO-REF-DATA, CDS, SDNC, APPC
ETSI.VFC)
SOL001 VDU | Mapping | org.openecomp.resource.abstract.nodes.ETSI.VFC (derived from org.openecomp.resource.abstract.nodes.VFC) | ||||
---|---|---|---|---|---|---|
Name | Required | Type | <--> | Name | Required | Type |
name | yes | string | <--> | name | yes | string |
description | yes | string | <--> | description | yes | string |
boot_order | no | boolean | <--> | boot_order | no | boolean |
nfvi_constraints | no | map of string | <--> | nfvi_constraints | no | map of string |
monitoring_parameters | no | list of tosca.datatypes.nfv.VnfcMonitoringParameter | <--> | monitoring_parameters | no | list of tosca.datatypes.nfv.VnfcMonitoringParameter |
configurable_properties | no | map of tosca.datatypes.nfv.VnfcConfigurableProperties | <--> | configurable_properties | no | map of tosca.datatypes.nfv.VnfcConfigurableProperties |
boot_data | no | tosca.datatypes.nfv.BootData | <--> | boot_data | no | tosca.datatypes.nfv.BootData |
vdu_profile | yes | tosca.datatypes.nfv.VduProfile | <--> | vdu_profile | yes | tosca.datatypes.nfv.VduProfile |
sw_image_data | no | tosca.datatypes.nfv.SwImageData | <--> | sw_image_data | no | tosca.datatypes.nfv.SwImageData |
<SDC AID DM VFC attributes that are inherited from the org.openecomp.resource.abstract.nodes.VFC> | ||||||
nfc_function | no | string | ||||
high_availability | no | string | ||||
vm_image_name | no | string | ||||
vm_flavor_name | yes | string | ||||
nfc_naming_code | no | string | ||||
vm_type_tag | no | string | ||||
nfc_naming | no | org.openecomp.datatypes.Naming
| ||||
min_instances | no | integer |
Proposal B
Can we use the additionalAttribute map to represent ONAP specific attributes? If so, we can use the base data type extensively.
SOL001 2.7.1 VNF Template
...