This commit is contained in:
Edward Hope-Morley 2015-09-29 21:59:50 +01:00
parent afe2e48522
commit 0da3ba2c7a
2 changed files with 2 additions and 2 deletions

View File

@ -1376,7 +1376,7 @@ class PhyNICMTUContext(DataPortContext):
ctxt = {}
mappings = super(PhyNICMTUContext, self).__call__()
if mappings and mappings.keys():
ports = mappings.keys()
ports = sorted(mappings.keys())
napi_settings = NeutronAPIContext()()
mtu = napi_settings.get('network_device_mtu')
all_ports = set()

View File

@ -752,7 +752,7 @@ class OpenStackAmuletUtils(AmuletUtils):
self.log.debug('SSL is enabled @{}:{} '
'({})'.format(host, port, unit_name))
return True
elif not port and not conf_ssl:
elif not conf_ssl:
self.log.debug('SSL not enabled @{}:{} '
'({})'.format(host, port, unit_name))
return False