mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-24 15:58:08 +00:00
Bit of cleaning.
This commit is contained in:
parent
da11343647
commit
210aa6f12a
@ -292,6 +292,5 @@ class QEMUHandler:
|
||||
output=QEMU_BINARY_LIST_SCHEMA)
|
||||
def list_binaries(request, response):
|
||||
|
||||
qemu_manager = Qemu.instance()
|
||||
binaries = yield from Qemu.binary_list()
|
||||
response.json(binaries)
|
||||
|
@ -25,19 +25,12 @@ import shutil
|
||||
import random
|
||||
import subprocess
|
||||
import shlex
|
||||
import ntpath
|
||||
import telnetlib
|
||||
import time
|
||||
import re
|
||||
import asyncio
|
||||
|
||||
from gns3server.config import Config
|
||||
|
||||
from .qemu_error import QemuError
|
||||
from ..adapters.ethernet_adapter import EthernetAdapter
|
||||
from ..nios.nio_udp import NIO_UDP
|
||||
from ..base_vm import BaseVM
|
||||
from ...utils.asyncio import subprocess_check_output
|
||||
from ...schemas.qemu import QEMU_OBJECT_SCHEMA
|
||||
|
||||
import logging
|
||||
|
@ -288,12 +288,7 @@ IOU_INITIAL_CONFIG_SCHEMA = {
|
||||
"type": ["string", "null"],
|
||||
"minLength": 1,
|
||||
},
|
||||
"path": {
|
||||
"description": "Relative path on the server of the initial configuration file",
|
||||
"type": ["string", "null"],
|
||||
"minLength": 1,
|
||||
},
|
||||
},
|
||||
"additionalProperties": False,
|
||||
"required": ["content", "path"]
|
||||
"required": ["content"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user