Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inventory-provider
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
geant-swd
dashboardv3
inventory-provider
Commits
d58c6b53
Commit
d58c6b53
authored
6 years ago
by
Erik Reid
Browse files
Options
Downloads
Patches
Plain Diff
moved router list api specs to the testing section
parent
48cfe861
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+21
-15
21 additions, 15 deletions
README.md
with
21 additions
and
15 deletions
README.md
+
21
−
15
View file @
d58c6b53
...
...
@@ -354,20 +354,7 @@ Any non-empty responses are JSON formatted messages.
from the external inventory system, status information is retrieved from the
alarms database
*
/classifier/infinera-dna-addresses, /classifier/juniper-server-addresses
Both of these resources return lists of source addresses
of known senders of snmp traps. Responses will be
formatted as follows:
```
json
{
"$schema"
:
"http://json-schema.org/draft-07/schema#"
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
}
}
```
*
/classifier/
*`type`*
/
*`source-equipment`*
/
*`source-interface`*
The source-equipment is the equipment that causes the trap, not the NMS that
...
...
@@ -426,11 +413,30 @@ Any non-empty responses are JSON formatted messages.
```
### Testing utilities
The following routes are only available if the server
was started with the
`ENABLE_TESTING_ROUTES`
flag.
*
`/testing/flushdb`
This method erases all data in the backend redis
data bases and is only available if the server was
started with the
`ENABLE_TESTING_ROUTES`
flag.
database.
*
/testing/infinera-dna-addresses, /testing/coriant-tnmp-addresses, /testing/juniper-server-addresses
`
All of these resources return lists of source addresses
of known senders of snmp traps. Responses will be
formatted as follows:
```json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {"type": "string"}
}
```
## Backend (Redis) Storage Schema
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment