Re: [mpls] MIB Dr. Review of draft-ietf-mpls-mldp-mib-04

Kishore Tiruveedhula <kishoret@juniper.net> Mon, 07 October 2019 18:27 UTC

Return-Path: <kishoret@juniper.net>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D7E351208F2; Mon, 7 Oct 2019 11:27:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 WPlrPAC8pVWs; Mon, 7 Oct 2019 11:27:25 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 D34B01208E7; Mon, 7 Oct 2019 11:27:21 -0700 (PDT)
Received: from pps.filterd (m0108161.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x97IQ8dM011008; Mon, 7 Oct 2019 11:27:19 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=3rYr1uMPsJNLKLCUYxnmXuy9fS3ArewJwj+7tmQKSAI=; b=agjgwQ14hfR+Umbenp5pOz70+OqbrD8QJXcpruvsMv7nbu9vNUXqPl1iaDQ7veplY/LB sZ74JntT83SvIs17xApLp/Mc5KbJCLc8sgjsDoU8/hNbyqZAMRCy6+TZss9wr+JaXwIG +dmSnOzY9/rY0UBhiPJxdNsf5DwD5cg9sNcZWEA3yKAzOLDXX0MM0AwiTfFXGtNXrv0P 8qQ7JOayl4RZ3r3YLZgAQR/xy8lx6DPSMfmb89TtWDB36EYzzk6ghaYH8ffxVtVJlokU Wn/KlsIXcIqV6CKA/bhW+3YKN7s2oJ6+GLsicUMJoE7gEfFjb2ZW+PL6631SSionF++b vA==
Received: from nam01-sn1-obe.outbound.protection.outlook.com (mail-sn1nam01lp2058.outbound.protection.outlook.com [104.47.32.58]) by mx0b-00273201.pphosted.com with ESMTP id 2vet9yb82a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Oct 2019 11:27:19 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RbeIXn+HWkMC9SG5l6Uq6UjkXHrESD0u4oSs0J8D82Bvv65xGHconzMmF5uvU32pG1XvGMoXu3Mi9nl1wC1LuDM1w0lwaXLdUwmye92dQIMJdvOxd1zgSPgGZU0WZM8qhDp0zFCUmYr+vLobzoszNa3jBcnSgnFKKso6btI4uB0AzhafyLZnjYABixBzD3SgOoxiwNwV6I717RZBNMyqxrJ0Ne+1kjdXniZdjgIm8M8vunfjlo9RTemtydHhNq3KANqjEo8IUZ5PyNXRGsfiwaiGKDXPb8vA6bFoNBQfKJuXQMzWwvInD0wj3brGEPoQwCvELdQVKGeCH7QoWZNMzQ==
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=3rYr1uMPsJNLKLCUYxnmXuy9fS3ArewJwj+7tmQKSAI=; b=B1b5UpPf4qTsPeIVwcFgzEX2T8SkD3f7xsQufBtYRLcBykPyaNLxg+zs/Ew5BNlB55uTZB3XjqHM+TBmS9uvBVNrZbYwqoyJ8ymOQBIRzXCLYxiHx62SIWA1Ap4yzse/Q1GQ6uvG1pnIO5CkUEufMdx2MqPE3Uj2kfOCjF7Uq/mwY2yvCRnHPSFR8TshBXPjxdSNDnaGubg/oasl5I3fQ6HLjOOpsotZRoJ909EWCEMkBvZxX7NnG+JUrnjd2LC1WpUfCaPacn45svaVtJD4FTk8QkUWimHQ2TW7fNCaZplYtD0cfEJKqOmAkXKi+XHguWxp3D58A8jcRiKZsg64zQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
Received: from BN7PR05MB4243.namprd05.prod.outlook.com (52.133.222.152) by BN7PR05MB4051.namprd05.prod.outlook.com (52.132.221.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.11; Mon, 7 Oct 2019 18:27:14 +0000
Received: from BN7PR05MB4243.namprd05.prod.outlook.com ([fe80::31ee:5410:c6d0:2ae3]) by BN7PR05MB4243.namprd05.prod.outlook.com ([fe80::31ee:5410:c6d0:2ae3%5]) with mapi id 15.20.2305.023; Mon, 7 Oct 2019 18:27:14 +0000
From: Kishore Tiruveedhula <kishoret@juniper.net>
To: Joan Cucchiara <jcucchiara.ietf@gmail.com>, "draft-ietf-mpls-mldp-mib@ietf.org" <draft-ietf-mpls-mldp-mib@ietf.org>, "mpls@ietf.org" <mpls@ietf.org>
CC: Loa Andersson <loa@pi.nu>, Tarek Saad <tsaad@juniper.net>
Thread-Topic: MIB Dr. Review of draft-ietf-mpls-mldp-mib-04
Thread-Index: AQHULZhhD+SXFrtz9ECOur4ihTySz6awKsWAgKGwqYA=
Date: Mon, 07 Oct 2019 18:27:14 +0000
Message-ID: <338F8F06-73AB-4116-B7E7-E14EF3F5EBF6@juniper.net>
References: <CANSkkOmTD7F3ioxuccKUMq5tVUZh-MwvaDLyL0=59NTPiy2J9Q@mail.gmail.com> <8B198C74-4679-4D82-BCCC-2D70FED98515@juniper.net>
In-Reply-To: <8B198C74-4679-4D82-BCCC-2D70FED98515@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Enabled=true; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Name=Juniper Business Use Only; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Enabled=true; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_ContentBits=0; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Method=Standard; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_ActionId=9509ff34-15b1-47f2-b8a4-00006adb017f; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_SetDate=2019-10-07T18:21:15Z;
user-agent: Microsoft-MacOutlook/10.1d.0.190908
x-originating-ip: [66.129.241.13]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4e5dc94f-ec11-48b1-0eae-08d74b53fa06
x-ms-office365-filtering-ht: Tenant
x-ms-traffictypediagnostic: BN7PR05MB4051:
x-ms-exchange-purlcount: 1
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <BN7PR05MB4051EEBF3B42835FE5BE0A03C19B0@BN7PR05MB4051.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01834E39B7
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(366004)(376002)(39860400002)(396003)(346002)(199004)(189003)(486006)(8936002)(66476007)(99286004)(33656002)(6436002)(186003)(256004)(6512007)(5024004)(8676002)(26005)(14444005)(236005)(64756008)(966005)(66946007)(76116006)(6306002)(54896002)(81166006)(81156014)(4326008)(6116002)(58126008)(66556008)(54906003)(107886003)(110136005)(6246003)(446003)(11346002)(66446008)(3846002)(476003)(6506007)(53546011)(76176011)(2616005)(478600001)(102836004)(25786009)(316002)(7736002)(36756003)(229853002)(71200400001)(86362001)(5660300002)(71190400001)(2501003)(606006)(66574012)(2201001)(2906002)(66066001)(6486002)(14454004); DIR:OUT; SFP:1102; SCL:1; SRVR:BN7PR05MB4051; H:BN7PR05MB4243.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: GqM3OOb3OUYB4kS68EGtGKo8RW59zs0KDY7+REfOReXAl6cESN6CkdTIGXpcIp2Zn8LYMBFkokuQY6f3eVseFT973r7ks64b4X4U1ugQupbDEGm/5nw31WoZW2wGxkmGzayV6RHTOpalwpP1Rn7VFzUDMqZFC5KfSsGSlp6YSs9qaK0CubVDJBGMJ7zVFH9/ZjSamuauniCNXKSUNC8/c+Z7cf5ADM1PsSLI9psRPpqeMx6IQnqB5/WM2UNILbaSwCTkf0kgrdsOhY69DcEN3NFB/vOvpfmN6eLkeZh/RJ3Xu+9DsmDzuyxDQOW5j1esTuFgXb9pX5JyNza2l5e2lVxHxEC77PfBe8dUeCf6AYY5A6eUr+e5/GgBrFIAoWoKyJq2yc7aWQNnzutQJv4sMvNZ0zZdGDJ07nZ0f2Xs0ompT1AHpeBR7CVpRVPVIRuvOM1kKKGvn75j9s4bOsHaig==
Content-Type: multipart/alternative; boundary="_000_338F8F0673AB4116B7E7E14EF3F5EBF6junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 4e5dc94f-ec11-48b1-0eae-08d74b53fa06
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2019 18:27:14.2534 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: wTKGE8CYagCHZEr6D0/VEgmUE9Bqa1vnruWrO2OmKoRC4J7lHuyQLYgPA5f+uJi+lR7q2YdjYc2qs3SuFyPGjg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR05MB4051
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-07_03:2019-10-07,2019-10-07 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 phishscore=0 mlxlogscore=999 impostorscore=0 lowpriorityscore=0 adultscore=0 clxscore=1011 priorityscore=1501 spamscore=0 mlxscore=0 malwarescore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1908290000 definitions=main-1910070162
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/N4UL4b_ONU8cFVivbB2_78GWDHE>
Subject: Re: [mpls] MIB Dr. Review of draft-ietf-mpls-mldp-mib-04
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Oct 2019 18:27:35 -0000

+ mpls wg

I responded to Joan’s comments in the below email and addressed in draft-ietf-mpls-mldp-mib-05.

https://www.ietf.org/internet-drafts/draft-ietf-mpls-mldp-mib-05.txt<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_internet-2Ddrafts_draft-2Dietf-2Dmpls-2Dmldp-2Dmib-2D05.txt&d=DwMFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=ZPmqYIo4rVSr7_Vh6JV2_WbXMnN_nPZJR4FbL_fgWzw&m=HK9HVwZkbtCi5WAylYb3c726dom_uS1SyQ-wlxO08Pc&s=9pmo3jEvMkTRIJwYZMk6jur4cTdciQ9r64tHhyhof9Q&e=>

Thanks,
Kishore

From: Kishore Tiruveedhula <kishoret@juniper.net>
Date: Wednesday, June 26, 2019 at 5:17 PM
To: Joan Cucchiara <jcucchiara.ietf@gmail.com>, "draft-ietf-mpls-mldp-mib@ietf.org" <draft-ietf-mpls-mldp-mib@ietf.org>
Cc: Loa Andersson <loa@pi.nu>
Subject: Re: MIB Dr. Review of draft-ietf-mpls-mldp-mib-04


Hi Joan,

      Sorry, I didn't get back for the below comments for long time.

I would like to post new version for IETF 105. Before posting new draft, I would like to resolve everything. Please see below inline [Kishore].

Please reply. Thanks a lot for your support.



I attached new version doc. Please let me know if this looks fine ? Appreciate if you can reply asap before IETF 105 submission date  ( July 8th).



Thanks,

Kishore





On 8/6/18, 11:15 AM, "Joan Cucchiara" <jcucchiara.ietf@gmail.com> wrote:



    Kishore and authors,





    Thank you for the update.   The draft is in good shape.   The use of

    AUGMENTS helped immensely in understanding the relationship between tables.





    Below are my comments.  Please let me know if you have any

    questions/comments.





    Thanks,



    -Joan







    Comments for mpls-mldp-mib-04.txt



    --------------------------------------------------







    1.  Please fix these compiler warnings.







    W: f(MPLS-MLDP-STD-MIB.my), (1133,9) Duplicate item "mplsMldpP2mpCapable"

    in object-group "mplsMldpScalarsGroup" OBJECTS list



    W: f(MPLS-MLDP-STD-MIB.my), (1142,9) Duplicate item "mplsMldProtLsrCapable"

    in object-group "mplsMldpScalarsGroup" OBJECTS list



    W: f(MPLS-MLDP-STD-MIB.my), (1157,11) Duplicate item

    "mplsMldpSessionStatsNumFecsSent" in object-group "mplsMldpObjectsGroup"

    OBJECTS list



[Kishore] I am using the smilint and getting only below errors where I need code replace YYY with the code given by IANA.

But I am not getting above warnings that you pointed out. Please let me know which MIB compiler are you trying this ? I will do samething.



>smilint  -m -s -l 6 -i namelength-32 ./MPLS-MLDP-STD-MIB

./MPLS-MLDP-STD-MIB:84: [2] {bad-identifier-case} `YYY' should start with a lower case letter

./MPLS-MLDP-STD-MIB:84: [2] {object-identifier-not-prefix} Object identifier element `YYY' name only allowed as first element

./MPLS-MLDP-STD-MIB:31: [2] {module-identity-registration} illegal module identity registration

~/sandbox/mLDP:contrail-ubm-kishoret>



    2) Please use the suggested OID layout in RFC4181, Appendix D.  These

    guidelines specify the following OID Layout for MIBs:







             xxxMIB



             |



             +-- xxxNotifications(0)



             +-- xxxObjects(1)



             +-- xxxConformance(2)



                 |



                 +-- xxxCompliances(1)



                 +-- xxxGroups(2)







    Below is the OID layout for this draft:







       -- notifications







       mplsMldpNotifications OBJECT IDENTIFIER ::= { mplsMldpStdMIB 0 }



       -- tables, scalars



       mplsMldpScalars       OBJECT IDENTIFIER ::= { mplsMldpStdMIB 1 }



       mplsMldpObjects       OBJECT IDENTIFIER ::= { mplsMldpStdMIB 2 }











    mplsMldpConformance   OBJECT IDENTIFIER ::= { mplsMldpStdMIB 3 }



    mplsMldpGroups        OBJECT IDENTIFIER ::= { mplsMldpConformance 1 }



    mplsMldpCompliances   OBJECT IDENTIFIER ::= { mplsMldpConformance 2 }







[Kishore]  Looks like I am following same OID layout, first notifications, objects, conformance and compliance objects. I am not clear what need to be corrected. Can you please clarify ?





    3)  Section 10.2   You mention the mplsXCTable in this section but I don’t

    see it in the MIB itself.  Is it being used in the MIB?





    [Kishore]  The mplsXCTable is defined in the MPLS LSR MIB ( RFC 3813). I am just showing the relationship between LSR MIB and this MIB.





    4) Section 10.3  Relationship to the LDP MIB







    Should explain the relationship to the LDP MIB's  PeerTable and

    SessionTable in this Section.



    [Kishore]  Ok. I added the relationship for these two tables PeerTable & SessionTable





    5) mplsLdpPeerCapability







    Why is this a BITS value?   For example, could p2mp(1) and mp2mp(2)

    both be set?





