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

fixed errors in coriant-info schema

parent 5161d315
No related branches found
No related tags found
No related merge requests found
......@@ -655,7 +655,7 @@ Any non-empty responses are JSON formatted messages.
}
```
* /classifier/coriant-info/*`equipment_name`*/*`card_id`*/*`port_number`*
* /classifier/coriant-info/*`equipment name`*/*`entity name`*
Returns information about the effective path
of a coriant card/port combination.
......@@ -671,7 +671,6 @@ Any non-empty responses are JSON formatted messages.
"pop-info": {
"type": "object",
"properties": {
"absid": {"type": "integer"},
"name": {"type": "string"},
"abbreviation": {"type": "string"},
"country": {"type": "string"},
......@@ -680,7 +679,6 @@ Any non-empty responses are JSON formatted messages.
"latitude": {"type": "number"}
},
"required": [
"absid",
"name",
"abbreviation",
"country",
......@@ -693,37 +691,46 @@ Any non-empty responses are JSON formatted messages.
"endpoint": {
"type": "object",
"properties": {
"name": {"type": "string"},
"equipment name": {"type": "string"},
"card id": {"type": "string"},
"port number": {"type": "string"},
"pop": {"$ref": "#/definitions/pop-info"}
},
"required": ["name", "port number", "pop"],
"required": ["equipment name", "port number", "pop"],
"additionalProperties": False
},
"path": {
"type": "object",
"properties": {
'category': {"type": "string"},
'circuit_type': {"type": "string"},
'service_type': {"type": "string"},
'peering_type': {"type": "string"},
'status': {"type": "string"},
'name': {"type": "string"},
'a': {"$ref": "#/definitions/endpoint"},
'b': {"$ref": "#/definitions/endpoint"}
},
"required": [
"category",
"circuit_type",
"service_type",
"peering_type",
"status",
"a",
"b"],
"additionalProperties": False
}
},
"type": "object",
"properties": {
'absid': {"type": "integer"},
'category': {"type": "string"},
'circuit_type': {"type": "string"},
'service_type': {"type": "string"},
'peering_type': {"type": "string"},
'status': {"type": "string"},
'name': {"type": "string"},
'a': {"$ref": "#/definitions/endpoint"},
'b': {"$ref": "#/definitions/endpoint"}
"equipment name": {"type": "string"},
"card id": {"type": "string"},
"port number": {"type": "string"},
"path": {"$ref": "#/definitions/path"}
},
"required": [
"absid",
"category",
"circuit_type",
"service_type",
"peering_type",
"status",
"a",
"b"],
"required": ["equipment name", "card id", "port number"],
"additionalProperties": False
}
```
......
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