Skip to content

Commit

Permalink
add dscp values map
Browse files Browse the repository at this point in the history
Signed-off-by: Peng Xiao <xiaoquwl@gmail.com>
  • Loading branch information
xiaopeng163 committed May 20, 2016
1 parent 798c171 commit 46fe5bc
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions yabgp/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,3 +407,28 @@


COMMUNITY_DICT = False

DSCP_NAMES = {
'be': 0,
'cs0': 0,
'cs1': 8,
'af11': 10,
'af12': 12,
'af13': 14,
'cs2': 16,
'af21': 18,
'af22': 20,
'af23': 22,
'cs3': 24,
'af31': 26,
'af32': 28,
'af33': 30,
'cs4': 32,
'af41': 34,
'af42': 36,
'af43': 38,
'cs5': 40,
'ef': 46,
'cs6': 48,
'cs7': 56
}

0 comments on commit 46fe5bc

Please sign in to comment.