コンテンツにスキップ

sonic-storm-control YANG

概要

  • module: sonic-storm-control
  • namespace: http://github.com/sonic-net/sonic-storm-control
  • revision: 2021-12-13
  • import: sonic-port
  • top container: sonic-storm-control

ポート単位の BUM (Broadcast / Unknown unicast / Multicast) ストーム制御レート上限を保持する1

データフロー (自動生成)

flowchart LR
  Y["sonic-storm-control"]
  C1[("CONFIG_DB<br/>PORT_STORM_CONTROL")]
  Y --> C1
  D1["PolicerOrch"]
  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

関連 HLD

ツリー

module: sonic-storm-control
  +--rw sonic-storm-control
     +--rw PORT_STORM_CONTROL
        +--rw PORT_STORM_CONTROL_LIST* [ifname storm_type]
           +--rw ifname        -> /prt:sonic-port/PORT/PORT_LIST/name
           +--rw storm_type    enumeration
           +--rw kbps?         uint64

leaf 一覧

leaf パス 必須 デフォルト enum / 範囲 / leafref 説明
ifname sonic-storm-control/PORT_STORM_CONTROL/PORT_STORM_CONTROL_LIST/ifname leafref yes /prt:sonic-port/prt:PORT/prt:PORT_LIST/prt:name Physical port on which storm control is applied
storm_type sonic-storm-control/PORT_STORM_CONTROL/PORT_STORM_CONTROL_LIST/storm_type enumeration yes broadcast, unknown-unicast, unknown-multicast Type of BUM traffic to rate-limit
kbps sonic-storm-control/PORT_STORM_CONTROL/PORT_STORM_CONTROL_LIST/kbps uint64 Rate limit in kilobits per second

leafref / 依存

  • sonic-storm-control/PORT_STORM_CONTROL/PORT_STORM_CONTROL_LIST/ifname/prt:sonic-port/prt:PORT/prt:PORT_LIST/prt:name

augment / deviation

  • なし

関連 CONFIG_DB / CLI

  • CONFIG_DB: PORT_STORM_CONTROL
  • CLI: config interface storm-control, show storm-control

関連 YANG モジュール

意味的に関連する SONiC YANG モジュール (slug prefix / curated group / frontmatter related.yang から自動抽出):

関連リファレンス

引用元


  1. sonic-net/sonic-buildimage src/sonic-yang-models/yang-models/sonic-storm-control.yang @ 9ea932ec2e18f35e58268ec2e4456b1d4afd65cd