{ "service": "hpaPolicy", "description": "OOFPolicy", "version": "1.0", "priority": "3", "riskType": "Test", "riskLevel": "2", "guard": "false", "templateVersion": "opensource.version.1", "policyName": "OSDF_CASABLANCA.Optimization_vCPE_Infrastructure_Metro_vBNG_demo_app", "content": { "resources": [ "vCPE_Infrastructure_Metro_vBNG_demo_app" ], "identity": "Optimization_vCPE_Infrastructure_Metro_vBNG_demo_app", "policyScope": [ "HPA", "vcpe_demo_withall_01" ], "policyType": "hpa", "flavorFeatures": [ { "id": "VDU_vbng_0", "type": "tosca.node.nfv.Vdu.Compute", "directives": [ { "type": "flavor_directives", "attributes": [ { "attribute_name": "flavorName", "attribute_value": "" } ] } ], "flavorProperties": [ { "hpa-feature": "BasicCapabilities", "mandatory": "true", "architecture": "generic", "hpa-version": "v1", "directives": [ ], "hpa-feature-attributes": [ { "hpa-attribute-key": "virtualMemSize", "hpa-attribute-value": "4096", "operator": "", "unit": "MB" } ] }, { "hpa-feature": "BasicCapabilities", "mandatory": "true", "architecture": "generic", "hpa-version": "v1", "directives": [ ], "hpa-feature-attributes": [ { "hpa-attribute-key": "numVirtualCpu", "hpa-attribute-value": "2", "operator": "", "unit": "" } ] }, { "hpa-feature": "hugePages", "mandatory": "true", "architecture": "generic", "hpa-version": "v1", "directives": [ ], "hpa-feature-attributes": [ { "hpa-attribute-key": "memoryPageSize", "hpa-attribute-value": "2", "operator": "", "unit": "MB" } ] }, { "hpa-feature": "SriovNICNetwork", "mandatory": "true", "architecture": "generic", "hpa-version": "v1", "directives": [], "hpa-feature-attributes": [ { "hpa-attribute-key": "pciVendorId", "hpa-attribute-value": "1234", "operator": "", "unit": "" }, { "hpa-attribute-key": "pciDeviceId", "hpa-attribute-value": "5678", "operator": "", "unit": "" }, { "hpa-attribute-key": "pciNumDevices", "hpa-attribute-value": "1", "operator": "", "unit": "" } ] } ] } ] } }