Code Review
/
apex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3990dbe
)
Fixes baremetal interface attach
25/40325/1
author
Tim Rozet
<trozet@redhat.com>
Sun, 27 Aug 2017 19:15:14 +0000
(15:15 -0400)
committer
Tim Rozet
<trozet@redhat.com>
Sun, 27 Aug 2017 19:15:14 +0000
(15:15 -0400)
Change-Id: If0e501c218b1ea981caa255b5e217b5118b772b0
Signed-off-by: Tim Rozet <trozet@redhat.com>
apex/network/jumphost.py
patch
|
blob
|
history
diff --git
a/apex/network/jumphost.py
b/apex/network/jumphost.py
index
81562c7
..
1afcea7
100644
(file)
--- a/
apex/network/jumphost.py
+++ b/
apex/network/jumphost.py
@@
-90,7
+90,7
@@
def attach_interface_to_ovs(bridge, interface, network):
try:
output = subprocess.check_output(['ovs-vsctl', 'list-ports', bridge],
stderr=subprocess.STDOUT)
- if
bridge in output
:
+ if
interface in output.decode('utf-8')
:
logging.debug("Interface already attached to bridge")
return
except subprocess.CalledProcessError as e: