Removal of mixed prefix-set type

"Acee Lindem (acee)" <acee@cisco.com> Mon, 01 June 2020 18:09 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 D271F3A13B4 for <rtgwg@ietfa.amsl.com>; Mon, 1 Jun 2020 11:09:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 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, 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=OBvHVkni; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=kzgUetaD
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 Z4Pq8mWkJS2G for <rtgwg@ietfa.amsl.com>; Mon, 1 Jun 2020 11:09:36 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 025F63A139C for <rtgwg@ietf.org>; Mon, 1 Jun 2020 11:09:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5244; q=dns/txt; s=iport; t=1591034976; x=1592244576; h=from:to:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=KQIvMRiByzN25KShIHUim6o49BP3ukVVQCFoi1oy5qE=; b=OBvHVkniXSpnWNLPa3iFWhekoM64nGmZb7bGVa/dtu0tDUOHE74Dzm/t b8S2JaNE1ePvGP5ed+zk98FV/4ge8mhKqRRHvUasfHCuPHCk8Hb1F5yJ3 LOZvPtqpl3FGmvzl6EkUY7AmD0DcEmCUuK+FmHfrpQhKrpSJPkuj9uhwr o=;
IronPort-PHdr: 9a23:obJlbxIKBN6pL20mV9mcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeGvK8/jVLVU8Pc8f0Xw+bVsqW1X2sG7N7BtX0Za5VDWlcDjtlehA0vBsOJSCiZZP7nZiA3BoJOAVli+XzoMEVJFoD5fVKB6nG35CQZTxP4Mwc9L+/pG4nU2sKw0e36+5DabwhSwjSnZrYnJxStpgKXvc4T0oY=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AHCgBFQ9Ve/4UNJK1mHgEBCxIMQIMaIy8Hb1gvLAqEG4NGA6YRglIDVQsBAQEMAQEYCwoCBAEBhF2CDwIkOBMCAwEBCwEBBQEBAQIBBgRthVkBC4V1BQEQEREMAQEsDBEBIgImAgQlCxUSBBMigwQBgksDLgEOo3MCgTmIYXaBMoMBAQEFgTYCDkFCgk0Ygg4JgQ4qgmSJYxqCAIE4HIJNgyUBAQIBARiEXTOCLY8dglmGTZsQCoJXBIgtkD4egmaBFIdzkiuQX4l2j2mEGwIEAgQFAg4BAQWBaiKBVnAVGiEqAYI+CUcXAg2QQINyhRSFQnQ3AgYBBwEBAwl8ijAtgQYBgQ8BAQ
X-IronPort-AV: E=Sophos;i="5.73,461,1583193600"; d="scan'208";a="518358624"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 01 Jun 2020 18:09:33 +0000
Received: from XCH-ALN-004.cisco.com (xch-aln-004.cisco.com [173.36.7.14]) by alln-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id 051I9XTN007047 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <rtgwg@ietf.org>; Mon, 1 Jun 2020 18:09:33 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-ALN-004.cisco.com (173.36.7.14) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 1 Jun 2020 13:09:33 -0500
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 1 Jun 2020 14:09:32 -0400
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 1 Jun 2020 13:09:31 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bhiD9EJF/tpCbHEv5Bt884FDYIxLdWz+VuFManxi4j497MaVnkPbGhKiSfMvaN2xtCtUBj5J5kpcFXJj1Ry54N1PoIlMgBemkEyUNoEa39Rd6Wh5T4ND9+JXYBazkoPax0KmlCJtyE9evX46uq05Gt1Lm3E/MYEE0sllGtTmhNeVxugjQHlTDJbDXH0s0/gGW7W60vrt1cSWT0L4EmFn+/Np10t0MssHvFLckWujloAXjQklZm4D1nQHfFQ5aLnFY+1kJkbIKTzE91W1tAZYJC1/yuUZowx2E2YwJlEvBRbXgq94tn6Bgt4wkDg/05uctsRmHvkNbhXp6Sb/oosFzw==
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=KQIvMRiByzN25KShIHUim6o49BP3ukVVQCFoi1oy5qE=; b=REpmTOlZjvCN9vBme08mig/h2P5K1InAwzTiv31eCHFJJyhpuVVOmyugMFMCMIhgBoyPn8IC7xTaj+DXRipvEW5iU3CYotM4/K3jgE46ixCN18aJoXWGmBiINPwl1HOK8jWCsg1P+s36U3ITctQZNbU22mvBNR0gPemm1Fk0wRzBsqXa6xDPPaBNzDHgZQIj/IXR8Hn1EOdKa2e/hDS6AH3tax5jTLmrVcaddiNQgeMtiBlmE331JAk3eG2s86KRrlMWZTHIPFghC6sGbyi1nkiwCkLMB0y1LVHV0kK1BxKNwOGNV6zWlouVzoUl5ansIobijshV7JuDgLO3js0rlw==
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=KQIvMRiByzN25KShIHUim6o49BP3ukVVQCFoi1oy5qE=; b=kzgUetaD4DbZiJT9vvTe/MLts2QngP9WV46psp1M0UunhEMmnytRQZNCxxTn5vL+BH7Os6/ST1yHSBeh4IUPdj8A+7jdD6DJaaqfUq6VcqCP5JcQnf8BcuVfc71jZ75Phq4dqBrscje7/an1qXfGQrKQ2WmU86AdQOOKkwX9zV0=
Received: from BYAPR11MB2887.namprd11.prod.outlook.com (2603:10b6:a03:89::27) by BYAPR11MB3480.namprd11.prod.outlook.com (2603:10b6:a03:79::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.22; Mon, 1 Jun 2020 18:09:31 +0000
Received: from BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::4950:e26c:503f:768e]) by BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::4950:e26c:503f:768e%6]) with mapi id 15.20.3045.022; Mon, 1 Jun 2020 18:09:31 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: "rtgwg@ietf.org" <rtgwg@ietf.org>
Subject: Removal of mixed prefix-set type
Thread-Topic: Removal of mixed prefix-set type
Thread-Index: AQHWOD/L8qIF0X8MvkuPFCCwXBNEBg==
Date: Mon, 01 Jun 2020 18:09:30 +0000
Message-ID: <FB5780B8-FFA7-4B20-891B-6C7F03B681C6@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.37.20051002
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; 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: a15dbfad-0546-4294-edaa-08d80656ee83
x-ms-traffictypediagnostic: BYAPR11MB3480:
x-microsoft-antispam-prvs: <BYAPR11MB348030FDD8F9B5428FF6B6DCC28A0@BYAPR11MB3480.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0421BF7135
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: FXPnvvDQaB3p3FVFzNEbbQMqPX3O54cZ0M2J1Q6+EQSTyL3uciucgQFEKKVnVYWb9WQLZ25R2gfDnNklxjxK93XTk4vr4M58uc9nWMLraLltQ2Y/VQm79ekEyuFAko1Q0G3/OoqSL5BToPq6f55mtuKb4CMVKWGZsBGXzZi52klrdpnq8TKPuxTebrIw7X2I5kROFR6WBFRESpVIRth35b1+9wxo2i58+3ij4dmKXD4kINxtTA8Q8NEbgp5FMifTzEVSJ4+HvjTFkuRlrpFD6FogTnzai0LsOSD7o2lE2qpFBXwjqh+57QJ2gcNkgB3b2PGow0QGwXdUBRfIh2egWUL6wXlmeCi/vYk6F5HiPVrMCVMf7f2M7AP/bNIsomA+wpaAoIDoEMlEuIRG8e/mtQ==
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)(376002)(396003)(346002)(39860400002)(136003)(366004)(83380400001)(6486002)(86362001)(5660300002)(2906002)(6512007)(66574014)(36756003)(6916009)(186003)(478600001)(966005)(316002)(26005)(66556008)(66946007)(33656002)(76116006)(6506007)(66476007)(66446008)(8676002)(71200400001)(2616005)(64756008)(8936002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: JS1Xx4l8GQdobYig1sJfXwaCCGmOtpFpOyamEeCMjrr1Z9vRyhU/0NnIONKUNl2FsGieo+97GQIDB73SQW9BwuyrV1vGmhjR+X8lK/3sVaRyAMlpivtLjEe+Eeg+CuOYUr25m1FopYzDzNm/L15j6oRxz773AMh523Zfgia8S6VQkl4pA/bV6/QvWG8xLb3zVkqGOtdgDM3o7/nowGjia6kklc27zzL3v/BV94otLeSjbf92/tOVZMwZncjEgYIflUx9440sYQzAd/eUyuT8ocMQA2EJ3zGPCyaCLZulgVwxUHb7F3sQc2PxKG/68pADXU2Ziky3QlJbRjzmibTU1bocYKcCTv2g5banO3mc169KRCyJ1yxi+tUM4PrkR1MqFvZZhUPjMsxTTCYFUu2C9OmIJIN6r/kOEzy8hw6Up8aoiEs9sW/PIPIYZR4K2QgbaO0/HUgFUBtoouoOTMZXXHUorW5pfZlNjUsp/WvlNnU=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <16B379DC3D17104186A15C577262469C@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: a15dbfad-0546-4294-edaa-08d80656ee83
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jun 2020 18:09:30.8954 (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: 5MEESGvWkluiL/Np+W5c3J32lwrE0rlOejvV0YNLMqEZOf6NPSOpW8/Kw6r/OOxg
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3480
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.14, xch-aln-004.cisco.com
X-Outbound-Node: alln-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/e9SqDtiHamMvdvTNNmtZsM1CSsI>
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: Mon, 01 Jun 2020 18:09:38 -0000

Version -14 addresses most of Tom Petch's comments. 

The authors would like to remove the mixed type of prefix-set. It doesn't seem that any implementations mix IPv4 and IPv6 prefixes in the same set. Consequently, I really don't see any advantage and the semantics would have to be to ignore prefixes of that don't match the type of the route or other construct being matched. As an alternative, we will allow the same name for an IPv4 and IPv6 prefix-set which is supported by most implementations.

diff --git a/ietf-routing-policy.yang b/ietf-routing-policy.yang
index dfe3977..711f27d 100644
--- a/ietf-routing-policy.yang
+++ b/ietf-routing-policy.yang
@@ -756,7 +756,7 @@ module ietf-routing-policy {
           "Data definitions for a list of IPv4 or IPv6
           prefixes which are matched as part of a policy.";
         list prefix-set {
-          key "name";
+          key "name mode";
           description
             "List of the defined prefix sets";
 
@@ -777,11 +777,6 @@ module ietf-routing-policy {
                 description
                   "Prefix set contains IPv6 prefixes only.";
               }
-              enum mixed {
-                description
-                  "Prefix set contains mixed IPv4 and IPv6
-                   prefixes.";
-              }
             }
             description
               "Indicates the mode of the prefix set, in terms of
@@ -789,9 +784,7 @@ module ietf-routing-policy {
                present. The mode provides a hint, but the device
                must validate that all prefixes are of the indicated
                type, and is expected to reject the configuration if
-               there is a discrepancy.  The MIXED mode may not be
-               supported on devices that require prefix sets to be
-               of only one address family.";
+               there is a discrepancy.";
           }



Thanks,
Acee

On 6/1/20, 1:03 PM, "rtgwg on behalf of internet-drafts@ietf.org" <rtgwg-bounces@ietf.org on behalf of internet-drafts@ietf.org> wrote:


    A New Internet-Draft is available from the on-line Internet-Drafts directories.
    This draft is a work item of the Routing Area Working Group WG of the IETF.

            Title           : A YANG Data Model for Routing Policy Management
            Authors         : Yingzhen Qu
                              Jeff Tantsura
                              Acee Lindem
                              Xufeng Liu
    	Filename        : draft-ietf-rtgwg-policy-model-14.txt
    	Pages           : 40
    	Date            : 2020-06-01

    Abstract:
       This document defines a YANG data model for configuring and managing
       routing policies in a vendor-neutral way and based on actual
       operational practice.  The model provides a generic policy framework
       which can be augmented with protocol-specific policy configuration.


    The IETF datatracker status page for this draft is:
    https://datatracker.ietf.org/doc/draft-ietf-rtgwg-policy-model/

    There are also htmlized versions available at:
    https://tools.ietf.org/html/draft-ietf-rtgwg-policy-model-14
    https://datatracker.ietf.org/doc/html/draft-ietf-rtgwg-policy-model-14

    A diff from the previous version is available at:
    https://www.ietf.org/rfcdiff?url2=draft-ietf-rtgwg-policy-model-14


    Please note that it may take a couple of minutes from the time of submission
    until the htmlized version and diff are available at tools.ietf.org.

    Internet-Drafts are also available by anonymous FTP at:
    ftp://ftp.ietf.org/internet-drafts/


    _______________________________________________
    rtgwg mailing list
    rtgwg@ietf.org
    https://www.ietf.org/mailman/listinfo/rtgwg