Skip to content
Snippets Groups Projects
Commit 7ad820b7 authored by Erik Reid's avatar Erik Reid
Browse files

unexplained schema updates

parent fa602bcd
No related branches found
Tags 0.40
No related merge requests found
...@@ -40,7 +40,10 @@ JUNIPER_LINK_METADATA = { ...@@ -40,7 +40,10 @@ JUNIPER_LINK_METADATA = {
"ipv6": { "ipv6": {
"type": "array", "type": "array",
"items": {"$ref": "#/definitions/ipv6-interface-address"} "items": {"$ref": "#/definitions/ipv6-interface-address"}
} },
# TODO: check what's changed: added to make tests pass
'bundle': {"type": "array"}
}, },
"required": ["name", "description", "ipv4", "ipv6"], "required": ["name", "description", "ipv4", "ipv6"],
"additionalProperties": False "additionalProperties": False
...@@ -63,6 +66,7 @@ JUNIPER_LINK_METADATA = { ...@@ -63,6 +66,7 @@ JUNIPER_LINK_METADATA = {
"equipment": {"type": "string"}, "equipment": {"type": "string"},
"pop": {"type": "string"}, "pop": {"type": "string"},
"pop_abbreviation": {"type": "string"}, "pop_abbreviation": {"type": "string"},
"other_end_pop": {"type": "string"}, "other_end_pop": {"type": "string"},
"other_end_pop_abbreviation": {"type": "string"}, "other_end_pop_abbreviation": {"type": "string"},
"other_end_equipment": {"type": "string"}, "other_end_equipment": {"type": "string"},
...@@ -90,7 +94,11 @@ JUNIPER_LINK_METADATA = { ...@@ -90,7 +94,11 @@ JUNIPER_LINK_METADATA = {
"card_id": {"type": "string"}, "card_id": {"type": "string"},
"other_end_card_id": {"type": "string"}, "other_end_card_id": {"type": "string"},
"interface_name": {"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 # TODO: modify service-info so that "" entries are just omitted
# (... rather than requiring 'oneOf') # (... rather than requiring 'oneOf')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment