Re: [Yang-multicast] Proposed updates to draft-ietf-pim-yang

Xufeng Liu <Xufeng_Liu@jabil.com> Sun, 18 February 2018 18:57 UTC

Return-Path: <Xufeng_Liu@jabil.com>
X-Original-To: yang-multicast@ietfa.amsl.com
Delivered-To: yang-multicast@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F2094126BFD for <yang-multicast@ietfa.amsl.com>; Sun, 18 Feb 2018 10:57:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level:
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jabil.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rBUSwnBRZzly for <yang-multicast@ietfa.amsl.com>; Sun, 18 Feb 2018 10:57:13 -0800 (PST)
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0106.outbound.protection.outlook.com [104.47.33.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 34938120725 for <yang-multicast@ietf.org>; Sun, 18 Feb 2018 10:57:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jabil.onmicrosoft.com; s=selector1-jabil-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=JAuhj/92kVP8GZTapJ1dEh0GfnH3JLD9qT2liHPNeDY=; b=DYzAw4WPlo792X7NtqvWcYsJ4LkXp7tEwfIcabx+4iWVgNof2G4+d9fbGyhzaqPoMCzPZLYuR/biOulU9DvMUrIqGVzrO7ilBA4zlJOV5yeO0oXW6KRLsuZO42QBkKn8lX3IRUs5VThVcxDvg38UcWzktDvTV/M172TeAbSHKbo=
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com (10.160.154.13) by BN3PR0201MB1058.namprd02.prod.outlook.com (10.161.209.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Sun, 18 Feb 2018 18:57:08 +0000
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com ([fe80::99f9:82ca:f5f2:2f8b]) by BN3PR0201MB0867.namprd02.prod.outlook.com ([fe80::99f9:82ca:f5f2:2f8b%13]) with mapi id 15.20.0506.021; Sun, 18 Feb 2018 18:57:09 +0000
From: Xufeng Liu <Xufeng_Liu@jabil.com>
To: "yang-multicast@ietf.org" <yang-multicast@ietf.org>
Thread-Topic: Proposed updates to draft-ietf-pim-yang
Thread-Index: AdOnqmNt1qbhVabmRnSj+lbRqA2AkwBP7s4g
Date: Sun, 18 Feb 2018 18:57:08 +0000
Message-ID: <BN3PR0201MB0867EE5AE7847CBFE460C561F1C90@BN3PR0201MB0867.namprd02.prod.outlook.com>
References: <BN3PR0201MB0867C15931682C4939498B56F1CA0@BN3PR0201MB0867.namprd02.prod.outlook.com>
In-Reply-To: <BN3PR0201MB0867C15931682C4939498B56F1CA0@BN3PR0201MB0867.namprd02.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-dg-ref: PG1ldGE+PGF0IG5tPSJkcmFmdC1pZXRmLXBpbS15YW5nLTE0LnR4dCIgcD0iYzpceGxpdVxidWlsZFxnaXRodWJccGltLXlhbmdcZHJhZnQtaWV0Zi1waW0teWFuZy0xNC50eHQiIHN6PSIyMDE4MjgiIHQ9IjEzMTYzMzE1NDI1NzA2NTc4MyIgaD0iWEFKcDZjcmF6MUUxelNvVzl0QUxoRXhIckNRPSIgaWQ9IiIgYmw9IjAiIGJvPSIwIi8+PGF0IG5tPSJkcmFmdC1pZXRmLXBpbS15YW5nLTE0LWZyb20tMy5kaWZmLmh0bWwiIHA9ImM6XHhsaXVcYnVpbGRcZ2l0aHViXHBpbS15YW5nXGRyYWZ0LWlldGYtcGltLXlhbmctMTQtZnJvbS0zLmRpZmYuaHRtbCIgc3o9Ijk5NTM5MSIgdD0iMTMxNjMzMTU0NDAwMTkxOTkzIiBoPSJvVzlwS1NlYWRtUG8ydGhlcFVpZElKRXNDQk09IiBpZD0iIiBibD0iMCIgYm89IjAiLz48YXQgbm09ImJvZHkuaHRtbCIgcD0iYzpcdXNlcnNceGxpdVxhcHBkYXRhXHJvYW1pbmdcMDlkODQ5YjYtMzJkMy00YTQwLTg1ZWUtNmI4NGJhMjllMzViXG1zZ3NcbXNnLTdkOTRkNjQ2LTE0ZGQtMTFlOC05YzQ0LTE4NWUwZmUzYzQ1Y1xhbWUtdGVzdFw3ZDk0ZDY0OC0xNGRkLTExZTgtOWM0NC0xODVlMGZlM2M0NWNib2R5Lmh0bWwiIHN6PSI0MDIyNyIgdD0iMTMxNjM0NTM4MTcyODA0ODA1IiBoPSJiZlFsem1NaWdyV1ZXelFjaGpybnJmUUw1ZDQ9IiBpZD0iIiBibD0iMCIgYm89IjEiLz48L21ldGE+
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Xufeng_Liu@jabil.com;
x-originating-ip: [72.196.214.116]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BN3PR0201MB1058; 7:MXrwk3ngevYP5GXMtVrt0ImT8lCcBjkLr+BABXSls1BqGIXGjqFaHHqAZIg5m91uPG7INRNUx8aUAAKWRcQQfe7oivB7jDQvabMfV+eZsVcV2MMaG8Mtw/k2Xq7P1uUlKCL7NTYvMH6fcyOCQDbPzvQVbq89uxnsNdNKXm4F0rU75Qoku1oWdMcx3ZISYxByPGo8Ds44hhwq6+p5wASQKo0lLTaTqx5taDCfQlcjou3q1OMk3qVTUId0FMBe694o; 20:gDPJyT7gloWfbTpdZkd84CNcuZ36IHo+OYkww4sBTV5CD16KyDngO1s7SKr+KpGRx0RnRQvwl1aPtzCTGky5RC/IBQ4JmUZvhzRuqHMh8I/H4KqmWoQ+SCNw/9pTevbIqQahLF4l5b6Bke6QhYAhzOHGOc+TSCG0Sm7hFFyQtxg=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 47ace607-3061-4e9e-b342-08d577016972
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:BN3PR0201MB1058;
x-ms-traffictypediagnostic: BN3PR0201MB1058:
x-microsoft-antispam-prvs: <BN3PR0201MB1058ED7889D89AA1A6FD5F32F1C90@BN3PR0201MB1058.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(166708455590820)(192374486261705)(100405760836317)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231101)(944501161)(6055026)(6041288)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:BN3PR0201MB1058; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0201MB1058;
x-forefront-prvs: 058707456E
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39380400002)(376002)(39860400002)(346002)(366004)(396003)(51444003)(52314003)(189003)(199004)(7696005)(5660300001)(6916009)(2950100002)(99286004)(102836004)(59450400001)(186003)(316002)(10710500007)(2906002)(5640700003)(81166006)(81156014)(26005)(53546011)(8676002)(8936002)(6436002)(229853002)(33656002)(74316002)(68736007)(3280700002)(3660700001)(5250100002)(6506007)(2501003)(7736002)(66066001)(2351001)(7110500001)(478600001)(14454004)(106356001)(72206003)(5890100001)(15650500001)(6246003)(2420400007)(6306002)(97736004)(55016002)(2900100001)(3846002)(80792005)(790700001)(105586002)(966005)(9686003)(53946003)(76176011)(606006)(86362001)(25786009)(5630700001)(54896002)(236005)(6116002)(53936002)(579004); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0201MB1058; H:BN3PR0201MB0867.namprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: jabil.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: Mdk34n+ore8OlyL//6c+2Yv7LbYDBxgJHw+OTNut1R+Bj9thrud9HM91NPx0NOp4+/gtLwiyva39/FNzMnY9at3oQm8wIpJjRvAbSfLrjKayIAstBiCyWmWLsd3ulj0UP9WxoxM+OQO/+kie7O08cQI2wXLcpEj4uwg4BPSJLcY=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BN3PR0201MB0867EE5AE7847CBFE460C561F1C90BN3PR0201MB0867_"
MIME-Version: 1.0
X-OriginatorOrg: jabil.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 47ace607-3061-4e9e-b342-08d577016972
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2018 18:57:08.9653 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bc876b21-f134-4c12-a265-8ed26b7f0f3b
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0201MB1058
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-multicast/p5mFmTDOPmAIhTj6JB5UXEQtqQs>
Subject: Re: [Yang-multicast] Proposed updates to draft-ietf-pim-yang
X-BeenThere: yang-multicast@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: YANG Multicast <yang-multicast.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-multicast>, <mailto:yang-multicast-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-multicast/>
List-Post: <mailto:yang-multicast@ietf.org>
List-Help: <mailto:yang-multicast-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-multicast>, <mailto:yang-multicast-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 18 Feb 2018 18:57:19 -0000

