diff --git a/gns3server/handlers/api/compute/iou_handler.py b/gns3server/handlers/api/compute/iou_handler.py index 1663cbe6..e81ab11b 100644 --- a/gns3server/handlers/api/compute/iou_handler.py +++ b/gns3server/handlers/api/compute/iou_handler.py @@ -30,8 +30,7 @@ from gns3server.schemas.node import ( from gns3server.schemas.iou import ( IOU_CREATE_SCHEMA, IOU_START_SCHEMA, - IOU_OBJECT_SCHEMA, - IOU_CONFIGS_SCHEMA, + IOU_OBJECT_SCHEMA ) diff --git a/gns3server/schemas/iou.py b/gns3server/schemas/iou.py index 5b14bc97..8e54be64 100644 --- a/gns3server/schemas/iou.py +++ b/gns3server/schemas/iou.py @@ -218,23 +218,3 @@ IOU_OBJECT_SCHEMA = { }, "additionalProperties": False } - - -IOU_CONFIGS_SCHEMA = { - "$schema": "http://json-schema.org/draft-04/schema#", - "description": "Request validation to get the startup and private configuration file", - "type": "object", - "properties": { - "startup_config_content": { - "description": "Content of the startup configuration file", - "type": ["string", "null"], - "minLength": 1, - }, - "private_config_content": { - "description": "Content of the private configuration file", - "type": ["string", "null"], - "minLength": 1, - }, - }, - "additionalProperties": False, -}