From b14dec08f27d439f46b1de8aa19f449f5d270211 Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Fri, 17 Aug 2018 14:46:02 +0800 Subject: [PATCH] api: update kata api design doc To match the storage and network hotplug APIs we actually implemented. Signed-off-by: Peng Tao --- design/kata-api-design.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/design/kata-api-design.md b/design/kata-api-design.md index 7d8aa59e2d..241bbee022 100644 --- a/design/kata-api-design.md +++ b/design/kata-api-design.md @@ -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|