sonic-scheduler YANG¶
概要¶
- module:
sonic-scheduler - namespace:
http://github.com/sonic-net/sonic-scheduler - revision:
2021-04-01 - top container:
sonic-scheduler
SCHEDULER yang Module for SONiC OS1
データフロー (自動生成)¶
flowchart LR
Y["sonic-scheduler"]
C1[("CONFIG_DB<br/>SCHEDULER")]
Y --> C1
D1["QosOrch"]
C1 --> D1
凡例
YANG モジュールから CONFIG_DB テーブル経由で subscribe する daemon/orch までを docs/reference/config-db-orch-map.md から機械生成したミニ図。詳細・例外は本ページ本文を参照。
関連ページ¶
本 YANG モジュールに対応する CONFIG_DB / CLI / HLD / Topics への相互リンク。inject_yang_xref.py により自動生成されます。
対応 CONFIG_DB¶
関連 HLD¶
ツリー¶
module: sonic-scheduler
+--rw sonic-scheduler
+--rw SCHEDULER
+--rw SCHEDULER_LIST* [name]
+--rw name string
+--rw type? enumeration
+--rw weight? uint8
+--rw priority? uint8
+--rw meter_type? enumeration
+--rw cir? uint64
+--rw pir? uint64
+--rw cbs? uint32
+--rw pbs? uint32
leaf 一覧¶
| leaf | パス | 型 | 必須 | デフォルト | enum / 範囲 / leafref | 説明 |
|---|---|---|---|---|---|---|
name |
sonic-scheduler/SCHEDULER/SCHEDULER_LIST/name |
string |
yes | Scheduler name | ||
type |
sonic-scheduler/SCHEDULER/SCHEDULER_LIST/type |
enumeration |
WRR | DWRR, WRR, STRICT | Scheduling algorithm type | |
weight |
sonic-scheduler/SCHEDULER/SCHEDULER_LIST/weight |
uint8 |
1 | range 1..100 | Scheduling algorithm weight | |
priority |
sonic-scheduler/SCHEDULER/SCHEDULER_LIST/priority |
uint8 |
range 0..9 | Scheduler priority | ||
meter_type |
sonic-scheduler/SCHEDULER/SCHEDULER_LIST/meter_type |
enumeration |
bytes | packets, bytes | Metering unit for shaping rates (packets or bytes). | |
cir |
sonic-scheduler/SCHEDULER/SCHEDULER_LIST/cir |
uint64 |
Committed information rate for the dual-rate token bucket policer.This value represents the rate at which tokens are added to the primary bucket.nt Units is Bps(Bytes per second) for meter type is ... | |||
pir |
sonic-scheduler/SCHEDULER/SCHEDULER_LIST/pir |
uint64 |
Peak information rate for the dual-rate token bucket policer.This value represents the rate at which tokens are added to the secondary bucket.Unit is Bps(Bytes per second) for meter type bytes else... | |||
cbs |
sonic-scheduler/SCHEDULER/SCHEDULER_LIST/cbs |
uint32 |
Committed burst size for the dual-rate token bucket policer.This value represents the depth of the token bucket.Unit is bytes for meter type bytes else packets for meter type is packets | |||
pbs |
sonic-scheduler/SCHEDULER/SCHEDULER_LIST/pbs |
uint32 |
Excess burst size for the dual-rate token bucket policer. This value represents the depth of the secondary bucket. Unit is bytes for meter type bytes else packets for meter type is packets |
leafref / 依存¶
- なし(このモジュール内で直接 leafref を持つ leaf はない)
augment / deviation¶
- なし
関連 CONFIG_DB / CLI¶
- CONFIG_DB:
SCHEDULER
関連 YANG モジュール¶
意味的に関連する SONiC YANG モジュール (slug prefix / curated group / frontmatter related.yang から自動抽出):
関連リファレンス¶
引用元¶
関連 Topics¶
-
sonic-net/sonic-buildimagesrc/sonic-yang-models/yang-models/sonic-scheduler.yang@9ea932ec2e18f35e58268ec2e4456b1d4afd65cd↩