-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[swss]: Fix missing comma in the ports.json.j2 file (#1217)
Add J2 test case as well as a sample output Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
- Loading branch information
Showing
4 changed files
with
39 additions
and
1 deletion.
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,30 @@ | ||
[ | ||
{ | ||
"PORT_TABLE:Ethernet8": { | ||
"speed": "40000", | ||
"description": "Interface description" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"PORT_TABLE:Ethernet0": { | ||
"speed": "10000", | ||
"description": "" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"PORT_TABLE:Ethernet4": { | ||
"speed": "25000", | ||
"description": "" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"PORT_TABLE:Ethernet12": { | ||
"speed": "1000000", | ||
"description": "Interface description" | ||
}, | ||
"OP": "SET" | ||
}, | ||
] |
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