Re: [pim] Fw: I-D Action: draft-ietf-pim-msdp-yang-16.txt

"Rob Wilton (rwilton)" <rwilton@cisco.com> Mon, 23 March 2020 15:41 UTC

Return-Path: <rwilton@cisco.com>
X-Original-To: pim@ietfa.amsl.com
Delivered-To: pim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 046DB3A0956; Mon, 23 Mar 2020 08:41:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.577
X-Spam-Level:
X-Spam-Status: No, score=-9.577 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, T_SPF_HELO_TEMPERROR=0.01, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=FbAL+cBC; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=uup5C0yu
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 HbafAna54-9g; Mon, 23 Mar 2020 08:40:50 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C0FF83A0928; Mon, 23 Mar 2020 08:32:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=36842; q=dns/txt; s=iport; t=1584977559; x=1586187159; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=2qNOpIiLGt7oTMMtlCgBl02todHV3IFt1HV5wlzvWOs=; b=FbAL+cBC/c2rgCDs+UonpIf7sBOaxvWbHvmeTkWFUfM/jQAsUDN8mfsh cIzx3+uV4sl9vb+orlTEeTAkDxkKuKAfVP2qgQnobuhrM709YRMxab2BX ZKV813cF4OwpZTEmTxglkugy1D2o5dw7Opar2SwnaRkwYSuE3tlvM3svp 8=;
IronPort-PHdr: 9a23:wa+rLRySFwn/VBXXCy+N+z0EezQntrPoPwUc9psgjfdUf7+++4j5YhSN/u1j2VnOW4iTq+lJjebbqejBYSQB+t7A1RJKa5lQT1kAgMQSkRYnBZufFkz/MPnsRyc7B89FElRi+iLzPA==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CyCwBP1nhe/4kNJK1cChwBAQEBAQcBAREBBAQBAYF7gSUvUAVsWCAECyoKhA6DRQOKcU6CEYlqjjKCUgNQBAkBAQEMAQEYAQoKAgQBAYRFAheCECQ4EwIDAQELAQEFAQEBAgEFBG2FVgyFYwEBAQEDAQEQEQoTAQEsCwEPAgEGAhEEAQEhAQYDAgICHwYLFAkIAgQOBQgTB4MFgX5NAy4BAwuRE5BnAoE5iGJ1gTKCfwEBBYEzAg5BgyUNC4IMCYE4jC8agUE/gRFHgk0+ghtJAQECAQEYgRwvKwkIglMygiyQPDuFeIoejwBECoI8h16KbIRagkyBAocpjnWBbZgagjeQLQIEAgQFAg4BAQWBPyoigVhwFRohgmwJRxgNjh2Dc4UUhUF0AoEnjF0BgQ8BAQ
X-IronPort-AV: E=Sophos;i="5.72,296,1580774400"; d="scan'208,217";a="451929413"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 23 Mar 2020 15:32:36 +0000
Received: from XCH-RCD-003.cisco.com (xch-rcd-003.cisco.com [173.37.102.13]) by alln-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 02NFWaAW002197 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 23 Mar 2020 15:32:36 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-003.cisco.com (173.37.102.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 23 Mar 2020 10:32:36 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 23 Mar 2020 10:32:35 -0500
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 23 Mar 2020 10:32:35 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bX9LYzlU11bbobMUogSAzABJ6ZmaU27XkPO8R1q7eHDwKWkf/DTdLhJkPk3vG3AR6ZfAZu4BeGNe3QCo+nz+YHyL1npbtanhWVxmCU+vr5y5m+pVdwPCE/a7nrziCLnDCTx8P0fG34AgrczZiqkzhIi2av7XwfgngNXvQbTMqRUloqdcR2izSvwMQibWJnkfQ6CSVLi9LNRMKmh7KtaQGjh0vp1fE6qYurb4ewyZIB9pfszaNYuWlQ2hze2wDKn81ekSaNXCqoMBARjbtiMAwRed46h6znY/koxpwy1GH6Q0u+lDUs3o0Np+GckpAgjc+qSZlTd4BmUxWvMsNqK3BQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;bh=2qNOpIiLGt7oTMMtlCgBl02todHV3IFt1HV5wlzvWOs=; b=PLA7aoHCvOn0zyt746/jyGbOprJL8F9sSvRSt/Q8HgOA+EkpXbuyj8xGamtpG+EIaJVuFhlU4+B8jxkU3WWjRU1qP/5sjSKXYrbCQIgqC/eQqtxv+azZTewHl2xaQAIVbZOBfeJemcSMT7OikLrG5eYe0pOLDpzgZykCtppgZRYLWGljmDyl6tY1J1gp1gdtzU2AKiNsJEwa0Vi/jiAvqyUFFlFFZDGlp8VnU/Rgc5m/USdq1jlG+jt9xdOSFnTk/jBk4yfbE3vNTn1USyaxynX2cD8xD9w6/Ypl+jLY874xzJHcEt01oPf047wkCDUiZYon/+YJ8h9VO0vQ9/ilTw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2qNOpIiLGt7oTMMtlCgBl02todHV3IFt1HV5wlzvWOs=; b=uup5C0yuC1k+EJDSp13+gl8pnJL39zpObIlXOydijflZEjkczZwUTKHA+adD8Zr+1M8RW53lV1QsBUkadk5RlIeW2Wu3zgXMclEo1465xH/iovFDDClNKtVFHHOg8LrHzWmm4UKwgpDjd69XzRFdxNbJp3Q0cn/pZNS3REFMRkQ=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (2603:10b6:208:190::17) by MN2PR11MB3663.namprd11.prod.outlook.com (2603:10b6:208:f5::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.18; Mon, 23 Mar 2020 15:32:34 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::3:2164:a8e2:33b3]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::3:2164:a8e2:33b3%5]) with mapi id 15.20.2835.021; Mon, 23 Mar 2020 15:32:34 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Xufeng Liu <xufeng.liu.ietf@gmail.com>
CC: "zhang.zheng@zte.com.cn" <zhang.zheng@zte.com.cn>, "kaduk@mit.edu" <kaduk@mit.edu>, "rdd@cert.org" <rdd@cert.org>, "barryleiba@computer.org" <barryleiba@computer.org>, "aretana.ietf@gmail.com" <aretana.ietf@gmail.com>, "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "pim-chairs@ietf.org" <pim-chairs@ietf.org>, "pim@ietf.org" <pim@ietf.org>
Thread-Topic: [pim] Fw: I-D Action: draft-ietf-pim-msdp-yang-16.txt
Thread-Index: AQHWAR1waY2+qXFoVUu5xo/uILFxw6hWTeYA
Date: Mon, 23 Mar 2020 15:32:34 +0000
Message-ID: <MN2PR11MB4366FEE7F493F1F1586F2B03B5F00@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <202003091145456269025@zte.com.cn> <BY5PR11MB43556F4C380EC9A7D650B7E5B5FE0@BY5PR11MB4355.namprd11.prod.outlook.com> <CAEz6PPSpvMex-NPej34_vc-LwcKEUMXHA49-bW1C415+FebDQg@mail.gmail.com>
In-Reply-To: <CAEz6PPSpvMex-NPej34_vc-LwcKEUMXHA49-bW1C415+FebDQg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rwilton@cisco.com;
x-originating-ip: [82.15.79.32]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 543e5f03-7aef-4204-5003-08d7cf3f68ff
x-ms-traffictypediagnostic: MN2PR11MB3663:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MN2PR11MB3663F02B61437D5E36FA37F3B5F00@MN2PR11MB3663.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0351D213B3
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(346002)(396003)(39860400002)(366004)(199004)(8936002)(81156014)(8676002)(7696005)(478600001)(71200400001)(2906002)(4326008)(86362001)(53546011)(6506007)(26005)(186003)(5660300002)(316002)(9326002)(54906003)(966005)(52536014)(81166006)(6916009)(33656002)(76116006)(66446008)(64756008)(66556008)(66476007)(66574012)(66946007)(9686003)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3663; H:MN2PR11MB4366.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: K1JVzq71CnUto1zH5LNoRA0poZVM1MLlbub2gej0Jqfdf+PkuPmUnmvdqcThwt5ygfy8em3LWqCH4HP5xkmpU20OA27HObLQUL+kinYCkDRYHluNWZ8HogqK1cKRqXlMpMASXV9TAJDGQ8losSCicVhKa5GgYCU1k0GtHltzcN+AHwQuqcMP++bXJBQuG1qWh9aLc7Gf5WGewSKmXoqFNDtBo+lFMvmxpgjPQlpGAY3UI3xGtU1ia56MIyMFlH3cKCp5uAX9LYPzI6g5jZuf8UNFS7z4D7ffDYAuajXuutJsP2Mr1alB3iMrlXDHJTPcctM1Ln+ZLZUN6lLuuTKEq90EMqXCJm5C8++rfAyFG4F+cNgGHR4J3FTvKLuXQm8dNaLWlefWrFAuUZPGoU3evtipYXlLQ2MISDzRfHEFzveV/AJY1EwrYlSKbN7/7zieNB9+dp4gvCnbNClR2q1ljWdzhY6NF/WYQzCI5tRldB+UfIuome/eVB9hXJSIVvoB
x-ms-exchange-antispam-messagedata: sbxZDW9MgS0JoZyNL0OPL8BeBY87mBnLfCLu44csDhF3EmhPTJfUZ1fYuNzy1Q/vQ2U4YKXMvXDqbc3ZWxlWPPlJ4x1GFlh2G7a3WEKehu758GXCnkIFrHBoUG91v4zI5m7L1ydPFTSypsKw7ZLlIw==
Content-Type: multipart/alternative; boundary="_000_MN2PR11MB4366FEE7F493F1F1586F2B03B5F00MN2PR11MB4366namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 543e5f03-7aef-4204-5003-08d7cf3f68ff
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2020 15:32:34.6677 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 9HT4eBa0dR7Uvdp525VYeUr6EbJxZssjFUH/xzGCKi08AquQKFXc6cEUs2L6u3LOq0u0tHOQcC0nhT9asRpYbA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3663
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.13, xch-rcd-003.cisco.com
X-Outbound-Node: alln-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/8wqZ2qFVTCanG_KNLC2fF0wojaE>
Subject: Re: [pim] Fw: I-D Action: draft-ietf-pim-msdp-yang-16.txt
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Protocol Independent Multicast <pim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pim>, <mailto:pim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pim/>
List-Post: <mailto:pim@ietf.org>
List-Help: <mailto:pim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pim>, <mailto:pim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Mar 2020 15:41:01 -0000

