Skip to content

Support Linux Network Devices #272

@nayuta723

Description

@nayuta723

Background

In this issue opencontainers/runtime-spec#1239 and PR opencontainers/runtime-spec#1271 on runtime-spec, support for the netdevices field in the OCI specification is being added.

Feature

We are upgrading oci-spec-rs by supporting the netdevices field as below.

{
    "ociVersion": "1.0.0",
    "root": {
        "path": "rootfs"
    },
    "linux": {
        "netDevices": {
            "eth0": {
                "name": "container_eth0"
            },
            "ens4": {},
            "ens5": {}
        }
    }
}

Related

youki-dev/youki#3136

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions