You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SPEC.md
+15-6Lines changed: 15 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ Released versions of the spec are available as Git tags.
33
33
||| Add `AdditionalGIDs` to `ContainerEdits`|
34
34
| v0.8.0 || Remove .ToOCI() functions from specs-go package. |
35
35
| v1.0.0 || Move minimum version logic to specs-go package. |
36
+
| v1.1.0 || Add `NetDevices` to `ContainerEdits`, `Schemata` and `EnableMonitoring` to `IntelRdt`. Dropped `EnableCMT` and `EnableMBM` fields from `IntelRdt`. |
36
37
37
38
*Note*: spec loading fails on unknown fields and when the minimum required version is higher than the version specified in the spec. The minimum required version is determined based on the usage of fields mentioned in the table above. For example the minimum required version is v0.6.0 if the `Annotations` field is used in the spec, but `IntelRdt` is not.
38
39
`MinimumRequiredVersion` API can be used to get the minimum required version.
// This field contains network interfaces that should be moved
177
+
// from the host to the container.
178
+
"netDevices": [ (optional)
179
+
{
180
+
"hostInterfaceName": "<interface name on the host>",
181
+
"name": "<interface name in the container>"
182
+
}
183
+
]
175
184
}
176
185
]
177
186
}
@@ -247,8 +256,8 @@ The `containerEdits` field has the following definition:
247
256
*`closID` (string, OPTIONAL) name of the `CLOS` (Class of Service).
248
257
*`l3CacheSchema` (string, OPTIONAL) L3 cache allocation schema for the `CLOS`.
249
258
*`memBwSchema` (string, OPTIONAL) memory bandwidth allocation schema for the `CLOS`.
250
-
*`enableCMT` (boolean, OPTIONAL) whether to enable cache monitoring
251
-
*`enableMBM` (boolean, OPTIONAL) whether to enable memory bandwidth monitoring
259
+
*`schemata` (array of strings, OPTIONAL) RDT schema for the CLOS.
260
+
*`enableMonitoring` (boolean, OPTIONAL) whether to enable memory bandwidth monitoring for the CLOS.
252
261
*`additionalGids` (array of uint32s, OPTIONAL) A list of additional group IDs to add with the container process. These values are added to the `user.additionalGids` field in the OCI runtime specification. Values of 0 are ignored. Added in v0.7.0.
0 commit comments