X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vsys.py;h=fa49b4ba7cf6e03e0a9de78efff2acbc43f3ef97;hb=ae48f09aeaa807c19bce74f801176fe9e17e37f8;hp=39f34354ac8b0465e6a3b6d11f28c1d37856abc4;hpb=bdf20298cd1cd206cf8899f291f8a2d32f50bca4;p=nodemanager.git diff --git a/vsys.py b/vsys.py index 39f3435..fa49b4b 100644 --- a/vsys.py +++ b/vsys.py @@ -29,8 +29,8 @@ def GetSlivers(data): if sliver['name'] not in slices: # add to conf slices.append(sliver['name']) - # As the name implies, when we find an attribute, we - _restart = createVsysDir(sliver['name']) + _restart = createVsysDir(sliver['name']) or _restart + # As the name implies, when we find an attribute, we # add it to our list of slivers that need vsys if attribute['value'] in scripts.keys(): scripts[attribute['value']].append(sliver['name'])