Subject: [Yang-multicast] The latest update for ietf-igmp-mld-snooping module. Welcome any comments. Thank you!

From: Hongji Zhao <[email-masked]>
Date: Tue, 26 Sep 2017 02:34:14 +0000

Hi all,

  1.  Modify the vpls-instances references. Replace interfaces with l2vpn/instances/instance/endpoint/ac-or-pw-or-redundancy-grp
  2.  The ietf-evpn module augment l2vpn-instance, so there is no need to reference evpn-instance in igmp-mld-snooping module. Delete the evpn-instance reference.

module: ietf-igmp-mld-snooping
+--rw igmp-snooping-instances
…
+--rw vpls-instances
       +--rw vpls-instance* [name]
          +--rw name                      string
          +--rw igmp-snooping-instance?   igmp-snooping-instance-ref
          +--rw mld-snooping-instance?    mld-snooping-instance-ref
          +--rw endpoint* [name]
             +--rw name                      string
             +--rw igmp-snooping-instance?   igmp-snooping-instance-ref
             +--rw mld-snooping-instance?    mld-snooping-instance-ref
             +--rw (ac-or-pw-or-redundancy-grp)?
                +--:(ac)
                |  +--rw ac* [name]
                |     +--rw name                      string
                |     +--rw igmp-snooping-instance?   igmp-snooping-instance-ref
                |     +--rw mld-snooping-instance?    mld-snooping-instance-ref
                +--:(pw)
                |  +--rw pw* [name]
                |     +--rw name                      string
                |     +--rw igmp-snooping-instance?   igmp-snooping-instance-ref
                |     +--rw mld-snooping-instance?    mld-snooping-instance-ref
                +--:(redundancy-grp)
                   +--rw (primary)
                   |  +--:(primary-ac)
                   |  |  +--rw primary-ac
                   |  |     +--rw name?                     string
                   |  |     +--rw igmp-snooping-instance?   igmp-snooping-instance-ref
                   |  |     +--rw mld-snooping-instance?    mld-snooping-instance-ref
                   |  +--:(primary-pw)
                   |     +--rw primary-pw* [name]
                   |        +--rw name                      string
                   |        +--rw igmp-snooping-instance?   igmp-snooping-instance-ref
                   |        +--rw mld-snooping-instance?    mld-snooping-instance-ref
                   +--rw (backup)?
                      +--:(backup-ac)
                      |  +--rw backup-ac
                      |     +--rw name?                     string
                      |     +--rw igmp-snooping-instance?   igmp-snooping-instance-ref
                      |     +--rw mld-snooping-instance?    mld-snooping-instance-ref
                      +--:(backup-pw)
                         +--rw backup-pw* [name]
                            +--rw name                      string
                            +--rw igmp-snooping-instance?   igmp-snooping-instance-ref
                            +--rw mld-snooping-instance?    mld-snooping-instance-ref

BR/Hongji
赵宏吉