for image in self.dcli.images.list():
if len(image.tags) > 0:
for t in image.tags:
- # only use short tag names for OSM compatibility
- t = t.replace(":latest", "")
if t not in self._images:
self._images[t] = Image(t)
return self._images
my_links = self.dc.net.links
for link in my_links:
- if str(link.intf1) == port.intf_name and \
- str(link.intf1.ip) == port.ip_address.split('/')[0]:
+ if str(link.intf1) == port.intf_name:
self._remove_link(link.intf1.node.name, link)
break