[要約] RFC 9398 は、IGMP や MLD Proxy デバイスを設定および管理するために使用できる YANG データモデルを定義しています。この文書の目的は、NMDA に準拠した YANG モジュールを提供することです。

Internet Engineering Task Force (IETF)                           H. Zhao
Request for Comments: 9398                                      Ericsson
Category: Standards Track                                         X. Liu
ISSN: 2070-1721                                                Alef Edge
                                                                  Y. Liu
                                                            China Mobile
                                                         M. Panchanathan
                                                     Cisco Systems, Inc.
                                                            M. Sivakumar
                                                                 Juniper
                                                                May 2023
        
A YANG Data Model for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) Proxy Devices
インターネットグループ管理プロトコル(IGMP)およびマルチキャストリスナーディスカバリー(MLD)プロキシデバイスのYangデータモデル
Abstract
概要

This document defines a YANG data model that can be used to configure and manage Internet Group Management Protocol (IGMP) or Multicast Listener Discovery (MLD) Proxy devices. The YANG module in this document conforms to the Network Management Datastore Architecture (NMDA).

このドキュメントでは、インターネットグループ管理プロトコル(IGMP)またはマルチキャストリスナーディスカバリー(MLD)プロキシデバイスの構成と管理に使用できるYangデータモデルを定義します。このドキュメントのYangモジュールは、ネットワーク管理データストアアーキテクチャ(NMDA)に準拠しています。

Status of This Memo
本文書の位置付け

This is an Internet Standards Track document.

これは、インターネット標準トラックドキュメントです。

This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.

このドキュメントは、インターネットエンジニアリングタスクフォース(IETF)の製品です。IETFコミュニティのコンセンサスを表しています。公開レビューを受けており、インターネットエンジニアリングステアリンググループ(IESG)からの出版が承認されています。インターネット標準の詳細については、RFC 7841のセクション2で入手できます。

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at https://www.rfc-editor.org/info/rfc9398.

このドキュメントの現在のステータス、任意のERRATA、およびそのフィードバックを提供する方法に関する情報は、https://www.rfc-editor.org/info/rfc9398で取得できます。

著作権表示

Copyright (c) 2023 IETF Trust and the persons identified as the document authors. All rights reserved.

著作権(c)2023 IETF Trustおよび文書著者として特定された人。無断転載を禁じます。

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.

