Skip to content

Commit

Permalink
add support node msd old tmp type code
Browse files Browse the repository at this point in the history
Signed-off-by: Peng Xiao <xiaoquwl@gmail.com>
  • Loading branch information
xiaopeng163 committed Apr 26, 2018
1 parent 9cccb19 commit ff26a71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion yabgp/message/attribute/linkstate/link/link_msd.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

@LinkState.register(_type=1110)
@LinkState.register(_type=267)
@LinkState.register()
class LinkMSD(TLV):
"""
link msd
Expand Down
5 changes: 3 additions & 2 deletions yabgp/message/attribute/linkstate/node/node_msd.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
from ..linkstate import LinkState


@LinkState.register()
@LinkState.register(_type=1050)
@LinkState.register(_type=266)
class NodeMSD(TLV):
"""
node msd
"""
TYPE = 1050 # https://tools.ietf.org/html/draft-tantsura-idr-bgp-ls-segment-routing-msd-05#section-3
# https://tools.ietf.org/html/draft-tantsura-idr-bgp-ls-segment-routing-msd-05#section-3
TYPE_STR = 'node_msd'

@classmethod
Expand Down

0 comments on commit ff26a71

Please sign in to comment.