Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PolicyConst value or from TOSCA CSARValueComment
serviceConst"hpaPolicy"
policyNameTOSCA CSAR"OSDF_CASABLANCA + ."+ content.getIdentity()
descriptionConst"OOF Policy"
templateVersion"OpenSource.version.1"
version"1.0"
priority"5"
riskType"Test"
riskLevel"2"
guard"False"
content.resourcesTOSCA CSARcontent.getResources().add(metaData.getValue("name"));the resource name defined in SDC
content.identityTOSCA CSARcontent.getPolicyType() + "_" + metaData.getValue("name")
content.policyScope

Const

TOSCA CSAR

“HPA”

sdcCsarHelper.getServiceMetadata().getValue("name");

List
content.policyTypeConst"hpa"
content.flavorFeatures.idTOSCA CSARnode.toStringthe name of the VDU node
content.flavorFeatures.typeConst


"tosca.nodes.nfv.Vdu.Compute"


placeholder
content.flavorFeatures.directives.type"flavor_directives"
content.flavorFeatures.directives.attributes.attribute_name"flavor_name"
content.flavorFeatures.directives.attribute_value""placeholder
content.flavorFeatures.flavorProperties.hpaFeatureTOSCA CSAR

one of available or meaningful values:

cpuTopology, basicCapabilities, ovsDpdk, cpuPinning, numa, sriovNicNetwork, pciePassthrough, localStorage, instructionSetExtensions, hugePages based on below Feature judgement flow

based on HPA Policies and Mappings
content.flavorFeatures.flavorProperties.mandatoryfrom mandatory field
content.flavorFeatures.flavorProperties.architecturefrom hardwarePlatform field
content.flavorFeatures.flavorProperties.hpaVersion"v1"
content.flavorFeatures.flavorProperties.hpaFeatureAttributesparse and tiny change from configurationValue
content.flavorFeatures.flavorProperties.directives

[ ]

OOF fill them in

...