Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
Update lmctfy.proto
Browse files Browse the repository at this point in the history
Indent fixes.
  • Loading branch information
rjnagal committed Apr 18, 2014
1 parent d0a183a commit a407d20
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions include/lmctfy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ message ContainerSpec {
// Commonly used resources.
optional CpuSpec cpu = 2;
optional MemorySpec memory = 3;
optional NetworkSpec network = 5;
optional NetworkSpec network = 5;
optional BlockIoSpec blockio = 12;

optional MonitoringSpec monitoring = 6;
Expand Down Expand Up @@ -220,7 +220,7 @@ message MemorySpec {


message BlockIoSpec {
// Block IO operations are only permitted on full devices, and not on
// Block IO operations are only permitted on full devices, and not on
// partitions.
message Device {
optional int64 major = 1;
Expand All @@ -232,7 +232,7 @@ message BlockIoSpec {
WRITE = 2;
}

enum LimitType {
enum LimitType {
// IOs can be limited by iops or bytes.
BYTES_PER_SECOND = 1;
IO_PER_SECOND = 2;
Expand Down Expand Up @@ -322,7 +322,7 @@ message DeviceSpec {
optional DeviceType type = 2;
repeated DeviceAccess access = 3;
// Missing major/minor number implies any device.
optional int64 major = 4;
optional int64 major = 4;
optional int64 minor = 5;
}

Expand All @@ -345,7 +345,7 @@ enum CgroupHierarchy {
CGROUP_CPUACCT = 2;
CGROUP_CPUSET = 3;
CGROUP_FREEZER = 4;
CGROUP_JOB = 6;
CGROUP_JOB = 6;
CGROUP_MEMORY = 7;
CGROUP_NET = 8;
CGROUP_PERF_EVENT = 9;
Expand All @@ -367,7 +367,7 @@ message CgroupMount {
message InitSpec {
optional CpuInitSpec cpu = 1;
optional MemoryInitSpec memory = 2;
optional NetworkInitSpec network = 4;
optional NetworkInitSpec network = 4;

optional MonitoringInitSpec monitoring = 5;
optional FilesystemInitSpec filesystem = 6;
Expand Down Expand Up @@ -405,7 +405,7 @@ message ContainerStats {
// Commonly used resources
optional CpuStats cpu = 1;
optional MemoryStats memory = 2;
optional NetworkStats network = 4;
optional NetworkStats network = 4;
optional BlockIoStats blockio = 7;

optional MonitoringStats monitoring = 5;
Expand Down Expand Up @@ -591,12 +591,11 @@ message MemoryStats {
optional NumaStats numa = 10;
}


message BlockIoStats {
}

message NetworkStats {
}
}

message MonitoringStats {
}
Expand Down

0 comments on commit a407d20

Please sign in to comment.