104
105
for interface in router.get(constants.INTERFACE_KEY, []):
105
106
self._ensure_host_set_on_port(context, host,
110
self._ensure_host_set_on_port(context, host, interface,
108
113
def _ensure_host_set_on_port(self, context, host, port, router_id=None):