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

add /neteng/pops, /neteng/pop to doc output

parent 3731dff4
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,16 @@ These endpoints are intended for use by neteng tools. ...@@ -12,6 +12,16 @@ These endpoints are intended for use by neteng tools.
.. autofunction:: inventory_provider.routes.neteng.get_location .. autofunction:: inventory_provider.routes.neteng.get_location
/neteng/pops
---------------------------------
.. autofunction:: inventory_provider.routes.neteng.get_pop_names
/neteng/pop/name
---------------------------------
.. autofunction:: inventory_provider.routes.neteng.get_pop_location
""" """
import json import json
import logging import logging
...@@ -77,7 +87,7 @@ def get_location(equipment): ...@@ -77,7 +87,7 @@ def get_location(equipment):
@routes.route('/pops', methods=['GET', 'POST']) @routes.route('/pops', methods=['GET', 'POST'])
@common.require_accepts_json @common.require_accepts_json
def get_pops(): def get_pop_names():
""" """
Handler for `/neteng/pops` Handler for `/neteng/pops`
...@@ -86,7 +96,7 @@ def get_pops(): ...@@ -86,7 +96,7 @@ def get_pops():
with `/neteng/pop`. with `/neteng/pop`.
.. asjson:: .. asjson::
inventory_provider.db.ims_data.STRING_LIST_SCHEMA inventory_provider.routes.neteng.STRING_LIST_SCHEMA
:return: as above :return: as above
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment