aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/main/resources/import')
-rw-r--r--catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json9
-rw-r--r--catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml48
2 files changed, 32 insertions, 25 deletions
diff --git a/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json b/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json
index b86f00c52f..6885e5076c 100644
--- a/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json
+++ b/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json
@@ -94,6 +94,13 @@
"tosca.policies.nfv.SupportedVnfInterface": {
"displayName": "NFV Supported VnfInterface",
"icon": "policy-nfv-supported-vnfinterface"
+ },
+ "tosca.policies.nfv.AffinityRule": {
+ "displayName": "NFV AffinityRule",
+ "icon": "policy-nfv-affinityrule"
+ },
+ "tosca.policies.nfv.AntiAffinityRule": {
+ "displayName": "NFV AntiAffinityRule",
+ "icon": "policy-nfv-anti-affinityrule"
}
-
}
diff --git a/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml b/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml
index 09020ac63a..4cc9031eed 100644
--- a/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml
@@ -229,30 +229,6 @@ tosca.policies.nfv.VirtualLinkBitrateInitialDelta:
required: true
targets: [ tosca.nodes.nfv.VnfVirtualLink ]
-# tosca.policies.nfv.AffinityRule:
-# derived_from: tosca.policies.Placement
-# description: The AffinityRule describes the affinity rules applicable for the defined targets
-# properties:
-# scope:
-# type: string
-# description: scope of the rule is an NFVI_node, an NFVI_PoP, etc.
-# required: true
-# constraints:
-# - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop ]
-# targets: [ tosca.nodes.nfv.Vdu.Compute, tosca.nodes.nfv.VnfVirtualLink, tosca.groups.nfv.PlacementGroup ]
-#
-# tosca.policies.nfv.AntiAffinityRule:
-# derived_from: tosca.policies.Placement
-# description: The AntiAffinityRule describes the anti-affinity rules applicable for the defined targets
-# properties:
-# scope:
-# type: string
-# description: scope of the rule is an NFVI_node, an NFVI_PoP, etc.
-# required: true
-# constraints:
-# - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop ]
-# targets: [ tosca.nodes.nfv.Vdu.Compute, tosca.nodes.nfv.VnfVirtualLink, tosca.groups.nfv.PlacementGroup ]
-
tosca.policies.nfv.SecurityGroupRule:
derived_from: tosca.policies.Root
description: The SecurityGroupRule type is a policy type specified the matching criteria for the ingress and/or egress traffic to/from visited connection points as defined in ETSI GS NFV-IFA 011 [1].
@@ -315,3 +291,27 @@ tosca.policies.nfv.SupportedVnfInterface:
description: Provide additional data to access the interface endpoint
required: false
targets: [ tosca.nodes.nfv.VnfExtCp, tosca.nodes.nfv.VduCp ]
+
+tosca.policies.nfv.AffinityRule:
+ derived_from: tosca.policies.Placement
+ description: The AffinityRule describes the affinity rules applicable for the defined targets
+ properties:
+ scope:
+ type: string
+ description: scope of the rule is an NFVI_node, an NFVI_PoP, etc.
+ required: true
+ constraints:
+ - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop ]
+ targets: [ tosca.nodes.nfv.Vdu.Compute, tosca.nodes.nfv.VnfVirtualLink, tosca.groups.nfv.PlacementGroup ]
+
+tosca.policies.nfv.AntiAffinityRule:
+ derived_from: tosca.policies.Placement
+ description: The AntiAffinityRule describes the anti-affinity rules applicable for the defined targets
+ properties:
+ scope:
+ type: string
+ description: scope of the rule is an NFVI_node, an NFVI_PoP, etc.
+ required: true
+ constraints:
+ - valid_values: [ nfvi_node, zone, zone_group, nfvi_pop ]
+ targets: [ tosca.nodes.nfv.Vdu.Compute, tosca.nodes.nfv.VnfVirtualLink, tosca.groups.nfv.PlacementGroup ]