aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be')
-rw-r--r--catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json8
-rw-r--r--catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml46
2 files changed, 23 insertions, 31 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 1809bba71c..c6315fc180 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
@@ -87,14 +87,6 @@
"displayName": "NFV VirtualLinkBitrate InitialDelta",
"icon": "policy-nfv-vlbitrate-initialdelta"
},
- "tosca.policies.nfv.AffinityRule": {
- "displayName": "NFV AffinityRule",
- "icon": "policy-nfv-affinityrule"
- },
- "tosca.policies.nfv.AntiAffinityRule": {
- "displayName": "NFV AntiAffinityRule",
- "icon": "policy-nfv-anti-affinityrule"
- },
"tosca.policies.nfv.SecurityGroupRule": {
"displayName": "NFV SecurityGroupRule",
"icon": "policy-nfv-securitygrouprule"
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 53fa5937ba..993c2a120d 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,29 +229,29 @@ 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.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