summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorShinpei Muraoka <shinpei.muraoka@gmail.com>2017-04-07 15:19:15 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-05-09 10:20:16 +0900
commit352c007535212aab44b8995ffe79ab0cf08407dd (patch)
tree7fe85bc67f7d57099468d14ce7836b446e75763c
parent74c6f5b21cb0686c550a7c944a05144478d46429 (diff)
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>
-rw-r--r--ryu/services/protocols/bgp/info_base/base.py25
1 files changed, 11 insertions, 14 deletions
diff --git a/ryu/services/protocols/bgp/info_base/base.py b/ryu/services/protocols/bgp/info_base/base.py
index 68196dfb..9b3c4031 100644
--- a/ryu/services/protocols/bgp/info_base/base.py
+++ b/ryu/services/protocols/bgp/info_base/base.py
@@ -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