[Kishore] As there are lot of capabilities, I kept bit value. Please let me know if any other suggestion. If the DUT receives  both p2mp and mp2mp capabilities from the peer, then both will be set.





    Under what circumstances would the value of this object be none(0)?  If the

    value is none(0), can other BITS be set?



     Please clarify.



     [Kishore]  I changed none to default as ”none” might be confusing. The default capability is p2p.



    5).  mplsMldpFecTable -- A few concerns about this table:





    * mplsMldpFecRootAddrType --





    IANA's Address Family Numbers registry is specified, so why is this being

    limited to IPv4 and IPv6 only?



        [Kishore]  The root address is always the Ingress router address. Please let me know which one are you referring the address family ?



         mplsMldpFecRootAddrType        InetAddressType,

         mplsMldpFecRootAddr            InetAddress,







    * mplsMldpFecType and mplsMldpFecOpaqueType



    These 2 types are maintained by  IANA.  I believe a separate MIB Module

    containing TEXTUAL-CONVENTIONs for these objects



    should be added in the IANA considerations section .   (For an example,

    please see  the IANA-GMPLS-TC-MIB



    which is contained in RFC4802.)



    [Kishore]. Ok. I added in the IANA consideration section.





    If there are other Managed Objects which are also associated with

    registries being maintained by IANA, then these should also be included.





    (Once done, then the Future Considerations Section will no longer be

    needed.)







    6) mplsMldpFecBranchStatsTable







    This table is confusing wrt the indexing.



    Could this be made a "sparse augments" to the mplsMldpFecTable?



    (An example of sparse augments is the MplsLdpSessionPeerAddrTable in the



    MPLS-LDP-STD-MIB.)



    I think mplsMldpFecIndex could be used directly?  Then another index



    which has the same value as the mplsOutSegmentIndex?   I am wondering



    though if the Outsegment truly needs to be an index.



    [Kishore] The mplsMldpFecBranchStatsTable represents the nexthop for the fec. There could be multiple nexthops for each fec for flooding the mLDP traffic.



    Will there always be a corresponding



    entry in the MplsOutSegmentTable?  (Is it possible that there are multiple

    downstream LDP sessions which map to the same OutSegment?)



    [Kishore]  Yes. MplsOutSegmentTable shows only label information.  This Branch stats table gives the traffic statistics for mLDP multicast traffic.



    Could mplsOutSegmentPerfDiscontinuityTime be used for the counters?



[Kishore] This only gives Time and doesn’t give traffic stats.



    Why would the following object not have a valid value?



    Does this imply also that the counters are not valid if the LDPIdentifier

    is not valid?



    [Kishore] No. This mplsMLdpFecBranchPeerLdpId   gives additional information of peer LDP ID.



       mplsMLdpFecBranchPeerLdpId          OBJECT-TYPE



          SYNTAX        MplsLdpIdentifier







          DESCRIPTION



               "This object identifies an outgoing branch peer LDP ID for this



               mLDP LSP. Its value is unique within the context of the mLDP LSP