Caching IP allocated by CNI plugin

Signed-off-by: abhi <abhi@docker.com>
This commit is contained in:
abhi
2018-01-04 16:14:20 -08:00
parent 072ed48fdf
commit f1dbc0b375
3 changed files with 19 additions and 31 deletions

View File

@@ -34,6 +34,8 @@ type Sandbox struct {
Container containerd.Container
// CNI network namespace client
NetNS *NetNS
// IP of Pod if it is attached to non host network
IP string
}
// Store stores all sandboxes.