Merge branch '2.0' into 2.1

This commit is contained in:
Julien Duponchelle 2017-02-02 15:35:04 +01:00
commit afcd27f348
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
2 changed files with 1 additions and 22 deletions

View File

@ -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
)

View File

@ -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,
}