|Tag| |License| |Build| |Coverage| |Quality|
.. raw:: html
amlight/sdntrace
sdntrace
traces OpenFlow paths in the data plane. This NApp can used by either network operators to troubleshoot data plane entries or other NApps that might need to make sure that a data plane path is traceable.
To install this NApp, make sure to have the same venv activated as you have kytos
installed on:
.. code:: shell
$ git clone https://github.com/kytos-ng/sdntrace.git $ cd sdntrace $ python3 -m pip install --editable .
To install the kytos environment, please follow our
development environment setup <https://github.com/kytos-ng/documentation/blob/master/tutorials/napps/development_environment_setup.rst>
_.
amlight/coloring <https://github.com/kytos-ng/coloring>
_The AmLight SDNTrace gets the "colored" flows from the AmLight Coloring Napp. These colors are used to create path trace probe messages to be sent via PacketOut.
Once one submits a request via REST, it will receive a Trace ID. This Trace ID is used by the napp to support parallel traces and to allow one to retrieve the result.
When the TraceManager receives the request, a Tracer thread is created, sending PacketOut and looking for PacketIn. If a PacketIn is not received in 1.5s, another PacketOut is sent. Three PacketOuts are sent before generating a TimeOut event. Once the timeout is detected, all steps of the data plane path trace are provided via REST.
This Napp works with OpenFlow 1.3. Queries and results are also available through WEB UI.
kytos/of_core.v0x04.messages.in.ofpt_packet_in
kytos/of_lldp.messages.out.ofpt_packet_out
*buffer*: ``message_out``
Standard message out event with a PacketOut sending a specific packet
Content:
.. code-block:: python3
{ 'message': <object>, # instance of a python-openflow PacketOut message
'destination': <object> # instance of kytos.core.switch.Connection class
}
References
==========
This napp is based on the following ACM paper:
Agarwal, K., Rozner, E., Dixon, C., & Carter, J. (2014, August). SDN traceroute:
Tracing SDN forwarding without changing network behavior. In Proceedings of the
third workshop on Hot topics in software defined networking (pp. 145-150). ACM.
.. TAGs
.. |License| image:: https://img.shields.io/github/license/kytos-ng/sdntrace.svg
:target: https://github.com/kytos-ng/sdntrace/blob/master/LICENSE
.. |Build| image:: https://scrutinizer-ci.com/g/kytos-ng/sdntrace/badges/build.png?b=master
:alt: Build status
:target: https://scrutinizer-ci.com/g/kytos-ng/sdntrace/?branch=master
.. |Coverage| image:: https://scrutinizer-ci.com/g/kytos-ng/sdntrace/badges/coverage.png?b=master
:alt: Code coverage
:target: https://scrutinizer-ci.com/g/kytos-ng/sdntrace/?branch=master
.. |Quality| image:: https://scrutinizer-ci.com/g/kytos-ng/sdntrace/badges/quality-score.png?b=master
:alt: Code-quality score
:target: https://scrutinizer-ci.com/g/kytos-ng/sdntrace/?branch=master
.. |Stable| image:: https://img.shields.io/badge/stability-stable-green.svg
:target: https://github.com/kytos-ng/sdntrace
.. |Tag| image:: https://img.shields.io/github/tag/kytos-ng/sdntrace.svg
:target: https://github.com/kytos-ng/sdntrace/tags