Re: [netmod] review of draft-litkowski-netmod-isis-cfg-00

Ladislav Lhotka <lhotka@nic.cz> Sat, 21 June 2014 13:11 UTC

Return-Path: <lhotka@nic.cz>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 966301A01C9 for <netmod@ietfa.amsl.com>; Sat, 21 Jun 2014 06:11:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level:
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_44=0.6] autolearn=no
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 QyRAjfswosQ4 for <netmod@ietfa.amsl.com>; Sat, 21 Jun 2014 06:11:42 -0700 (PDT)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BE8D81A0387 for <netmod@ietf.org>; Sat, 21 Jun 2014 06:11:41 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by trail.lhotka.name (Postfix) with ESMTP id 11E305407AF; Sat, 21 Jun 2014 15:11:40 +0200 (CEST)
Received: from trail.lhotka.name ([127.0.0.1]) by localhost (trail.lhotka.name [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8aEkMWN3mICw; Sat, 21 Jun 2014 15:11:34 +0200 (CEST)
Received: from localhost (unknown [172.29.2.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by trail.lhotka.name (Postfix) with ESMTPSA id 6D4365403EC; Sat, 21 Jun 2014 15:11:33 +0200 (CEST)
From: Ladislav Lhotka <lhotka@nic.cz>
To: "t.petch" <ietfc@btconnect.com>, stephane.litkowski@orange.com, netmod@ietf.org
In-Reply-To: <03a401cf8c73$bc2e1ca0$4001a8c0@gateway.2wire.net>
References: <m2vbrx7ytt.fsf@nic.cz> <26974_1403251511_53A3EB37_26974_17823_1_9E32478DFA9976438E7A22F69B08FF92022780@OPEXCLILM34.corporate.adroot.infra.ftgroup> <03a401cf8c73$bc2e1ca0$4001a8c0@gateway.2wire.net>
User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.50.2 (x86_64-apple-darwin13.0.0)
Date: Sat, 21 Jun 2014 15:11:32 +0200
Message-ID: <m2ha3emmpn.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: http://mailarchive.ietf.org/arch/msg/netmod/v866kg_xrOXT59aHOCR2Dfa1TAs
Subject: Re: [netmod] review of draft-litkowski-netmod-isis-cfg-00
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Jun 2014 13:11:48 -0000

"t.petch" <ietfc@btconnect.com> writes:

> I would consult the isis list about the use of TLVnnn as names.
>
> For me, that is very much a part of is-is, that is, when I see TLVnnn I
> know I am dealing with someone who is familiar with is-is.

Yes, it's like those monks telling jokes just by calling out numbers. :-)

Anyway, the output of "show isis" commands in the major CLIs doesn't contain these numbers.

Lada  

>
> Tom Petch
>
>
> ----- Original Message -----
> From: <stephane.litkowski@orange.com>
> To: "Ladislav Lhotka" <lhotka@nic.cz>; <netmod@ietf.org>
> Sent: Friday, June 20, 2014 9:05 AM
> Subject: Re: [netmod] review of draft-litkowski-netmod-isis-cfg-00
>
>
>> Hi Lada,
>>
>> Thanks for your review.
>>
>> Please find inline comments.
>>
>> Best regards,
>>
>> Stephane
>>
>>
>> -----Original Message-----
>> From: Ladislav Lhotka [mailto:lhotka@nic.cz]
>> Sent: Thursday, June 19, 2014 16:34
>> To: netmod@ietf.org; LITKOWSKI Stephane SCE/IBNF
>> Subject: review of draft-litkowski-netmod-isis-cfg-00
>>
>> Hi,
>>
>> I reviewed the isis module and I-D. I think it is a good start,
> although some adjustments will be needed to make it work with the core
> routing data model, see below. I don't address any specific issues of
> IS-IS configuration.
>>
>> *** General Comments
>>     - As Andy already pointed out, descriptions are often missing or
>>       too brief, and the prose in the I-D is also extremely scarce.
>>     - An example instance document would be useful, e.g. a reply to
>>       <get> as in Appendix A of RFC 7277. (The "sample-skeleton"
>>       plugin of pyang can help with generating it.)
>>
>> [SLI] Sure I will take this into account.
>>
>> *** YANG module design
>>     - Entries of the "rt:routing-protocol" list (under both "routing"
>>       and "routing-state") are designed to support multiple instances
>>       of the same protocol. In configuration it means not only that
>>       the nodes "isis-cfg", "instances" and "instance" are
>>       superfluous, but this design also prevents connecting different
>>       ISIS instances to different RIBs.
>>
>> [SLI] Ok I didn't catch this point, for me there was only one protocol
> instance per type indexed by its name "isis" or "ospf" in the same
> routing instance.
>> If it's not the case, I would remove the instances for ISIS.
>> The OSPF model (draft-yeung-netmod-ospf) sounds also to implement a
> list of instances for OSPF protocol :
>> " augment "/rt:routing/rt:routing-instance/rt:routing-protocols/"
>>          + "rt:routing-protocol" {
>>      list ospf-router {
>>
>>        description
>>          "This is a top-level container for the OSPF router.";
>>
>>        when "./type=ospf";
>>
>>        key "version name";
>>        leaf version {
>>          description
>>            "OSPF version.";
>>          type uint8 {
>>            range "2..3";
>>          }
>>        }
>> "
>>
>>
>>     - Similarly, state data for each ISIS instance should go straight
>>       to the corresponding entry of "routing-protocol" under
>>       "routing-state".
>>
>> [SLI] Ack
>>
>>     - Nodes in state data should use descriptive names rather than
>>       "TLVnnn". TLV numbers are important for the protocol but IMO
>>       there is no need to expose operators to them. For instance,
>>       "dynamic-hostname" is better than "TLV137".
>>
>> [SLI] Ok, sometimes TLV numbers are more understable than descriptions
> :)
>>
>>     - Grouping "interface-cfg" is used only once, so it is not
>>       needed. Other groupings are used at least twice.
>>
>>   [SLI] Ack
>>
>>     - A type definition for ISO addresses might be useful.
>>
>> [SLI] Ack
>>
>> *** Specific YANG issues
>>     - The module is invalid, I am attaching a diff file with
>>       necessary changes. Module validity should always be verified
>>       before posting an I-D, e.g. with pyang.
>>
>> [SLI] Ok , I checked it but without importing modules, so only syntax
> checking was done.
>>
>>     - The argument of "namespace" should be an URI, e.g. urn:TBD.
>>
>> [SLI] Ok
>>
>>     - Arguments of some "augment" statements are broken, see the
>>       attached diff. In particular, they must not contain trailing
>>       slashes, see ABNF production "absolute-schema-nodeid".
>>     - The module should follow the guidelines of RFC 6087, they can
>>       be checked using
>>
>>       pyang --ietf isis.yang
>>
>> *** Formal issues
>>     - The module text should be wrapped in
>>
>>       <CODE BEGINS> file "isis@2014-XX-XX.yang"
>>       ...
>>       <CODE ENDS>
>>
>>       so that it can be easily extracted with rfcstrip.
>>     - Assuming the module is bound for standard track, its name
>>       should be "ietf-isis".
>>     - Some descriptions exceed the line length limit of 72 characters,
>>       line breaks should be inserted.
>>
>> [SLI] Will be fixed.
>>
>>
>> Lada
>>
>>
> ________________________________________________________________________
> _________________________________________________
>>
>> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc
>> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez
> recu ce message par erreur, veuillez le signaler
>> a l'expediteur et le detruire ainsi que les pieces jointes. Les
> messages electroniques etant susceptibles d'alteration,
>> Orange decline toute responsabilite si ce message a ete altere,
> deforme ou falsifie. Merci.
>>
>> This message and its attachments may contain confidential or
> privileged information that may be protected by law;
>> they should not be distributed, used or copied without authorisation.
>> If you have received this email in error, please notify the sender and
> delete this message and its attachments.
>> As emails may be altered, Orange is not liable for messages that have
> been modified, changed or falsified.
>> Thank you.
>>
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
>

-- 
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C