sonic-buffer-pg YANG¶
概要¶
- module:
sonic-buffer-pg - namespace:
http://github.com/sonic-net/sonic-buffer-pg - revision:
2021-07-01 - import:
sonic-port,sonic-buffer-profile - top container:
sonic-buffer-pg
Ingress buffer priority group configuration for SONiC ports.1
データフロー (自動生成)¶
flowchart LR
Y["sonic-buffer-pg"]
C1[("CONFIG_DB<br/>BUFFER_PG")]
Y --> C1
D1["buffermgrd"]
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-buffer-pg
+--rw sonic-buffer-pg
+--rw BUFFER_PG
+--rw BUFFER_PG_LIST* [port pg_num]
+--rw port -> /prt:sonic-port/PORT/PORT_LIST/name
+--rw pg_num string
+--rw profile? union
leaf 一覧¶
| leaf | パス | 型 | 必須 | デフォルト | enum / 範囲 / leafref | 説明 |
|---|---|---|---|---|---|---|
port |
sonic-buffer-pg/BUFFER_PG/BUFFER_PG_LIST/port |
leafref |
yes | /prt:sonic-port/prt:PORT/prt:PORT_LIST/prt:name | Port on which the buffer priority group is configured. | |
pg_num |
sonic-buffer-pg/BUFFER_PG/BUFFER_PG_LIST/pg_num |
string |
yes | pattern [0-7]((-)[0-7])? |
Priority Group number | |
profile |
sonic-buffer-pg/BUFFER_PG/BUFFER_PG_LIST/profile |
union |
0 | union(leafref, string) | Buffer Profile associated with Priority Group number for a port |
leafref / 依存¶
sonic-buffer-pg/BUFFER_PG/BUFFER_PG_LIST/port→/prt:sonic-port/prt:PORT/prt:PORT_LIST/prt:name
augment / deviation¶
- なし
関連 CONFIG_DB / CLI¶
- CONFIG_DB:
BUFFER_PG
関連 YANG モジュール¶
意味的に関連する SONiC YANG モジュール (slug prefix / curated group / frontmatter related.yang から自動抽出):
関連リファレンス¶
運用ヒント¶
典型的なデプロイ位置¶
よくある落とし穴¶
profileleafref で BUFFER_PROFILE を参照。先に profile を消すと leafref エラーで CONFIG_DB 書き込みが失敗する。
関連する config / show コマンド¶
引用元¶
関連 Topics¶
-
sonic-net/sonic-buildimagesrc/sonic-yang-models/yang-models/sonic-buffer-pg.yang@9ea932ec2e18f35e58268ec2e4456b1d4afd65cd↩