Re: [i2rs] draft-ietf-i2rs-rib-info-model-07 - WG LC from (10/6 to 10/20/2015)

"Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net> Thu, 08 October 2015 18:48 UTC

Return-Path: <zzhang@juniper.net>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A22BA1A914B for <i2rs@ietfa.amsl.com>; Thu, 8 Oct 2015 11:48:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 M1_fUBouII_L for <i2rs@ietfa.amsl.com>; Thu, 8 Oct 2015 11:47:57 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0148.outbound.protection.outlook.com [65.55.169.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED7D71A9145 for <i2rs@ietf.org>; Thu, 8 Oct 2015 11:47:56 -0700 (PDT)
Received: from BLUPR0501MB1713.namprd05.prod.outlook.com (10.163.120.16) by BLUPR0501MB1027.namprd05.prod.outlook.com (10.160.34.141) with Microsoft SMTP Server (TLS) id 15.1.293.16; Thu, 8 Oct 2015 18:47:55 +0000
Received: from BLUPR0501MB1715.namprd05.prod.outlook.com (10.163.120.18) by BLUPR0501MB1713.namprd05.prod.outlook.com (10.163.120.16) with Microsoft SMTP Server (TLS) id 15.1.293.16; Thu, 8 Oct 2015 18:47:54 +0000
Received: from BLUPR0501MB1715.namprd05.prod.outlook.com ([10.163.120.18]) by BLUPR0501MB1715.namprd05.prod.outlook.com ([10.163.120.18]) with mapi id 15.01.0293.007; Thu, 8 Oct 2015 18:47:53 +0000
From: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>
To: Nitin Bahadur <nitin_bahadur@yahoo.com>, "i2rs@ietf.org" <i2rs@ietf.org>
Thread-Topic: [i2rs] draft-ietf-i2rs-rib-info-model-07 - WG LC from (10/6 to 10/20/2015)
Thread-Index: AQHRAV1xbH4/3JeXf0eN6huQqeymy55hVMkQgACLOQCAAAXPMA==
Date: Thu, 08 Oct 2015 18:47:53 +0000
Message-ID: <BLUPR0501MB17159D3A23CF6DCF348B9287D4350@BLUPR0501MB1715.namprd05.prod.outlook.com>
References: <009a01d10098$2b03bfb0$810b3f10$@ndzh.com> <CY1PR0501MB1721BE96BF56DD4FF93F5462D4360@CY1PR0501MB1721.namprd05.prod.outlook.com> <D23AF729.2FDDD%nitin_bahadur@yahoo.com> <BLUPR0501MB171525DABE9547D3BF515DF5D4350@BLUPR0501MB1715.namprd05.prod.outlook.com> <D23BF5FD.2FE97%nitin_bahadur@yahoo.com>
In-Reply-To: <D23BF5FD.2FE97%nitin_bahadur@yahoo.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=zzhang@juniper.net;
x-originating-ip: [66.129.241.11]
x-microsoft-exchange-diagnostics: 1; BLUPR0501MB1713; 5:3rOxk62g4pjaYL6ofutgBfjP6nxIlm3ZnwNiIyXG/xhV2WoK2DdpQvuihA2pCcb42SsNpaX8Ci3wJwT6Jt8RV04ah5YgLsYlAyMw8z+czfsT3rgixIXu9fx12QwBBD/wmj1/FegeverF+XvuoWd1JA==; 24:drCsRcamiceqFeJnLgdmuM6DwKsgnaCno9wYLHXfcHtRwl5G1GX5N1MCyyvXAg2kctMl89Y+B+/jDXUH/tGQiHfL3faDLRY1dklkbZOXTVI=; 20:NkewMKRsGZ+g4zg/XdvadBSMd4tBmhidkI3iFgQ/p3hEgBuLA0c58rmoDU1Aq0AQtqhlyCrjozoYzYpYxC+Q3Q==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0501MB1713;
x-microsoft-antispam-prvs: <BLUPR0501MB171304CD9A2D49DD30623ABFD4350@BLUPR0501MB1713.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(108003899814671);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001); SRVR:BLUPR0501MB1713; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0501MB1713;
x-forefront-prvs: 0723A02764
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(51444003)(377454003)(31014005)(57704003)(199003)(5423002)(189002)(479174004)(19580405001)(19609705001)(66066001)(33656002)(5002640100001)(105586002)(77096005)(5008740100001)(19580395003)(92566002)(76576001)(19300405004)(2501003)(76176999)(40100003)(50986999)(106116001)(54356999)(2521001)(230783001)(46102003)(102836002)(19625215002)(101416001)(15975445007)(189998001)(122556002)(106356001)(64706001)(5007970100001)(5004730100002)(16236675004)(74316001)(93886004)(10400500002)(99286002)(2950100001)(86362001)(87936001)(2900100001)(81156007)(5003600100002)(5001770100001)(5001960100002)(97736004); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR0501MB1713; H:BLUPR0501MB1715.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BLUPR0501MB17159D3A23CF6DCF348B9287D4350BLUPR0501MB1715_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2015 18:47:53.7950 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB1713
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB1027; 2:dYMxSP9Jrx/Y78fRD+HBgStzv8o70fCa4iZLVMcyc9qfVvu0JUtgB2JoefAxlK2DwrArAvL3i1ucEhz08a0iWfWmngWUHwEJCRu5aBvWbrzpaNOsj6n95rlNG/LQ5xwTkOES+HtBRoQn4sJuo+kQ/7DfHDnCZwhVgBfuvVCrcvc=; 23:08GIVsIYdTape1e4t9a38YmfyUnI4I9/1glycn/BUhgaqGm80C46jrYjydB2VwLOMSNIkY80YrpPB1/KhwZTgSUGbHRsJOvgkgJgtK2YVfY3amVB2AjOPq7C3Ts+dqtyW1E4YUPngB+wRaApHhv2Pjh20kBuXUc6a8FXhbjJYro7RG+BSPV/mpnhdzlWM5+P
X-OriginatorOrg: juniper.net
Archived-At: <http://mailarchive.ietf.org/arch/msg/i2rs/9_Ajs7Ylip5vIO8gz86VOm3qnn8>
Cc: "sriganesh.kini@ericsson.com" <sriganesh.kini@ericsson.com>
Subject: Re: [i2rs] draft-ietf-i2rs-rib-info-model-07 - WG LC from (10/6 to 10/20/2015)
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Oct 2015 18:48:01 -0000