The YANG files and draft files are checked into Github: https://github.com/mcallisterjp/pim-yang

Thanks,
- Xufeng

From: Xufeng Liu
Sent: Friday, February 16, 2018 11:59 PM
To: 'yang-multicast@ietf.org' <yang-multicast@ietf.org>
Subject: Proposed updates to draft-ietf-pim-yang

Attached please find the proposed updates to address YANG doctor’s review comments.

Authors and contributors,
It would be appreciated if you can review and respond within a week. ADs and shepherd have been requesting, and I promised the update next week.

The followings are the proposed replies.

Thanks,
- Xufeng

=========================================

Wed 12/20/2017 4:22 PM
Jürgen Schönwälder j.schoenwaelder@jacobs-university.de<mailto:j.schoenwaelder@jacobs-university.de>
Yangdoctors last call review of draft-ietf-pim-yang-12

Reviewer: Jürgen Schönwälder
Review result: Almost Ready

* General YANG Review Remarks

  This document depends on a number of other I-Ds. Is it safe to
  process this document while the other documents this document
  depends on are not yet through the process? Who is tracking things
  and making sure that any changes in other documents that may impact
  the PIM document are detected and handled appropriately before
  publication?

  It is generally good style to write complete sentences in
  description statements. Some of the description statements are just
  fractions of a sentence.

  I think we do not recommend anymore to list WG chairs in the contact
  statement.
