Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

Commit 1985013

Browse files
committed
Merge branch 'master' of github.com:trungdtbk/yabgp
2 parents 5a87915 + 270e417 commit 1985013

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+3387
-1059
lines changed

README.rst

+11-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Features
3333

3434
- IPv4/IPv6 unicast
3535

36+
- IPv4/IPv6 Labeled Unicast
37+
3638
- IPv4 Flowspec(limited)
3739

3840
- IPv4/IPv6 MPLSVPN
@@ -88,6 +90,13 @@ Documentation
8890

8991
More information please see the documentation http://yabgp.readthedocs.org
9092

93+
Related Projects
94+
~~~~~~~~~~~~~~~~
95+
96+
Routewatch brings automated alerting to YABGP. https://github.com/nerdalize/routewatch
97+
98+
A BGP update generator based on YaBGP https://github.com/trungdtbk/bgp-update-gen
99+
91100
Support
92101
~~~~~~~
93102

@@ -126,9 +135,9 @@ https://github.com/Exa-Networks/exabgp
126135
.. |Documentation Status| image:: https://readthedocs.org/projects/yabgp/badge/?version=latest
127136
:target: https://readthedocs.org/projects/yabgp/?badge=latest
128137

129-
.. |Test Coverage| image:: https://coveralls.io/repos/smartbgp/yabgp/badge.svg?branch=master
138+
.. |Test Coverage| image:: https://coveralls.io/repos/smartbgp/yabgp/badge.svg?branch=master
130139
:target: https://coveralls.io/r/smartbgp/yabgp
131-
140+
132141
.. |Version| image:: https://img.shields.io/pypi/v/yabgp.svg?
133142
:target: http://badge.fury.io/py/yabgp
134143

doc/source/api/v1.rst

+79
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,34 @@ Also, you can get the attribute for a prefix.
219219
}
220220
221221
222+
adj rib all
223+
+++++++++++
224+
225+
.. code-block:: bash
226+
227+
GET /v1/adj-rib-all/ipv4/<peer_ip_address>
228+
229+
**Example response**:
230+
231+
.. code-block:: json
232+
233+
{
234+
"20.0.5.0/24": {
235+
"1": 0,
236+
"2": [
237+
[
238+
2,
239+
[
240+
400
241+
]
242+
]
243+
],
244+
"3": "20.0.4.33",
245+
"4": 0,
246+
"5": 100
247+
}
248+
}
249+
222250
Send Message
223251
~~~~~~~~~~~~
224252

@@ -298,3 +326,54 @@ POST data format for withdraw
298326
{
299327
"status": true
300328
}
329+
330+
331+
Peer Management
332+
~~~~~~~~~~~~~~~
333+
334+
Peer Stop
335+
+++++++++
336+
337+
.. code-block:: bash
338+
339+
GET /v1/peer/<peer_ip_address>/stop
340+
341+
**Example response**:
342+
343+
.. code-block:: json
344+
345+
{
346+
"status": true
347+
}
348+
349+
Peer Start
350+
++++++++++
351+
352+
.. code-block:: bash
353+
354+
GET /v1/peer/<peer_ip_address>/start
355+
356+
**Example response**:
357+
358+
.. code-block:: json
359+
360+
{
361+
"status": true
362+
}
363+
364+
365+
Peer Restart
366+
++++++++++++
367+
368+
.. code-block:: bash
369+
370+
GET /v1/peer/<peer_ip_address>/restart
371+
372+
**Example response**:
373+
374+
.. code-block:: json
375+
376+
{
377+
"status": true
378+
}
379+

0 commit comments

Comments
 (0)