Re: [netmod] 6991bis: address-with-prefix-length

"Acee Lindem (acee)" <acee@cisco.com> Mon, 01 April 2019 16:31 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 3299412041A for <netmod@ietfa.amsl.com>; Mon, 1 Apr 2019 09:31:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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=hWj9HKKY; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=VZJoqbnz
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 xpeklaEZWqqH for <netmod@ietfa.amsl.com>; Mon, 1 Apr 2019 09:31:26 -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 CED2612040D for <netmod@ietf.org>; Mon, 1 Apr 2019 09:31:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2866; q=dns/txt; s=iport; t=1554136276; x=1555345876; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=vBOnkMYN9mReMc5m5Gmbc+1tTgjwX2uPbsjE733GwVw=; b=hWj9HKKYV7AM2nGLx1T8/Liuc8lZcdP4RNPoXTxQ+Fmrg8VWJCJNYB0D Y7O/Cao72ity2bE18AkVnP3lPpMN3YYCCNt8zOm84mFN+kv7WAwYXc+Ow B++cwsCxf+4zXSjfiSwG+JqVmvipbodJl9reHYolxyQ5Sjv4C/B90ZbRN 8=;
IronPort-PHdr: 9a23:USY4IBSzSYzSMt/GlUN7xwuf+Npsv++ubAcI9poqja5Pea2//pPkeVbS/uhpkESUANfA8/wRje3QvuigQmEG7Zub+FE6OJ1XH15NksAKh0olCc+BB1f8KavjZCE3NM9DT1RiuXq8NBsdFQ==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ADAADRO6Jc/5tdJa1gAxkBAQEBAQEBAQEBAQEHAQEBAQEBgVEEAQEBAQELAYE9UANodAQLJwqEBINHA4RSimGCV5cPgS6BJANUDgEBGAsJg3pGAheFLSI0CQ0BAQMBAQkBAwJtHAyFSwEBAQMBASERDAEBLAsBDQICAQgOAggCAiYCAgIZDAsVEAIEAQ0FgyIBgV0DFQEOoUYCihRxgS+CeQEBBYR6GIIMAwUFgQYkAYRdhlUXgX+BEScfgkw+gmEBAYFhFwomgkMxgiaNA5dqYAkCk14alCyLP5NOAgQCBAUCDgEBBYFNOIFWcBU7KgGCQYIKg24zhGGFP3KBKI4UAYEeAQE
X-IronPort-AV: E=Sophos;i="5.60,297,1549929600"; d="scan'208";a="253284950"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 01 Apr 2019 16:31:15 +0000
Received: from XCH-ALN-014.cisco.com (xch-aln-014.cisco.com [173.36.7.24]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id x31GVFQp003819 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 1 Apr 2019 16:31:15 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-ALN-014.cisco.com (173.36.7.24) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 1 Apr 2019 11:31:14 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 1 Apr 2019 11:31:14 -0500
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 1 Apr 2019 11:31:14 -0500
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=vBOnkMYN9mReMc5m5Gmbc+1tTgjwX2uPbsjE733GwVw=; b=VZJoqbnzNW8kNMw20h1xmvbGYbOYxD4F5E18AtDGqBJDT/d6Jd0vlReLiP5wNxZJkUytb+V1Kd2mSJ1KN6DLy4dem6jOV9LjnqqDXmz3vwtJvLHuF1RM+VdT4vvAP312ynRxjqL53oscx51sFeqce4WABLl/q2xL6yB4rF2tmFU=
Received: from BN6PR1101MB2226.namprd11.prod.outlook.com (10.174.112.11) by BN6PR1101MB2195.namprd11.prod.outlook.com (10.174.117.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.20; Mon, 1 Apr 2019 16:31:13 +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; Mon, 1 Apr 2019 16:31:13 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Kristian Larsson <kristian@spritelink.net>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] 6991bis: address-with-prefix-length
Thread-Index: AQHU6JixdGMCt4a400OFM02B5CwunKYnenSA///B7wA=
Date: Mon, 01 Apr 2019 16:31:12 +0000
Message-ID: <F1537180-6BF3-40C7-BCFA-3AAE0290AE9D@cisco.com>
References: <10d3413c-df96-6e7d-df82-5542bb02348d@spritelink.net> <20190401161321.seiodlfsmjjvjcp5@anna.jacobs.jacobs-university.de>
In-Reply-To: <20190401161321.seiodlfsmjjvjcp5@anna.jacobs.jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [173.38.117.82]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 67ae8708-3fe1-49be-583e-08d6b6bf7491
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:BN6PR1101MB2195;
x-ms-traffictypediagnostic: BN6PR1101MB2195:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <BN6PR1101MB219551F9D8BAE825D8B687B5C2550@BN6PR1101MB2195.namprd11.prod.outlook.com>
x-forefront-prvs: 0994F5E0C5
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(366004)(136003)(346002)(396003)(199004)(54094003)(189003)(97736004)(4326008)(36756003)(2616005)(25786009)(256004)(82746002)(478600001)(8936002)(6506007)(11346002)(6246003)(446003)(102836004)(76176011)(6346003)(110136005)(14454004)(966005)(316002)(6116002)(3846002)(86362001)(53936002)(305945005)(81156014)(8676002)(186003)(7736002)(6512007)(81166006)(26005)(106356001)(68736007)(71200400001)(71190400001)(83716004)(66066001)(2906002)(33656002)(476003)(486006)(99286004)(6306002)(6486002)(5660300002)(229853002)(105586002)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1101MB2195; H:BN6PR1101MB2226.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=acee@cisco.com;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: V8v9b6B3HogXiVhKejO5oY5MwTK/p7mWV/92F9B9mKOsNqjl+ta8cfSwNPGJ6E+ewwdLIze76pRdxJI/wpGy1qxEWb9aW8px2Rq0I2utI/9xkwnZIFcIkYKp18UMGR2IrEkyPLeGEONLUU3a7FKLjICV9QSFJdrGuRYvNuAU3Zad1sRv6HF9HK87P0JRHVnNjxbdDqq5ezQGwBy1xVQGdTxjOS3ealwFhUgKX8BJhu0zkkrTgjb3gahm21X/wUrTSnAE0b2feBJdBQrJlrzVkyO8AwJZRDeVVxGGXxm5fB1ePx7FIGjDlt9vytBiIVIcrtmWg+U6b+lFrVus/UE9vDT3Zk5WfMK2dpnoGacgIE7/wCoADImoD3LoXuiaTAN34NWYXaVAooTnmDsabAQDSeGDqgPu3KbPGQalyw1m7ZU=
Content-Type: text/plain; charset="utf-8"
Content-ID: <8E0E9D4AB29C444F9408219FFF828DE4@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 67ae8708-3fe1-49be-583e-08d6b6bf7491
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2019 16:31:12.9124 (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: BN6PR1101MB2195
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.24, xch-aln-014.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/IvOjw3o9pJsYMoMdXKKg7nf7B4E>
Subject: Re: [netmod] 6991bis: address-with-prefix-length
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: Mon, 01 Apr 2019 16:31:34 -0000

I believe the "address-" could be omitted from the type identifiers. At least within the routing area, "ipv4-prefix" is unambiguous. 
Thanks,
Acee

On 4/1/19, 12:14 PM, "netmod on behalf of Juergen Schoenwaelder" <netmod-bounces@ietf.org on behalf of j.schoenwaelder@jacobs-university.de> wrote:

    This is the right time for this and I would call these
    ip-address-prefix, ipv4-address-prefix and ipv6-address
    prefix.
    
    /js
    
    On Mon, Apr 01, 2019 at 04:38:34PM +0200, Kristian Larsson wrote:
    > Hello,
    > 
    > seeing that 6991 is up for a refresh I wonder if this would be the time to
    > suggest the addition of a type for address-and-prefix-length, for example
    > like 192.0.2.1/24?
    > 
    > I find that it's the most natural way express the address and prefix-length
    > to configure on an interface or for some other use. We currently have an
    > ip-prefix type which allows CIDR style prefixes but since all bits to the
    > right of the mask is to be 0 it is only possible to use for describing the
    > IP prefix / network address itself - not the address of a host in that
    > network.
    > 
    > I actually wish the interface-ip modules would have used a combined leaf for
    > these settings rather than the dual-leaf approach it currently has, but I
    > suppose that ship has sailed :/
    > 
    > Regardless, can we add such a type? Is this the document and time to do it?
    > :)
    > 
    > Kind regard,
    >    Kristian.
    > 
    > _______________________________________________
    > netmod mailing list
    > netmod@ietf.org
    > https://www.ietf.org/mailman/listinfo/netmod
    
    -- 
    Juergen Schoenwaelder           Jacobs University Bremen gGmbH
    Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
    Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
    
    _______________________________________________
    netmod mailing list
    netmod@ietf.org
    https://www.ietf.org/mailman/listinfo/netmod