summaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/hpa_policy_vFW_1.json
diff options
context:
space:
mode:
authorChayal, Avteet (ac229e) <ac229e@att.com>2020-03-20 00:32:42 -0400
committerChayal, Avteet (ac229e) <ac229e@att.com>2020-03-20 00:39:48 -0400
commitfa538d59b8982a48fd58f024a30a59616d43cf81 (patch)
treebf9df81f09702ab531d46bced9cb8c9811adcd07 /test/policy-local-files/hpa_policy_vFW_1.json
parentfdeaf8b56c8d342ef8145aae15c87525fe105f2a (diff)
Improvements to the OSDF changes for new PEF APIs
Improvements to the OSDF changes for new PEF APIs Issue-ID: OPTFRA-723 Change-Id: Ie425bb302361489f4b5a47fbc7225fdc8060e9c3 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
Diffstat (limited to 'test/policy-local-files/hpa_policy_vFW_1.json')
-rw-r--r--test/policy-local-files/hpa_policy_vFW_1.json214
1 files changed, 0 insertions, 214 deletions
diff --git a/test/policy-local-files/hpa_policy_vFW_1.json b/test/policy-local-files/hpa_policy_vFW_1.json
deleted file mode 100644
index a60ad47..0000000
--- a/test/policy-local-files/hpa_policy_vFW_1.json
+++ /dev/null
@@ -1,214 +0,0 @@
-{
- "service": "hpaPolicy",
- "policyName": "OSDF_DUBLIN.hpa_policy_vFW_1",
- "description": "HPA policy for vFW",
- "templateVersion": "OpenSource.version.1",
- "version": "test1",
- "priority": "3",
- "riskType": "test",
- "riskLevel": "2",
- "guard": "False",
- "content": {
- "resources": ["vFW"],
- "identity": "hpa-vFW",
- "policyScope": ["vfw", "us", "international", "ip"],
- "policyType": "hpa",
- "flavorFeatures": [
- {
- "flavorProperties": [
- {
- "architecture": "generic",
- "directives": [],
- "hpa-version": "v1",
- "hpa-feature-attributes": [
- {
- "unit": "",
- "operator": ">=",
- "hpa-attribute-value": "2",
- "hpa-attribute-key": "numVirtualCpu"
- },
- {
- "unit": "MB",
- "operator": ">=",
- "hpa-attribute-value": "8",
- "hpa-attribute-key": "virtualMemSize"
- }
- ],
- "hpa-feature": "basicCapabilities",
- "mandatory": "True"
- },
- {
- "architecture": "generic",
- "directives": [],
- "hpa-version": "v1",
- "hpa-feature-attributes": [
- {
- "unit": "",
- "operator": "=",
- "hpa-attribute-value": "2",
- "hpa-attribute-key": "numaNodes"
- },
- {
- "operator": "=",
- "hpa-attribute-value": "2",
- "hpa-attribute-key": "numaCpu-0"
- },
- {
- "operator": "=",
- "hpa-attribute-value": "4",
- "hpa-attribute-key": "numaCpu-1"
- },
- {
- "unit": "GB",
- "operator": "=",
- "hpa-attribute-value": "2",
- "hpa-attribute-key": "numaMem-0"
- },
- {
- "unit": "GB",
- "operator": "=",
- "hpa-attribute-value": "4",
- "hpa-attribute-key": "numaMem-1"
- }
- ],
- "hpa-feature": "numa",
- "mandatory": "True"
- },
- {
- "architecture": "generic",
- "directives": [],
- "hpa-version": "v1",
- "hpa-feature-attributes": [
- {
- "unit": "MB",
- "operator": "=",
- "hpa-attribute-value": "2",
- "hpa-attribute-key": "memoryPageSize"
- },
- {
- "operator": "=",
- "hpa-attribute-value": "4",
- "hpa-attribute-key": "numberOfPages"
- }
- ],
- "hpa-feature": "hugePages",
- "mandatory": "True"
- },
- {
- "architecture": "Intel64",
- "hpa-feature": "sriovNICNetwork",
- "hpa-version": "v1",
- "directives": [
- {
- "type": "sriovNICNetwork_directives",
- "attributes": [
- {
- "attribute_name": "oof_returned_vnic_type_for_firewall_protected",
- "attribute_value": "direct"
- }
- ]
- }
- ],
- "hpa-feature-attributes": [
- {
- "unit": "",
- "operator": "=",
- "hpa-attribute-value": "1",
- "hpa-attribute-key": "pciCount"
- },
- {
- "unit": "",
- "operator": "=",
- "hpa-attribute-value": "1234",
- "hpa-attribute-key": "pciVendorId"
- },
- {
- "unit": "",
- "operator": "=",
- "hpa-attribute-value": "7890",
- "hpa-attribute-key": "pciDeviceId"
- }
- ],
- "score": "100",
- "mandatory": "False"
- }
- ],
- "type": "vnfc",
- "id": "vfw_1",
- "directives": [
- {
- "type": "flavor_directives",
- "attributes": [
- {
- "attribute_name": "label_1",
- "attribute_value": ""
- }
- ]
- }
- ]
- },
- {
- "flavorProperties": [
- {
- "architecture": "generic",
- "directives": [],
- "hpa-version": "v1",
- "hpa-feature-attributes": [
- {
- "operator": ">=",
- "hpa-attribute-value": "1",
- "hpa-attribute-key": "numVirtualCpu"
- },
- {
- "unit": "GB",
- "operator": ">=",
- "hpa-attribute-value": "7",
- "hpa-attribute-key": "virtualMemSize"
- }
- ],
- "hpa-feature": "basicCapabilities",
- "mandatory": "True"
- }
- ],
- "type": "vnfc",
- "id": "vfw_2",
- "directives": [
- {
- "type": "flavor_directives",
- "attributes": [
- {
- "attribute_name": "label_2",
- "attribute_value": ""
- }
- ]
- }
- ]
- },
- {
- "id": "vfw_3",
- "type": "vnfc",
- "directives": [
- {
- "type": "flavor_directives",
- "attributes": [
- {
- "attribute_name": "label_3",
- "attribute_value": ""
- }
- ]
- }
- ],
- "flavorProperties": [
- {
- "hpa-feature": "basicCapabilities",
- "hpa-version": "v1",
- "architecture": "generic",
- "mandatory": "True",
- "directives": [],
- "hpa-feature-attributes": []
- }
- ]
- }
- ]
- }
-}