Re: proposed example text and question on draft-ietf-rtgwg-policy-model

"Acee Lindem (acee)" <acee@cisco.com> Thu, 18 June 2020 23:21 UTC

Return-Path: <acee@cisco.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E5DE3A1174; Thu, 18 Jun 2020 16:21:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.597
X-Spam-Level:
X-Spam-Status: No, score=-9.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=GLIW+Gzx; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=SC42z6pZ
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 MGA0lSF9J6Xl; Thu, 18 Jun 2020 16:21:33 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 53EB83A116F; Thu, 18 Jun 2020 16:21:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=30233; q=dns/txt; s=iport; t=1592522493; x=1593732093; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=ZPOOa3waFzkpGB8pONHMS6j5rfSetvwtNN2WYXPA8hQ=; b=GLIW+GzxA1mJ2or8SJJfdRO1KDrdZTwviWP5FyNuVLN05SBkfY/9YUWC Z45r8MEtUD4gPQ6otZVVShefWmBhfcbc1I5EBv2JheyOOE7ijc0m7CaKj 13Tkl02KKMARIh/wKMpPZPp5ppVSUQH0fpd3JLb+bO3AsHFSDQq83Ifie s=;
IronPort-PHdr: 9a23:YP218hD02OsHhBjq3GpPUyQJPHJ1sqjoPgMT9pssgq5PdaLm5Zn5IUjD/qw31g3HQJnG8f9bhuuQuKflCiQM4peE5XYFdpEEFxoIkt4fkAFoBsmZQVb6I/jnY21ffoxCWVZp8mv9PR1TH8DzNFPPvmCo4CEfG1P0Mg8mbujwE5TZ2sKw0e368pbPYgJO0Ty6Z746LBi/oQjL8McMho43IacqwRyPqXxNKOk=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BzAADD9ete/5tdJa1mGwEBAQEBAQEBBQEBARIBAQEDAwEBAYF5AwEBAQsBgSIvIy4Hb1gvLAqEGoNGA41AiX+OVIJSA1ULAQEBDAEBLQIEAQGERAIXgg8CJDcGDgIDAQELAQEFAQEBAgEGBG2FWwyFcgEBAQEDEhEdAQE4DwIBCBEDAQIhCgICAh8RHQgCBAESIoMEAYF+TQMuAa1UAoE5iGF2gTKDAQEBBYU0DQuCDgmBOAGCZol4GoIAgTgcgk0+ghqBe0iCdDOCLZIphjcmmn1MCoJalD2EagMdnnOMPYRojGiRUwIEAgQFAg4BAQWBaSOBVnAVZQGCPlAXAg2OHoNxilZ0AjUCBgEHAQEDCXyNJIE0AYEQAQE
X-IronPort-AV: E=Sophos;i="5.75,253,1589241600"; d="scan'208,217";a="773616288"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 18 Jun 2020 23:21:31 +0000
Received: from XCH-RCD-004.cisco.com (xch-rcd-004.cisco.com [173.37.102.14]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 05INLVjx019401 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 18 Jun 2020 23:21:31 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-RCD-004.cisco.com (173.37.102.14) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 18 Jun 2020 18:21:31 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 18 Jun 2020 19:21:30 -0400
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 18 Jun 2020 18:21:30 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zy0g73P2qw4fxYD1brCaqxGop33rpfcI2HcbqlreIr3+RLAhzcfNZnAucQmY62zbZhS3LBC3VMfncO7zjUXyTMyEbzXs7ajILN+Ok2ICoB7GoMrmmbC5TBb8OMSPJwVTcYKSM3KLjeB0iXWec2R5R8GG5NwwNChP0+NnGVx69ochRp5sRwThV1w2Kyf/Si+9dLZPa3qCcJQromBYmChl7CXv4l7z6w97arlMl3BKKDGQvu+F8gRV6Rcf6xKoYyUpXlMVmOz88n3SDKtjUvRmjnAh/NOQgah1slkjayo+2/6U4LuI4POYCcXToOnRhbwZ6/QnaQ1nSdE8IopYILfv2g==
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=ZPOOa3waFzkpGB8pONHMS6j5rfSetvwtNN2WYXPA8hQ=; b=VsnlR8DnR1JqdKYCK3H7G+igBQ7mUo3qLYuQVOp6qekZ0v0DEC+PwnB8J1sC+U0qEZJiZ35i2jkk1qWIc7OHukYppbfP+AP8Eafxa9h5uaDpfylBnd0sN/MWGTcyQhUL0tslCrWGtvJvaGom2UtZ6W1wS58BVRiZI8xgMaMRBNk+bxg1HdLhS/2ptmgPz3OkDIe0r+E/tpGzj+Jlm9iojwo+mtwXL6fZG42xKgagEPuGdwCKf4soJ2JtgvDP4+/ReiyXkh/jpYW7JLyPWGOD9mVKdj/OMXYCUEjWQXACLqFak7kLYAmjnKCwx8Sl8SBrFLrh6hFrwOo7Lt/LcgBN/g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZPOOa3waFzkpGB8pONHMS6j5rfSetvwtNN2WYXPA8hQ=; b=SC42z6pZ6/YqEacWtP0J61fnnk8s1y7kiKwLOiqysk8QEJmesLsnBrVdeyKfIjkXT69LvOWUo+EjXUVF0ITLUdt+ukIrJmmyEJPGM2MV1is7gsfpTuei2XGCdcp9TW3PYZV9Pp7JGXgPQJkRLsFNDvjn1c9cQc+9a+/Lymz8pVc=
Received: from BYAPR11MB2887.namprd11.prod.outlook.com (2603:10b6:a03:89::27) by BYAPR11MB2645.namprd11.prod.outlook.com (2603:10b6:a02:c0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.24; Thu, 18 Jun 2020 23:21:28 +0000
Received: from BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::70a6:bb5b:16b:4f9b]) by BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::70a6:bb5b:16b:4f9b%7]) with mapi id 15.20.3109.021; Thu, 18 Jun 2020 23:21:28 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Yingzhen Qu <yingzhen.qu@futurewei.com>, Chris Bowers <cbowers107@gmail.com>, "draft-ietf-rtgwg-policy-model@ietf.org" <draft-ietf-rtgwg-policy-model@ietf.org>, "rtgwg@ietf.org" <rtgwg@ietf.org>
Subject: Re: proposed example text and question on draft-ietf-rtgwg-policy-model
Thread-Topic: proposed example text and question on draft-ietf-rtgwg-policy-model
Thread-Index: AQHWP21vQ87pHIyl9UuUmOcb0l/2h6jfCVMA///DJYA=
Date: Thu, 18 Jun 2020 23:21:28 +0000
Message-ID: <944EDA5F-9D6C-4CA1-95A3-1B16D33A54D9@cisco.com>
References: <CAMTSGm3uf+KU_0N6Qp46aMBKDnmrU4rsMopEZmzGfzEXpbSCZw@mail.gmail.com> <1E614E2C-41B5-4BFF-9ADD-EAD6777140E3@futurewei.com>
In-Reply-To: <1E614E2C-41B5-4BFF-9ADD-EAD6777140E3@futurewei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.38.20061401
authentication-results: futurewei.com; dkim=none (message not signed) header.d=none;futurewei.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [136.56.133.70]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: da9dcf2b-c86d-4620-6db3-08d813de540c
x-ms-traffictypediagnostic: BYAPR11MB2645:
x-microsoft-antispam-prvs: <BYAPR11MB2645BB145769B23AC76296A4C29B0@BYAPR11MB2645.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0438F90F17
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: FRkqKuuXqp3pdjdEaolc7iGVMVER38an8bvcpV+5RsEUWx7TXvM1szy94GskoTjpl7GoYBVTi/k5uGl6yh25u1ZvDbcrQfTPpBcGQM1bs9QXcLgtGbZr8YnyrMd0DJpPQehVr4ZsSx4tgY4jh36Bw+ExiuayX8g4YSaj/z2xJGyr+RdFeZSW+n0VhStXbNu1kIfb401RY1LDVu75Zsnhmgq2aIvYZpl3oV2Fqoo+0dXxXje5WJFJTQUl4OkOPKwmhVPtI+aixpWNzEV7igg/1GQ4FkmbsswHEi1sPR8dwBs31ENQ12SonCoLPkuKQMZrS2x7OW33HtoGI6qxZm27xQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2887.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(396003)(376002)(136003)(346002)(366004)(186003)(316002)(33656002)(66476007)(91956017)(6506007)(66556008)(66946007)(76116006)(2616005)(66446008)(64756008)(53546011)(83380400001)(6486002)(26005)(110136005)(8936002)(9326002)(8676002)(478600001)(2906002)(36756003)(71200400001)(5660300002)(6512007)(86362001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: /8txpDkymPc/IYbkBr8AlkWZC9s929UbuuXSgV63E1zyQ3OzMAf55qQS3XO+dhCbtPX7Tq5iNAeaUclXSSiBZvC6fmVeYel4PMUGBwIgMlPbcNfpCHBEyV4eQ0nuo39MPnA2aQNronfp3yZtba7fYJ9gzvCAbqMnT3dERgKH9R60jH/ZdfVU3/lgcltUuW9qVpdzg6QukpuJEkwGlu3Ebxt64jIgd1KynXTpjxGgJBDfOmZ2+SY5wKIaBAZ/KbhhhCN0JBwiAcoS8GWiuFPej1EwitnZSFJAJH6FrCSmGMdpipCLUOqzGJJSUhD/qv9c46vEda572/PXyk4YYp1mo4RwA7Nl3WkiH2hnsbkr1Jvx7BmmAxnY6Mhkzfj+5Ipz5NFHon/MADqa0KJ2LYj4zRG4BNRq9Pc/w2nAzfFp1EChnCsEuuekLezju6lzsuCbyHORqc1ZTqM958DjSK4di/o2OlHsesKelrLI/UIXXQ3aAPR+uiAbHwdWmNtxHC0/
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_944EDA5F9D6C4CA195A31B16D33A54D9ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: da9dcf2b-c86d-4620-6db3-08d813de540c
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2020 23:21:28.5314 (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-CrossTenant-userprincipalname: M3lN6e7HREduszdaMzAjCGjcAOXkXCYMeo2dtRF+U51rQGh3lm4F9p64OdRpAVqv
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2645
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.14, xch-rcd-004.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/AaOsQvVzrnu3X9N3xpp3MNDrvjw>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2020 23:21:36 -0000

Hi Yingzhen,

Meant to reply earlier. Thanks for responding.

From: Yingzhen Qu <yingzhen.qu@futurewei.com>
Date: Thursday, June 18, 2020 at 6:59 PM
To: Chris Bowers <cbowers107@gmail.com>, "draft-ietf-rtgwg-policy-model@ietf.org" <draft-ietf-rtgwg-policy-model@ietf.org>, Routing WG <rtgwg@ietf.org>
Subject: Re: proposed example text and question on draft-ietf-rtgwg-policy-model
Resent-From: <alias-bounces@ietf.org>
Resent-To: <yingzhen.qu@futurewei.com>, Jeff Tantsura <jefftant.ietf@gmail.com>, Acee Lindem <acee@cisco.com>, Xufeng Liu <xufeng.liu.ietf@gmail.com>
Resent-Date: Thursday, June 18, 2020 at 6:59 PM

Hi Chris,

Thanks for the review and proposed examples, really appreciate.

I’ve uploaded a new version of the draft and included the example to demonstrate route redistribution between ospf and isis. I didn’t include the one to install ospf routes to RIB considering this is default behavior unless you specify a policy to limit the ospf routes installation.

Regarding the name, the model supports both import and export modes, so I didn’t want to simply change the name to “set-export-level”, but open to suggestions. The model also provides a grouping “apply-policy-group” that can be used by routing protocols for route redistributions, and there are descriptions about it in Section 6.

I Think we should change it to set-isis-level or simply set-level.

Thanks,
Acee


Thanks,
Yingzhen

From: Chris Bowers <cbowers107@gmail.com>
Date: Wednesday, June 10, 2020 at 2:23 PM
To: "draft-ietf-rtgwg-policy-model@ietf.org" <draft-ietf-rtgwg-policy-model@ietf.org>, "rtgwg@ietf.org" <rtgwg@ietf.org>
Subject: proposed example text and question on draft-ietf-rtgwg-policy-model
Resent-From: <alias-bounces@ietf.org>
Resent-To: <yingzhen.qu@futurewei.com>, <jefftant.ietf@gmail.com>, <acee@cisco.com>, <xufeng.liu.ietf@gmail.com>
Resent-Date: Wednesday, June 10, 2020 at 2:23 PM

I would like to propose adding the following example to the text of draft-ietf-rtgwg-policy-model
to better illustrate how the model will work in practice with routing policies involving IGPs.
The proposed text is shown below.

I think that the example below also illustrates a problem with the naming of what is currently called "import-level" and "set-import-level".  In the example, the export policy called "export-all-OSPF-prefixes-into-ISIS-level-2" uses the "set-import-level"  action.  As far as I can tell, it only makes sense to use "set-import-level" in an export policy, and not in an import policy.  If this is the case, wouldn't it make more sense to call it "set-export-level"?

===========
Proposed text for new IGP routing policy example:

This example illustrates the import and export policies corresponding to the following scenario.
All routes that are learned via OSPF advertisements should get installed in the RIB.
All routes in the RIB that have been learned from OSPF advertisements corresponding to
OSPF intra-area and inter-area route types should get advertised into ISIS level 2 advertisements.

          <policy-definitions>
           <policy-definition>
             <name>import-all-OSPF</name>
             <statements>
               <statement>
                 <name>term-0</name>
                 <conditions>
                   <match-prefix-set>
                     <prefix-set>all-prefixes</prefix-set>
                   </match-prefix-set>
                 </conditions>
                 <actions>
                   <policy-result>accept-route</policy-result>
                 </actions>
               </statement>
             </statements>
           </policy-definition>
              <policy-definition>
             <name>export-all-OSPF-prefixes-into-ISIS-level-2</name>
             <statements>
               <statement>
                 <name>term-0</name>
                 <conditions>
                   <match-prefix-set>
                     <prefix-set>all-prefixes</prefix-set>
                   </match-prefix-set>
                   <match-route-type>
                     <proto-route-type>ospf-internal-type</proto-route-type>
                   </match-route-type>
                 </conditions>
                 <actions>
                   <set-import-level>
                     <import-level>isis-level-2</import-level>
                   </set-import-level>
                   <policy-result>accept-route</policy-result>
                 </actions>
               </statement>
             </statements>
           </policy-definition>
         </policy-definitions>

==========

Thanks,
Chris