Nitin,

For the first issue, I think you're saying that <NEXTHOP_IDENTIFIER> is the "nexthop identifier". Now it's clear.


For the second issue, I did get <nexthop-chain-identifier> and <nexthop-chain-member-identifier> mixed up in the info model, but that's because the following from data model, which is confusing at least if not incorrect:
  grouping nexthop-chain-member {   <-- member here
    description
      "One nexthop content for a route.";
    leaf nexthop-chain-id{          <-- chain here
      type uint32;
      mandatory true;
    }



Still, what's the difference/relationship between the following?



- <NEXTHOP_CHAIN_ID> and nexthop-identifier for the chain nexthop? That's my original question.

- <NEXTHOP_CHAIN_MEMBER_ID> and nextop-identifier for the chain member?



For the third issue, precisely because we don't have tunnel decap for other tunnels, why having a label pop for MPLS :)



BTW, a nit:


   A modify-able object is one whose contents can be changed without
   having to change objects that depend on it and without affecting any
   data forwarding.



When you change the nexthop content, the data forwarding will definitely be affected - it's what you want. The "and without affecting any data forwarding" should be removed - what you want to emphasize is that you don't have to change the objects that depend on it (and the text does do that already).



Jeffrey

From: Nitin Bahadur [mailto:nitin_bahadur@yahoo.com]
Sent: Thursday, October 08, 2015 1:47 PM
To: Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>; i2rs@ietf.org
Cc: sriganesh.kini@ericsson.com
Subject: Re: [i2rs] draft-ietf-i2rs-rib-info-model-07 - WG LC from (10/6 to 10/20/2015)



When would you use "chain_name"? What's the difference/relationship between <NEXTHOP_CHAIN_ID> and nexthop-identifier?


NB>  Removed CHAIN_NAME. CHAIN_NAME and CHAIN_ID were one and the same thing. Nexthop-identifier (as referenced in Section 4) is really something like a <NEXTHOP_IDENTIFIER> that identifies a particular <nexthop>. I have changed "nexthop-identifier" to "nexthop identifier" to remove confusion that it is a special term. <NEXTHOP_CHAIN_ID> is something that identifies a <nexthop-chain>.

Zzh> Can you clarify "nexthop-identifier ... is ... like a <NEXTHOP_IDENTIFIER>". <NEXTHOP_IDENTIFIER> is not defined in the spec. If  you say "<NEXTHOP_IDENTIFIER> is nexthop identifier as referenced in section 4" then it's clear :)

I left the reference and definition of <NEXTHOP_IDENTIFIER> to the data-model draft. There is nothing in the grammar that references it, so defining it did not make sense. Section 2.4.3 has:


identifier: This is an identifier returned by the network device

      representing another nexthop or another nexthop chain.

Section 4 has:


routes that use a nexthop that is identified by a nexthop identifier should be

   unaffected when the contents of that nexthop changes.



So I'm not clear where to define/reference these terminals. I'm hoping the data-model does a good job at incorporating this :)

Zzh> I don't understand why you say "<NEXTHOP_CHAIN_ID> is something that identifies a <nexthop-chain>". <NEXTHOP_CHAIN_ID> is part of the following, so why would it identify a chain (vs. a chain member) .

<nexthop-chain> ::= <nexthop-chain-member> ...
<nexthop-chain-identifier> ::= <NEXTHOP_CHAIN_NAME> |
                                <NEXTHOP_CHAIN_ID>
<nexthop-chain-member> ::= <nexthop-chain-member-identifier> |

I'm unclear what your concern is or how you would like it re-worded. The way I see it, a NEXTHOP_CHAIN_ID  is the ID for a chain. And a NEXTHOP_CHAIN_MEMBER_ID (not defined or referenced) should be the ID for a chain-member.


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


<mpls-header> ::= (<mpls-label-operation> ...)

<mpls-label-operation> ::= (<MPLS_PUSH> <MPLS_LABEL> [<S_BIT>]

                            [<TOS_VALUE>] [<TTL_VALUE>]) |

                            (<MPLS_POP> [<TTL_ACTION>])



<mpls-header> is part of <tunnel-encap> - so <MPLS_POP> does not make sense?


NB> There was no easy place to put the POP operation. One option would have been to define <tunnel-decap>.


Zzh> I think that option is better.

The macro issue IMO is do we need to support a tunnel-decap for all kinds of tunnels. If yes, then it makes sense to make changes all over the draft to support this. If not, then it looks like a big hammer to me. I'm fine with whatever the WG wants.

Thanks
Nitin