summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-06-17 17:40:39 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-18 14:20:30 +0000
commit4d3db1b4a9ec1a1a2aa74e3da0102b6017f8a328 (patch)
tree69bf2c39b3e204f27230f97684315dfb5264973b /libpod/container.go
parentfc81dd71feef94cc754485ee2a38444eb67c4d8c (diff)
downloadpodman-4d3db1b4a9ec1a1a2aa74e3da0102b6017f8a328.tar.gz
podman-4d3db1b4a9ec1a1a2aa74e3da0102b6017f8a328.tar.bz2
podman-4d3db1b4a9ec1a1a2aa74e3da0102b6017f8a328.zip
Add MacAddress to inspect
Signed-off-by: Wim <wim@42.be> Closes: #955 Approved by: rhatdan
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go
index 26232e5c0..a30a9e006 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -152,6 +152,10 @@ type containerState struct {
// Only populated if we created a network namespace for the container,
// and the network namespace is currently active
IPs []*cnitypes.IPConfig `json:"ipAddresses,omitempty"`
+ // Interfaces contains interface information about the container
+ // Only populated if we created a network namespace for the container,
+ // and the network namespace is currently active
+ Interfaces []*cnitypes.Interface `json:"interfaces,omitempty"`
// Routes contains network routes present in the container
// Only populated if we created a network namespace for the container,
// and the network namespace is currently active