Arranging the description of vcpu thread policy according to current Cloud API. 43/12943/1
authorGulsum Atici <gulsum.atici@canonical.com>
Sun, 22 Jan 2023 20:56:58 +0000 (23:56 +0300)
committerMark Beierl <mark.beierl@canonical.com>
Thu, 9 Feb 2023 19:51:44 +0000 (14:51 -0500)
Change-Id: I7ca500e85d1f8e3e480bebce2f8d6b997e8a0e38
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
models/augments/epa.yang

index d47d6a9..af8b7cd 100644 (file)
@@ -90,19 +90,15 @@ module epa {
               "CPU thread pinning policy describes how to
                place the guest CPUs when the host supports
                hyper threads:
-               AVOID   : Avoids placing a guest on a host
-                         with threads.
-               SEPARATE: Places vCPUs on separate cores,
-                         and avoids placing two vCPUs on
-                         two threads of same core.
+               REQUIRE : Each vCPU is allocated on thread siblings
+                         of the same core.
                ISOLATE : Places each vCPU on a different core,
                          and places no vCPUs from a different
                          guest on the same core.
                PREFER  : Attempts to place vCPUs on threads
                          of the same core.";
             type enumeration {
-                enum AVOID;
-                enum SEPARATE;
+                enum REQUIRE;
                 enum ISOLATE;
                 enum PREFER;
             }