[Xufeng]: Removed

  It is sometimes not clear why you define groupings that are only
  used once (and sometimes are likely not reusable since they contain
  relative paths in must expressions).
[Xufeng]: Removed the unnecessary groupings.

* Introduction

  - Is there a reason why you refer to RFC 6020 and to RFC 7950 in
sections 1 and 1.2? Why do you need the reference to RFC 6020?

[Xufeng]: As suggested, moved the YANG version to 1.1, so that we have removed reference to RFC6020.

  - What are 'wider' management interfaces? If you mention NETCONF,
why not mention RESTCONF?
[Xufeng]: “RESTCONF” is mentioned before this sentence: “using network management protocols such as NETCONF [RFC6241] or RESTCONF [RFC8040]”.
  - s/Protocol-Independent Multicast (PIM) devices
     /devices supporting Protocol-Independent Multicast (PIM)/
[Xufeng]: Changed.
  - So which YANG terminology applies, RFC 6020 or RFC 7950? I
    personally think using YANG 1.1 is pretty safe these days.
[Xufeng]: As suggested, moved the YANG version to 1.1, so that we have removed reference to RFC6020.

* Design of Data Model

  - I did not really understand Section 2.5. It seems you are
    duplicating objects for different address families but on some
    systems these duplicate objects must have the same value. If so,
    where would the must expression go and how does an implementation
add such a must expression?
[Xufeng]: Clarified the deviation statement with clear location and detailed example.
How many of such must expressions
would there have to be?
[Xufeng]: Depending on the implementation, there can be five such configurable attributes: dr-priority, hello-interval, jp-interval, propagation-delay, and override-interval.
Did you consider having address family
    independent objects and optionally (controlled by a feature) per
