Skip to content

Commit

Permalink
lbaas launch issue is fixed.
Browse files Browse the repository at this point in the history
(id: <index>) will be added in the netns name
once the interface is added to the netns by redhat 7.2.
exists() is modified not to check for the exact match

Change-Id: I3b95878c3228639f3ce5c0220604ce016a2e754b
Closes-bug: 1587711
  • Loading branch information
ymariappan committed Jun 1, 2016
1 parent a5a49b0 commit 898302b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -512,7 +512,7 @@ def exists(self, name):
output = self._parent._execute('o', 'netns', ['list'])

for line in output.split('\n'):
if name == line.strip():
if name in line.strip():
return True
return False

Expand Down

0 comments on commit 898302b

Please sign in to comment.