Merge "Remove unused method "_make_fixed_ip_dict""

This commit is contained in:
Zuul 2020-05-04 18:06:05 +00:00 committed by Gerrit Code Review
commit 7c7bb024cc
1 changed files with 0 additions and 6 deletions

View File

@ -354,9 +354,3 @@ class DbBasePluginCommon(object):
if validators.is_attr_set(subnet['ipv6_address_mode']):
args['ipv6_address_mode'] = subnet['ipv6_address_mode']
return args
def _make_fixed_ip_dict(self, ips):
# Excludes from dict all keys except subnet_id and ip_address
return [{'subnet_id': ip["subnet_id"],
'ip_address': ip["ip_address"]}
for ip in ips]