address family objects that overwrite the independent settings?
[Xufeng]: Yes. It is listed as one of the options, i.e.
“For these implementations, the restriction that interface
   configuration must be address-family independent may either be
   expressed as a vendor augmentation of an address-family-independent
   parameter above the address-family level,”
Because such an implementation is not common, the consensus was to leave it to the vendor augmentation if needed.

* Module Structure

  - s/is included/is imported/
[Xufeng]: Fixed.

  - The tree diagrams are rather long. It would likely help readers if
    the diagram would be split into meaningful units and additional
    text added to describe the units.

[Xufeng]: Section 3 now describes the tree in smaller units. According to the mailing list discussion in NETMOD WG, we have also included the un-altered full tree in Section 4 for reference.

    Are lists of the form

          |  +--rw ipv4-rp* [ipv4-address]
          |  |  +--rw ipv4-address    inet:ipv4-address

    designed for exensibility? Otherwise, this may be collapsed into
    a simple leaf-list.
[Xufeng]: Yes for extensibility. Other modules, such as pim-sm and pim-bidir augment this list item to add more attributes.

  - Since I am not familiar with details of PIM, I can't comment on
    the question whether the model makes sense or not.

* PIM base Module

  - YANG modules compile cleanly according to the tracker page.

  - As said above, consider using YANG 1.1. The ietf-routing module
    actually uses YANG 1.1 so you will need a YANG 1.1 compiler
anyway.
[Xufeng]: As suggested, moved the YANG version to 1.1. It is a good point that ietf-routing already uses YANG 1.1.

  - Consider adding reference statements to the feature definitions
    in case a feature is described in a protocol specification.
    [Xufeng]: Added some references.

  - The value of timer-value is not really clear, you could have used
rt-types:timer-value-seconds16 directly.
[Xufeng]: Changed as suggested.

  - Why is graceful-restart/duration using an ad-hoc type for 16-bit
    seconds and not timer-value? Is it because infinity and not-set
does not apply?
[Xufeng]: Right.

  - Does a bfd/hello-interval of 'infinity' or 'not-set' make sense?
[Xufeng]: Yes. If 'infinity' or 'not-set' is used, no periodic Hello messages are sent. Clarified in the description.


  - More explicit description of bfd/hello-holdtime? Is a choice
    really appropriate (hello-holdtime-or-multiplier)? Can I not have
    both holdtime and multiplier? Perhaps I am just not clear what
holdtime does...
[Xufeng]: We cannot have both holdtime and multiplier. Holdtime is timer value to time out the neighbor state when the timer expires. The holdtime value can be specified either by the given holdtime value or by the calculation of the hello-interval multiplied by the given value of the multiplier. Clarified in the description.

  - Does a bfd/jp-interval of 'infinity' or 'not-set' make sense?
[Xufeng]: Yes. If 'infinity' or 'not-set' is used, no periodic Join/Prune messages are sent. Clarified in the description.

  - More explicit description of bfd/jp-holdtime? Is a choice really
    appropriate (jp-holdtime-or-multiplier)? Can I not have both
    holdtime and multiplier? Perhaps I am just not clear what holdtime
    does...
[Xufeng]: We cannot have both holdtime and multiplier. Holdtime is timer value to time out the Join/Prune state when the timer expires. The holdtime value can be specified either by the given holdtime value or by the calculation of the jp-interval multiplied by the given value of the multiplier. Clarified in the description.

  - Please provide more meaningful descriptions:

         description "Propagation description";
         description "Override interval";
[Xufeng]: Added.
  - What is the meaning of the interface augmentation 'oper-status'
    relative to 'oper-status' defined by ietf-interfaces? Is this just
    a duplicate with fewer states? Or is this somehow more specific to
    multicast or PIM packets? In the later case, I think this deserves
    to the be explained in the description clause.
[Xufeng]: It is the latter case. This is more specific to multicast or PIM packets. Added more clarifications in the description.

  - How do the ip4 and ipv6 addresses relate to ip addresses assigned
    to an interface in ietf-ip?
[Xufeng]: The addresses are from those assigned to the interface (operational state), but they are the addresses on which PIM is operating. Clarified in the description.
  - What is the meaning of hello-expiration 'not-set'?
