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

updated readme with juniper routes

parent c5c34d0a
No related branches found
No related tags found
No related merge requests found
...@@ -159,6 +159,88 @@ Any non-empty responses are JSON formatted messages. ...@@ -159,6 +159,88 @@ Any non-empty responses are JSON formatted messages.
} }
``` ```
* /jobs/interfaces/*`hostname`*
The response will be a list of information about
the interfaces present on the requested host
and will be formatted as follows:
```json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {"type": "string"},
"description": {"type": "string"}
},
"required": ["name", "description"],
"additionalProperties": False
}
}
```
* /jobs/snmp/*`hostname`*
The response will be a list of information about
the interfaces discovered through snmp
queries on the requested host
and will be formatted as follows:
```json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {"type": "string"},
"name": {"type": "string"}
},
"required": ["index", "name"],
"additionalProperties": False
}
}
```
* /jobs/bgp/*`hostname`*
The response will be a list of information about
the bgp peerings configured for the requested host
and will be formatted as follows:
```json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {"type": "string"},
"as": {
"type": "object",
"properties": {
"peer": {
"type": "string",
"pattern": r'^\d+$'
},
"local": {
"type": "string",
"pattern": r'^\d+$'
},
},
"required": ["peer", "local"],
"additionalProperties": False
},
},
"required": ["description", "as"],
"additionalProperties": False
}
}
```
* /jobs/update * /jobs/update
This resource updates the inventory network data. This resource updates the inventory network data for juniper devices.
\ 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