commit unsaved file
This commit is contained in:
parent
e134184ab7
commit
e32ecd5ce2
@ -97,7 +97,7 @@ def handle_get(operation_id, request_body):
|
||||
return jsonify(dict(assignment_status="assigned", id=vm.id, host=vm.host, state=vm.state, ipv4=vm.ipv4, ipv6=vm.ipv6, ssh_host_keys=vm.ssh_host_keys))
|
||||
|
||||
def handle_get_all_by_host_and_network(operation_id, request_body) -> dict:
|
||||
return jsonify(dict(assignment_status="assigned", ids=current_app.config['SPOKE_MODEL'].get_all_by_host_and_network()))
|
||||
return jsonify(dict(assignment_status="assigned", hosts=current_app.config['SPOKE_MODEL'].get_all_by_host_and_network()))
|
||||
|
||||
def handle_create(operation_id, request_body):
|
||||
if not operation_id:
|
||||
|
Loading…
Reference in New Issue
Block a user