Skip to content

Commit c8531e8

Browse files
committed
SPECS.md: add v1.1.0 with new NetDevices, updates for RDT.
Update spec description, adding net devices and updating RDT to reflect recent changes. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
1 parent b297834 commit c8531e8

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

SPEC.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Released versions of the spec are available as Git tags.
3333
| | | Add `AdditionalGIDs` to `ContainerEdits` |
3434
| v0.8.0 | | Remove .ToOCI() functions from specs-go package. |
3535
| 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`. |
3637

3738
*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.
3839
`MinimumRequiredVersion` API can be used to get the minimum required version.
@@ -164,14 +165,22 @@ The keywords "must", "must not", "required", "shall", "shall not", "should", "sh
164165
// Note that a value of 0 is ignored.
165166
additionalGIDs: [ (optional)
166167
<uint32>
167-
]
168+
],
168169
"intelRdt": { (optional)
169170
"closID": "<name>", (optional)
170171
"l3CacheSchema": "string" (optional)
171172
"memBwSchema": "string" (optional)
172-
"enableCMT": "<boolean>" (optional)
173-
"enableMBM": "<boolean>" (optional)
174-
}
173+
"schema": [ "string" ] (optional)
174+
"enableMonitoring": <boolean> (optional)
175+
},
176+
// 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+
]
175184
}
176185
]
177186
}
@@ -247,8 +256,8 @@ The `containerEdits` field has the following definition:
247256
* `closID` (string, OPTIONAL) name of the `CLOS` (Class of Service).
248257
* `l3CacheSchema` (string, OPTIONAL) L3 cache allocation schema for the `CLOS`.
249258
* `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.
252261
* `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.
253262

254263
## Error Handling

0 commit comments

Comments
 (0)