Hi Xufeng,

A one or two sentence description of what is being done, along with an example POST request, and the body of the post request would probably make the example more complete.  Is that feasible?

Thanks,
Rob


From: Xufeng Liu <xufeng.liu.ietf@gmail.com>
Sent: 23 March 2020 14:14
To: Rob Wilton (rwilton) <rwilton@cisco.com>
Cc: zhang.zheng@zte.com.cn; kaduk@mit.edu; rdd@cert.org; barryleiba@computer.org; aretana.ietf@gmail.com; Reshad Rahman (rrahman) <rrahman@cisco.com>; pim-chairs@ietf.org; pim@ietf.org
Subject: Re: [pim] Fw: I-D Action: draft-ietf-pim-msdp-yang-16.txt

Hi Bob,
I'd like to ask a question in-line below.

On Mon, Mar 9, 2020 at 7:54 AM Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf..org<mailto:40cisco.com@dmarc.ietf.org>> wrote:
Hi Sandy,

Thanks for making these markups.

I wasn’t sure that your Actions example in A.3 was complete, it doesn’t look to be structurally correct, e.g. it doesn’t seem to identify the action that is being invoked.

Is there any complete JSON encoded action example? Based on RFC8040, the given JSON data seems to be complete. The object that the action is applied is identified by the resource url (Sec 3.6. of RFC8040):

    POST {+restconf}/data/<data-resource-identifier>/<action>
