From 63b888a57e4f9b6fac4ec58b682fe8dccb9be20c Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 2 Feb 2017 15:34:39 +0100 Subject: [PATCH] Drop unused code --- .../handlers/api/compute/iou_handler.py | 3 +-- gns3server/schemas/iou.py | 20 ------------------- 2 files changed, 1 insertion(+), 22 deletions(-) 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, -}