Skip to content
Snippets Groups Projects
Commit 6b957d81 authored by Release Webservice's avatar Release Webservice
Browse files

Finished release 0.39.

parents 25462eda 73a7e789
No related branches found
No related tags found
No related merge requests found
...@@ -738,7 +738,7 @@ Any non-empty responses are JSON formatted messages. ...@@ -738,7 +738,7 @@ Any non-empty responses are JSON formatted messages.
* /poller/interfaces/*`hostname`* * /poller/interfaces/*`hostname`*
The response will be the list of active interfac`es on the The response will be the list of active interfaces on the
router `hostname`. router `hostname`.
Each element of the returned list contains information necessary Each element of the returned list contains information necessary
for setting up snmp throughput counter polling. for setting up snmp throughput counter polling.
...@@ -771,16 +771,86 @@ Any non-empty responses are JSON formatted messages. ...@@ -771,16 +771,86 @@ Any non-empty responses are JSON formatted messages.
"type": "array", "type": "array",
"items": {"$ref": "#/definitions/circuit"} "items": {"$ref": "#/definitions/circuit"}
}, },
"bundle": {
"type": "array",
"items": {"type": "string"}
},
"bundle-parents": {
"type": "array",
"items": {"type": "string"}
},
"description": {"type": "string"}, "description": {"type": "string"},
"name": {"type": "string"}, "name": {"type": "string"},
"snmp-index": {"type": "integer"} "snmp-index": {"type": "integer"}
}, },
"required": ["circuits", "description", "name", "snmp-index"], "required": [
"circuits",
"bundle",
"bundle-parents",
"description",
"name",
"snmp-index"],
"additionalProperties": False "additionalProperties": False
} }
} }
``` ```
* /lg/routers/*`access`*
The response will be the list of routers with pop location information.
The list will be filtered according to the value of the `access` parameter.
There are 2 valid values for `access`, these are: `public`, `all`
The response will be formatted according to the following schema:
```json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"pop-info": {
"type": "object",
"properties": {
"name": {"type": "string"},
"abbreviation": {"type": "string"},
"country": {"type": "string"},
"country code": {"type": "string"},
"city": {"type": "string"},
"longitude": {"type": "number"},
"latitude": {"type": "number"}
},
"required": [
"name",
"abbreviation",
"country",
"country code",
"city",
"longitude",
"latitude"
],
"additionalProperties": False
},
"router": {
"type": "object",
"properties": {
"equipment name": {"type": "string"},
"type": {
"type": "string",
"enum": ["INTERNAL", "CORE"]
},
"pop": {"$ref": "#/definitions/pop-info"}
},
"required": ["equipment name", "type", "pop"],
"additionalProperties": False
}
},
"type": "array",
"items": {"$ref": "#/definitions/router"}
}
```
### Testing utilities ### Testing utilities
......
...@@ -55,4 +55,5 @@ ...@@ -55,4 +55,5 @@
0.35: POL1-135: added customer(user) info to service category api response 0.35: POL1-135: added customer(user) info to service category api response
0.36: DBOARD3-218: added project name to circuit info 0.36: DBOARD3-218: added project name to circuit info
0.37: DBOARD3-220: make redis/sentinel socket timeouts configurable 0.37: DBOARD3-220: make redis/sentinel socket timeouts configurable
0.38: DBOARD3-234/DBOARD3-232: standardized location data in classifier responses 0.38: DBOARD3-234/DBOARD3-232: standardized location data in classifier responses
\ No newline at end of file 0.39: LGR-73: expose routers with pop info so LG doesn't need to connect to opsdb
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment