aboutsummaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/nst-selection-files/vnf_policy_nst.json
diff options
context:
space:
mode:
authorMD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>2021-02-18 18:31:25 +0530
committerkrishna moorthy <krishna.moorthy6@wipro.com>2021-02-21 07:19:31 +0000
commitd9a9520bd7efe2f022c0ad3de37b0c4ada4789df (patch)
treefdab8ca4bab6a2457809c212ae920a41fb0d795a /test/policy-local-files/nst-selection-files/vnf_policy_nst.json
parentbe91a8ed6b2363ff927680a8054d545842a7d8e9 (diff)
Add support to process NST Selection for HAS
Issue-ID: OPTFRA-911 Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> Change-Id: I809857348b00fe415d416954b1cfbedd404bdffc
Diffstat (limited to 'test/policy-local-files/nst-selection-files/vnf_policy_nst.json')
-rw-r--r--test/policy-local-files/nst-selection-files/vnf_policy_nst.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/policy-local-files/nst-selection-files/vnf_policy_nst.json b/test/policy-local-files/nst-selection-files/vnf_policy_nst.json
new file mode 100644
index 0000000..14906df
--- /dev/null
+++ b/test/policy-local-files/nst-selection-files/vnf_policy_nst.json
@@ -0,0 +1,34 @@
+{
+ "vnfPolicy_nst": {
+ "type": "onap.policies.optimization.resource.VnfPolicy",
+ "version": "1.0.0",
+ "type_version": "1.0.0",
+ "metadata": {
+ "policy-id": "vnfPolicy_nst",
+ "policy-version": 1
+ },
+ "properties": {
+ "scope": [
+ "OSDF_GUILIN"
+ ],
+ "resources": [
+ "nst"
+ ],
+ "services": [
+ "nst"
+ ],
+ "identity": "vnf_nst",
+ "applicableResources": "any",
+ "vnfProperties": [
+ {
+ "inventoryProvider": "aai",
+ "inventoryType": "nst",
+ "unique": "true",
+ "attributes": {
+ "model-role": "nst"
+ }
+ }
+ ]
+ }
+ }
+} \ No newline at end of file