Skip to content

Commit

Permalink
[schema] Remove "format" definition from gateway #42
Browse files Browse the repository at this point in the history
Too restrictive. Also allow gateway to be blank (so it can be ignored).
  • Loading branch information
nemesifier committed Apr 4, 2016
1 parent f1116f0 commit 6facde7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions netjsonconfig/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@
"default": 24,
},
"gateway": {
"minLength": 8,
"maxLength": 16,
"format": "ipv4",
}
}
}
Expand Down Expand Up @@ -104,9 +102,7 @@
"default": 64,
},
"gateway": {
"minLength": 3,
"maxLength": 45,
"format": "ipv6",
}
}
}
Expand Down

0 comments on commit 6facde7

Please sign in to comment.