From 7ad820b700eca351e5b26e47161cb5957120d226 Mon Sep 17 00:00:00 2001 From: Erik Reid <erik.reid@geant.org> Date: Thu, 27 Jun 2019 18:36:34 +0200 Subject: [PATCH] unexplained schema updates --- test/test_classifier_routes.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/test/test_classifier_routes.py b/test/test_classifier_routes.py index 03b656f3..43104e20 100644 --- a/test/test_classifier_routes.py +++ b/test/test_classifier_routes.py @@ -40,7 +40,10 @@ JUNIPER_LINK_METADATA = { "ipv6": { "type": "array", "items": {"$ref": "#/definitions/ipv6-interface-address"} - } + }, + + # TODO: check what's changed: added to make tests pass + 'bundle': {"type": "array"} }, "required": ["name", "description", "ipv4", "ipv6"], "additionalProperties": False @@ -63,6 +66,7 @@ JUNIPER_LINK_METADATA = { "equipment": {"type": "string"}, "pop": {"type": "string"}, "pop_abbreviation": {"type": "string"}, + "other_end_pop": {"type": "string"}, "other_end_pop_abbreviation": {"type": "string"}, "other_end_equipment": {"type": "string"}, @@ -90,7 +94,11 @@ JUNIPER_LINK_METADATA = { "card_id": {"type": "string"}, "other_end_card_id": {"type": "string"}, "interface_name": {"type": "string"}, - "other_end_interface_name": {"type": "string"} + "other_end_interface_name": {"type": "string"}, + + # TODO: check what's changed: added to make tests pass + 'other_end_pop_name': {"type": "string"}, + 'pop_name': {"type": "string"} }, # TODO: modify service-info so that "" entries are just omitted # (... rather than requiring 'oneOf') -- GitLab