Re: [netmod] Doubts about static routes in RFC 8349

"Acee Lindem (acee)" <acee@cisco.com> Wed, 03 April 2019 11:33 UTC

Return-Path: <acee@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 561CE1200D6; Wed, 3 Apr 2019 04:33:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=SFZGpuEa; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=G1q57auh
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 jdEyOw3fn7T1; Wed, 3 Apr 2019 04:33:00 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9EEC31200D5; Wed, 3 Apr 2019 04:32:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7666; q=dns/txt; s=iport; t=1554291179; x=1555500779; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=EbGjwDpUQvuZeGbJ41E9Rp2t33XmUkJZPwF3I+61Wok=; b=SFZGpuEacaJYkALFVuwCzAlISpFOLzMTi0k5uIhaS6/Qc2W3CoyNlY01 Si7LIUyAJPkGO/1RE/5bRTHtVZf5gNGOE7kts/SnumQBIe7px6IBwAUgb aBCR7b8exO0Dl0HpsKjE21YylO30MrflBM5Q6LkwxvP8OhkEIzmxgAb2Q Y=;
IronPort-PHdr: =?us-ascii?q?9a23=3AAtAbfRcfH7BcL/mE5otPYVG+lGMj4e+mNxMJ6p?= =?us-ascii?q?chl7NFe7ii+JKnJkHE+PFxlwKUD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFl?= =?us-ascii?q?cejNkO2QkpAcqLE0r+effhYiESF8VZX1gj9Ha+YgBY?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0ALAABumaRc/5ldJa1lGgEBAQEBAgE?= =?us-ascii?q?BAQEHAgEBAQGBUgQBAQEBCwGBPVADaFQgBAsnCoQEg0cDjyCCMiWXEYEuFIE?= =?us-ascii?q?QA1QOAQEjCYRAAheFLSI1CA0BAQMBAQkBAwJtHAyFSgEBAQMBIxEMAQE3AQs?= =?us-ascii?q?CAgIBCBEEAQEBAgIjAwICAhQcFAEICAIEAQ0FgyIBgV0DDQgBDqI3AooUcYE?= =?us-ascii?q?vgnkBAQWEfxiCDAMFBYEGJAGLMheBf4E4DBOCHi4+gQSBXQEBAgGBKwESASY?= =?us-ascii?q?QIQKCUDGCJoo5glGLfoxYCQKHd4EmilETB4IFhhGDWohRi0eGF4sigiYCBAI?= =?us-ascii?q?EBQIOAQEFgU8BNWVxcBU7KgGCQYIKGINWhRSFP3KBKIxdgR8BgR4BAQ?=
X-IronPort-AV: E=Sophos;i="5.60,304,1549929600"; d="scan'208";a="254388817"
Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 03 Apr 2019 11:32:58 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by rcdn-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id x33BWvCc010425 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 3 Apr 2019 11:32:58 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 3 Apr 2019 06:32:57 -0500
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 3 Apr 2019 06:32:56 -0500
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 3 Apr 2019 07:32:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector1-cisco-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EbGjwDpUQvuZeGbJ41E9Rp2t33XmUkJZPwF3I+61Wok=; b=G1q57auh5Zdj81IL5ZNh+X5sRvjZ4QY5GsP0KPAQvVn4gRmsa6mUcOYE48y1fICT+EgkTIvoy7PPpav5YqC41FLGY8V1PCuueN6qhb3ufFHjtZuybA2afy2HSfpfGCHm7UQ+9lMMorGv5SUnepZENcYBKMWeeHyizWpTRLJh2dM=
Received: from BN6PR1101MB2226.namprd11.prod.outlook.com (10.174.112.11) by BN6PR1101MB2274.namprd11.prod.outlook.com (10.174.238.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.13; Wed, 3 Apr 2019 11:32:54 +0000
Received: from BN6PR1101MB2226.namprd11.prod.outlook.com ([fe80::9c05:e282:840b:51a1]) by BN6PR1101MB2226.namprd11.prod.outlook.com ([fe80::9c05:e282:840b:51a1%8]) with mapi id 15.20.1750.017; Wed, 3 Apr 2019 11:32:54 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>, Martin Bjorklund <mbj@tail-f.com>
CC: "lhotka@nic.cz" <lhotka@nic.cz>, "netmod@ietf.org" <netmod@ietf.org>, "rtgwg@ietf.org" <rtgwg@ietf.org>
Thread-Topic: [netmod] Doubts about static routes in RFC 8349
Thread-Index: AQHU6gjERYkTL9wT6kGTOa3NgxSQBKYqQkmAgAADzACAAAZKgP//vnMA
Date: Wed, 3 Apr 2019 11:32:53 +0000
Message-ID: <ED286AC7-41CD-4510-A416-9A3FD6418CE0@cisco.com>
References: <AM0PR03MB38286521B6CDFD36D173C6889D570@AM0PR03MB3828.eurprd03.prod.outlook.com> <20190403.123345.1599705387341112249.mbj@tail-f.com> <AM0PR03MB38281F7C5CF7C09C32066FB69D570@AM0PR03MB3828.eurprd03.prod.outlook.com> <20190403.130458.1547365482806443643.mbj@tail-f.com> <AM0PR03MB382867F5B62ABF6A1AB447C29D570@AM0PR03MB3828.eurprd03.prod.outlook.com>
In-Reply-To: <AM0PR03MB382867F5B62ABF6A1AB447C29D570@AM0PR03MB3828.eurprd03.prod.outlook.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=acee@cisco.com;
x-originating-ip: [173.38.117.82]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 61c655a7-4f43-4671-3fb0-08d6b8281ce1
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(2017052603328)(7193020); SRVR:BN6PR1101MB2274;
x-ms-traffictypediagnostic: BN6PR1101MB2274:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <BN6PR1101MB2274628BC715BE6C9B3D0D48C2570@BN6PR1101MB2274.namprd11.prod.outlook.com>
x-forefront-prvs: 0996D1900D
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(396003)(39860400002)(366004)(346002)(189003)(199004)(13464003)(51874003)(51444003)(53936002)(478600001)(446003)(71190400001)(26005)(83716004)(106356001)(14454004)(110136005)(54906003)(6246003)(36756003)(82746002)(105586002)(11346002)(102836004)(53546011)(6506007)(33656002)(8676002)(6436002)(99286004)(76176011)(305945005)(7736002)(6486002)(71200400001)(2616005)(486006)(476003)(81166006)(229853002)(81156014)(6512007)(6306002)(66066001)(186003)(86362001)(256004)(14444005)(5660300002)(93886005)(97736004)(68736007)(3846002)(6116002)(2906002)(316002)(8936002)(25786009)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1101MB2274; H:BN6PR1101MB2226.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: F3goG0lNOgzhU98A5NZ54djUvOpkUp5RQZvhE3oIED/tmPxuqgiRp5BvjR1kZRrNz5mnrVoFGlg5Idp+2qvicAysHefhRZaA8WYk280EWOrTnNvWPFGepTqrU2xWMKKV/7aJkxgQzNVvCjzgg+vG6339DjQ/+rwWR8Vpol9VXM2YHEH6qOybLgou2I1aD/P8GygNaqHEvGUkqMjR+5yXNQkUC25YgjO+v8F7CTvVOgDG7E/9TBvm/xSSdzEx5oYbsxEJA4RgAEJLLtDPvcftIjFCa8jfspkY93st5Xk3R2WQSnQJOW3clOQJJo0wjUTRorKPzEM3Wl45Of6+niC57oDO7nDPzjIPXVa1+h3mRVukhpBJ4WLKVfXbFHukipRb489oqrkczj3h9FXcPrGN67QLRuNQNh+7jl5DHzIGpTU=
Content-Type: text/plain; charset="utf-8"
Content-ID: <4401A54AAF66474582B41C0F4D030CE4@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 61c655a7-4f43-4671-3fb0-08d6b8281ce1
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2019 11:32:53.9928 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2274
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.12, xch-rcd-002.cisco.com
X-Outbound-Node: rcdn-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/4JyiktzvJWXDpQ3x_WAFWgETPvY>
Subject: Re: [netmod] Doubts about static routes in RFC 8349
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 03 Apr 2019 11:33:02 -0000

Hi Sasha, 

On 4/3/19, 7:27 AM, "Alexander Vainshtein" <Alexander.Vainshtein@ecitele.com>; wrote:

    Martin,
    Lots of thanks for a prompt response.
    
    My reading of your response is that, if you need multiple static routes with the same destination but different next hops, you configure them as a single route with next-hop-list, but what you see when you retrieve the RIB may be multiple individual routes, each with its own simple next hop. Or it may be something else, since no keys have been defined in the read-only representation of the RIB.
    
    Is my reading correct?

No - you'd see a single route and next-hop-list with the alternatives when it is retrieved. 
 
Thanks,
Acee
 
    
    Regards, and lots of thanks in advance,
    Sasha
    
    Office: +972-39266302
    Cell:      +972-549266302
    Email:   Alexander.Vainshtein@ecitele.com
    
    
    -----Original Message-----
    From: Martin Bjorklund <mbj@tail-f.com>; 
    Sent: Wednesday, April 3, 2019 2:05 PM
    To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>;
    Cc: acee@cisco.com; lhotka@nic.cz; netmod@ietf.org; rtgwg@ietf.org
    Subject: Re: [netmod] Doubts about static routes in RFC 8349
    
    Hi,
    
    
    Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>; wrote:
    > Martin,
    > 
    > Lots of thanks for an interesting input.
    > 
    > I have noticed that Appendix A in RFC
    > 8349<https://tools.ietf.org/html/rfc8349#appendix-A>  defines the key 
    > for static IPv4 and IPv6 unicast routes as “destination-prefix”.
    
    Right (to be precise, the key is defined in the YANG models in section
    8 and 9).
    
    
    > draft-ietf-rtgwg-
    > yang-rib-extend<https://tools.ietf.org/html/draft-ietf-rtgwg-yang-rib-
    > extend-01> claims that it augments the model defined in 8349, 
    > therefore, to the best of my understanding, it uses the same key for 
    > station IPv4 and
    > IPv6 unicast routes.
    
    Correct.
    
    
    > At the same time Appendix A in this draft does not define any keys for 
    > the read-only RIB.
    > 
    > Can you explain this controversy?
    
    Not sure there's a controversy.  The static route list is how you configure static routes, and the RIB is the operational state of all routes (static and others).  Two different things.
    
    The MIB had a single table to show routes and write routes.  I don't think the persistency of the routes you wrote into the MIB was defined; perhaps these can be viewed as being "static".
    
    
    /martin
    
    
    > 
    > 
    > 
    > Regards, and lots of thanks in advance,
    > 
    > Sasha
    > 
    > 
    > 
    > Office: +972-39266302
    > 
    > Cell:      +972-549266302
    > 
    > Email:   Alexander.Vainshtein@ecitele.com
    > 
    > 
    > 
    > -----Original Message-----
    > From: Martin Bjorklund <mbj@tail-f.com>;
    > Sent: Wednesday, April 3, 2019 1:34 PM
    > To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>;
    > Cc: acee@cisco.com; lhotka@nic.cz; netmod@ietf.org; rtgwg@ietf.org
    > Subject: Re: [netmod] Doubts about static routes in RFC 8349
    > 
    > 
    > 
    > Hi,
    > 
    > 
    > 
    > Alexander Vainshtein <Alexander.Vainshtein@ecitele.com<mailto:Alexander.Vainshtein@ecitele.com>> wrote:
    > 
    > 
    > 
    > [...]
    > 
    > 
    > 
    > > Meanwhile, could you please explain the rationale for changing the
    > 
    > > data model that has been defined in RFC 4292 (where both the
    > 
    > > destination prefix and the next hop have been parts of the index in
    > 
    > > the appropriate MIB table) ?
    > 
    > >
    > 
    > > The side effect of this change is that it is not backward-compatible
    > 
    > > with multiple existing RFC 4292-compliant RIB implementations:
    > 
    > >
    > 
    > > -          Retrieval of such a RIB using YANG requires a stateful mapper that
    > 
    > >            merges multiple RIB entries with the same destination 
    > > prefix and
    > 
    > >            different “simple” NH into a single entry with the
    > 
    > >            next-hop-list
    > 
    > 
    > 
    > Note that the "route" list in the rib doesn't have any keys.  This means that you can report several entries with the same destination prefix.  So I think that this design is compatible with the MIB design.
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    > /martin
    > 
    > ______________________________________________________________________
    > _____
    > 
    > This e-mail message is intended for the recipient only and contains 
    > information which is CONFIDENTIAL and which may be proprietary to ECI 
    > Telecom. If you have received this transmission in error, please 
    > inform us by e-mail, phone or fax, and then delete the original and all copies thereof.
    > ______________________________________________________________________
    > _____
    
    ___________________________________________________________________________
    
    This e-mail message is intended for the recipient only and contains information which is 
    CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this 
    transmission in error, please inform us by e-mail, phone or fax, and then delete the original 
    and all copies thereof.
    ___________________________________________________________________________