Re: [pim] draft-ietf-pim-igmp-mld-snooping-yang-01 comments

Hongji Zhao <hongji.zhao@ericsson.com> Tue, 24 April 2018 08:22 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 F3A4D1270AC for <pim@ietfa.amsl.com>; Tue, 24 Apr 2018 01:22:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.31
X-Spam-Level:
X-Spam-Status: No, score=-4.31 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=AcpcT/mp; dkim=pass (1024-bit key) header.d=ericsson.com header.b=KkneTRwq
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 ptBEihLm7Tmv for <pim@ietfa.amsl.com>; Tue, 24 Apr 2018 01:22:39 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (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 2C307126DEE for <pim@ietf.org>; Tue, 24 Apr 2018 01:22:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1524558156; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hyKJxPOJlHbJ79an4/Jy4Y+teXuHUyeJn9iRMlSaSuI=; b=AcpcT/mpN+iOL/88pl+QseAxmSEfGMuUdPSOw42a6yJ1XVwUi+Ixx1+LYm0erJGB MvOQDNmazOynleEGT0SPPZxExSNK5X53P1KW5hU8+kieutGBUXRZ15KRUPmARsbI xh5p04omRffH5/xb8c7od/HySpawmRuoxMDu42YFQIM=;
X-AuditID: c1b4fb25-88bff70000006561-8c-5adee94cc737
Received: from ESESSHC003.ericsson.se (Unknown_Domain [153.88.183.27]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 97.47.25953.C49EEDA5; Tue, 24 Apr 2018 10:22:36 +0200 (CEST)
Received: from ESESSMB501.ericsson.se (153.88.183.162) by ESESSHC003.ericsson.se (153.88.183.27) with Microsoft SMTP Server (TLS) id 14.3.382.0; Tue, 24 Apr 2018 10:22:36 +0200
Received: from ESESSMB501.ericsson.se (153.88.183.162) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 24 Apr 2018 10:22:35 +0200
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Tue, 24 Apr 2018 10:22:35 +0200
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; bh=hyKJxPOJlHbJ79an4/Jy4Y+teXuHUyeJn9iRMlSaSuI=; b=KkneTRwqrlArFs2oWi88iDn71gAz17uLCqqd8TZBmI68nFygMoU8SE3D+kd9LTr4IgkxUp3EMOsK2YyEXXtgdsi4ImkLnAKBUHn7GQRe+cN5yne3GFKVQ9NqZ8l3SpUOpw2Y47p0FkTLbqJlDSEuXYtSCvoVaGVJAkoIEPTVTPI=
Received: from VI1PR0701MB1774.eurprd07.prod.outlook.com (10.167.196.144) by VI1PR0701MB2318.eurprd07.prod.outlook.com (10.168.137.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.715.11; Tue, 24 Apr 2018 08:22:35 +0000
Received: from VI1PR0701MB1774.eurprd07.prod.outlook.com ([fe80::d2c:66c9:1092:8d5f]) by VI1PR0701MB1774.eurprd07.prod.outlook.com ([fe80::d2c:66c9:1092:8d5f%7]) with mapi id 15.20.0715.015; Tue, 24 Apr 2018 08:22:34 +0000
From: Hongji Zhao <hongji.zhao@ericsson.com>
To: Stig Venaas <stig@venaas.com>, "draft-ietf-pim-igmp-mld-snooping-yang@ietf.org" <draft-ietf-pim-igmp-mld-snooping-yang@ietf.org>, "pim@ietf.org" <pim@ietf.org>
Thread-Topic: RE: draft-ietf-pim-igmp-mld-snooping-yang-01 comments
Thread-Index: AdPbo9h1brxq3918Tven0wAeItzjEQ==
Date: Tue, 24 Apr 2018 08:22:34 +0000
Message-ID: <VI1PR0701MB17749769A349D72652534C3A96880@VI1PR0701MB1774.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: venaas.com; dkim=none (message not signed) header.d=none;venaas.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [106.38.5.8]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR0701MB2318; 7:Jx/o62pSvvNwMfcUii/mVFPlBinUT03X+NBQGPtBm/nhj3toyYXbIE1qWqzAvQ8I9fZ+uq2M932xCGxRmc/rnMIZS3PRiQZwAeNTSQw3+LYDlAJl0mPjQ35cXUZe8NaCAjftgOWllq4kWtor+9s4Tm//DvOz0NbIpiJUQuq/VD4baCDjjZmc5dc6kYKgd/bLJcs0lVJmtToCl6GEJAjmL/u/13JZhFMGLviNl8vxy9FzGqzHmSKYPhasT3t6ppIk
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0701MB2318;
x-ms-traffictypediagnostic: VI1PR0701MB2318:
x-microsoft-antispam-prvs: <VI1PR0701MB2318D15A80DEAAFFC47B72D496880@VI1PR0701MB2318.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(192374486261705)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231232)(944501410)(52105095)(10201501046)(3002001)(6041310)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011); SRVR:VI1PR0701MB2318; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0701MB2318;
x-forefront-prvs: 0652EA5565
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(366004)(396003)(39380400002)(376002)(13464003)(6306002)(54896002)(55016002)(44832011)(53936002)(6246003)(25786009)(9686003)(478600001)(3846002)(110136005)(316002)(790700001)(6116002)(5250100002)(2501003)(2201001)(7736002)(476003)(86362001)(8936002)(59450400001)(186003)(102836004)(53546011)(6506007)(26005)(2906002)(33656002)(8676002)(3280700002)(3660700001)(74316002)(81166006)(5660300001)(66066001)(7696005)(6436002)(2900100001)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0701MB2318; H:VI1PR0701MB1774.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:sfv;
x-microsoft-antispam-message-info: SYLVegdCq5dprOTZqeIQDXLgIRcGUD6ax/55FCFV/Ecy/DSQ8OwkrUKyD13RDQFyFzEenbX8nw0zTeYvW99DXAzr79Z7dQNbEaACI+hleP1BFw/No25qwZfeIIGpA+1J26fZOwco2d5PDid01sL4qVF1ZWqVqm/bnQBwcOcQ+XylmQ4LIMwZaO+Lwr0IOmN+
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_VI1PR0701MB17749769A349D72652534C3A96880VI1PR0701MB1774_"
MIME-Version: 1.0
X-MS-Office365-Filtering-Correlation-Id: 0fb916d0-63d9-4cb5-6ce7-08d5a9bc8849
X-MS-Exchange-CrossTenant-Network-Message-Id: 0fb916d0-63d9-4cb5-6ce7-08d5a9bc8849
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2018 08:22:34.7141 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2318
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02SfUgTcRjH+d3ddudycfn6qGW2EiymVkYJiSX9kUFgJEFp0Ka71NJNdlO0 v3x/m1Rkgopv4BnMJMk0Z7bAqagjELQwJZbLoa4ksjI1s5p3F/jf5/t8H77P7ws/CvfqlQRS GVoDo9eqMxVSGVF/tS8o/KLLnnS06P3B6PnFcjz6h2MGj674PonO4vEct4HFP61yYJewJFmM hsnMyGX0kbEqWfqYa5bMbragvE3nAFGAGs2oCnlQQJ8Ax+o7SRWSUV70MIKpuTEkiB4E1UN1 ovPT7fS3iYLDYPijndwWBP0NA6u1AxecOgyGloqlgnAiWBv5y5+R0kqoNPbyWz60CUFFcz22 bXjTsWCcnpNusw99DsoKTYTAETBqmya3maBDoW96g5/LaRWYe9b5UET7wZqtk8/BaX+YdbZg QicauJcTuMC+4Jr/wz8c0fcQ2Cq6xOLBsPSkRlzaB5MtRr430M8xMLW7xKRw+FpbiwuGGUF/ ZZtUMJRgsf0WWQemQk5MTYbu9WExyYRD0dtlcWkvtH/qF8/9IqBjJVngeQSVC5fvI2XDjhoC 66Dg1QLRwNfeA+P1TjdT7vlh6HoRKawcgIdGBylwGJQ2NpE7562I7EC+LMOmZKUdj4pg9Bmp LKvTRmgZQzdyf6bBns1QM5pajrMimkIKT3mCw57kJVHnsvlZVgQUrvCRW4LdI7lGnX+H0etu 6HMyGdaKgihC4S93nHqW5EWnqQ3MbYbJZvT/XYzyCCxAJGc64zmyvpqQ2GpfdPpq36S1JzSN Fkm8XyuvbEWW7Y7SaUhypbSNrNionQvpdIX4aebiY8pqSvK41MkH1wc+fAl4FMZYLoTdit7P sS7tjKV8kHl8cmJspjuxuvju0Miurs83VYdKcpxtnptb/tfsTePnDSUBqriB2BRJludpBcGm q48dwfWs+h9ZHZyrSAMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/W-RyKtb2tW2A-TlPf5lJd_Ct5fg>
Subject: Re: [pim] draft-ietf-pim-igmp-mld-snooping-yang-01 comments
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 24 Apr 2018 08:22:42 -0000


"leaf require-router-alert", is it to set RA, and/or requiring RA on received messages.

     ----------------- When the value is true, it requires router-alert on received messages.



What is the name/key used for a snooping instance? Can a user choose an arbitrary name, or do implementations somehow decide the name?

          ---------- The name specifies the igmp snooping instance and the instance will be used in the BRIDGE scenario or L2VPN scenario. User could choose any name for it.  It looks like below:



ubuntu# show running-config igmp-snooping-instances

igmp-snooping-instances igmp-snooping-instance ins1

type                            bridge

enable                          true

forwarding-mode                 ip

explicit-tracking               true

send-query                      true

immediate-leave

 !

!

ubuntu# show running-config bridges

bridges bridge isp

component comp

  bridge-vlan vlan 100

   igmp-snooping-instance ins1

  !

!

!





Other comments have been addressed and will be fixed in the next version of draft-ietf-pim-igmp-mld-snooping-yang.





BR/Hongji

赵宏吉



-----Original Message-----
From: Stig Venaas [mailto:stig@venaas.com]
Sent: Tuesday, April 24, 2018 6:06 AM
To: draft-ietf-pim-igmp-mld-snooping-yang@ietf.org; pim@ietf.org
Subject: draft-ietf-pim-igmp-mld-snooping-yang-01 comments



Hi



After reading through the draft I have some comments.



The main comment I have is regarding the robustness variable. I see it says the value must be in the range 2..7. But RFC 3376 does allow 1,

quote:



   The Robustness Variable allows tuning for the expected packet loss on

   a network.  If a network is expected to be lossy, the Robustness

   Variable may be increased.  IGMP is robust to (Robustness Variable -

   1) packet losses.  The Robustness Variable MUST NOT be zero, and

   SHOULD NOT be one.  Default: 2



Shouldn't this document, and also the IGMP-MLD model allow the value 1?



Below are various less important comments.





In section 2:

   The goal of this document is to define a data model that provides a

   common user interface to IGMP and MLD Snooping.  There is very

   information that is designated as "mandatory", providing freedom for

   vendors to adapt this data model to their respective product

   implementations.



It seems something is wrong with this sentence "There is very information...". Are there some words missing?



In 2.1, I'm not sure what this sentence means:

   The YANG module includes IGMP and MLD Snooping instances

   definition, instance references in the scenario of BRIDGE, VPLS.

Note that in 2.3 it says "bridge, L2VPN".



In 2.1 it says "clearing the specified IGMP and MLD Snooping". I think it should say something more, perhaps "IGMP and MLD Snooping group tables".



In 2.1, 2 dots at the end "data modeling language..".



In 2.2, double space "to configure IGMP and  MLD".



In 2.2, maybe find a better way to phrase "The attribute who could be read and written shows configuration data."



Section 3 comments.



It says "fowarding" several places.



It says "Outgoing ac in l2vpn fowarding". Should "ac" be "AC"? Same question regarding "pw". Also, should "mac"

be "MAC" in the descriptions? Also "l2vpn" should be "L2VPN" I think.



It says "VSI" in one place. What is VSI?



"leaf require-router-alert", is it to set RA, and/or requiring RA on received messages.



I think "The time after the device created L2 multicast record."

should be "The time elapsed since".



For last reporter it says "The last host address which has sent the report"... It should say "address of the last host which has.."

or perhaps better "address of the last report received...".



What is the name/key used for a snooping instance? Can a user choose an arbitrary name, or do implementations somehow decide the name?



In many descriptions it says "IP address", but some places it says "IPv4 address" or "IPv6 address". I think it is best to include the version in the description when the leaf is for a particular version.



Section 4 Security considerations probably need to be expanded. At the least explain why no issues if that's the case.



Section 5 needs to be updated, there is some work for IANA.



Mahesh's affiliation and address need to be updated.



Stig