/usr/lib/python2.7/dist-packages/mrtparse-1.6.egg-info/PKG-INFO is in python-mrtparse 1.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 | Metadata-Version: 1.1
Name: mrtparse
Version: 1.6
Summary: MRT format data parser
Home-page: https://github.com/YoshiyukiYamauchi/mrtparse
Author: Tetsumune KISO, Yoshiyuki YAMAUCHI, Nobuhiro ITOU
Author-email: t2mune@gmail.com, info@greenhippo.co.jp, js333123@gmail.com
License: Apache License 2.0
Description-Content-Type: UNKNOWN
Description: mrtparse
========
| mrtparse is a module to read and analyze the MRT format data.
| The MRT format can be used to export routing protocol messages, state changes, and routing information base contents, and is defined in RFC6396_.
| Programs like Quagga_ / Zebra_, BIRD_, OpenBGPD_ and PyRT_ can dump the MRT format data.
| You can also download archives from `the Route Views Projects`_, `RIPE NCC`_.
.. _RFC6396: https://tools.ietf.org/html/rfc6396
.. _Quagga: http://www.nongnu.org/quagga/
.. _Zebra: https://www.gnu.org/software/zebra/
.. _BIRD: http://bird.network.cz/
.. _OpenBGPD: http://www.openbgpd.org/
.. _PyRT: https://github.com/mor1/pyrt
.. _`the Route Views Projects`: http://archive.routeviews.org/
.. _`RIPE NCC`: https://www.ripe.net/analyse/internet-measurements/routing-information-service-ris/ris-raw-data
Supported MRT types
-------------------
+-------------------+---------+
| Name | Value |
+===================+=========+
| TABLE\_DUMP | 12 |
+-------------------+---------+
| TABLE\_DUMP\_V2 | 13 |
+-------------------+---------+
| BGP4MP | 16 |
+-------------------+---------+
| BGP4MP\_ET | 17 |
+-------------------+---------+
Supported TABLE_DUMP subtypes
------------------------------
+-------------------+---------+
| Name | Value |
+===================+=========+
| AFI\_IPv4 | 1 |
+-------------------+---------+
| AFI\_IPv6 | 2 |
+-------------------+---------+
Supported TABLE_DUMP_V2 subtypes
--------------------------------
+-------------------------------+---------+
| Name | Value |
+===============================+=========+
| PEER_INDEX_TABLE | 1 |
+-------------------------------+---------+
| RIB\_IPV4\_UNICAST | 2 |
+-------------------------------+---------+
| RIB\_IPV4\_MULTICAST | 3 |
+-------------------------------+---------+
| RIB\_IPV6\_UNICAST | 4 |
+-------------------------------+---------+
| RIB\_IPV6\_MULTICAST | 5 |
+-------------------------------+---------+
| RIB\_GENERIC | 6 |
+-------------------------------+---------+
| RIB\_IPV4\_UNICAST\_ADDPATH | 8 |
+-------------------------------+---------+
| RIB\_IPV4\_MULTICAST\_ADDPATH | 9 |
+-------------------------------+---------+
| RIB\_IPV6\_UNICAST\_ADDPATH | 10 |
+-------------------------------+---------+
| RIB\_IPV6\_MULTICAST\_ADDPATH | 11 |
+-------------------------------+---------+
| RIB\_GENERIC\_ADDPATH | 12 |
+-------------------------------+---------+
Supported BGP4MP/BGP4MP_ET subtypes
-----------------------------------
+--------------------------------------+---------+
| Name | Value |
+======================================+=========+
| BGP4MP\_STATE\_CHANGE | 0 |
+--------------------------------------+---------+
| BGP4MP\_MESSAGE | 1 |
+--------------------------------------+---------+
| BGP4MP\_MESSAGE\_AS4 | 4 |
+--------------------------------------+---------+
| BGP4MP\_STATE\_CHANGE\_AS4 | 5 |
+--------------------------------------+---------+
| BGP4MP\_MESSAGE\_LOCAL | 6 |
+--------------------------------------+---------+
| BGP4MP\_MESSAGE\_AS4\_LOCAL | 7 |
+--------------------------------------+---------+
| BGP4MP\_MESSAGE\_ADDPATH | 8 |
+--------------------------------------+---------+
| BGP4MP\_MESSAGE\_AS4\_ADDPATH | 9 |
+--------------------------------------+---------+
| BGP4MP\_MESSAGE\_LOCAL\_ADDPATH | 10 |
+--------------------------------------+---------+
| BGP4MP\_MESSAGE\_AS4\_LOCAL\_ADDPATH | 11 |
+--------------------------------------+---------+
Supported BGP capabilities
--------------------------
+--------------------------------------------+---------+
| Name | Value |
+============================================+=========+
| Multiprotocol Extensions for BGP-4 | 1 |
+--------------------------------------------+---------+
| Route Refresh Capability for BGP-4 | 2 |
+--------------------------------------------+---------+
| Outbound Route Filtering Capability | 3 |
+--------------------------------------------+---------+
| Graceful Restart Capability | 64 |
+--------------------------------------------+---------+
| Support for 4-octet AS number capability | 65 |
+--------------------------------------------+---------+
| ADD-PATH Capability | 69 |
+--------------------------------------------+---------+
Supported BGP attributes
------------------------
+-------------------------+---------+
| Name | Value |
+=========================+=========+
| ORIGIN | 1 |
+-------------------------+---------+
| AS\_PATH | 2 |
+-------------------------+---------+
| NEXT\_HOP | 3 |
+-------------------------+---------+
| MULTI\_EXIT\_DISC | 4 |
+-------------------------+---------+
| LOCAL\_PREF | 5 |
+-------------------------+---------+
| ATOMIC\_AGGREGATE | 6 |
+-------------------------+---------+
| AGGREGATOR | 7 |
+-------------------------+---------+
| COMMUNITY | 8 |
+-------------------------+---------+
| ORIGINATOR\_ID | 9 |
+-------------------------+---------+
| CLUSTER\_LIST | 10 |
+-------------------------+---------+
| MP\_REACH\_NLRI | 14 |
+-------------------------+---------+
| MP\_UNREACH\_NLRI | 15 |
+-------------------------+---------+
| EXTENDED\_COMMUNITIES | 16 |
+-------------------------+---------+
| AS4\_PATH | 17 |
+-------------------------+---------+
| AS4\_AGGREGATOR | 18 |
+-------------------------+---------+
| AIGP | 26 |
+-------------------------+---------+
| LARGE\_COMMUNITY | 32 |
+-------------------------+---------+
| ATTR\_SET | 128 |
+-------------------------+---------+
Requirements
------------
Python2 or Python3 or PyPy or PyPy3
Installation
------------
::
$ pip install mrtparse
or
::
$ git clone https://github.com/YoshiyukiYamauchi/mrtparse.git
$ cd mrtparse
$ python setup.py install
Usage
-----
::
from mrtparse import *
or
::
import mrtparse
Programming
-----------
First, import the module.
::
from mrtparse import *
| And pass a MRT format data as a filepath string or file object to a class Reader().
| It is also supported gzip and bzip2 format.
| You can retrieve each entry from the returned object using a loop and then process it.
::
d = Reader(f)
for m in d:
<statements>
We have prepared some example scripts and sample data in `"examples"`_ and `"samples"`_ directory.
.. _`"examples"`: https://github.com/YoshiyukiYamauchi/mrtparse/tree/master/examples
.. _`"samples"`: https://github.com/YoshiyukiYamauchi/mrtparse/tree/master/samples
Authors
-------
| Tetsumune KISO t2mune@gmail.com
| Yoshiyuki YAMAUCHI info@greenhippo.co.jp
| Nobuhiro ITOU js333123@gmail.com
License
-------
| Licensed under the `Apache License, Version 2.0`_
| Copyright © 2017 Tetsumune KISO
.. _`Apache License, Version 2.0`: http://www.apache.org/licenses/LICENSE-2.0
Keywords: mrt bgp
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Telecommunications Industry
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Internet
Classifier: Topic :: System :: Networking
|