Re: [pim] draft-ietf-pim-yang-02 WGLC
Xufeng Liu <xliu@kuatrotech.com> Tue, 11 October 2016 14:46 UTC
Return-Path: <xliu@kuatrotech.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 3A5E012950F for <pim@ietfa.amsl.com>; Tue, 11 Oct 2016 07:46:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=kuatrotechnology.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 tBShE_w95swc for <pim@ietfa.amsl.com>; Tue, 11 Oct 2016 07:46:04 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0041.outbound.protection.outlook.com [104.47.0.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9EE361295A1 for <pim@ietf.org>; Tue, 11 Oct 2016 07:46:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuatrotechnology.onmicrosoft.com; s=selector1-kuatrotech-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0keSttzz1MINWrzlnpJ/dil+7RJ+stTz3gxK5nfa30Q=; b=lzOkAgmvB/nAJ/K7FXppKwtT2N3Q3Xi30Wf3RR0i2V6MSTLSLmFj8tVT+JNkqsaS0VsFtCx3PwpC58f86DGKKsdi3mb0lJPOi7a6PF6wF/kOnXBDBEuUyHGU4N4pwIiIsYU+uBYqO6iLYCFy0MfMIb1YqGUFetcK5MNpPyg7SqE=
Received: from AM5PR0601MB2641.eurprd06.prod.outlook.com (10.168.154.138) by AM5PR0601MB2643.eurprd06.prod.outlook.com (10.168.154.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.659.11; Tue, 11 Oct 2016 14:45:59 +0000
Received: from AM5PR0601MB2641.eurprd06.prod.outlook.com ([10.168.154.138]) by AM5PR0601MB2641.eurprd06.prod.outlook.com ([10.168.154.138]) with mapi id 15.01.0659.020; Tue, 11 Oct 2016 14:46:00 +0000
From: Xufeng Liu <xliu@kuatrotech.com>
To: Stig Venaas <stig@venaas.com>
Thread-Topic: [pim] draft-ietf-pim-yang-02 WGLC
Thread-Index: AQGEmWKqFNpCxwOPYBgp9jjtKyZuIgHZW5B6AcUfBVoCf+yiYwHUxxnPAThUKlcB2rNq/gCr+BK3oM/e2KCABmMpgIABDKYAgAB7pQCAARpuMIAG3EOAgAEUj9A=
Date: Tue, 11 Oct 2016 14:45:59 +0000
Message-ID: <AM5PR0601MB2641EFFD91BE0866F59B4EC7B1DA0@AM5PR0601MB2641.eurprd06.prod.outlook.com>
References: <8CCB28152EA2E14A96BBEDC15823481A09FBC8FB@dfweml501-mbx> <CAHANBt+GKCUhhZH1NCERq6R5+KbkppUJ6oBK2OAKmGEB2osq-A@mail.gmail.com> <CAHANBt+k3AZoaLPgX1QmJ0eg-rZ6oMkAgepX6o8yL4inXXfj2g@mail.gmail.com> <02c701d201fc$6b2b4570$4181d050$@gmail.com> <8CCB28152EA2E14A96BBEDC15823481A09FDDE32@dfweml501-mbx> <007401d20940$61edff70$25c9fe50$@gmail.com> <CAHANBtKshRW3KU34gjSNoOjswhy9TVm4KXxRPFRCo=HZ1wGCrQ@mail.gmail.com> <CAHANBtLL8ancAkoLsjsxSFiG0GA91jZXw7xDPOdbXdwmnkVPEw@mail.gmail.com> <AM5PR0601MB264132104E69F812CD2F191BB1C10@AM5PR0601MB2641.eurprd06.prod.outlook.com> <CAHANBtL25gsVfVC5T3oFVdA_3pabd6iJAySWK-oUrz1ux7ka=A@mail.gmail.com> <HE1PR0601MB265200635FCE0EE40A43411AB1C40@HE1PR0601MB2652.eurprd06.prod.outlook.com> <CAHANBtKSttogmTyEZ1DH4f6B=4wjjQtAZo-ZNybg3PZD9-xfSg@mail.gmail.com> <AM5PR0601MB264144CEBE5A8C57A3CFC63AB1C70@AM5PR0601MB2641.eurprd06.prod.outlook.com> <CAHANBt+iuJRPr+B3xA_9ZjfGb0v_NHJx_Gi9cR5O9o729HJyvw@mail.gmail.com>
In-Reply-To: <CAHANBt+iuJRPr+B3xA_9ZjfGb0v_NHJx_Gi9cR5O9o729HJyvw@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=xliu@kuatrotech.com;
x-originating-ip: [98.191.72.170]
x-ms-office365-filtering-correlation-id: 1a600a75-d1b8-4e5a-9253-08d3f1e5513e
x-microsoft-exchange-diagnostics: 1; AM5PR0601MB2643; 7:6fVTNwPzEW7Qczj+CNlyucUuOaNo/Z9oc0+G6c5kSykUifAkbxqAdMhx6VHtn9nYyipDuw67aLbcI307VRaScKXVUZcbMZRe01pg6z2utcRJoUMjc+dB8HKhBwKfrj0gBZwSdoqF8jAqmvYNiTvzZOLkemkwANoQlh9ZUWyGxNy2wTcxgNrz8dMmI9dCm5kduKx4fa4jkXhJC++dW1hd3ZaQH5UYosImIOD+Q4JsdTO0X9n8Hpx3v5u1YFG5Y9Bt9RMlkDdOdoDM44yZ7zaaoCoR+PiUGO5tSMflcWAziHxuUBp9g4kzgBSzfD5iBpgF+DYkM3Fbmoxi8dRZ53MLK6mziMag3zOgh6c6qBjHGzM=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM5PR0601MB2643;
x-microsoft-antispam-prvs: <AM5PR0601MB264362AA8253EFB05B47E580B1DA0@AM5PR0601MB2643.eurprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(166708455590820)(50582790962513);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6043046)(6042046); SRVR:AM5PR0601MB2643; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0601MB2643;
x-forefront-prvs: 00922518D8
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(189002)(377454003)(199003)(24454002)(51914003)(13464003)(51444003)(6116002)(5002640100001)(19580395003)(586003)(97736004)(10400500002)(86362001)(19580405001)(189998001)(87936001)(5660300001)(50986999)(122556002)(76176999)(93886004)(54356999)(230783001)(105586002)(102836003)(66066001)(2900100001)(305945005)(110136003)(7736002)(74316002)(101416001)(4326007)(6916009)(2950100002)(81166006)(92566002)(7696004)(81156014)(7846002)(2906002)(106116001)(15975445007)(77096005)(3846002)(76576001)(3280700002)(106356001)(68736007)(3660700001)(9686002)(8676002)(33656002)(8936002)(21314002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0601MB2643; H:AM5PR0601MB2641.eurprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: kuatrotech.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: kuatrotech.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2016 14:46:00.0170 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 99314f4e-50ab-4d4e-a9c6-b21b0c887384
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0601MB2643
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/H5k2JOJ8sNCJ-sHi_yb59DXoKk0>
Cc: "pim@ietf.org" <pim@ietf.org>
Subject: Re: [pim] draft-ietf-pim-yang-02 WGLC
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.17
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, 11 Oct 2016 14:46:07 -0000
Hi Stig and All, I have just posted a new version containing the updates that we have done so far. We will discuss the interval type in the DT. Also, do you have preference about the BFD configuration. Do we want to include only enable/disable, or multiplier too? During the DT discussions, we heard that some implementations (including Cisco) have the multiplier option on the protocol interface, and others prefer the multiplier specified in BFD model. The same debate occurred in BFD WG too. Any further comments are welcome. Thanks, - Xufeng > -----Original Message----- > From: Stig Venaas [mailto:stig@venaas.com] > Sent: Monday, October 10, 2016 6:07 PM > To: Xufeng Liu <xliu@kuatrotech.com> > Cc: Michael McBride <Michael.McBride@huawei.com>; pim@ietf.org > Subject: Re: [pim] draft-ietf-pim-yang-02 WGLC > > Hi > > It might be best that you post a version that addresses the comments so far. A > YANG doctor is supposed to review it soon and I would like to have the changes > we agreed on to be addressed in that version. > > Regarding this issue. I'm hoping you can discuss it in the DT. To me it doesn't > make sense that a value like say join/prune interval has the value infinity or no- > expiry. The configuration says how often a join/prune should be sent. I do not > see how infinity/no-expiry can apply. > > Stig > > > On Thu, Oct 6, 2016 at 6:43 AM, Xufeng Liu <xliu@kuatrotech.com> wrote: > > I think that there are two questions here: > > 1) Do we want to allow the timer configuration to be set to "infinity" and "no- > expiry"? > > 2) Do we want to use the same type for configuration and operational state? > > > > For 1), in our case, I think that most implementations do not allow "infinity" > and "no-expiry". If these special settings are needed, it is possible to use special > values or do augmentations. Originally our model used uint16. During the > discussions, the enumeration was proposed to make the type more generic. We > can decide which one to use now. I'm fine with uint16, but don't have strong > opinion on this. > > > > For 2), I'd prefer to keep the type same for both configuration and operational > state. If the configuration does not support "infinity" and "no-expiry", I'd think > that we don't need to show these values as operational state. > > > > Thanks, > > > > - Xufeng > > > >> -----Original Message----- > >> From: Stig Venaas [mailto:stig@venaas.com] > >> Sent: Wednesday, October 5, 2016 4:30 PM > >> To: Xufeng Liu <xliu@kuatrotech.com> > >> Cc: Michael McBride <Michael.McBride@huawei.com>; pim@ietf.org > >> Subject: Re: [pim] draft-ietf-pim-yang-02 WGLC > >> > >> Hi, I don't know YANG that well, but at least here is the reason I am asking. > >> > >> First, I see that integers are used for this purpose many places. > >> Secondly, timer-value is defined as > >> > >> typedef timer-value { > >> type union { > >> type uint16; > >> type enumeration { > >> enum "infinity" { > >> description "The timer is set to infinity."; > >> } > >> enum "no-expiry" { > >> description "The timer is not set."; > >> } > >> } > >> } > >> units seconds; > >> description "Timer value type."; > >> } // timer-value > >> > >> For something that is a fixed value, infinity and no-expiry have no meaning. > >> Hence it seems that you would always make use of the the uint16. In > >> that case, why not just make the type uint16? Or would the enum values be > useful? > >> > >> Stig > >> > >> > >> On Wed, Oct 5, 2016 at 6:14 AM, Xufeng Liu <xliu@kuatrotech.com> wrote: > >> > Hi Stig, > >> > > >> > Thanks for the comments. Is there any reason why timer-value cannot > >> > be used > >> for fixed value too? I think that it can be used for both cases. It is like an > integer. > >> In the fixed value case, the operator specifies a value, such as > >> 10sec, the system saves timer-value=10sec. If the operator tries to > >> retrieve the value of the attribute, the system will return 10sec. Is this a > problem? > >> > > >> > Thanks, > >> > > >> > - Xufeng > >> > > >> >> -----Original Message----- > >> >> From: Stig Venaas [mailto:stig@venaas.com] > >> >> Sent: Tuesday, October 4, 2016 5:06 PM > >> >> To: Xufeng Liu <xliu@kuatrotech.com> > >> >> Cc: Michael McBride <Michael.McBride@huawei.com>; pim@ietf.org > >> >> Subject: Re: [pim] draft-ietf-pim-yang-02 WGLC > >> >> > >> >> Hi > >> >> > >> >> On Fri, Sep 30, 2016 at 4:29 PM, Xufeng Liu <xliu@kuatrotech.com> wrote: > >> >> > Hi Stig and All, > >> >> > > >> >> > Thanks for the comments. I have updated the models and drafts > >> >> > based on > >> >> these comments. The updated draft and model files are at: > >> >> https://github.com/mcallisterjp/pim-yang. Any feedbacks will be > appreciated. > >> >> > > >> >> > The update items include the responses to Stig's previous > >> >> > emails, and the > >> >> comments below. > >> >> > >> >> Great. I have one comment inline below though. > >> >> > >> >> > Thanks, > >> >> > > >> >> > - Xufeng > >> >> > > >> >> >> -----Original Message----- > >> >> >> From: Stig Venaas [mailto:stig@venaas.com] > >> >> >> Sent: Friday, September 16, 2016 5:27 PM > >> >> >> To: Xufeng Liu <xufeng.liu.ietf@gmail.com> > >> >> >> Cc: Michael McBride <Michael.McBride@huawei.com>; pim@ietf.org > >> >> >> Subject: Re: [pim] draft-ietf-pim-yang-02 WGLC > >> >> >> > >> >> >> Hi > >> >> >> > >> >> >> I now took some time to review the draft more carefully. Here > >> >> >> are comments in addition to what I posted earlier for the WGLC. > >> >> >> > >> >> >> First some potential issues with the models. > >> >> >> > >> >> >> I see for hello-interval, jp-interval etc. the data type is > >> >> >> timer-value which can also be infinity and no-expiry. Isn't > >> >> >> this type to be used for something counting down? These > >> >> >> intervals would always be some number of seconds and won't > >> >> >> change unless the configuration > >> >> changes. > >> >> > [Xufeng] The "xxx-interval" leaves are the number of seconds > >> >> > that won't > >> >> change unless the configuration changes. > >> >> > >> >> Right, I understand they are fixed values. That is why I am > >> >> wondering whether timer-value is the correct type. Isn't > >> >> timer-value used for something that is counting down, and not for fixed > values? > >> >> > >> >> Stig
- Re: [pim] draft-ietf-pim-yang-02 WGLC Stig Venaas
- [pim] draft-ietf-pim-yang-02 WGLC Michael McBride
- Re: [pim] draft-ietf-pim-yang-02 WGLC Stig Venaas
- Re: [pim] draft-ietf-pim-yang-02 WGLC Stig Venaas
- Re: [pim] draft-ietf-pim-yang-02 WGLC Xufeng Liu
- Re: [pim] draft-ietf-pim-yang-02 WGLC Michael McBride
- Re: [pim] draft-ietf-pim-yang-02 WGLC Xufeng Liu
- Re: [pim] draft-ietf-pim-yang-02 WGLC Stig Venaas
- Re: [pim] draft-ietf-pim-yang-02 WGLC Stig Venaas
- Re: [pim] draft-ietf-pim-yang-02 WGLC Xufeng Liu
- Re: [pim] draft-ietf-pim-yang-02 WGLC Xufeng Liu
- Re: [pim] draft-ietf-pim-yang-02 WGLC Stig Venaas
- Re: [pim] draft-ietf-pim-yang-02 WGLC Xufeng Liu
- Re: [pim] draft-ietf-pim-yang-02 WGLC Stig Venaas
- Re: [pim] draft-ietf-pim-yang-02 WGLC Xufeng Liu
- Re: [pim] draft-ietf-pim-yang-02 WGLC Stig Venaas
- Re: [pim] draft-ietf-pim-yang-02 WGLC Xufeng Liu
- Re: [pim] draft-ietf-pim-yang-02 WGLC Stig Venaas