[Xufeng]: ‘not-set’ means that the timer is not running. In this case, it is effectively the same as 'infinity', which means that the timer is running but never expires. If such a timer value is defined in the message format, ‘not-set’ will cause the implementation not to put the timer object into the message, while ‘infinity’ will cause the implementation to put 0xffff as the timer value.

  - What is the meaning of expiration 'not-set'?
[Xufeng]: As above.

  - Is it useful to return the uptime in seconds (which is changing on
    every get that is not in the same second) or could it be an option
    to report the time when something transitioned into the up state
    (which is not changing)? Well, it could be that we are simply used
    to uptime like objects. Anyway, the description of up-time should
    make it clear what exactly is defining the state 'up'. If this
    says up for 5 seconds, what exactly transitioned into an 'up'
state 5 seconds ago?
[Xufeng]: Right. It is the case that people are too used to the uptime. We have updated the description.

  - Is the any restriction for dr-priority or is it a full 32-bit
    unsigned number space? In some vendor documentation I saw 0..65535
with a default of 1. What do RFCs say?
[Xufeng]: RFC7761 Sec 4.3.1 and 4.3.2 describe it as a 32-bit unsigned number, so we will keep the full range. Added the default value 1 to the model.

  - I am not sure what the precise meaning of the error statistic
    counters are. What turns an received or sent messages into an
    error message? The description of grouping statistics-error does
    not explain this. Also, if I receive a hello and I later decide
    that this hello must have been an error, is this hello counted
    twice? And what about messages that could not be parsed because
they were malformed, where are those counted?
[Xufeng]: Added description to the error container. Right. if I receive a hello and I later decide that this hello must have been an error, is this hello counted twice: both in error counter and in received counter. You have raised a good point about the format error, which was missing in the model and has been added.

  - Why is 'pim' a presence container?
[Xufeng]: The presence container enables the PIM protocol. Clarified in the statement description.

  - Do comments like 'configuration data nodes' make sense if you
include config false nodes in the same branch of the tree?
[Xufeng]: Removed the term “configuration” here. We used to have “configuration” and “operational”, but when we removed the “operational” branch, we forgot to update the comments.

* PIM RP Module

  - Does the feature bsr-election-state depend on the feature bsr?
[Xufeng]: Yes. The container that uses the feature bsr-election-state is a sub-container of bsr (that uses the feature bsr). Is the arrangement good enough? To clarify, we have added “if-feature bsr” to the feature bsr-election-state.

  - Should there be a default bsr-candidate/priority?
[Xufeng]: Yes. Added a default value 64, and removed the mandatory requirement.

  - Do you need the address/hash-mask-length/priority in
