diff options
author | BT2983 <BT2983@att.com> | 2018-07-23 15:17:35 -0600 |
---|---|---|
committer | BT2983 <BT2983@att.com> | 2018-07-23 15:17:35 -0600 |
commit | 3437d0aa56f7c0630cbd1b9074579f7e0f8a44ae (patch) | |
tree | 09f0f0223f240185bd5704c64877756501f94cbf /ms/neng/src/test/resources/vnf_and_vm_policy.json | |
parent | 5a398289dee4b666528aa77f4e38f9c68d35b254 (diff) |
Adding naming micro-service code - tests.
Unit tests.
Change-Id: I14176a8b47764d5e308258fd9b24bf3e301d04d5
Issue-ID: CCSDK-342
Signed-off-by: BT2983 <BT2983@att.com>
Diffstat (limited to 'ms/neng/src/test/resources/vnf_and_vm_policy.json')
-rw-r--r-- | ms/neng/src/test/resources/vnf_and_vm_policy.json | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/ms/neng/src/test/resources/vnf_and_vm_policy.json b/ms/neng/src/test/resources/vnf_and_vm_policy.json new file mode 100644 index 00000000..720a2c3f --- /dev/null +++ b/ms/neng/src/test/resources/vnf_and_vm_policy.json @@ -0,0 +1,63 @@ +{ + "input":{ + "naming-model":{ + "policy-instance-name":"SDNC_Policy.Config_MS_VNF_VM_NamingPolicy", + "naming-models":[ + { + "nf-role":"vPE", + "naming-type":"VNF", + "naming-recipe":"COMPLEX|SEQUENCE|NF-NAMING-CODE", + "name-operation":"", + "naming-properties":[ + { + "property-name":"COMPLEX", + "property-operation":"substr(0,5)" + }, + { + "property-name":"SEQUENCE", + "increment-sequence":{ + "scope":"ENTIRETY", + "start-value":"001", + "max":"zzz", + "increment":"1", + "sequence-type":"alpha-numeric", + "length":"3" + } + }, + { + "property-name":"NF-NAMING-CODE", + "property-value":"ve1" + } + ] + }, + { + "nf-role":"vPE", + "naming-type":"VM", + "naming-recipe":"VNF_NAME|NFC_NAMING_CODE|SEQUENCE", + "name-operation":"", + "naming-properties":[ + { + "property-name":"VNF_NAME" + }, + { + "property-name":"SEQUENCE", + "increment-sequence":{ + "scope":"ENTIRETY", + "start-value":"001", + "max":"999", + "increment":"1", + "sequence-type":"numeric", + "length":"3" + } + }, + { + "property-name":"NFC_NAMING_CODE", + "property-value":"mts", + "property-operation":"substr(0,3)" + } + ] + } + ] + } + } +} |