Skip to content

Commit 1ae7caa

Browse files
committed
Additional FiX!!
Signed-off-by: Surbhi Kakarya <[email protected]>
1 parent 4645b58 commit 1ae7caa

File tree

1 file changed

+27
-22
lines changed

1 file changed

+27
-22
lines changed

protect/control/v1/common.proto

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ message KernelOptionsSpec {
6363
}
6464

6565
enum ZoneNetworkBackend {
66-
ZONE_NETWORK_BACKEND_DEFAULT = 0;
67-
ZONE_NETWORK_BACKEND_NONE = 1;
68-
ZONE_NETWORK_BACKEND_EXTERNAL = 2;
69-
ZONE_NETWORK_BACKEND_PASSTHROUGH = 3;
66+
ZONE_NETWORK_BACKEND_UNKNOWN = 0;
67+
ZONE_NETWORK_BACKEND_DEFAULT = 1;
68+
ZONE_NETWORK_BACKEND_NONE = 2;
69+
ZONE_NETWORK_BACKEND_EXTERNAL = 3;
70+
ZONE_NETWORK_BACKEND_PASSTHROUGH = 4;
7071
}
7172

7273
message ZoneNetworkOptionsSpec {
@@ -110,14 +111,15 @@ message OciImageInfo {
110111
}
111112

112113
enum ProcessNamespace {
113-
PROCESS_NAMESPACE_MOUNT = 0;
114-
PROCESS_NAMESPACE_UTS = 1;
115-
PROCESS_NAMESPACE_IPC = 2;
116-
PROCESS_NAMESPACE_USER = 3;
117-
PROCESS_NAMESPACE_PID = 4;
118-
PROCESS_NAMESPACE_NET = 5;
119-
PROCESS_NAMESPACE_CGROUP = 6;
120-
PROCESS_NAMESPACE_TIME = 7;
114+
PROCESS_NAMESPACE_UNKNOWN = 0;
115+
PROCESS_NAMESPACE_MOUNT = 1;
116+
PROCESS_NAMESPACE_UTS = 2;
117+
PROCESS_NAMESPACE_IPC = 3;
118+
PROCESS_NAMESPACE_USER = 4;
119+
PROCESS_NAMESPACE_PID = 5;
120+
PROCESS_NAMESPACE_NET = 6;
121+
PROCESS_NAMESPACE_CGROUP = 7;
122+
PROCESS_NAMESPACE_TIME = 8;
121123
}
122124

123125
message ProcessSpec {
@@ -186,9 +188,10 @@ enum ZoneNetworkIpVersion {
186188
// NUD stands for Neighbor Unreachability Detection
187189
// and signals how or if neighbor mapping entries will be autopruned.
188190
enum ZoneNetworkNUDMode {
189-
ZONE_NETWORK_NUD_MODE_PERMANENT = 0;
190-
ZONE_NETWORK_NUD_MODE_NOARP = 1;
191-
ZONE_NETWORK_NUD_MODE_REACHABLE = 2;
191+
ZONE_NETWORK_NUD_MODE_UNKNOWN = 0;
192+
ZONE_NETWORK_NUD_MODE_PERMANENT = 1;
193+
ZONE_NETWORK_NUD_MODE_NOARP = 2;
194+
ZONE_NETWORK_NUD_MODE_REACHABLE = 3;
192195
// TODO(bleggett) there are more modes but we don't care about them.
193196
}
194197

@@ -381,9 +384,10 @@ message Workload {
381384
}
382385

383386
enum HostCpuTopologyClass {
384-
HOST_CPU_TOPOLOGY_CLASS_STANDARD = 0;
385-
HOST_CPU_TOPOLOGY_CLASS_PERFORMANCE = 1;
386-
HOST_CPU_TOPOLOGY_CLASS_EFFICIENCY = 2;
387+
HOST_CPU_TOPOLOGY_CLASS_UNKNOW = 0;
388+
HOST_CPU_TOPOLOGY_CLASS_STANDARD = 1;
389+
HOST_CPU_TOPOLOGY_CLASS_PERFORMANCE = 2;
390+
HOST_CPU_TOPOLOGY_CLASS_EFFICIENCY = 3;
387391
}
388392

389393
message HostCpuTopologyInfo {
@@ -538,8 +542,9 @@ message PciDevice {
538542
}
539543

540544
enum PciDeviceState {
541-
CLEAN = 0;
542-
DIRTY = 1;
543-
SCRUB = 2;
544-
BUSY = 3;
545+
PCI_DEVICE_STATE_UNKNOWN = 0;
546+
PCI_DEVICE_STATE_CLEAN = 1;
547+
PCI_DEVICE_STATE_DIRTY = 2;
548+
PCI_DEVICE_STATE_SCRUB = 3;
549+
PCI_DEVICE_STATE_BUSY = 4;
545550
}

0 commit comments

Comments
 (0)