예제 #1
0
def interface_create(host_id):
    if (host := Host.get(host_id)) is None:
        flash("Host existiert nicht.", 'error')
        abort(404)
예제 #2
0
def host_edit(host_id):
    if (host := Host.get(host_id)) is None:
        flash("Host existiert nicht.", 'error')
        abort(404)
예제 #3
0
def host_interfaces_json(host_id):
    if (host := Host.get(host_id)) is None:
        flash("Host existiert nicht.", 'error')
        abort(404)