Add interface and network information to Kubernetes context 37/59737/4
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Wed, 11 Jul 2018 16:32:44 +0000 (17:32 +0100)
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Fri, 13 Jul 2018 16:30:51 +0000 (17:30 +0100)
commit2429ef152b5503d939022fbfd145b88a1df5c23b
tree2096853bd15d7e7d347834e9e419030733cba1d7
parent0ca0696d0a22daca831daa8f9815bdeaea29aea1
Add interface and network information to Kubernetes context

Add to "Kubernetes" context the "interfaces" information when retrieving
a server. This information is needed for NSPerf test cases.

The interface information comes from the resource controller network list.
Each replication controller will have one port per network defined.

JIRA: YARDSTICK-1303

Change-Id: Ifb0e17df295c042a643128c705a93876af999bad
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
yardstick/benchmark/contexts/kubernetes.py
yardstick/orchestrator/kubernetes.py
yardstick/tests/unit/benchmark/contexts/test_kubernetes.py
yardstick/tests/unit/orchestrator/test_kubernetes.py