diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-04-07 15:19:19 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-05-09 10:20:16 +0900 |
commit | 5969a89ee48bc655bfbb940752da1730846b7d8d (patch) | |
tree | 64f2f98f8a191de396ec76be1c14699c3a2b35fd | |
parent | c6d9bfc384e629579bad428a9e0c270cce8b1b04 (diff) |
packet/bgp: Omit description of default value
Omit description of default value The default value is described in the
aut generated API doc of class.
So the default value should not be hardcoded in pydoc.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/lib/packet/bgp.py | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py index 454a3f66..d9d70c23 100644 --- a/ryu/lib/packet/bgp.py +++ b/ryu/lib/packet/bgp.py @@ -4597,18 +4597,20 @@ class BGPOpen(BGPMessage): ========================== =============================================== marker Marker field. Ignored when encoding. len Length field. Ignored when encoding. - type Type field. The default is BGP_MSG_OPEN. - version Version field. The default is 4. - my_as My Autonomous System field. 2 octet unsigned - integer. - hold_time Hold Time field. 2 octet unsigned integer. - The default is 0. - bgp_identifier BGP Identifier field. An IPv4 address. + type Type field. + version Version field. + my_as My Autonomous System field. + 2 octet unsigned integer. + hold_time Hold Time field. + 2 octet unsigned integer. + bgp_identifier BGP Identifier field. + An IPv4 address. For example, '192.0.2.1' opt_param_len Optional Parameters Length field. Ignored when encoding. - opt_param Optional Parameters field. A list of - BGPOptParam instances. The default is []. + opt_param Optional Parameters field. + A list of BGPOptParam instances. + The default is []. ========================== =============================================== """ @@ -4701,16 +4703,16 @@ class BGPUpdate(BGPMessage): ========================== =============================================== marker Marker field. Ignored when encoding. len Length field. Ignored when encoding. - type Type field. The default is BGP_MSG_UPDATE. + type Type field. withdrawn_routes_len Withdrawn Routes Length field. Ignored when encoding. - withdrawn_routes Withdrawn Routes field. A list of - BGPWithdrawnRoute instances. + withdrawn_routes Withdrawn Routes field. + A list of BGPWithdrawnRoute instances. The default is []. total_path_attribute_len Total Path Attribute Length field. Ignored when encoding. - path_attributes Path Attributes field. A list of - BGPPathAttribute instances. + path_attributes Path Attributes field. + A list of BGPPathAttribute instances. The default is []. nlri Network Layer Reachability Information field. A list of BGPNLRI instances. @@ -4820,7 +4822,7 @@ class BGPKeepAlive(BGPMessage): ========================== =============================================== marker Marker field. Ignored when encoding. len Length field. Ignored when encoding. - type Type field. The default is BGP_MSG_KEEPALIVE. + type Type field. ========================== =============================================== """ @@ -4852,11 +4854,10 @@ class BGPNotification(BGPMessage): ========================== =============================================== marker Marker field. Ignored when encoding. len Length field. Ignored when encoding. - type Type field. The default is - BGP_MSG_NOTIFICATION. + type Type field. error_code Error code field. error_subcode Error subcode field. - data Data field. The default is ''. + data Data field. ========================== =============================================== """ @@ -4945,8 +4946,7 @@ class BGPRouteRefresh(BGPMessage): ========================== =============================================== marker Marker field. Ignored when encoding. len Length field. Ignored when encoding. - type Type field. The default is - BGP_MSG_ROUTE_REFRESH. + type Type field. afi Address Family Identifier safi Subsequent Address Family Identifier ========================== =============================================== |