mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-28 20:15:51 +00:00
api: update kata api design doc
To match the storage and network hotplug APIs we actually implemented. Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
@@ -31,11 +31,12 @@ To fulfill the [kata design requirements](kata-design-requirements.md), and base
|
||||
### Sandbox Hotplug API
|
||||
|Name|Description|
|
||||
|---|---|
|
||||
|sandbox.AddStorage()| Add new storage to the sandbox.|
|
||||
|sandbox.AddNetwork()| Add new nic to the sandbox.|
|
||||
|sandbox.ListNetwork()| List all nics and their configurations in the sandbox.|
|
||||
|sandbox.UpdateNetwork()| Update the configuration of an existing network interface.|
|
||||
|sandbox.UpdateRoute()| Update the sandbox route table (e.g. for portmapping support).|
|
||||
|sandbox.AddDevice()| Add new storage device to the sandbox.|
|
||||
|sandbox.AddInterface()| Add new nic to the sandbox.|
|
||||
|sandbox.RemoveInterface()| Remove a nic from the sandbox.|
|
||||
|sandbox.ListInterfaces()| List all nics and their configurations in the sandbox.|
|
||||
|sandbox.UpdateRoutes()| Update the sandbox route table (e.g. for portmapping support).|
|
||||
|sandbox.ListRoutes()| List the sandbox route table.|
|
||||
|
||||
### Sandbox Relay API
|
||||
|Name|Description|
|
||||
|
Reference in New Issue
Block a user