Skip to content

Commit 8332ab6

Browse files
committed
* Update Configuration.md with SCHEDULER_TABLE and PORT_QOS_MAP
* Refer to corresponding design document for more details: sonic-net/SONiC#535
1 parent 182940d commit 8332ab6

File tree

1 file changed

+61
-2
lines changed

1 file changed

+61
-2
lines changed

doc/Configuration.md

+61-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Table of Contents
3232
* [Port](#port)
3333
* [Port Channel](#port-channel)
3434
* [Portchannel member](#portchannel-member)
35+
* [Scheduler](#scheduler)
3536
* [Port QoS Map](#port-qos-map)
3637
* [Queue](#queue)
3738
* [Tacplus Server](#tacplus-server)
@@ -924,6 +925,30 @@ name as object key and member list as attribute.
924925
"PortChannel0004|Ethernet56": {}
925926
}
926927
}
928+
929+
```
930+
### Scheduler
931+
932+
```
933+
{
934+
"SCHEDULER": {
935+
"scheduler.0": {
936+
"type": "STRICT"
937+
},
938+
"scheduler.1": {
939+
"type": "WRR"
940+
"weight": "1",
941+
"meter_type": "bytes",
942+
"pir": "1250000000",
943+
"pbs": "8192"
944+
},
945+
"scheduler.port": {
946+
"meter_type": "bytes",
947+
"pir": "1000000000",
948+
"pbs": "8192"
949+
}
950+
}
951+
}
927952
```
928953

929954
### Port QoS Map
@@ -936,7 +961,8 @@ name as object key and member list as attribute.
936961
"tc_to_queue_map": "[TC_TO_QUEUE_MAP|AZURE]",
937962
"pfc_enable": "3,4",
938963
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
939-
"dscp_to_tc_map": "[DSCP_TO_TC_MAP|AZURE]"
964+
"dscp_to_tc_map": "[DSCP_TO_TC_MAP|AZURE]",
965+
"scheduler": "[SCHEDULER|scheduler.port]"
940966
}
941967
}
942968
}
@@ -1149,6 +1175,39 @@ The packet action could be:
11491175
}
11501176
```
11511177

1178+
### BREAKOUT_CFG
1179+
1180+
This table is introduced as part of Dynamic Port Breakout(DPB) feature.
1181+
It shows the current breakout mode of all ports(root ports).
1182+
The list of root ports, all possible breakout modes, and default breakout modes
1183+
are obtained/derived from platform.json and hwsku.json files.
1184+
1185+
```
1186+
"BREAKOUT_CFG": {
1187+
"Ethernet0": {
1188+
"brkout_mode": "4x25G[10G]"
1189+
},
1190+
"Ethernet4": {
1191+
"brkout_mode": "4x25G[10G]"
1192+
},
1193+
"Ethernet8": {
1194+
"brkout_mode": "4x25G[10G]"
1195+
},
1196+
1197+
......
1198+
1199+
"Ethernet116": {
1200+
"brkout_mode": "2x50G"
1201+
},
1202+
"Ethernet120": {
1203+
"brkout_mode": "2x50G"
1204+
},
1205+
"Ethernet124": {
1206+
"brkout_mode": "2x50G"
1207+
}
1208+
}
1209+
```
1210+
11521211
For Developers
11531212
==============
11541213

@@ -1162,4 +1221,4 @@ Incremental Configuration by Subscribing to ConfigDB
11621221

11631222
Detail instruction to be added. A sample could be found in this
11641223
[PR](https://github.com/Azure/sonic-buildimage/pull/861) that
1165-
implemented dynamic configuration for BGP.
1224+
implemented dynamic configuration for BGP.

0 commit comments

Comments
 (0)