From 6facde7061f9d9e03c7b6f79c971e0e18bced5a4 Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Mon, 4 Apr 2016 11:46:27 +0200 Subject: [PATCH] [schema] Remove "format" definition from gateway #42 Too restrictive. Also allow gateway to be blank (so it can be ignored). --- netjsonconfig/schema.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/netjsonconfig/schema.py b/netjsonconfig/schema.py index 077f03676..266efa620 100644 --- a/netjsonconfig/schema.py +++ b/netjsonconfig/schema.py @@ -70,9 +70,7 @@ "default": 24, }, "gateway": { - "minLength": 8, "maxLength": 16, - "format": "ipv4", } } } @@ -104,9 +102,7 @@ "default": 64, }, "gateway": { - "minLength": 3, "maxLength": 45, - "format": "ipv6", } } }