Re: [netmod] Mail regarding draft-ietf-netmod-sub-intf-vlan-model

"Acee Lindem (acee)" <acee@cisco.com> Tue, 05 November 2019 12:00 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 BCAFF1208F2 for <netmod@ietfa.amsl.com>; Tue, 5 Nov 2019 04:00:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, 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=Z7TU9bJE; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=RE3GImnE
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 kHSvJLEZGZLv for <netmod@ietfa.amsl.com>; Tue, 5 Nov 2019 04:00:51 -0800 (PST)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0D451208E6 for <netmod@ietf.org>; Tue, 5 Nov 2019 04:00:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=37133; q=dns/txt; s=iport; t=1572955251; x=1574164851; h=from:to:subject:date:message-id:mime-version; bh=mM5ov1R+m/OhvGpR2eNQjlhQy/OYmwhWEvtb15GiUmk=; b=Z7TU9bJE/BZN28hGQspB3DfsENig1UxtYO212niY7TZDq7xyHjQlhsvN M5yMh4Ws6EXSphq6KUHSxRAC2qW4wjeuvZe6H+UgVsyAbPwlig4b61m8R Hd3XIr78wlbMD7gzQwfIiXKzHbfrvm0g5U3CQAfLCiQ1LLuESohH6Qsmx g=;
IronPort-PHdr: 9a23:w9Fh5xCB+yoIkW5Fm8ySUyQJPHJ1sqjoPgMT9pssgq5PdaLm5Zn5IUjD/qgw3kTRU9Dd7PRJw6rNvqbsVHZIwK7JsWtKMdRXUgMdz8AfngguGsmAXETwIfPCZC0hF8MEX1hgrDm2
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BNAAAgZMFd/4ENJK1dCRsBAQEBAQEBBQEBAREBAQMDAQEBgWsFAQEBCwGBGy9QBWxYIAQLKoQpg0YDinpOgWsll36BLoEkA1QJAQEBDAEBLQIBAYRAAheDdyQ1CA4CAwsBAQQBAQECAQUEbYU3DIVRAQECAxIRHQEBOBEBCBEDAQEBIQEGAwIEMBQJCgQBEiKDAAGBeU0DLgECpGMCgTiIYHWBMoJ+AQEFgTgDC0ODAhiCFwmBNgGMEhiBf4ERJwwTgkw+hBsKAQElGRaCWjKCLI0OgnKFPCSCF5YDCoIkjGmDbIRnG4I8L5Z+jkOBQJgcAgQCBAUCDgEBBYFUATaBWHAVZQGCQVARFIMGg3OKU3SBKI4tgVJeAQE
X-IronPort-AV: E=Sophos;i="5.68,271,1569283200"; d="scan'208,217";a="662498971"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 05 Nov 2019 12:00:36 +0000
Received: from xch-rcd-011.cisco.com (xch-rcd-011.cisco.com [173.37.102.21]) by alln-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id xA5C0aEP008496 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 5 Nov 2019 12:00:36 GMT
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by XCH-RCD-011.cisco.com (173.37.102.21) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 5 Nov 2019 06:00:35 -0600
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 5 Nov 2019 06:00:35 -0600
Received: from NAM02-CY1-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.1473.3 via Frontend Transport; Tue, 5 Nov 2019 06:00:35 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EGGiOUnb7s23Ro6xSqDaFTwmwA5v7jZ2SmZ6koUI0mG6zpVS/whc04LCDUxqo3S8rEhMHOPp9LQ5xnk21xzrNu0cafdr+wyouPnrJZVL6h884cSRFsK02LgqIrvDBpeoS028nYDSorjZi7TSVla7jdYGPXOxLWK1Ih5o6UP3lkUbITYrvWWeOst9vxCIPnW1a5ybCmPtRFMVogdBGMRNbN4S3zQT31+ryuAfNW7c3DstwKkwkoQjq9X54QCPGQ/XV2/6CkQsM0VjHWwl7YpVBsKto3+uKovDUYqVbzuGl+lbj0pUZeLEp4F/R85GOQmJqYmTnocwdMcCWkh67Qj4Kg==
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=mM5ov1R+m/OhvGpR2eNQjlhQy/OYmwhWEvtb15GiUmk=; b=OmB/YaUim8OKGPFVtgLC1lw7fg+547nHmv+xlU0u8drMookcYu4UoBVDVSy3SXXCE6pGHjBM2A/qWQq6IK5OwG+l57NwqgoIULUrGseypMwMIK0gpPlncNrLR9JJCUEk9uIJDMl/m0ntpv/nWpYpH0fNfMZyK3RM1Hkdfct8y3oo8FMjabBlW11MKQd0d/w2AGoV5K7P4axMZ9UM29V4g5N7Wt/e/0Qr6CN1mwY9x1Jxlwj7CimHALHkZmlqxRX+zNXd1PmAmCfod2lHpUbkkjRlkxSJB/xB0QAFx0C0p8uf//Ui7xNyJrqrrEoqF48glx6CUtPxMlagjqnwhGxokA==
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=mM5ov1R+m/OhvGpR2eNQjlhQy/OYmwhWEvtb15GiUmk=; b=RE3GImnEXyp/RPD8ofGTbyT86ZJS6p0SI+dGK/UpaGlOStE+iOwOMRWebkfCjRdVAjRpuPcouQ3/nQPYk/HtnpcBM5pFKr7zarfZIOVvMvrYncUEa5ovMTbmcb5JUh9MpgYNT0FzaPvxyFB2D6zpsfObxUpY5iMTF0gu8HUXU6A=
Received: from MN2PR11MB4221.namprd11.prod.outlook.com (52.135.38.14) by MN2PR11MB4288.namprd11.prod.outlook.com (52.135.37.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Tue, 5 Nov 2019 12:00:34 +0000
Received: from MN2PR11MB4221.namprd11.prod.outlook.com ([fe80::218b:2d04:e653:105]) by MN2PR11MB4221.namprd11.prod.outlook.com ([fe80::218b:2d04:e653:105%7]) with mapi id 15.20.2408.024; Tue, 5 Nov 2019 12:00:32 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>, Stephen Cheng <Stephen.Cheng@Aviatnet.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Mail regarding draft-ietf-netmod-sub-intf-vlan-model
Thread-Index: AQHVk9CfpozA86+PlEyxhUIVYZv2rw==
Date: Tue, 05 Nov 2019 12:00:32 +0000
Message-ID: <1B6A68BC-1207-4143-BA07-330E774C3CA3@cisco.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: [2001:420:c0c4:1007::5e]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 92c13f0d-8858-47c1-ce90-08d761e7c298
x-ms-traffictypediagnostic: MN2PR11MB4288:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MN2PR11MB42882B968869FA101335D45FC27E0@MN2PR11MB4288.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:4941;
x-forefront-prvs: 0212BDE3BE
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(39860400002)(376002)(366004)(346002)(189003)(199004)(5660300002)(236005)(64756008)(110136005)(186003)(66476007)(81156014)(486006)(14454004)(102836004)(2906002)(81166006)(46003)(316002)(6486002)(6506007)(66446008)(66556008)(25786009)(478600001)(2501003)(99286004)(76116006)(53546011)(66946007)(6116002)(86362001)(6436002)(476003)(2616005)(6246003)(54896002)(6306002)(6512007)(71190400001)(8676002)(36756003)(9326002)(33656002)(7736002)(229853002)(256004)(14444005)(8936002)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4288; H:MN2PR11MB4221.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: BCL:0;
x-microsoft-antispam-message-info: Iwgxxt1/nw5nBXsTCQSxYNNF9841SujCsnZUiFrYyjH8nk8NKZw7jA0Ae4ySfijMeBoWw/ehbRLEc+D1XuIsjaDqQDJfyEYiEVBnohY3z0HiZZ36xEbcppOhlPLECPS3G/c9TEm32mjyxfTUFO2K9e/5+IWGZw2Su2qgAR/ho/60aaJXak3IXEN4PcN2DxbroBVU2q7HBZAATou4ppSEHe3+FqTbIi4Q2Dx9YbzkT5rPlJGOzbNx5c91HRukYFed+zgtgT22m/TZUsNM0xOWsHu7B1IFTt8tTp5WZv/QsirEM+BT9muveZRM2iuc3GAiWY5w1ggj7uaAKTVHWgq7dEeHG/BN/3joPvSLxyHb3DqPd6YgObEeN2NJd+JOwboW0bTzxc3EQcWTBGqL7S0bUAnGL0oni3RmJ8qBz7q4P2Lveoj4VMCtckotqwW06/Mj
Content-Type: multipart/alternative; boundary="_000_1B6A68BC12074143BA07330E774C3CA3ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 92c13f0d-8858-47c1-ce90-08d761e7c298
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2019 12:00:32.4749 (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: Em9ZXn3YfcoklZhyAG+MoAG6n19CiMtjB6Xnj7oeqVHgJmWEqn6vEN6fLaySjHja
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4288
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.21, xch-rcd-011.cisco.com
X-Outbound-Node: alln-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/1766DDDdDZgbw2dbuvKa8VIFF6w>
Subject: Re: [netmod] Mail regarding draft-ietf-netmod-sub-intf-vlan-model
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: Tue, 05 Nov 2019 12:00:55 -0000

Hi Rob,

Any update on getting the YANG tools issue resolved with the ieee802-dot1q-types.yang model in the search path?

Thanks,
Acee

From: netmod <netmod-bounces@ietf.org> on behalf of "Rob Wilton (rwilton)" <rwilton@cisco.com>
Date: Tuesday, November 5, 2019 at 4:50 AM
To: Stephen Cheng <Stephen.Cheng@Aviatnet.com>, "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Mail regarding draft-ietf-netmod-sub-intf-vlan-model

Hi Stephen,

I’ve just posted an updated version of this document.

The document is in WGLC, and I’m hoping that I can address any outstanding comments (including yours) over the next couple of weeks.

Kind regards,
Rob


From: netmod <netmod-bounces@ietf.org> On Behalf Of Stephen Cheng
Sent: 05 November 2019 02:30
To: netmod@ietf.org
Subject: [netmod] Mail regarding draft-ietf-netmod-sub-intf-vlan-model


Authors  of draft-ietf-netmod-sub-intf-vlan-model,

I noticed that the draft has expired, is there any intention to publish a new version in new future?

Secondly, I notice a possible problem in the examples in section 7.1/7.2.

In current (expired) draft, in section 7.1. we have in the example

       <interface>
         <name>eth0.1</name>
         <type>ianaift:l2vlan</type>
         <if-cmn:parent-interface>eth0</if-cmn:parent-interface>
         <if-cmn:encapsulation>
           <dot1q-vlan
            xmlns="urn:ietf:params:xml:ns:yang:ietf-if-l3-vlan">
             <outer-tag>
               <tag-type>dot1q-types:s-vlan</tag-type>
               <vlan-id>10</vlan-id>
             </outer-tag>

The type of of eth0.1 interface is defined as a l2vlan.

L2vlan is defined in RFC 7224 as follows, which means that l2vlan does not derive from ethernetCsmacd nor ieee8023adLag nor ethSubInterface:

identity l2vlan {

       base iana-interface-type;

       description

         "Layer 2 Virtual LAN using 802.1Q.";

     }


However in the current (expired) draft, ietf-if-l3-vlan@2019-03-05.yang<mailto:ietf-if-l3-vlan@2019-03-05.yang> says

     /*

      * Add support for the 802.1Q VLAN encapsulation syntax on layer 3

      * terminated VLAN sub-interfaces.

      */

     augment "/if:interfaces/if:interface/if-cmn:encapsulation/" +

             "if-cmn:encaps-type" {

       when

           "derived-from-or-self(../if:type,

                                 'ianaift:ethernetCsmacd') or

            derived-from-or-self(../if:type,

                                 'ianaift:ieee8023adLag') or

            derived-from-or-self(../if:type,

                                 'if-cmn:ethSubInterface')" {

         description

           "Applies only to Ethernet-like interfaces and

            sub-interfaces";

       }



       description

         "Augment the generic interface encapsulation with an

          basic 802.1Q VLAN encapsulation for sub-interfaces.";



       /*

        * Matches a single VLAN Id, or a pair of VLAN Ids to classify

        * traffic into an L3 service.

        */

       case dot1q-vlan {

         container dot1q-vlan {

           must

             'count(../../if-cmn:forwarding-mode) = 0 or ' +

             'derived-from-or-self(../../if-cmn:forwarding-mode,' +

                                   '"if-cmn:layer-3-forwarding")' {

               error-message

                 "If the interface forwarding-mode leaf is set then it

                  must be set to an identity that derives from

                  layer-3-forwarding";



               description

                 "The forwarding-mode leaf on an interface can

                  optionally be used to enforce consistency of

                  configuration";

             }





           description

             "Match VLAN tagged frames with specific VLAN Ids";

           container outer-tag {

             must

               'tag-type = "dot1q-types:s-vlan" or ' +

               'tag-type = "dot1q-types:c-vlan"' {



               error-message

                   "Only C-VLAN and S-VLAN tags can be matched";



               description

               "For IEEE 802.1Q interoperability, only C-VLAN and

                    S-VLAN tags can be matched";

             }



             description

               "Classifies traffic using the outermost VLAN tag on the

                frame.";



             uses dot1q-types:dot1q-tag-classifier-grouping;

           }


As such if the type of eth 0.1 is l2vlan should outer-tag etc be available to this interface, since l2vlan would not satisfy the “when” clause?

I believe there are similar issues for other interfaces too in section 7.1/7.2 examples.

Warm regards,
Stephen Cheng