Refer wiki page: https://wiki.onap.org/display/DW/Policy+Specification+and+Retrieval+for+OOF
Policy | Attributes | hpaFeature | Openstack Mapping | AAI representation (Eg:) | ||||||||||||
HPA CPU Topology Policy Example | numCpuSockets numCpuCores numCpuThreads | cpuTopology | hw:cpu_sockets, hw:cpu_cores, hw:cpu_threads, | hpaCapabiltyId="a369fd3d-0b15-44e1-81b2-6210efc6dff8", hpaFeature=”cpuTopology”, hardwareArchitecture=”generic", version=”v1”,
| ||||||||||||
HPA Basic Capabilities Policy Example | numVirtualCpu virtualMemSize | basicCapabilities | vcpus, ram | hpaCapabiltyId="b369fd3d-0b15-44e1-81b2-6210efc6dff9", hpaFeature=”basicCapabilities”, hardwareArchitecture=”generic", version=”v1”,
| ||||||||||||
HPA OVS DPDK Policy Example | dataProcessingAccelerationLibrary | ovsDpdk | hpaCapabiltyId="b369fd3d-0b15-44e1-81b2-6210efc6dffa", hpaFeature=”ovsDpdk”, hardwareArchitecture=”Inte64", version=”v1”,
| |||||||||||||
“HPA CPU Pinning Policy Example | logicalCpuThreadPinningPolicy logicalCpuPinningPolicy | cpuPinning | hw:cpu_thread_policy hw:cpu_policy | hpaCapabiltyId="c369fd3d-0b15-44e1-81b2-6210efc6dffa", hpaFeature=”cpuPinning”, hardwareArchitecture=”generic", version=”v1”,
| ||||||||||||
HPA NUMA Policy Example | numaNodes numaCpu-N numaMem-N | numa | hw:numa_nodes hw:numa_cpus:N hw:numa_mem:N | hpaCapabiltyId="c369fd3d-0b15-44e1-81b2-6210efc6dffa", hpaFeature=”numa”, hardwareArchitecture=”generic", version=”v1”,
| ||||||||||||
HPA SGX Policy Example | sgxMemSize sgxPukKeyHash | sgx | ||||||||||||||
HPA PCIe Passthrough Policy Example | pciCount pciVendorId pciDeviceId | pciePassthrough | pci_passthrough:alias=ALIAS:COUNT Openstack administrator is expected to create ALIAS as <name>-<PCIe vendor ID in Hex>-<PCIe device ID> QuickAssist example: "mycrypto-8086-0443" In case of SRIOV-NIC: aggregate_instance_extra_specs:sriov-device-<name>="<Vendor ID>-<Device ID>" It is expected that Openstack administrator creates host aggregate and metadata 'sriov-device-<name>' . Example: Assume that there are two SRIOV-NIC cards supported by a region, Intel and Mellanox. Examples: sriov-device-intel=8086-1563 sriov-device-mellanox=15B3-1003 | |||||||||||||
HPA Local Storage Policy Example | diskSize ephemeralDiskSize swapMemSize | localStorage | disk swap | |||||||||||||
HPA CPU Instruction Set Extensions Policy Example | instructionSetExtensions | instructionSetExtensions | capabilities:cpu_info:features | hpaCapabiltyId="c369fd3d-0b15-44e1-81b2-6210efc6dffa", hpaFeature=”cpuInstructionSetExtensions”, hardwareArchitecture=”Intel64", version=”v1”,
| ||||||||||||
HPA Huge Pages Policy Example | memoryPageSize | hugePages | hw:mem_page_size |