def interface_create(host_id): if (host := Host.get(host_id)) is None: flash("Host existiert nicht.", 'error') abort(404)
def host_edit(host_id): if (host := Host.get(host_id)) is None: flash("Host existiert nicht.", 'error') abort(404)
def host_interfaces_json(host_id): if (host := Host.get(host_id)) is None: flash("Host existiert nicht.", 'error') abort(404)