diff options
author | John O Loughlin <john.oloughlin@intel.com> | 2018-07-13 10:41:15 +0100 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-07-20 11:17:49 +0000 |
commit | d0c9fc59e53cace276093f8785fbdcd16fb1d2aa (patch) | |
tree | e4acfb114b5bbcd9e4a981fb3cd55f0e46be5a63 /yardstick/orchestrator | |
parent | 438f7b5100e05ed668a0ea90674008a391eb5784 (diff) |
Check for network already created k8
When creating a network the host should be checked to see if the network
is already created. If the required network is already there it should be used.
JIRA: YARDSTICK-1315
Change-Id: I09b114a728364ee56397af70cc48f1b7904f06cc
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Diffstat (limited to 'yardstick/orchestrator')
-rw-r--r-- | yardstick/orchestrator/kubernetes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/orchestrator/kubernetes.py b/yardstick/orchestrator/kubernetes.py index bb01b33fa..afff5cf58 100644 --- a/yardstick/orchestrator/kubernetes.py +++ b/yardstick/orchestrator/kubernetes.py @@ -399,7 +399,7 @@ class NetworkObject(object): def create(self): k8s_utils.create_network(self.scope, self.group, self.version, - self.plural, self.template) + self.plural, self.template, self._name) def delete(self): k8s_utils.delete_network(self.scope, self.group, self.version, |