< draft-zhao-pim-igmp-mld-proxy-yang-02.txt   draft-zhao-pim-igmp-mld-proxy-yang-03.txt >
PIM Working Group H. Zhao PIM Working Group H. Zhao
Internet Draft Ericsson Internet Draft Ericsson
Intended status: Standards Track X. Liu Intended status: Standards Track X. Liu
Expires: November 27, 2019 Volta Expires: January 02, 2020 Volta
Y. Liu Y. Liu
Huawei Huawei
M. Panchanathan M. Panchanathan
Cisco Cisco
M. Sivakumar M. Sivakumar
Juniper Juniper
May 28, 2019 July 03, 2019
A Yang Data Model for IGMP/MLD Proxy A Yang Data Model for IGMP/MLD Proxy
draft-zhao-pim-igmp-mld-proxy-yang-02.txt draft-zhao-pim-igmp-mld-proxy-yang-03.txt
Abstract Abstract
This document defines a YANG data model that can be used to This document defines a YANG data model that can be used to
configure and manage Internet Group Management Protocol (IGMP) or configure and manage Internet Group Management Protocol (IGMP) or
Multicast Listener Discovery (MLD) proxy devices. The YANG module in Multicast Listener Discovery (MLD) proxy devices. The YANG module in
this document conforms to Network Management Datastore Architecture this document conforms to Network Management Datastore Architecture
(NMDA). (NMDA).
Status of this Memo Status of this Memo
skipping to change at page 2, line 7 skipping to change at page 2, line 7
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt http://www.ietf.org/ietf/1id-abstracts.txt
The list of Internet-Draft Shadow Directories can be accessed at The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html http://www.ietf.org/shadow.html
This Internet-Draft will expire on November 27, 2019. This Internet-Draft will expire on January 02, 2020.
Copyright Notice Copyright Notice
Copyright (c) 2019 IETF Trust and the persons identified as the Copyright (c) 2019 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of (http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 2, line 36 skipping to change at page 2, line 36
1. Introduction...................................................3 1. Introduction...................................................3
1.1. Terminology...............................................3 1.1. Terminology...............................................3
1.2. Tree Diagrams.............................................3 1.2. Tree Diagrams.............................................3
2. Design of Data Model...........................................3 2. Design of Data Model...........................................3
2.1. Overview..................................................4 2.1. Overview..................................................4
2.2. Augment /rt:routing/rt:control-plane-protocols/rt:control- 2.2. Augment /rt:routing/rt:control-plane-protocols/rt:control-
plane-protocol.................................................4 plane-protocol.................................................4
3. IGMP/MLD Proxy YANG Module.....................................5 3. IGMP/MLD Proxy YANG Module.....................................5
4. Security Considerations.......................................13 4. Security Considerations.......................................13
5. IANA Considerations...........................................14 5. IANA Considerations...........................................14
6. Normative References..........................................14 6. Normative References..........................................15
Authors' Addresses...............................................16 Authors' Addresses...............................................17
1. Introduction 1. Introduction
This document defines a YANG [RFC6020] data model for the management of This document defines a YANG [RFC6020] data model for the management of
Internet Group Management Protocol (IGMP) or Multicast Listener Internet Group Management Protocol (IGMP) or Multicast Listener
Discovery (MLD) proxy devices. Discovery (MLD) proxy devices.
The YANG module in this document conforms to the Network Management The YANG module in this document conforms to the Network Management
Datastore Architecture defined in [RFC8342]. The "Network Management Datastore Architecture defined in [RFC8342]. The "Network Management
Datastore Architecture" (NMDA) adds the ability to inspect the current Datastore Architecture" (NMDA) adds the ability to inspect the current
skipping to change at page 5, line 26 skipping to change at page 5, line 26
+--ro source* [source-address] +--ro source* [source-address]
+--ro source-address inet:ipv6-address +--ro source-address inet:ipv6-address
+--ro up-time? uint32 +--ro up-time? uint32
+--ro filter-mode? enumeration +--ro filter-mode? enumeration
+--ro downstream-interface* [interface-name] +--ro downstream-interface* [interface-name]
+--ro interface-name if:interface-ref +--ro interface-name if:interface-ref
+--ro filter-mode? enumeration +--ro filter-mode? enumeration
3. IGMP/MLD Proxy YANG Module 3. IGMP/MLD Proxy YANG Module
<CODE BEGINS> file ietf-igmp-mld-proxy@2019-05-14.yang <CODE BEGINS> file ietf-igmp-mld-proxy@2019-07-03.yang
module ietf-igmp-mld-proxy { module ietf-igmp-mld-proxy {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-igmp-mld-proxy"; namespace "urn:ietf:params:xml:ns:yang:ietf-igmp-mld-proxy";
// replace with IANA namespace when assigned // replace with IANA namespace when assigned
prefix imp; prefix imp;
import ietf-inet-types { import ietf-inet-types {
prefix inet; prefix inet;
} }
skipping to change at page 6, line 44 skipping to change at page 6, line 44
Redistribution and use in source and binary forms, with or Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject to without modification, is permitted pursuant to, and subject to
the license terms contained in, the Simplified BSD License set the license terms contained in, the Simplified BSD License set
forth in Section 4.c of the IETF Trust's Legal Provisions forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents Relating to IETF Documents
(http://trustee.ietf.org/license-info). (http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX; see the This version of this YANG module is part of RFC XXXX; see the
RFC itself for full legal notices."; RFC itself for full legal notices.";
revision 2019-05-14 { revision 2019-07-03 {
description description
"Initial revision."; "Initial revision.";
reference reference
"RFC XXXX: A YANG Data Model for IGMP and MLD Proxy"; "RFC XXXX: A YANG Data Model for IGMP and MLD Proxy";
} }
/* /*
* Features * Features
*/ */
skipping to change at page 9, line 17 skipping to change at page 9, line 17
description description
"Containing a list of upstream interfaces."; "Containing a list of upstream interfaces.";
list interface { list interface {
key "interface-name"; key "interface-name";
description description
"List of upstream interfaces."; "List of upstream interfaces.";
leaf interface-name { leaf interface-name {
type if:interface-ref; type if:interface-ref;
must "current() != /rt:routing/rt:control-plane-protocols/pim-base:pim/pim-base:interfaces/pim-base:interface/pim-base:name" { must "not( current() = /rt:routing"+
description "/rt:control-plane-protocols/pim-base:pim"+
"/pim-base:interfaces/pim-base:interface"+
"/pim-base:name )" {
description
"The upstream interface for IGMP proxy "The upstream interface for IGMP proxy
should not be configured PIM."; should not be configured PIM.";
} }
description "The upstream interface name."; description "The upstream interface name.";
} }
leaf version { leaf version {
type uint8 { type uint8 {
range "1..3"; range "1..3";
} }
skipping to change at page 11, line 27 skipping to change at page 11, line 29
description description
"Containing a list of upstream interfaces."; "Containing a list of upstream interfaces.";
list interface { list interface {
key "interface-name"; key "interface-name";
description description
"List of upstream interfaces."; "List of upstream interfaces.";
leaf interface-name { leaf interface-name {
type if:interface-ref; type if:interface-ref;
must "current() != /rt:routing/rt:control-plane-protocols/pim-base:pim/pim-base:interfaces/pim-base:interface/pim-base:name" { must "not( current() = /rt:routing"+
description "/rt:control-plane-protocols/pim-base:pim"+
"/pim-base:interfaces/pim-base:interface"+
"/pim-base:name )" {
description
"The upstream interface for MLD proxy "The upstream interface for MLD proxy
should not be configured PIM."; should not be configured PIM.";
} }
description "The upstream interface name."; description "The upstream interface name.";
} }
leaf version { leaf version {
type uint8 { type uint8 {
range "1..2"; range "1..2";
} }
skipping to change at page 12, line 39 skipping to change at page 12, line 43
description description
"Downstream interfaces for each upstream-interface"; "Downstream interfaces for each upstream-interface";
} }
leaf filter-mode { leaf filter-mode {
type enumeration { type enumeration {
enum "include" { enum "include" {
description description
"In include mode, reception of packets sent "In include mode, reception of packets sent
to the specified multicast address is requested to the specified multicast address is requested
only from those IP source addresses listed in only from those IP source addresses listed in
the
source-list parameter"; source-list parameter";
} }
enum "exclude" { enum "exclude" {
description description
"In exclude mode, reception of packets sent "In exclude mode, reception of packets sent
to the given multicast address is requested to the given multicast address is requested
from all IP source addresses except those from all IP source addresses except those
listed in the source-list parameter."; listed in the source-list parameter.";
} }
} }
 End of changes. 10 change blocks. 
12 lines changed or deleted 21 lines changed or added

This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/