Page 35 gives an example:

      { "example-actions:input" : {

          "delay" : 600

        }

      }

Based on this example, A.3 seems correct.

It would also be useful to have a sentence before the action to describe what it is doing.

This could be the solution.
Thanks,
- Xufeng

As a minor nit on 3.2, I would change reword the last paragraph:

OLD:

   The actions can be used to clear the connection of one specific MSDP
   peer, or clear the connections of all the MSDP peers, or clear some
   or all the SA caches.


PROPOSED:


   YANG actions are defined to clear the connection of one specific MSDP

   peer, clear the connections of all MSDP peers, or clear some

   or all the SA caches.

Regards,
Rob


From: zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn> <zhang.zheng@zte.com.cn<mailto:zhang.zheng@zte.com.cn>>
Sent: 09 March 2020 03:46
To: kaduk@mit.edu<mailto:kaduk@mit.edu>; rdd@cert.org<mailto:rdd@cert.org>; barryleiba@computer.org<mailto:barryleiba@computer.org>; Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>; aretana.ietf@gmail.com<mailto:aretana.ietf@gmail.com>; Reshad Rahman (rrahman) <rrahman@cisco.com<mailto:rrahman@cisco.com>>
Cc: pim-chairs@ietf.org<mailto:pim-chairs@ietf.org>; pim@ietf.org<mailto:pim@ietf.org>
Subject: Fw:[pim] I-D Action: draft-ietf-pim-msdp-yang-16.txt


