-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added config commands for CBF #1799
Merged
smaheshm
merged 7 commits into
sonic-net:master
from
Cosmin-Jinga-MS:metaswitch/cbf_cli_commands
Oct 28, 2021
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
350f92a
[config] Added config commands for CBF
dee37e8
Added CBF reload UT
9e6c82b
Renamed DSCP_TO_FC_MAP and EXP_TO_FC_MAP tables to be in line with th…
14bf170
Extended test config for CBF and added multi asic UT
0dad73c
Merge branch 'master' into metaswitch/cbf_cli_commands
Cosmin-Jinga-MS f5aefb3
Changed CBF DSCP map to correct name
c39c228
Fix alignment in config_test.py
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{%- include 'cbf_config.j2' %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"DSCP_TO_FC_MAP": { | ||
"AZURE": { | ||
"0" : "1", | ||
"1" : "1", | ||
"2" : "1", | ||
"3" : "3", | ||
"4" : "4", | ||
"5" : "2", | ||
"6" : "1", | ||
"7" : "1", | ||
"8" : "0", | ||
"9" : "1", | ||
"10": "1", | ||
"11": "1", | ||
"12": "1", | ||
"13": "1", | ||
"14": "1", | ||
"15": "1", | ||
"16": "1", | ||
"17": "1", | ||
"18": "1", | ||
"19": "1", | ||
"20": "1", | ||
"21": "1", | ||
"22": "1", | ||
"23": "1", | ||
"24": "1", | ||
"25": "1", | ||
"26": "1", | ||
"27": "1", | ||
"28": "1", | ||
"29": "1", | ||
"30": "1", | ||
"31": "1", | ||
"32": "1", | ||
"33": "1", | ||
"34": "1", | ||
"35": "1", | ||
"36": "1", | ||
"37": "1", | ||
"38": "1", | ||
"39": "1", | ||
"40": "1", | ||
"41": "1", | ||
"42": "1", | ||
"43": "1", | ||
"44": "1", | ||
"45": "1", | ||
"46": "5", | ||
"47": "1", | ||
"48": "6", | ||
"49": "1", | ||
"50": "1", | ||
"51": "1", | ||
"52": "1", | ||
"53": "1", | ||
"54": "1", | ||
"55": "1", | ||
"56": "1", | ||
"57": "1", | ||
"58": "1", | ||
"59": "1", | ||
"60": "1", | ||
"61": "1", | ||
"62": "1", | ||
"63": "1" | ||
} | ||
}, | ||
"EXP_TO_FC_MAP": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"2": "2", | ||
"3": "3", | ||
"4": "4", | ||
"5": "5", | ||
"6": "6", | ||
"7": "7" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"DSCP_TO_FC_MAP": { | ||
"AZURE": { | ||
"0" : "1", | ||
"1" : "1", | ||
"2" : "1", | ||
"3" : "3", | ||
"4" : "4", | ||
"5" : "2", | ||
"6" : "1", | ||
"7" : "1", | ||
"8" : "0", | ||
"9" : "1", | ||
"10": "1", | ||
"11": "1", | ||
"12": "1", | ||
"13": "1", | ||
"14": "1", | ||
"15": "1", | ||
"16": "1", | ||
"17": "1", | ||
"18": "1", | ||
"19": "1", | ||
"20": "1", | ||
"21": "1", | ||
"22": "1", | ||
"23": "1", | ||
"24": "1", | ||
"25": "1", | ||
"26": "1", | ||
"27": "1", | ||
"28": "1", | ||
"29": "1", | ||
"30": "1", | ||
"31": "1", | ||
"32": "1", | ||
"33": "1", | ||
"34": "1", | ||
"35": "1", | ||
"36": "1", | ||
"37": "1", | ||
"38": "1", | ||
"39": "1", | ||
"40": "1", | ||
"41": "1", | ||
"42": "1", | ||
"43": "1", | ||
"44": "1", | ||
"45": "1", | ||
"46": "5", | ||
"47": "1", | ||
"48": "6", | ||
"49": "1", | ||
"50": "1", | ||
"51": "1", | ||
"52": "1", | ||
"53": "1", | ||
"54": "1", | ||
"55": "1", | ||
"56": "1", | ||
"57": "1", | ||
"58": "1", | ||
"59": "1", | ||
"60": "1", | ||
"61": "1", | ||
"62": "1", | ||
"63": "1" | ||
} | ||
}, | ||
"EXP_TO_FC_MAP": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"2": "2", | ||
"3": "3", | ||
"4": "4", | ||
"5": "5", | ||
"6": "6", | ||
"7": "7" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{%- include 'cbf_config.j2' %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"DSCP_TO_FC_MAP": { | ||
"AZURE": { | ||
"0" : "1", | ||
"1" : "1", | ||
"2" : "1", | ||
"3" : "3", | ||
"4" : "4", | ||
"5" : "2", | ||
"6" : "1", | ||
"7" : "1", | ||
"8" : "0", | ||
"9" : "1", | ||
"10": "1", | ||
"11": "1", | ||
"12": "1", | ||
"13": "1", | ||
"14": "1", | ||
"15": "1", | ||
"16": "1", | ||
"17": "1", | ||
"18": "1", | ||
"19": "1", | ||
"20": "1", | ||
"21": "1", | ||
"22": "1", | ||
"23": "1", | ||
"24": "1", | ||
"25": "1", | ||
"26": "1", | ||
"27": "1", | ||
"28": "1", | ||
"29": "1", | ||
"30": "1", | ||
"31": "1", | ||
"32": "1", | ||
"33": "1", | ||
"34": "1", | ||
"35": "1", | ||
"36": "1", | ||
"37": "1", | ||
"38": "1", | ||
"39": "1", | ||
"40": "1", | ||
"41": "1", | ||
"42": "1", | ||
"43": "1", | ||
"44": "1", | ||
"45": "1", | ||
"46": "5", | ||
"47": "1", | ||
"48": "6", | ||
"49": "1", | ||
"50": "1", | ||
"51": "1", | ||
"52": "1", | ||
"53": "1", | ||
"54": "1", | ||
"55": "1", | ||
"56": "1", | ||
"57": "1", | ||
"58": "1", | ||
"59": "1", | ||
"60": "1", | ||
"61": "1", | ||
"62": "1", | ||
"63": "1" | ||
} | ||
}, | ||
"EXP_TO_FC_MAP": { | ||
"AZURE": { | ||
"0": "0", | ||
"1": "1", | ||
"2": "2", | ||
"3": "3", | ||
"4": "4", | ||
"5": "5", | ||
"6": "6", | ||
"7": "7" | ||
} | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elsewhere it's DSCP_TO_TC_MAP. Please update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other updates were incorrect. CBF has to have its own DSCP mapping, I've reverted the names to DSCP_TO_FC_MAP in the other occurrences too.