bsr-state-attributes in an NMDA implementation?
[Xufeng]: We feel yes. There are two distinctive concepts here: candidate-BSR and elected BSR. The candidate-bsr container specifies if this router wants to be a candidate along with used parameters. The bsr container shows the election result, providing the information of elected bsr (which may be this route, if this route wants to be a candidate, or one of other remote candidate routers.

  - I _assume_ the bsr-next-bootstrap value has to be interpreted
    relative to the time the value was obtained. What about making
    this an absolute timestamp instead? Well, actually I am not sure
    what the value represents - is it the remaining time interval
until the next bootstrap will be sent?
[Xufeng]: You are right. It is the remaining time interval until the next bootstrap will be sent. It is a timer with short periodic interval like 60 sec. Operator usually checks its state to get a sense of the protocol’s health. It is possible to use an absolute timestamp instead, but it may not bring more convenience, because the operator needs to do the conversion and it is not obvious to use the absolute timestamp to indicate the protocol healthiness.

  - I have no clue what to expect here:

         leaf group-policy {
           type string;
           description "Group policy.";
         }

     What can I expect the string to contain?
[Xufeng]: Clarified the string value with the following:
          "The string value is the name to uniquely identify a
           policy that contains one or more policy rules used to
           accept or reject certain multicast groups.
           If a policy is not specified, the entire multicast address
           space is accepted.
           The definition of such a policy is outside the scope
           of this document.";

   - I am again uncertain how exactly to understand the value of
     rp-candidate-next-advertisement, see similar questions above.
[Xufeng]: Clarified with
        "The remaining time interval in seconds until the next
         RP candidate advertisement will be sent.";

   - What are the policy values that can go into this:

       leaf policy-name {
         type string;
         description
           "Static RP policy.";
       }

     Is the string just an arbitrary name or does it mean something?
[Xufeng] Clarified with the following:
        "The string value is the name to uniquely identify a
         policy that contains one or more policy rules used to
         determine which multicast group addresses are mapped
         to this statically configured RP address.
         If a policy is not specified, the entire multicast address
         space is mapped.
         The definition of such a policy is outside the scope
         of this document.";

   - How is this supposed to be used?

       leaf policy {
         type string;
         description
           "ACL (Access Control List) policy used to filter group
            addresses.";
       }

     What is the meaning of <policy>foo</policy>?
[Xufeng] Clarified with the following:
        "The string value is the name to uniquely identify a
         policy that contains one or more policy rules used to
         accept or reject certain multicast groups.
         If a policy is not specified, the entire multicast address
         space is accepted.
         The definition of such a policy is outside the scope
         of this document.";

* PIM SM Module

  - What is the meaning of a policy-name value?

               leaf policy-name {
                 if-feature spt-switch-policy;
                 type string;
                 description
                   "Switch policy.";
               }
[Xufeng]: Clarified with the following:
                "The string value is the name to uniquely identify a
                 policy that contains one or more policy rules used
                 to accept or reject certain multicast groups.
                 The groups accepted by this policy have the SPT
                 switchover threshold set to infinity, meaning that
                 they will stay on the shared tree forever.
                 If a policy is not specified, the entire multicast
                 address space is accepted.
                 The definition of such a policy is outside the scope
                 of this document.";

  - What is the meaning of a range-policy value?

           leaf range-policy {
             type string;
             description
               "Policy used to define SSM address range.";
           }
[Xufeng]: Clarified with the following:
            "The string value is the name to uniquely identify a
             policy that contains one or more policy rules used
             to accept or reject certain multicast groups.
             The groups accepted by this policy define the multicast
             group rang used by SSM.
             If a policy is not specified, the default SSM multicast
             group rang is used.
             The default SSM multicast group range is 232.0.0.0/8 for
             IPv4 and ff3x::/96 for IPv6 where x reprents any valid
             scope identifier.
             The definition of such a policy is outside the scope
             of this document.";

* PIM DM Module

  - I wonder, would you need an identity for dense mode?
[Xufeng]: I think that you mean an identity based on “identity rp-mode” in ietf-pim-rp.yang. No, we don’t need. PIM dense mode does not use RP, so that rp-model is not applicable.

* PIM BIDIR Module

  - Remove

     /*
      * Typedefs
      */
[Xufeng]: Done.

  - What is the meaning of offer-interval or backoff-interval
'not-set'?
[Xufeng]: It is not valid to use “not-set” or “infinity” for these two parameters. Changed them to uint16.

* Implementation Status

  It seems the trac page pointed to was used to collect information
  about what proprietary implementation support, i.e., it does not
  document to what extend the models defined in this document have
  been implemented. There are some notable differences. For example,
  it seems most counters implemented are 32-bit while most counters in
  the YANG models are 64-bit. How chatty is PIM, are 64-bit counters
  really needed and are implementors willing to move to 64-bit
  counters?
[Xufeng]: The understanding is correct. We were requested to add this section to provide some background information to the reviewers to help the reviewing process.
As for the counter sizes, will double check with the working group. The periods of these messages are usually at the order of seconds per interface. The counters do not seem to need 64 bit. Can we change to 32 bit?

* Security Considerations

  I think this needs to include a bit more details. See

  https://trac.ietf.org/trac/ops/wiki/yang-security-guidelines

  for the latest template that YANG module authors are expected to
  use.
[Xufeng]: Updated.