diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2020-04-28 07:10:13 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2020-04-28 14:31:38 -0500 |
commit | c86d6a6645af95d76a8b2b59f24433c616bf49fe (patch) | |
tree | ef4282528d6efca83e580f8c689a4d8337b1f324 /models-examples | |
parent | 5fa88515bf3039903225721dbd88540d92e6a525 (diff) |
modifications in example sdnc naming policy
Issue-ID: POLICY-2525
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I7c6880b63b3ff8f986fb0de27656eda8f6e596a2
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'models-examples')
-rw-r--r-- | models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml b/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml index bb1f6d3ef..bb9022512 100644 --- a/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml +++ b/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml @@ -1,24 +1,26 @@ tosca_definitions_version: tosca_simple_yaml_1_1_0 topology_template: policies: - - SDNC_Policy.ONAP_VNF_NAMING_TIMESTAMP: + - SDNC_Policy.ONAP_NF_NAMING_TIMESTAMP: type: onap.policies.Naming version: 1.0.0 type_version: 1.0.0 properties: - policy-instance-name: ONAP_VNF_NAMING_TIMESTAMP + policy-instance-name: ONAP_NF_NAMING_TIMESTAMP naming-models: - naming-type: VNF naming-recipe: AIC_CLOUD_REGION|DELIMITER|CONSTANT|DELIMITER|TIMESTAMP + name-operation: 'to_lower_case()' naming-properties: - property-name: AIC_CLOUD_REGION - property-name: CONSTANT - property-value: ONAP-NF + property-value: onap-nf - property-name: TIMESTAMP - - property-value: _ + - property-value: '-' property-name: DELIMITER - naming-type: VNFC naming-recipe: VNF_NAME|DELIMITER|NFC_NAMING_CODE|DELIMITER|SEQUENCE + name-operation: 'to_lower_case()' naming-properties: - property-name: VNF_NAME - property-name: SEQUENCE @@ -30,13 +32,14 @@ topology_template: increment: '1' sequence-type: alpha-numeric - property-name: NFC_NAMING_CODE - - property-value: _ + - property-value: '-' property-name: DELIMITER - naming-type: VF-MODULE naming-recipe: VNF_NAME|DELIMITER|VF_MODULE_LABEL|DELIMITER|VF_MODULE_TYPE|DELIMITER|SEQUENCE + name-operation: 'to_lower_case()' naming-properties: - property-name: VNF_NAME - - property-value: _ + - property-value: '-' property-name: DELIMITER - property-name: VF_MODULE_LABEL - property-name: VF_MODULE_TYPE |