Remove unused method "_make_fixed_ip_dict"

Change-Id: I085a1fac9b2710d864d9be15e472a9e0ee14fc75
This commit is contained in:
Rodolfo Alonso Hernandez
2020-05-01 08:35:34 +00:00
parent 34448578cb
commit f8718e9b23
-6
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]