このドキュメントは、BCP 78およびIETFドキュメント(https://trustee.ietf.org/license-info)に関連するIETF Trustの法的規定の対象となります。この文書に関するあなたの権利と制限を説明するので、これらの文書を注意深く確認してください。このドキュメントから抽出されたコードコンポーネントには、セクション4.Eで説明されている法的規定のセクション4.Eで説明されており、改訂されたBSDライセンスで説明されている保証なしで提供されるように、改訂されたBSDライセンステキストを含める必要があります。

Table of Contents
目次
   1.  Introduction
     1.1.  Terminology
     1.2.  Tree Diagrams
     1.3.  Prefixes in Data Node Names
   2.  Design of Data Model
     2.1.  Overview
     2.2.  Optional Features
     2.3.  Position of Address Family in Hierarchy
   3.  Module Structure
     3.1.  IGMP Proxy Configuration and Operational State
     3.2.  MLD Proxy Configuration and Operational State
   4.  IGMP/MLD Proxy YANG Module
   5.  Security Considerations
   6.  IANA Considerations
     6.1.  IETF XML Registry
     6.2.  YANG Module Names Registry
   7.  References
     7.1.  Normative References
     7.2.  Informative References
   Appendix A.  Data Tree Example
   Authors' Addresses
        
1. Introduction
1. はじめに

This document defines a YANG data model [RFC7950] for the management of Internet Group Management Protocol (IGMP) or Multicast Listener Discovery (MLD) Proxy devices [RFC4605]. The YANG module in this document conforms to the Network Management Datastore Architecture as defined in [RFC8342].

このドキュメントでは、インターネットグループ管理プロトコル(IGMP)またはマルチキャストリスナーディスカバリー(MLD)プロキシデバイス[RFC4605]の管理のためのYangデータモデル[RFC7950]を定義しています。このドキュメントのYangモジュールは、[RFC8342]で定義されているネットワーク管理データストアアーキテクチャに適合しています。

1.1. Terminology
1.1. 用語

The terminology for describing YANG data models is found in [RFC6020] and [RFC7950], including:

Yangデータモデルを記述するための用語は、[RFC6020]および[RFC7950]にあります。

* augment

* 増強増やす増やし増える付け加える付け足す付け加え付け合わせる殖える殖やす継ぎ足す

* data model

* データ・モデル

* data node

* データノード

* identity

* 身元同一アイデンティティ素性氏名恒等式

* module

* モジュールモデュール

The following abbreviations are used in this document and in the defined YANG data model:

次の略語は、このドキュメントと定義されたヤンデータモデルで使用されています。

IGMP:

IGMP:

Internet Group Management Protocol [RFC3376].

インターネットグループ管理プロトコル[RFC3376]。

MLD:

MLD:

Multicast Listener Discovery [RFC3810].

マルチキャストリスナーディスカバリー[RFC3810]。

PIM:

ピム:

Protocol Independent Multicast [RFC7761].

プロトコル独立マルチキャスト[RFC7761]。

1.2. Tree Diagrams
1.2. ツリー図

Tree diagrams used in this document follow the notation defined in [RFC8340].

このドキュメントで使用されているツリー図は、[RFC8340]で定義されている表記に従います。

1.3. Prefixes in Data Node Names
1.3. データノード名のプレフィックス

In this document, names of data nodes and other data model objects are often used without a prefix, as long as the context clearly indicates the YANG module in which each name is defined. Otherwise, names are prefixed using the standard prefix associated with the corresponding YANG module, as shown in Table 1.

このドキュメントでは、コンテキストが各名前が定義されているYangモジュールを明確に示している限り、データノードとその他のデータモデルオブジェクトの名前はプレフィックスなしでよく使用されます。それ以外の場合、表1に示すように、対応するYangモジュールに関連付けられた標準のプレフィックスを使用して名前が付けられます。

               +==========+====================+===========+
               | Prefix   | YANG Module        | Reference |
               +==========+====================+===========+
               | inet     | ietf-inet-types    | [RFC6991] |
               +----------+--------------------+-----------+
               | if       | ietf-interfaces    | [RFC8343] |
               +----------+--------------------+-----------+
               | rt       | ietf-routing       | [RFC8349] |
               +----------+--------------------+-----------+
               | rt-types | ietf-routing-types | [RFC8294] |
               +----------+--------------------+-----------+
               | pim-base | ietf-pim-base      | [RFC9128] |
               +----------+--------------------+-----------+
        

Table 1: Prefixes and Corresponding YANG Modules

表1:プレフィックスと対応するヤンモジュール

2. Design of Data Model
2. データモデルの設計

The model covers forwarding based on IGMP and MLD proxying [RFC4605]. One goal of this document is to define a data model that provides a common user interface for IGMP/MLD Proxy devices.

このモデルは、IGMPとMLDのプロキシ[RFC4605]に基づく転送をカバーしています。このドキュメントの目標の1つは、IGMP/MLDプロキシデバイスの共通ユーザーインターフェイスを提供するデータモデルを定義することです。

2.1. Overview
2.1. 概要

The model defined in this document has all the common building blocks for IGMP/MLD Proxy devices and can be used to configure those devices. The operational state data and statistics can also be retrieved via this model.

このドキュメントで定義されているモデルには、IGMP/MLDプロキシデバイスのすべての一般的なビルディングブロックがあり、それらのデバイスの構成に使用できます。運用状態のデータと統計は、このモデルを介して取得することもできます。

2.2. Optional Features
2.2. オプションの機能

This model is designed to represent the basic capability subsets of IGMP/MLD Proxies. The main design goals of this document are that (1) the basic capabilities described in the model will be supported by any major implementations that exist at the time of this writing and (2) the configuration of all implementations meeting the specifications will be easy to express through some combination of the optional features in the model and simple vendor augmentations.

このモデルは、IGMP/MLDプロキシの基本的な機能サブセットを表すように設計されています。このドキュメントの主な設計目標は、(1)モデルに記載されている基本的な機能は、この執筆時点で存在する主要な実装によってサポートされることと、(2)仕様を満たすすべての実装の構成は簡単にできることです。モデルのオプションの機能と単純なベンダーの増強のいくつかの組み合わせを表現します。

This model declares two features representing capabilities that not all deployed devices support. One feature is called "igmp-proxy", and the other feature is called "mld-proxy". Either or both features could be implemented; this would provide more choices for vendors.

このモデルでは、すべての展開されたデバイスがサポートされていない機能を表す2つの機能を宣言します。1つの機能は「IGMP-Proxy」と呼ばれ、もう1つの機能は「MLD-Proxy」と呼ばれます。いずれかまたは両方の機能を実装できます。これにより、ベンダーにより多くの選択肢が提供されます。

2.3. Position of Address Family in Hierarchy
2.3. 階層における住所ファミリーの位置

IGMP Proxies only support IPv4, while MLD Proxies only support IPv6. The data model defined in this document can be used for both IPv4 and IPv6 address families.

IGMPプロキシはIPv4のみをサポートし、MLDプロキシはIPv6のみをサポートします。このドキュメントで定義されているデータモデルは、IPv4とIPv6アドレスファミリの両方に使用できます。

This document defines IGMP Proxies and MLD Proxies in separate schema branches in the structure. The benefits of this technique are as follows:

このドキュメントでは、構造内の別々のスキーマ分岐でIGMPプロキシとMLDプロキシを定義します。この手法の利点は次のとおりです。

* The model can support IGMP Proxies (IPv4), MLD Proxies (IPv6), or both, optionally and independently. Such flexibility cannot be achieved cleanly with a combined branch.

* このモデルは、IGMPプロキシ(IPv4)、MLDプロキシ(IPv6)、またはその両方をオプションで独立してサポートできます。このような柔軟性は、組み合わせたブランチできれいに達成することはできません。

* The structure is consistent with other YANG data models such as the model defined in [RFC8652], which uses separate branches for IPv4 and IPv6.

* この構造は、[RFC8652]で定義されているモデルなど、IPv4とIPv6に個別のブランチを使用する他のYangデータモデルと一致しています。

* Having separate branches for IGMP Proxies and MLD Proxies allows minor differences in their behavior to be modeled more simply and cleanly. The two branches can better support different features and node types.

* IGMPプロキシとMLDプロキシ用の別々のブランチを持つことで、動作のわずかな違いをより簡単かつきれいにモデル化することができます。2つのブランチは、さまざまな機能とノードタイプをより適切にサポートできます。

3. Module Structure
3. モジュール構造

This model augments the core routing data model specified in [RFC8349].

このモデルは、[RFC8349]で指定されたコアルーティングデータモデルを増強します。

      +--rw routing
         +--rw router-id?
         +--rw control-plane-protocols
         |  +--rw control-plane-protocol* [type name]
         |     +--rw type
         |     +--rw name
         |     +--rw igmp-proxy <= Augmented by this model
                        ...
         |     +--rw mld-proxy  <= Augmented by this model
        

The "igmp-proxy" container instantiates an IGMP Proxy. The "mld-proxy" container instantiates an MLD Proxy.

「IGMP-Proxy」コンテナは、IGMPプロキシをインスタンス化します。「MLD-Proxy」コンテナは、MLDプロキシをインスタンス化します。

3.1. IGMP Proxy Configuration and Operational State
3.1. IGMPプロキシ構成と運用状態

The YANG module augments /rt:routing/rt:control-plane-protocols/ rt:control-plane-protocol to add the igmp-proxy container.

Yang Module Augments/RT:Routing/RT:Control-Plane-Protocols/RT:Control-Plane-ProtocolでIGMP-Proxyコンテナを追加します。

All attributes related to IGMP Proxies are defined in the igmp-proxy container. The read-write attributes represent configurable data. The read-only attributes represent state data.

IGMPプロキシに関連するすべての属性は、IGMP-Proxyコンテナで定義されています。読み取りワイト属性は、構成可能なデータを表します。読み取り専用属性は状態データを表します。

The igmp-version parameter represents the IGMP protocol version; the default value is 2. If the value of the "enabled" parameter is "true", it means that the IGMP Proxy is enabled.

IGMP-versionパラメーターは、IGMPプロトコルバージョンを表します。デフォルト値は2です。「有効」パラメーターの値が「真」の場合、IGMPプロキシが有効になっていることを意味します。

The interface list under igmp-proxy contains upstream interfaces for an IGMP Proxy. A constraint is provided to make sure that the upstream interface for the IGMP Proxy is not configured to use PIM.

IGMP-Proxyの下のインターフェイスリストには、IGMPプロキシ用の上流インターフェイスが含まれています。IGMPプロキシの上流インターフェイスがPIMを使用するように構成されていないことを確認するための制約が提供されます。

To configure a downstream interface for an IGMP Proxy, the ability to enable IGMP on that interface is needed. This is defined in "A YANG Data Model for the Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD)" [RFC8652].

IGMPプロキシ用のダウンストリームインターフェイスを構成するには、そのインターフェイスでIGMPを有効にする機能が必要です。これは、「インターネットグループ管理プロトコル(IGMP)およびマルチキャストリスナーディスカバリー(MLD)のYangデータモデル」[RFC8652]で定義されています。

   augment /rt:routing/rt:control-plane-protocols
             /rt:control-plane-protocol:
     +--rw igmp-proxy! {igmp-proxy}?
        +--rw interfaces
           +--rw interface* [name]
              +--rw name                     if:interface-ref
              +--rw igmp-version?            uint8
              +--rw enabled?                 boolean
              +--rw sender-source-address?   inet:ipv4-address-no-zone
              +--ro group* [group-address]
                 +--ro group-address
                 |       rt-types:ipv4-multicast-group-address
                 +--ro up-time?         uint32
                 +--ro filter-mode      enumeration
                 +--ro source* [source-address]
                    +--ro source-address
                    |       inet:ipv4-address-no-zone
                    +--ro up-time?                uint32
                    +--ro downstream-interface* [name]
                       +--ro name    if:interface-ref
        
3.2. MLD Proxy Configuration and Operational State
3.2. MLDプロキシ構成と運用状態

The YANG module augments /rt:routing/rt:control-plane-protocols/ rt:control-plane-protocol to add the mld-proxy container.

Yang Module Augments/RT:Routing/RT:Control-Plane-Protocols/RT:MLD-Proxyコンテナを追加するコントロールプレーンプロトコル。

All attributes related to MLD Proxies are defined in the mld-proxy container. The read-write attributes represent configurable data. The read-only attributes represent state data.

MLDプロキシに関連するすべての属性は、MLDプロキシコンテナで定義されています。読み取りワイト属性は、構成可能なデータを表します。読み取り専用属性は状態データを表します。

The mld-version parameter represents the MLD protocol version; the default value is 2. If the value of the "enabled" parameter is "true", it means that the MLD Proxy is enabled.

MLD-versionパラメーターは、MLDプロトコルバージョンを表します。デフォルト値は2です。「有効」パラメーターの値が「真」の場合、MLDプロキシが有効になっていることを意味します。

The interface list under mld-proxy contains upstream interfaces for an MLD Proxy. A constraint is provided to make sure that the upstream interface for the MLD Proxy is not configured to use PIM.

MLD-Proxyの下のインターフェイスリストには、MLDプロキシ用の上流インターフェイスが含まれています。MLDプロキシの上流インターフェイスがPIMを使用するように構成されていないことを確認するための制約が提供されます。

To configure a downstream interface for an MLD Proxy, enable MLD on that interface. This is defined in "A YANG Data Model for the Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD)" [RFC8652].

MLDプロキシ用のダウンストリームインターフェイスを構成するには、そのインターフェイスでMLDを有効にします。これは、「インターネットグループ管理プロトコル(IGMP)およびマルチキャストリスナーディスカバリー(MLD)のYangデータモデル」[RFC8652]で定義されています。

   augment /rt:routing/rt:control-plane-protocols
             /rt:control-plane-protocol:
     +--rw mld-proxy! {mld-proxy}?
        +--rw interfaces
           +--rw interface* [name]
              +--rw name                     if:interface-ref
              +--rw mld-version?             uint8
              +--rw enabled?                 boolean
              +--rw sender-source-address?   inet:ipv6-address-no-zone
              +--ro group* [group-address]
                 +--ro group-address
                 |       rt-types:ipv6-multicast-group-address
                 +--ro up-time?         uint32
                 +--ro filter-mode      enumeration
                 +--ro source* [source-address]
                    +--ro source-address
                    |       inet:ipv6-address-no-zone
                    +--ro up-time?                uint32
                    +--ro downstream-interface* [name]
                       +--ro name    if:interface-ref
        
4. IGMP/MLD Proxy YANG Module
4. IGMP/MLDプロキシヤンモジュール

This module references [RFC4605], [RFC6991], [RFC8294], [RFC8343], [RFC8349], and [RFC9128].

このモジュールは、[RFC4605]、[RFC6991]、[RFC8294]、[RFC8343]、[RFC8349]、および[RFC9128]を参照しています。

   module ietf-igmp-mld-proxy {
     yang-version 1.1;
     namespace "urn:ietf:params:xml:ns:yang:ietf-igmp-mld-proxy";
     prefix igmp-mld-proxy;

     import ietf-inet-types {
       prefix inet;
       reference
         "RFC 6991: Common YANG Data Types";
     }
     import ietf-interfaces {
       prefix if;
       reference
         "RFC 8343: A YANG Data Model for Interface Management";
     }
     import ietf-routing {
       prefix rt;
       reference
         "RFC 8349: A YANG Data Model for Routing Management (NMDA
          Version)";
     }
     import ietf-routing-types {
       prefix rt-types;
       reference
         "RFC 8294: Common YANG Data Types for the Routing Area";
     }
     import ietf-pim-base {
       prefix pim-base;
       reference
         "RFC 9128: YANG Data Model for Protocol Independent Multicast
          (PIM)";
     }

     organization
       "IETF PIM Working Group";
     contact
       "WG Web:   <https://datatracker.ietf.org/wg/pim/>
        WG List:  <mailto:pim@ietf.org>

        Editors:  Hongji Zhao
                  <mailto:hongji.zhao@ericsson.com>

                  Xufeng Liu
                  <mailto:xufeng.liu.ietf@gmail.com>

                  Yisong Liu
                  <mailto:liuyisong@chinamobile.com>

                  Mani Panchanathan
                  <mailto:mapancha@cisco.com>

                  Mahesh Sivakumar
                  <mailto:sivakumar.mahesh@gmail.com>";
     description
       "This module defines a collection of YANG definitions common for
        all Internet Group Management Protocol (IGMP) and Multicast
        Listener Discovery (MLD) Proxy devices.

        Copyright (c) 2023 IETF Trust and the persons identified as
        authors of the code.  All rights reserved.

        Redistribution and use in source and binary forms, with or
        without modification, is permitted pursuant to, and subject to
        the license terms contained in, the Revised BSD License set
        forth in Section 4.c of the IETF Trust's Legal Provisions
        Relating to IETF Documents
        (https://trustee.ietf.org/license-info).

        This version of this YANG module is part of RFC 9398; see the
        RFC itself for full legal notices.";

     revision 2023-05-30 {
       description
         "Initial revision.";
       reference
         "RFC 9398: A YANG Data Model for Internet Group Management
          Protocol (IGMP) and Multicast Listener Discovery (MLD)
          Proxy Devices";
     }

     /*
      * Features
      */

     feature igmp-proxy {
       description
         "Support for the IGMP Proxy protocol.";
       reference
         "RFC 4605: Internet Group Management Protocol (IGMP) /
          Multicast Listener Discovery (MLD)-Based Multicast Forwarding
          ('IGMP/MLD Proxying')";
     }

     feature mld-proxy {
       description
         "Support for the MLD Proxy protocol.";
       reference
         "RFC 4605: Internet Group Management Protocol (IGMP) /
          Multicast Listener Discovery (MLD)-Based Multicast Forwarding
          ('IGMP/MLD Proxying')";
     }

     /*
      * Identities
      */

     identity igmp-proxy {
       base rt:control-plane-protocol;
       description
         "IGMP Proxy protocol.";
     }

     identity mld-proxy {
       base rt:control-plane-protocol;
       description
         "MLD Proxy protocol.";
     }

     /*
      * Groupings
      */

     grouping per-interface-config-attributes {
       description
         "'config' attributes as listed under an interface entry.";
       leaf enabled {
         type boolean;
         default "true";
         description
           "Set the value to 'true' to enable the IGMP/MLD Proxy.";
       }
     } // per-interface-config-attributes

     grouping state-group-attributes {
       description
         "State group attributes.";
       leaf up-time {
         type uint32;
         units "seconds";
         description
           "The elapsed time for (S,G) or (*,G).";
       }
       leaf filter-mode {
         type enumeration {
           enum include {
             description
               "In 'include' mode, reception of packets sent
                to the specified multicast address is requested
                only from those IP source addresses listed in the
                'source' list parameter.";
           }
           enum exclude {
             description
               "In 'exclude' mode, reception of packets sent
                to the given multicast address is requested
                from all IP source addresses except those
                listed in the 'source' list parameter.";
           }
         }
         mandatory true;
         description
           "Filter mode for a multicast group.
            May be either 'include' or 'exclude'.";
       }
     } // state-group-attributes

     /* augments */

     augment "/rt:routing/rt:control-plane-protocols"
           + "/rt:control-plane-protocol" {
       when "derived-from-or-self(rt:type, "
          + "'igmp-mld-proxy:igmp-proxy')" {
         description
           "This augmentation is only valid for IGMP Proxies.";
       }
       description
         "IGMP Proxy augmentation to routing control plane protocol
          configuration and state.";
       container igmp-proxy {
         if-feature "igmp-proxy";
         presence "IGMP Proxy configuration.";
         description
           "IGMP Proxy instance configuration.";
         container interfaces {
           description
             "Contains a list of upstream interfaces.";
           list interface {
             key "name";
             description
               "List of upstream interfaces.";
             leaf name {
               type if:interface-ref;
               must 'not( current() = /rt:routing'
                  + '/rt:control-plane-protocols/pim-base:pim'
                  + '/pim-base:interfaces/pim-base:interface'
                  + '/pim-base:name )' {
                 description
                   "The upstream interface for the IGMP Proxy
                    must not be configured to use PIM.";
               }
               description
                 "The upstream interface name.";
             }
             leaf igmp-version {
               type uint8 {
                 range "1..3";
               }
               default "2";
               description
                 "IGMP version.";
             }
             uses per-interface-config-attributes;
             leaf sender-source-address {
               type inet:ipv4-address-no-zone;
               description
                 "The sender source address of an
                  IGMP membership report message or leave message.";
             }
             list group {
               key "group-address";
               config false;
               description
                 "List of the multicast groups in the membership
                  database built on this upstream interface.";
               leaf group-address {
                 type rt-types:ipv4-multicast-group-address;
                 description
                   "Multicast group address.";
               }
               uses state-group-attributes;
               list source {
                 key "source-address";
                 description
                   "Multicast source information
                    for the multicast group.";
                 leaf source-address {
                   type inet:ipv4-address-no-zone;
                   description
                     "Multicast source address.";
                 }
                 leaf up-time {
                   type uint32;
                   units "seconds";
                   description
                     "The elapsed time for (S,G) or (*,G).";
                 }
                 list downstream-interface {
                   key "name";
                   description
                     "List of downstream interfaces.";
                   leaf name {
                     type if:interface-ref;
                     description
                       "Downstream interfaces
                        for each upstream interface.";
                   }
                 }
               } // list source
             } // list group
           } // interface
         } // interfaces
       }
     }

     augment "/rt:routing/rt:control-plane-protocols"
           + "/rt:control-plane-protocol" {
       when "derived-from-or-self(rt:type, "
          + "'igmp-mld-proxy:mld-proxy')" {
         description
           "This augmentation is only valid for MLD Proxies.";
       }
       description
         "MLD Proxy augmentation to routing control plane protocol
          configuration and state.";
       container mld-proxy {
         if-feature "mld-proxy";
         presence "MLD Proxy configuration.";
         description
           "MLD Proxy instance configuration.";
         container interfaces {
           description
             "Contains a list of upstream interfaces.";
           list interface {
             key "name";
             description
               "List of upstream interfaces.";
             leaf name {
               type if:interface-ref;
               must 'not( current() = /rt:routing'
                  + '/rt:control-plane-protocols/pim-base:pim'
                  + '/pim-base:interfaces/pim-base:interface'
                  + '/pim-base:name )' {
                 description
                   "The upstream interface for the MLD Proxy
                    must not be configured to use PIM.";
               }
               description
                 "The upstream interface name.";
             }
             leaf mld-version {
               type uint8 {
                 range "1..2";
               }
               default "2";
               description
                 "MLD version.";
             }
             uses per-interface-config-attributes;
             leaf sender-source-address {
               type inet:ipv6-address-no-zone;
               description
                 "The sender source address of an
                  MLD membership report message or leave message.";
             }
             list group {
               key "group-address";
               config false;
               description
                 "List of the multicast groups in the membership
                  database built on this upstream interface.";
               leaf group-address {
                 type rt-types:ipv6-multicast-group-address;
                 description
                   "Multicast group address.";
               }
               uses state-group-attributes;
               list source {
                 key "source-address";
                 description
                   "Multicast source information
                    for the multicast group.";
                 leaf source-address {
                   type inet:ipv6-address-no-zone;
                   description
                     "Multicast source address.";
                 }
                 leaf up-time {
                   type uint32;
                   units "seconds";
                   description
                     "The elapsed time for (S,G) or (*,G).";
                 }
                 list downstream-interface {
                   key "name";
                   description
                     "List of downstream interfaces.";
                   leaf name {
                     type if:interface-ref;
                     description
                       "Downstream interfaces
                        for each upstream interface.";
                   }
                 }
               } // list source
             } // list group
           } // interface
         } // interfaces
       }
     }
   }
        
5. Security Considerations
5. セキュリティに関する考慮事項

The YANG module specified in this document defines a schema for data that is designed to be accessed via network management protocols such as NETCONF [RFC6241] or RESTCONF [RFC8040]. The lowest NETCONF layer is the secure transport layer, and the mandatory-to-implement secure transport is Secure Shell (SSH) [RFC6242]. The lowest RESTCONF layer is HTTPS, and the mandatory-to-implement secure transport is TLS [RFC8446].

このドキュメントで指定されたYangモジュールは、NetConf [RFC6241]やRestConf [RFC8040]などのネットワーク管理プロトコルを介してアクセスするように設計されたデータのスキーマを定義しています。最低のネットコン層は安全な輸送層であり、実装から実装の安全な輸送は安全なシェル(SSH)[RFC6242]です。最も低いRESTCONF層はHTTPSであり、実装対象の安全な輸送はTLS [RFC8446]です。

The Network Configuration Access Control Model (NACM) [RFC8341] provides the means to restrict access for particular NETCONF or RESTCONF users to a preconfigured subset of all available NETCONF or RESTCONF protocol operations and content.

ネットワーク構成アクセス制御モデル(NACM)[RFC8341]は、利用可能なすべてのNetConfまたはRestConfプロトコル操作とコンテンツの事前に設定されたサブセットに特定のNetConfまたはRestConfユーザーのアクセスを制限する手段を提供します。

There are a number of data nodes defined in this YANG module that are writable/creatable/deletable (i.e., config true, which is the default). These data nodes may be considered sensitive or vulnerable in some network environments. Write operations (e.g., edit-config) to these data nodes without proper protection can have a negative effect on network operations. These are the subtrees and data nodes and their sensitivity/vulnerability:

このYangモジュールには、書き込み可能/クリエーション/削除可能な(つまり、デフォルトである構成真実)と定義されている多くのデータノードがあります。これらのデータノードは、一部のネットワーク環境で敏感または脆弱と見なされる場合があります。適切な保護なしにこれらのデータノードに操作を書き込む(例:編集config)は、ネットワーク操作に悪影響を与える可能性があります。これらは、サブツリーとデータノードとその感度/脆弱性です。

Under /rt:routing/rt:control-plane-protocols/rt:control-plane-protocol:/ igmp-mld-proxy:igmp-proxy:

under/rt:Routing/rt:Control-Plane-Protocols/RT:Control-Plane-Protocol:/Igmp-Mld-Proxy:Igmp-Proxy:

igmp-mld-proxy:interfaces

IGMP-MLD-Proxy:インターフェイス

This subtree specifies the interface list for an IGMP Proxy. Modifying the configuration may cause the IGMP Proxy interface to be deleted or changed.

このサブツリーは、IGMPプロキシのインターフェイスリストを指定します。構成を変更すると、IGMPプロキシインターフェイスが削除または変更される場合があります。

igmp-mld-proxy:interfaces/interface

IGMP-MLD-Proxy:インターフェイス/インターフェイス

This subtree specifies the configuration for the IGMP Proxy attributes at the interface level. Modifying the configuration may cause the IGMP Proxy to be deleted or changed on a specific interface.

このサブツリーは、インターフェイスレベルでのIGMPプロキシ属性の構成を指定します。構成を変更すると、IGMPプロキシが特定のインターフェイスで削除または変更される場合があります。

Under /rt:routing/rt:control-plane-protocols/rt:control-plane-protocol:/ igmp-mld-proxy:mld-proxy:

Under/rt:Routing/RT:Control-Plane-Protocols/RT:Control-Plane-Protocol:/IGMP-MLD-Proxy:MLD-Proxy:

igmp-mld-proxy:interfaces

IGMP-MLD-Proxy:インターフェイス

This subtree specifies the interface list for an MLD Proxy. Modifying the configuration may cause the MLD Proxy interface to be deleted or changed.

このサブツリーは、MLDプロキシのインターフェイスリストを指定します。構成を変更すると、MLDプロキシインターフェイスが削除または変更される場合があります。

igmp-mld-proxy:interfaces/interface

IGMP-MLD-Proxy:インターフェイス/インターフェイス

This subtree specifies the configuration for the MLD Proxy attributes at the interface level. Modifying the configuration may cause the MLD Proxy to be deleted or changed on a specific interface.

このサブツリーは、インターフェイスレベルでMLDプロキシ属性の構成を指定します。構成を変更すると、MLDプロキシが特定のインターフェイスで削除または変更される場合があります。

Unauthorized access to any data nodes in these subtrees can adversely affect the IGMP/MLD Proxy subsystem of both the local device and the network. This may lead to network malfunctions, delivery of packets to inappropriate destinations, and other problems.

これらのサブツリーのデータノードへの不正アクセスは、ローカルデバイスとネットワークの両方のIGMP/MLDプロキシサブシステムに悪影響を与える可能性があります。これにより、ネットワークの誤動作、不適切な目的地へのパケットの配信、およびその他の問題につながる可能性があります。

Some of the readable data nodes in this YANG module may be considered sensitive or vulnerable in some network environments. It is thus important to control read access (e.g., via get, get-config, or notification) to these data nodes. These are the subtrees and data nodes and their sensitivity/vulnerability:

このYangモジュールの読み取り可能なデータノードの一部は、一部のネットワーク環境で敏感または脆弱と見なされる場合があります。したがって、これらのデータノードへの読み取りアクセス(GET、GetConfig、または通知を介して)を制御することが重要です。これらは、サブツリーとデータノードとその感度/脆弱性です。

   Under
   /rt:routing/rt:control-plane-protocols/rt:control-plane-protocol:/

   igmp-mld-proxy:igmp-proxy
   igmp-mld-proxy:mld-proxy
        

Unauthorized access to any data nodes in these subtrees can disclose operational state information about the IGMP/MLD Proxy on this device. Group information or source information may expose multicast group memberships.

これらのサブツリーのデータノードへの不正アクセスは、このデバイスのIGMP/MLDプロキシに関する運用上の状態情報を開示することができます。グループ情報またはソース情報は、マルチキャストグループメンバーシップを公開する場合があります。

6. IANA Considerations
6. IANAの考慮事項
6.1. IETF XML Registry
6.1. IETF XMLレジストリ

This document registers the following namespace URIs in the "IETF XML Registry" [RFC3688]:

このドキュメントは、「IETF XMLレジストリ」[RFC3688]の次の名前空間URIを登録します。

URI:

URI:

urn:ietf:params:xml:ns:yang:ietf-igmp-mld-proxy

urn:ietf:params:xml:ns:yang:ietf-igmp-mld-proxy

Registrant Contact:

登録者の連絡先:

The IESG.

IESG。

XML:

XML:

N/A; the requested URI is an XML namespace.

n/a;要求されたURIはXMLネームスペースです。

6.2. YANG Module Names Registry
6.2. Yangモジュール名レジストリ

This document registers the following YANG module in the "YANG Module Names" registry [RFC6020]:

このドキュメントは、「Yangモジュール名」レジストリ[RFC6020]で次のYangモジュールを登録します。

Name:

名前:

ietf-igmp-mld-proxy

IETF-IGMP-MLD-Proxy

Namespace:

名前空間:

urn:ietf:params:xml:ns:yang:ietf-igmp-mld-proxy

urn:ietf:params:xml:ns:yang:ietf-igmp-mld-proxy

Prefix:

プレフィックス:

igmp-mld-proxy

IGMP-MLD-Proxy

Reference:

参照:

RFC 9398

RFC 9398

7. References
7. 参考文献
7.1. Normative References
7.1. 引用文献
   [RFC3376]  Cain, B., Deering, S., Kouvelas, I., Fenner, B., and A.
              Thyagarajan, "Internet Group Management Protocol, Version
              3", RFC 3376, DOI 10.17487/RFC3376, October 2002,
              <https://www.rfc-editor.org/info/rfc3376>.
        
   [RFC3688]  Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688,
              DOI 10.17487/RFC3688, January 2004,
              <https://www.rfc-editor.org/info/rfc3688>.
        
   [RFC3810]  Vida, R., Ed. and L. Costa, Ed., "Multicast Listener
              Discovery Version 2 (MLDv2) for IPv6", RFC 3810,
              DOI 10.17487/RFC3810, June 2004,
              <https://www.rfc-editor.org/info/rfc3810>.
        
   [RFC4605]  Fenner, B., He, H., Haberman, B., and H. Sandick,
              "Internet Group Management Protocol (IGMP) / Multicast
              Listener Discovery (MLD)-Based Multicast Forwarding
              ("IGMP/MLD Proxying")", RFC 4605, DOI 10.17487/RFC4605,
              August 2006, <https://www.rfc-editor.org/info/rfc4605>.
        
   [RFC6020]  Bjorklund, M., Ed., "YANG - A Data Modeling Language for
              the Network Configuration Protocol (NETCONF)", RFC 6020,
              DOI 10.17487/RFC6020, October 2010,
              <https://www.rfc-editor.org/info/rfc6020>.
        
   [RFC6241]  Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed.,
              and A. Bierman, Ed., "Network Configuration Protocol
              (NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011,
              <https://www.rfc-editor.org/info/rfc6241>.
        
   [RFC6242]  Wasserman, M., "Using the NETCONF Protocol over Secure
              Shell (SSH)", RFC 6242, DOI 10.17487/RFC6242, June 2011,
              <https://www.rfc-editor.org/info/rfc6242>.
        
   [RFC6991]  Schoenwaelder, J., Ed., "Common YANG Data Types",
              RFC 6991, DOI 10.17487/RFC6991, July 2013,
              <https://www.rfc-editor.org/info/rfc6991>.
        
   [RFC7950]  Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language",
              RFC 7950, DOI 10.17487/RFC7950, August 2016,
              <https://www.rfc-editor.org/info/rfc7950>.
        
   [RFC8040]  Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF
              Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017,
              <https://www.rfc-editor.org/info/rfc8040>.
        
   [RFC8294]  Liu, X., Qu, Y., Lindem, A., Hopps, C., and L. Berger,
              "Common YANG Data Types for the Routing Area", RFC 8294,
              DOI 10.17487/RFC8294, December 2017,
              <https://www.rfc-editor.org/info/rfc8294>.
        
   [RFC8341]  Bierman, A. and M. Bjorklund, "Network Configuration
              Access Control Model", STD 91, RFC 8341,
              DOI 10.17487/RFC8341, March 2018,
              <https://www.rfc-editor.org/info/rfc8341>.
        
   [RFC8342]  Bjorklund, M., Schoenwaelder, J., Shafer, P., Watsen, K.,
              and R. Wilton, "Network Management Datastore Architecture
              (NMDA)", RFC 8342, DOI 10.17487/RFC8342, March 2018,
              <https://www.rfc-editor.org/info/rfc8342>.
        
   [RFC8343]  Bjorklund, M., "A YANG Data Model for Interface
              Management", RFC 8343, DOI 10.17487/RFC8343, March 2018,
              <https://www.rfc-editor.org/info/rfc8343>.
        
   [RFC8349]  Lhotka, L., Lindem, A., and Y. Qu, "A YANG Data Model for
              Routing Management (NMDA Version)", RFC 8349,
              DOI 10.17487/RFC8349, March 2018,
              <https://www.rfc-editor.org/info/rfc8349>.
        
   [RFC8446]  Rescorla, E., "The Transport Layer Security (TLS) Protocol
              Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018,
              <https://www.rfc-editor.org/info/rfc8446>.
        
   [RFC8652]  Liu, X., Guo, F., Sivakumar, M., McAllister, P., and A.
              Peter, "A YANG Data Model for the Internet Group
              Management Protocol (IGMP) and Multicast Listener
              Discovery (MLD)", RFC 8652, DOI 10.17487/RFC8652, November
              2019, <https://www.rfc-editor.org/info/rfc8652>.
        
   [RFC9128]  Liu, X., McAllister, P., Peter, A., Sivakumar, M., Liu,
              Y., and F. Hu, "YANG Data Model for Protocol Independent
              Multicast (PIM)", RFC 9128, DOI 10.17487/RFC9128, October
              2022, <https://www.rfc-editor.org/info/rfc9128>.
        
7.2. Informative References
7.2. 参考引用
   [RFC7761]  Fenner, B., Handley, M., Holbrook, H., Kouvelas, I.,
              Parekh, R., Zhang, Z., and L. Zheng, "Protocol Independent
              Multicast - Sparse Mode (PIM-SM): Protocol Specification
              (Revised)", STD 83, RFC 7761, DOI 10.17487/RFC7761, March
              2016, <https://www.rfc-editor.org/info/rfc7761>.
        
   [RFC7951]  Lhotka, L., "JSON Encoding of Data Modeled with YANG",
              RFC 7951, DOI 10.17487/RFC7951, August 2016,
              <https://www.rfc-editor.org/info/rfc7951>.
        
   [RFC8340]  Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams",
              BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018,
              <https://www.rfc-editor.org/info/rfc8340>.
        
Appendix A. Data Tree Example
付録A. データツリーの例

This section contains an example for the IGMP Proxy, shown in JSON encoding [RFC7951] and containing both configuration and state data. In the example, the IGMP Proxy is enabled on interface eth1/1.

このセクションには、JSON [RFC7951]をエンコードし、構成と状態の両方のデータを含むJSONに示されているIGMPプロキシの例が含まれています。この例では、IGMPプロキシがインターフェイスETH1/1で有効になっています。

The ability to enable IGMP on eth1/2 and eth1/3 is also needed. The configuration details are omitted here because this document is focused on IGMP/MLD Proxies.

ETH1/2およびETH1/3でIGMPを有効にする機能も必要です。このドキュメントはIGMP/MLDプロキシに焦点を当てているため、ここでは構成の詳細が省略されています。

              +-----------+
              +  Source   +
              +-----+-----+
                    |
   -----------------+----------------------------
                    |eth1/1
                +---+----+
                +  R1    +
                +-+----+-+
           eth1/2 |     \ eth1/3
                  |      \
                  |       \
                  |        \
   ---------------+---------+--------------------
                  |          \
                  |           \
        +---------+--+     +---+--------+
        + Receiver 1 +     + Receiver 2 +
        +------------+     +------------+
        

The configuration data for R1 in the above figure could be as follows:

上記の図のR1の構成データは次のとおりです。

   {
       "ietf-interfaces:interfaces": {
         "interface": [
           {
             "name": "eth1/1",
             "type": "iana-if-type:ipForward",
             "ietf-ip:ipv4": {
               "address": [
                 {
                   "ip": "203.0.113.1",
                   "prefix-length": 24
                 }
               ]
             }
           }
         ]
       },
      "ietf-routing:routing": {
         "control-plane-protocols": {
           "control-plane-protocol": [
             {
               "type": "ietf-igmp-mld-proxy:igmp-proxy",
               "name": "proxy1",
               "ietf-igmp-mld-proxy:igmp-proxy": {
                 "interfaces": {
                   "interface": [
                     {
                       "name": "eth1/1",
                       "igmp-version": 3,
                       "enabled": true
                     }
                   ]
                 }
               }
             }
           ]
         }
       }
     }
        

The corresponding operational state data for R1 could be as follows:

R1の対応する動作状態データは次のとおりです。

   {
       "ietf-interfaces:interfaces": {
         "interface": [
           {
             "name": "eth1/1",
             "type": "iana-if-type:ipForward",
             "admin-status": "up",
             "oper-status": "up",
             "if-index": 25678136,
             "statistics": {
               "discontinuity-time": "2021-05-23T10:34:56-06:00"
             },
             "ietf-ip:ipv4": {
               "address": [
                 {
                   "ip": "203.0.113.1",
                   "prefix-length": 24
                 }
               ]
             }
           }
         ]
       },
      "ietf-routing:routing": {
         "control-plane-protocols": {
           "control-plane-protocol": [
             {
               "type": "ietf-igmp-mld-proxy:igmp-proxy",
               "name": "proxy1",
               "ietf-igmp-mld-proxy:igmp-proxy": {
                 "interfaces": {
                   "interface": [
                     {
                       "name": "eth1/1",
                       "igmp-version": 3,
                       "enabled": true,
                       "group": [
                         {
                           "group-address": "233.252.0.23",
                           "filter-mode": "include",
                           "source": [
                             {
                               "source-address": "192.0.2.1",
                               "downstream-interface": [
                                 {
                                   "name": "eth1/2"
                                 },
                                 {
                                   "name": "eth1/3"
                                 }
                               ]
                             }
                           ]
                         }
                       ]
                     }
                   ]
                 }
               }
             }
           ]
         }
       }
     }
        
Authors' Addresses
著者のアドレス
   Hongji Zhao
   Ericsson (China) Communications Company Ltd.
   Ericsson Tower, No. 5 Lize East Street
   Beijing
   100102
   China
   Email: hongji.zhao@ericsson.com
        
   Xufeng Liu
   Alef Edge
   United States of America
   Email: xufeng.liu.ietf@gmail.com
        
   Yisong Liu
   China Mobile
   China
   Email: liuyisong@chinamobile.com
        
   Mani Panchanathan
   Cisco Systems, Inc.
   3625 Cisco Way
   San Jose, CA
   United States of America
   Email: mapancha@cisco.com
        
   Mahesh Sivakumar
   Juniper Networks
   1133 Innovation Way
   Sunnyvale, CA
   United States of America
   Email: sivakumar.mahesh@gmail.com