Re: [pim] Robert Wilton's Discuss on draft-ietf-pim-igmp-mld-snooping-yang-17: (with DISCUSS and COMMENT)

Hongji Zhao <hongji.zhao@ericsson.com> Thu, 30 July 2020 09:33 UTC

Return-Path: <hongji.zhao@ericsson.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 5165A3A1021; Thu, 30 Jul 2020 02:33:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 P5CQM89deODm; Thu, 30 Jul 2020 02:33:25 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80070.outbound.protection.outlook.com [40.107.8.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5CE2C3A101D; Thu, 30 Jul 2020 02:33:24 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZavlpGqZV5P1QNvGJrznXUVt16ftESqjcE8DfhOsBV+izJSTs85Z6YarVHY9iavQzBkpUvquEc9rid6AYO1Z3Wc6sGPj1BsWPiAnsiNHrpf4S2MFxlViHuJfw22RCjeBjn+tAzvTD2xSDBdBm57yNAs0lRWXAYItHQ7cJqW6QFBqw0QTS0nrNpTj4NDg3XaYSpEtIwsqM9BsDTSYlf6J0qOCipdF0bRK+Tl7lu9yu+c9Ytx1n3oiW9JdYqmP7pek70gQ3QKgbJw2pKLA97Qc3DT5W1AMjF2EmIEGbUEi4BaGtqUb2hoFF7HQeXljwKVltp53yRa9a1/blhUvTgXRLQ==
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=jTZgJE5CuxL5clILZpXxCp7XUKlsVGXsZnyzf6Aq+RY=; b=DUi37PJPylgS5eWbyFXL6hQq9O9txJKaizeA/yv6JZKDD5WFP00CO4nk/ANwynYvIeE4ABJrS6feSA4e9UxFfCT+E5ydG6A+pJ2I76UFwgwOwRjTV/NYxcSoYSPun/ooyew7RmexnWADbU5N0alvjBLBy5QBKtXNo+ROdI8Uv6lCk1R/WjVFV0Kyk3CBbaRrl9YJ192t0+9HcwVMdB+b9iSdlWRriCjyMJ/vF38d87qxxmjIsEV5o9X7WaB/EvApmEqrlfhN7uEosr7WgmcVVKMQi9tZsrPTqC4Q4uOy2Ny/nihWNSm8yAVzO3r6t8Al5DpsTnQMRCH0reRF0KcOBQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jTZgJE5CuxL5clILZpXxCp7XUKlsVGXsZnyzf6Aq+RY=; b=qH36Q4eVkrty5MplMifvythrqLWCttAcFnTw273yZbEBbp0fuvH4y4jW5h0ypJ73rYdp59+jNTX2K4pCKCyT35i2a4eOnDEswlEx+60I40eDKmEn3LSHwSnaLjB8s0QuThaZ4WFBUHJWuylovFdLLmX76CFp0hU5EqH8M9T5lsc=
Received: from HE1PR0701MB2492.eurprd07.prod.outlook.com (2603:10a6:3:71::22) by HE1PR07MB3258.eurprd07.prod.outlook.com (2603:10a6:7:32::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.9; Thu, 30 Jul 2020 09:33:21 +0000
Received: from HE1PR0701MB2492.eurprd07.prod.outlook.com ([fe80::ec82:bf39:2810:fbb0]) by HE1PR0701MB2492.eurprd07.prod.outlook.com ([fe80::ec82:bf39:2810:fbb0%7]) with mapi id 15.20.3239.018; Thu, 30 Jul 2020 09:33:21 +0000
From: Hongji Zhao <hongji.zhao@ericsson.com>
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>
CC: Stig Venaas <stig@venaas.com>, "pim-chairs@ietf.org" <pim-chairs@ietf.org>, Alvaro Retana <aretana.ietf@gmail.com>, The IESG <iesg@ietf.org>, "Eric Vyncke (evyncke)" <evyncke@cisco.com>, "pim@ietf.org" <pim@ietf.org>, "draft-ietf-pim-igmp-mld-snooping-yang@ietf.org" <draft-ietf-pim-igmp-mld-snooping-yang@ietf.org>
Thread-Topic: Robert Wilton's Discuss on draft-ietf-pim-igmp-mld-snooping-yang-17: (with DISCUSS and COMMENT)
Thread-Index: AQHWVdcXmlpukUvGqE2bmmz/z85+SqkGcErggABdioCAAHyigIAKAqJggAB7woCADjAioA==
Date: Thu, 30 Jul 2020 09:33:21 +0000
Message-ID: <HE1PR0701MB24924A77B1F904BBF36A37E996710@HE1PR0701MB2492.eurprd07.prod.outlook.com>
References: <159428852777.7283.9711125025293117565@ietfa.amsl.com> <HE1PR0701MB249249C361CB7EAE14C9E8BF96610@HE1PR0701MB2492.eurprd07.prod.outlook.com> <BY5PR11MB435511BEE3DAF693888E91E2B5610@BY5PR11MB4355.namprd11.prod.outlook.com> <CAMMESsxgS0QVGaQDf8P1Bo2OUoTEjQPURFMAQ4=paDab5ht1Uw@mail.gmail.com> <HE1PR0701MB2492D1B16BC3875EBF56350396780@HE1PR0701MB2492.eurprd07.prod.outlook.com> <MN2PR11MB43663E3A23D01685650E5AE2B5780@MN2PR11MB4366.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB43663E3A23D01685650E5AE2B5780@MN2PR11MB4366.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [119.28.22.196]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 36baa359-af31-4e68-2f8f-08d8346b9970
x-ms-traffictypediagnostic: HE1PR07MB3258:
x-microsoft-antispam-prvs: <HE1PR07MB3258863050EC710AB051462096710@HE1PR07MB3258.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: pPE6VU5SOCoR5qrwlTwaMtEyVNFyGKhJ3hMf33sZPz4hZ9qNJKD9oAJG6/iyvDHfzPf7geYVEvwSBMtpcemgV6NkJnDpjmfH97WINvuADTkBx39H3GFjzVuP/MsrXbOQd0thXtNSqrQSNJa4lVgoLQfDN4KSg4A+UBOIOh1+WaXyr12eZgYboGB1UL/7eQ4/pe4zbTbIcLyNrsCy97j7dkZcQ1jDl4dYe/pAQ9vH+qKGhKjCZXCQWoYHTy3ezkT1c/v8j9pAXSVc/QnygM8oVE9GfjWZFusaReAA2H9SFU+h4YVYZ29/ZvSs8juLOezy
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0701MB2492.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(39860400002)(396003)(366004)(136003)(376002)(2906002)(33656002)(5660300002)(55016002)(9686003)(186003)(52536014)(6506007)(26005)(66446008)(44832011)(66556008)(478600001)(71200400001)(53546011)(66574015)(76116006)(66946007)(66476007)(86362001)(64756008)(8676002)(83380400001)(8936002)(54906003)(4326008)(6916009)(316002)(7696005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: rWXc18JgLGLLqle6xOlHQZXuVZOveZsjjwh61QF7mMlayzAZFJ0ieiETjLfqtujaznZ3T2Zw/O2ZDI4+eiKeATUl8fuxhDN9NPAQDyarxBJRlqEBMWnvrnv6b65Ny1QCsWPIHOH4/7IRbe79pR5dYwOSmfp8IQ36NTrY60vAeA1I/KXO/0aLczOPc7BTgb+JZrNGEp9vrjkwps/QKPhr1xwhCZlhDo3FbRCH0cR3NXfRYoNsZwQmKsvsBvKF7Ntd08AeflrpPaYYRfq/7pS9BO3ntoAX3I3zIVpmaCTfhaW83wbe3gNkfqwPYrysaT9ZUQ4Kfcz/Gj3RkePBU6Jy+KL+7kVf1WQFoTNwTvDXlq5A3JaAdzkQTbv1UMU9R0/eEaZA+V0UkVr18AXl7fdZ8A8gcJbJra8TCu1QA3tg8FqI/eouV4hP/rwThW1jH0+1t4lBxsGjokcQwJ6r+qn4uXhwDT+jqmpPnLVl0GRMIREAMkjErh9b/7cTFzK/Q4eUCqqkGaclIU+e7CLwOKMOrg3OBmf3jNGnsxf3gMYGi4cs2CnmBraiIqEcu8sbRPiByi651Q3e5IX9kAiMkABDsCcsiaEHeiUF+XmYw0Ug6fvTI4U7RbVsKPNpd1QjwpGR/gv0hoJvbXR3Hp5Rd8kmEg==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_HE1PR0701MB24924A77B1F904BBF36A37E996710HE1PR0701MB2492_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0701MB2492.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 36baa359-af31-4e68-2f8f-08d8346b9970
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2020 09:33:21.1987 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: gWW+oP5dmKys6TukNT9Ylf6B6uzMYFF/nuVyEZOHQE3hYpxAlrmfH3+CnE9GZcO7Pz9+rUrnB5+FPSO0Gzy/yugU4C0LBaMH81mvCVXBYAg=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3258
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/d15ayhe5uGtsdgQTuZV_h9MM4-g>
Subject: Re: [pim] Robert Wilton's Discuss on draft-ietf-pim-igmp-mld-snooping-yang-17: (with DISCUSS and COMMENT)
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: Thu, 30 Jul 2020 09:33:28 -0000

Hi Robert

Regarding your comments, please check inline. Thanks a lot!


----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Thank you for your work on this document and YANG model.  I also have a few minor comments/suggestions that may improve the document and YANG module:

    2. Design of Data Model

    An IGMP/MLD snooping switch [RFC4541] analyzes IGMP/MLD packets and sets
    up forwarding tables for multicast traffic. If a switch does not run
    IGMP/MLD snooping, multicast traffic will be flooded in the broadcast
    domain. If a switch runs IGMP/MLD snooping, multicast traffic will be
    forwarded based on the forwarding tables to avoid wasting bandwidth. The
    IGMP/MLD snooping switch does not need to run any of the IGMP/MLD
    protocols. Because the IGMP/MLD snooping is independent of the IGMP/MLD
    protocols, the data model defined in this document does not augment, or
    even require, the IGMP/MLD data model defined in [RFC8652].
    The model covers considerations for Internet Group Management Protocol
    (IGMP) and Multicast Listener Discovery (MLD) Snooping Switches
    [RFC4541].

It wasn't clear to me what the final sentence was trying to say.  Perhaps it should be merged with the penultimate sentence in the paragraph?
[Authors] The penultimate sentence is to explain the relationship between igmp and igmp snooping. The last sentence is to explain where igmp snooping is from.

    The YANG module includes IGMP and MLD Snooping instance definition,
    using instance in the scenario of BRIDGE [dot1Qcp] and L2VPN [draft-
    ietf-bess-l2vpn-yang]. The module also includes actions for clearing
    IGMP and MLD Snooping group tables.

I find the use of the terminology of "scenario of " to be somewhat strange.  I would probably have referred to these a "L2 forwarding paradigms" or "L2 forwarding instances".
If this terminology is changed then it would need to be fixed elsewhere in this document and the YANG model.
[Authors] What about use l2-service-type instead of scenario?

    On the other hand, operational state parameters are not so widely
    designated as features, as there are many cases where the defaulting
    of an operational state parameter would not cause any harm to the
    system, and it is much more likely that an implementation without
    native support for a piece of operational state would be able to derive
    a suitable value for a state variable that is not natively supported.

With NMDA, the server also has the option of not returning a value for a given item of operational data (RFC 8342, section 5,3, paragraph 4).
Although this doesn't conform to the data model, the semantics are well defined - i.e. the client cannot infer anything about the value that has not been returned.
[Authors] yes you are right, do we need to do any changes?


    3.1. IGMP Snooping Instances

    The value of scenario in igmp-snooping-instance is bridge or l2vpn. When it
    is bridge, igmp-snooping-instance will be used in the BRIDGE

As per previous comments, this first sentence does not read well for me.
[Authors] The scenario is a leaf in yang module, we would like to add quotation marks and reword as below, is it ok?
The value of the leaf "scenario" in igmp-snooping-instance ...


    The values of bridge-mrouter-interface, l2vpn-mrouter-interface-ac,
    l2vpn-mrouter-interface-pw are filled by the snooping device dynamically.
    They are different from static-bridge-mrouter-interface,
    static-l2vpn-mrouter-interface-ac, and static-l2vpn-mrouter-interface-pw
    which are configured

Ideally, these static nodes would not have been necessary, instead relying on the NMDA split between configuration and state,
but that would probably require the default model to always allow them to be statically configured.
In NMDA, features can be implemented per-datastore but it is not clear how well that would work here.
[Authors] Static interfaces are different from dynamical interfaces.  An interface can be either static or dynamical, but not both. Static interfaces need configured, so they have configuration and operational states.
Dynamic interfaces are learnt by the system. They are not configured, but they have the operational state.



BR/Hongji


From: Rob Wilton (rwilton) <rwilton@cisco.com>
Sent: Tuesday, July 21, 2020 4:38 PM
To: Hongji Zhao <hongji.zhao=40ericsson.com@dmarc.ietf.org>
Cc: Stig Venaas <stig@venaas.com>; pim-chairs@ietf.org; Alvaro Retana <aretana.ietf@gmail.com>; The IESG <iesg@ietf.org>; Eric Vyncke (evyncke) <evyncke@cisco.com>; pim@ietf.org; draft-ietf-pim-igmp-mld-snooping-yang@ietf.org
Subject: RE: Robert Wilton's Discuss on draft-ietf-pim-igmp-mld-snooping-yang-17: (with DISCUSS and COMMENT)

Hi Hongji,

That is fine.  Thank you for considering/discussing the options.  I have cleared my discuss.

Regards,
Rob