summaryrefslogtreecommitdiffhomepage
path: root/doc/source/library_mrt.rst
blob: e5fccb2481d305cf19012b87cd6bae1c878a4466 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
****************
MRT file library
****************

Introduction
============

Ryu MRT file library helps you to read/write MRT
(Multi-Threaded Routing Toolkit) Routing Information Export Format
[`RFC6396`_].

.. _RFC6396: https://tools.ietf.org/html/rfc6396

Reading MRT file
================

For loading the routing information contained in MRT files, you can use
mrtlib.Reader.

.. autoclass:: ryu.lib.mrtlib.Reader

Writing MRT file
================

For dumping the routing information which your RyuApp generated, you can use
mrtlib.Writer.

.. autoclass:: ryu.lib.mrtlib.Writer