sonic-dot1p-tc-map YANG¶
概要¶
- module:
sonic-dot1p-tc-map - namespace:
http://github.com/sonic-net/sonic-dot1p-tc-map - revision:
2021-04-15 - import:
sonic-types - top container:
sonic-dot1p-tc-map
802.1p (PCP) ビットからトラフィッククラス (TC) へのマップを名前付きで保持する。ingress 側で PORT_QOS_MAP から参照される1。
データフロー (自動生成)¶
flowchart LR
Y["sonic-dot1p-tc-map"]
C1[("CONFIG_DB<br/>DOT1P_TO_TC_MAP")]
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¶
関連 CLI¶
ツリー¶
module: sonic-dot1p-tc-map
+--rw sonic-dot1p-tc-map
+--rw DOT1P_TO_TC_MAP
+--rw DOT1P_TO_TC_MAP_LIST* [name]
+--rw name string
+--rw DOT1P_TO_TC_MAP* [dot1p]
+--rw dot1p string
+--rw tc? stypes:tc_type
leaf 一覧¶
| leaf | パス | 型 | 必須 | デフォルト | enum / 範囲 / leafref | 説明 |
|---|---|---|---|---|---|---|
name |
sonic-dot1p-tc-map/DOT1P_TO_TC_MAP/DOT1P_TO_TC_MAP_LIST/name |
string |
yes | Map name | ||
dot1p |
sonic-dot1p-tc-map/DOT1P_TO_TC_MAP/DOT1P_TO_TC_MAP_LIST/DOT1P_TO_TC_MAP/dot1p |
string |
yes | "0".."7" | 802.1p priority value | |
tc |
sonic-dot1p-tc-map/DOT1P_TO_TC_MAP/DOT1P_TO_TC_MAP_LIST/DOT1P_TO_TC_MAP/tc |
stypes:tc_type |
range 0..7 | Traffic class |
leafref / 依存¶
- なし(
PORT_QOS_MAP.dot1p_to_tc_mapから leafref で参照される)
augment / deviation¶
- なし
関連 CONFIG_DB / CLI¶
- CONFIG_DB:
DOT1P_TO_TC_MAP - CLI:
config qos
関連 YANG モジュール¶
意味的に関連する SONiC YANG モジュール (slug prefix / curated group / frontmatter related.yang から自動抽出):
関連リファレンス¶
運用ヒント¶
典型的なデプロイ位置¶
- DOT1P → TC マッピング。
DOT1P_TO_TC_MAP|<name>を qosorch が SAI qos map に反映、PORT_QOS_MAPから参照される。
よくある落とし穴¶
PORT_QOS_MAPから leafref されるため、削除前にポート紐付けを外す必要あり。
関連する config / show コマンド¶
引用元¶
-
sonic-net/sonic-buildimagesrc/sonic-yang-models/yang-models/sonic-dot1p-tc-map.yang@9ea932ec2e18f35e58268ec2e4456b1d4afd65cd↩