Skip to content

Commit

Permalink
* Update Configuration.md with SCHEDULER_TABLE and PORT_QOS_MAP
Browse files Browse the repository at this point in the history
 * Refer to corresponding design document for more details: sonic-net/SONiC#535
  • Loading branch information
amaneti committed Oct 1, 2020
1 parent 182940d commit 8332ab6
Showing 1 changed file with 61 additions and 2 deletions.
63 changes: 61 additions & 2 deletions doc/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Table of Contents
* [Port](#port)
* [Port Channel](#port-channel)
* [Portchannel member](#portchannel-member)
* [Scheduler](#scheduler)
* [Port QoS Map](#port-qos-map)
* [Queue](#queue)
* [Tacplus Server](#tacplus-server)
Expand Down Expand Up @@ -924,6 +925,30 @@ name as object key and member list as attribute.
"PortChannel0004|Ethernet56": {}
}
}
```
### Scheduler

```
{
"SCHEDULER": {
"scheduler.0": {
"type": "STRICT"
},
"scheduler.1": {
"type": "WRR"
"weight": "1",
"meter_type": "bytes",
"pir": "1250000000",
"pbs": "8192"
},
"scheduler.port": {
"meter_type": "bytes",
"pir": "1000000000",
"pbs": "8192"
}
}
}
```

### Port QoS Map
Expand All @@ -936,7 +961,8 @@ name as object key and member list as attribute.
"tc_to_queue_map": "[TC_TO_QUEUE_MAP|AZURE]",
"pfc_enable": "3,4",
"pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]",
"dscp_to_tc_map": "[DSCP_TO_TC_MAP|AZURE]"
"dscp_to_tc_map": "[DSCP_TO_TC_MAP|AZURE]",
"scheduler": "[SCHEDULER|scheduler.port]"
}
}
}
Expand Down Expand Up @@ -1149,6 +1175,39 @@ The packet action could be:
}
```

### BREAKOUT_CFG

This table is introduced as part of Dynamic Port Breakout(DPB) feature.
It shows the current breakout mode of all ports(root ports).
The list of root ports, all possible breakout modes, and default breakout modes
are obtained/derived from platform.json and hwsku.json files.

```
"BREAKOUT_CFG": {
"Ethernet0": {
"brkout_mode": "4x25G[10G]"
},
"Ethernet4": {
"brkout_mode": "4x25G[10G]"
},
"Ethernet8": {
"brkout_mode": "4x25G[10G]"
},
......
"Ethernet116": {
"brkout_mode": "2x50G"
},
"Ethernet120": {
"brkout_mode": "2x50G"
},
"Ethernet124": {
"brkout_mode": "2x50G"
}
}
```

For Developers
==============

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

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

0 comments on commit 8332ab6

Please sign in to comment.