BGPSpeaker/info_base/base: Unify documentation format

Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Shinpei Muraoka 2017-04-07 15:19:15 +09:00 committed by FUJITA Tomonori
parent 74c6f5b21c
commit 352c007535
1 changed files with 11 additions and 14 deletions

View File

@ -1060,20 +1060,17 @@ class ASPathFilter(Filter):
Meaning of each policy is as follows:
* POLICY_TOP
Filter checks if the specified AS number is at the top of
AS_PATH attribute.
* POLICY_END
Filter checks is the specified AS number
is at the last of AS_PATH attribute.
* POLICY_INCLUDE
Filter checks if specified AS number
exists in AS_PATH attribute
* POLICY_NOT_INCLUDE
Opposite to POLICY_INCLUDE
================== ==================================================
Policy Description
================== ==================================================
POLICY_TOP Filter checks if the specified AS number
is at the top of AS_PATH attribute.
POLICY_END Filter checks is the specified AS number
is at the last of AS_PATH attribute.
POLICY_INCLUDE Filter checks if specified AS number exists
in AS_PATH attribute.
POLICY_NOT_INCLUDE Opposite to POLICY_INCLUDE.
================== ==================================================
"""
POLICY_TOP = 2