From 067b471271ebc8e7baa54b72a676eaf67f548a5d Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Thu, 24 Mar 2016 16:32:55 +0100 Subject: [PATCH] [schema] Switched order between MTU and MAC address --- netjsonconfig/schema.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/netjsonconfig/schema.py b/netjsonconfig/schema.py index fe633b208..1ef65a897 100644 --- a/netjsonconfig/schema.py +++ b/netjsonconfig/schema.py @@ -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": {