Hi Ben, Roman, Barry, Rob, Alvaro, Reshad,



Thank you very much for your comments and modification suggestions.

And many thanks to everyone who give us suggestions.

We updated the draft to 16 version.

Please review it. Hope this verson can be well.



Best regards,

Sandy


原始邮件
发件人:internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> <internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>>
收件人:i-d-announce@ietf.org<mailto:i-d-announce@ietf.org> <i-d-announce@ietf.org<mailto:i-d-announce@ietf.org>>;
抄送人:pim@ietf.org<mailto:pim@ietf.org> <pim@ietf.org<mailto:pim@ietf.org>>;
日 期 :2020年03月09日 11:26
主 题 :[pim] I-D Action: draft-ietf-pim-msdp-yang-16.txt

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Protocols for IP Multicast WG of the IETF.

        Title           : A YANG Data Model for Multicast Source Discovery Protocol (MSDP)
        Authors         : Xufeng Liu
                          Zheng Zhang
                          Anish Peter
                          Mahesh Sivakumar
                          Feng Guo
                          Pete McAllister
    Filename        : draft-ietf-pim-msdp-yang-16.txt
    Pages           : 34
    Date            : 2020-03-08

Abstract:
   This document defines a YANG data model for the configuration and
   management of Multicast Source Discovery Protocol (MSDP) Protocol.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-pim-msdp-yang/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-pim-msdp-yang-16
https://datatracker.ietf.org/doc/html/draft-ietf-pim-msdp-yang-16

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-pim-msdp-yang-16


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org<http://tools.ietf.org>.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp..ietf.org/internet-drafts/<ftp://ftp.ietf.org/internet-drafts/>


_______________________________________________
pim mailing list
pim@ietf.org<mailto:pim@ietf.org>
https://www.ietf.org/mailman/listinfo/pim


_______________________________________________
pim mailing list
pim@ietf.org<mailto:pim@ietf.org>
https://www.ietf.org/mailman/listinfo/pim