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

moved route module def's to routes/__init__.py

parent a6275cfe
No related branches found
No related tags found
No related merge requests found
......@@ -18,3 +18,4 @@ by an HTTP API.
configuration
protocol
.. protocol intro
Protocol
=========================
This module implements a Flask-based webservice which
communicates with clients over HTTP.
Responses to valid requests are returned as JSON messages.
The server will therefore return an error unless
``application/json`` is in the ``Accept`` request header field.
HTTP communication and JSON grammar details are
beyond the scope of this document.
Please refer to `RFC 2616 <https://tools.ietf.org/html/rfc2616>`_
and www.json.org for more details.
.. contents:: :local:
.. automodule:: inventory_provider.routes.default
.. automodule:: inventory_provider.routes.classifier
.. automodule:: inventory_provider.routes.poller
.. automodule:: inventory_provider.routes.msr
.. automodule:: inventory_provider.routes.lg
.. automodule:: inventory_provider.routes.lnetd
.. automodule:: inventory_provider.routes.data
.. automodule:: inventory_provider.routes.jobs
.. automodule:: inventory_provider.routes.neteng
.. automodule:: inventory_provider.routes
"""
.. protocol intro
Protocol
=========================
This module implements a Flask-based webservice which
communicates with clients over HTTP.
Responses to valid requests are returned as JSON messages.
The server will therefore return an error unless
``application/json`` is in the ``Accept`` request header field.
HTTP communication and JSON grammar details are
beyond the scope of this document.
Please refer to `RFC 2616 <https://tools.ietf.org/html/rfc2616>`_
and www.json.org for more details.
.. contents:: :local:
.. automodule:: inventory_provider.routes.default
.. automodule:: inventory_provider.routes.classifier
.. automodule:: inventory_provider.routes.poller
.. automodule:: inventory_provider.routes.msr
.. automodule:: inventory_provider.routes.lg
.. automodule:: inventory_provider.routes.lnetd
.. automodule:: inventory_provider.routes.data
.. automodule:: inventory_provider.routes.jobs
.. automodule:: inventory_provider.routes.neteng
"""
\ No newline at end of file
......@@ -47,7 +47,7 @@ These endpoints are intended for use by Dashboard V3.
/classifier/router-info/<equimpent-name>
--------------------------------
-------------------------------------------
.. autofunction:: inventory_provider.routes.classifier.get_router_info
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment