diff --git a/README.md b/README.md index 98d04d9c0b589f04b2f69943a0e586e94449120b..774e59d40a7f1d8830855cb1547a71fdfa01a6a3 100644 --- a/README.md +++ b/README.md @@ -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