summaryrefslogtreecommitdiff
path: root/ironic/dhcp
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-08-12 10:57:43 +0000
committerGerrit Code Review <review@openstack.org>2019-08-12 10:57:43 +0000
commit61a58ec249d18d374cdec82125f62fa6b4b1f2cb (patch)
tree44221a16a5a718d903a08ea01560b11f0d89f9ea /ironic/dhcp
parentcef7ee08d0c7fd0406fcfe42d080431476372b19 (diff)
parentac8b2d01b056997955a2ca071ac3da6525354fca (diff)
downloadironic-61a58ec249d18d374cdec82125f62fa6b4b1f2cb.tar.gz
Merge "Enable no IP address to be returned"
Diffstat (limited to 'ironic/dhcp')
-rw-r--r--ironic/dhcp/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/dhcp/base.py b/ironic/dhcp/base.py
index 88dd3e4e0..39fa34c7c 100644
--- a/ironic/dhcp/base.py
+++ b/ironic/dhcp/base.py
@@ -83,7 +83,6 @@ class BaseDHCP(object):
:raises: FailedToUpdateDHCPOptOnPort
"""
- @abc.abstractmethod
def get_ip_addresses(self, task):
"""Get IP addresses for all ports/portgroups in `task`.
@@ -91,6 +90,7 @@ class BaseDHCP(object):
:returns: List of IP addresses associated with
task's ports and portgroups.
"""
+ return []
def clean_dhcp_opts(self, task):
"""Clean up the DHCP BOOT options for all ports in `task`.