From 352c007535212aab44b8995ffe79ab0cf08407dd Mon Sep 17 00:00:00 2001 From: Shinpei Muraoka Date: Fri, 7 Apr 2017 15:19:15 +0900 Subject: [PATCH] BGPSpeaker/info_base/base: Unify documentation format Signed-off-by: Shinpei Muraoka Signed-off-by: FUJITA Tomonori --- ryu/services/protocols/bgp/info_base/base.py | 25 +++++++++----------- 1 file 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