mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-12 00:03:24 +02:00
bgp: encode 'next_hop' in human readable format
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
f01af327c8
commit
9606784f68
@ -1960,6 +1960,11 @@ class BGPPathAttributeMpReachNLRI(_PathAttribute):
|
||||
_ATTR_FLAGS = BGP_ATTR_FLAG_OPTIONAL
|
||||
_class_suffixes = ['AddrPrefix']
|
||||
_rd_length = 8
|
||||
_TYPE = {
|
||||
'ascii': [
|
||||
'next_hop'
|
||||
]
|
||||
}
|
||||
|
||||
def __init__(self, afi, safi, next_hop, nlri,
|
||||
next_hop_len=0, reserved='\0',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user