Skip to content

Commit

Permalink
[schema] Switched order between MTU and MAC address
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Mar 24, 2016
1 parent 4679282 commit 067b471
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions netjsonconfig/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,17 @@
"pattern": "^[^\\s]*$",
"propertyOrder": 0,
},
"mac": {
"type": "string",
"title": "override mac-address",
"pattern": "^(([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})|)$", # can be empty
"propertyOrder": 2,
},
"mtu": {
"type": "integer",
"title": "MTU",
"default": 1500,
"minimum": 68,
"propertyOrder": 2,
},
"mac": {
"type": "string",
"title": "MAC address (override)",
"pattern": "^(([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})|)$", # can be empty
"propertyOrder": 3,
},
"autostart": {
Expand Down

0 comments on commit 067b471

Please sign in to comment.