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

Finished feature move-some-rst-to-source.

parents 5379c94b 67328f98
No related branches found
No related tags found
No related merge requests found
......@@ -17,4 +17,4 @@ by an HTTP API.
:caption: Contents:
configuration
protocol/index
\ No newline at end of file
protocol
\ No newline at end of file
......@@ -28,11 +28,16 @@ API modules
:maxdepth: 2
:caption: Contents:
classifier
lg
data
jobs
msr
lnetd
.. 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
.. classifier endpoint docs
Classifier Endpoints
=========================
These endpoints are intended for use by Dashboard V3.
.. contents:: :local:
/classifier/peer-info
---------------------
.. autofunction:: inventory_provider.routes.classifier.get_bgp_peer_info
/classifier/juniper-link-info
-----------------------------
.. autofunction:: inventory_provider.routes.classifier.get_juniper_link_info
/classifier/infinera-lambda-info
--------------------------------
.. autofunction:: inventory_provider.routes.classifier.get_infinera_lambda_info
/classifier/infinera-fiberlink-info
------------------------------------
.. autofunction::
inventory_provider.routes.classifier.get_fiberlink_trap_metadata
/classifier/coriant-info
------------------------
.. autofunction:: inventory_provider.routes.classifier.get_coriant_info
/classifier/mtc-interface-info
--------------------------------
.. autofunction:: inventory_provider.routes.classifier.get_mtc_interface_info
.. poller endpoint docs
Data Endpoints
=========================
These endpoints are temporary and will be removed.
.. contents:: :local:
/data/routers
---------------------------------
.. autofunction:: inventory_provider.routes.data.routers
/data/interfaces
---------------------------------
.. autofunction:: inventory_provider.routes.data.router_interfaces
/data/pop
---------------------------------
.. autofunction:: inventory_provider.routes.data.equipment_location
.. poller endpoint docs
Jobs Endpoints
=========================
These endpoints are used for monitoring running jobs.
.. contents:: :local:
/jobs/update
---------------------------------
.. autofunction:: inventory_provider.routes.jobs.update
/jobs/check-task-status
---------------------------------
.. autofunction:: inventory_provider.routes.jobs.check_task_status
/jobs/log
---------------------------------
.. autofunction:: inventory_provider.routes.jobs.load_task_log
.. LG endpoint docs
LG Support Endpoints
=========================
These endpoints are intended for use by LG.
/lg/interfaces
---------------------------------
.. autofunction:: inventory_provider.routes.lg.routers
.. LnetD endpoint docs
LnetD support
=========================
This endpoint is intended for use with LnetD
.. contents:: :local:
/LnetD/interfaces</hostname>
---------------------------------
.. autofunction:: inventory_provider.routes.lnetd.interfaces
.. poller endpoint docs
MSR Support Endpoints
=========================
These endpoints are intended for use by MSR.
.. contents:: :local:
/msr/access-services
---------------------------------
.. autofunction:: inventory_provider.routes.msr.access_services
/msr/bgp/logical-systems
-------------------------------------
.. autofunction:: inventory_provider.routes.msr.get_logical_systems
/msr/bgp/logical-system-peerings</name>
------------------------------------------
.. autofunction:: inventory_provider.routes.msr.logical_system_peerings
/msr/bgp/groups
-------------------------------------
.. autofunction:: inventory_provider.routes.msr.get_peering_groups
/msr/bgp/group-peerings</name>
-------------------------------------
.. autofunction:: inventory_provider.routes.msr.bgp_group_peerings
/msr/bgp/routing-instances
-------------------------------------
.. autofunction:: inventory_provider.routes.msr.get_peering_routing_instances
/msr/bgp/routing-instance-peeringns</name>
--------------------------------------------
.. autofunction:: inventory_provider.routes.msr.bgp_routing_instance_peerings
helpers
-------------------------------------
.. autofunction:: inventory_provider.routes.msr._handle_peering_group_list_request
.. autofunction:: inventory_provider.routes.msr._handle_peering_group_request
"""
Classifier Endpoints
=========================
These endpoints are intended for use by Dashboard V3.
.. contents:: :local:
/classifier/peer-info
---------------------
.. autofunction:: inventory_provider.routes.classifier.get_bgp_peer_info
/classifier/juniper-link-info
-----------------------------
.. autofunction:: inventory_provider.routes.classifier.get_juniper_link_info
/classifier/infinera-lambda-info
--------------------------------
.. autofunction:: inventory_provider.routes.classifier.get_infinera_lambda_info
/classifier/infinera-fiberlink-info
------------------------------------
.. autofunction::
inventory_provider.routes.classifier.get_fiberlink_trap_metadata
/classifier/coriant-info
------------------------
.. autofunction:: inventory_provider.routes.classifier.get_coriant_info
/classifier/mtc-interface-info
--------------------------------
.. autofunction:: inventory_provider.routes.classifier.get_mtc_interface_info
"""
import ipaddress
import json
import logging
......
"""
Data Endpoints
=========================
These endpoints are temporary and will be removed.
.. contents:: :local:
/data/routers
---------------------------------
.. autofunction:: inventory_provider.routes.data.routers
/data/interfaces
---------------------------------
.. autofunction:: inventory_provider.routes.data.router_interfaces
/data/pop
---------------------------------
.. autofunction:: inventory_provider.routes.data.equipment_location
"""
import json
import logging
import re
......
"""
Jobs Endpoints
=========================
These endpoints are used for monitoring running jobs.
.. contents:: :local:
/jobs/update
---------------------------------
.. autofunction:: inventory_provider.routes.jobs.update
/jobs/check-task-status
---------------------------------
.. autofunction:: inventory_provider.routes.jobs.check_task_status
/jobs/log
---------------------------------
.. autofunction:: inventory_provider.routes.jobs.load_task_log
"""
import json
import logging
......
"""
LG Support Endpoints
=========================
These endpoints are intended for use by LG.
/lg/interfaces
---------------------------------
.. autofunction:: inventory_provider.routes.lg.routers
"""
import json
import logging
......
"""
LnetD support
=========================
This endpoint is intended for use with LnetD
.. contents:: :local:
/LnetD/interfaces</hostname>
---------------------------------
.. autofunction:: inventory_provider.routes.lnetd.interfaces
"""
import json
import logging
import re
......
"""
MSR Support Endpoints
=========================
These endpoints are intended for use by MSR.
.. contents:: :local:
/msr/access-services
---------------------------------
.. autofunction:: inventory_provider.routes.msr.access_services
/msr/bgp/logical-systems
-------------------------------------
.. autofunction:: inventory_provider.routes.msr.get_logical_systems
/msr/bgp/logical-system-peerings</name>
------------------------------------------
.. autofunction:: inventory_provider.routes.msr.logical_system_peerings
/msr/bgp/groups
-------------------------------------
.. autofunction:: inventory_provider.routes.msr.get_peering_groups
/msr/bgp/group-peerings</name>
-------------------------------------
.. autofunction:: inventory_provider.routes.msr.bgp_group_peerings
/msr/bgp/routing-instances
-------------------------------------
.. autofunction:: inventory_provider.routes.msr.get_peering_routing_instances
/msr/bgp/routing-instance-peeringns</name>
--------------------------------------------
.. autofunction:: inventory_provider.routes.msr.bgp_routing_instance_peerings
helpers
-------------------------------------
.. autofunction:: inventory_provider.routes.msr._handle_peering_group_list_request
.. autofunction:: inventory_provider.routes.msr._handle_peering_group_request
"""
import itertools
import json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment