Re: [netmod] I-D Action: draft-ietf-netmod-sub-intf-vlan-model-01.txt
Vladimir Vassilev <vladimir@transpacket.com> Thu, 15 June 2017 11:59 UTC
Return-Path: <vladimir@transpacket.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 99F82129BCE for <netmod@ietfa.amsl.com>; Thu, 15 Jun 2017 04:59:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 I3FSPO5XF0SY for <netmod@ietfa.amsl.com>; Thu, 15 Jun 2017 04:59:33 -0700 (PDT)
Received: from mail.transpacket.com (s91205186171.blix.com [91.205.186.171]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BE570129BC7 for <netmod@ietf.org>; Thu, 15 Jun 2017 04:59:32 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.transpacket.com (Postfix) with ESMTP id B9F801540982; Thu, 15 Jun 2017 13:59:30 +0200 (CEST)
Received: from mail.transpacket.com ([127.0.0.1]) by localhost (mail.transpacket.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 508L9_ZzeFwN; Thu, 15 Jun 2017 13:59:30 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by mail.transpacket.com (Postfix) with ESMTP id 867DA1540984; Thu, 15 Jun 2017 13:59:30 +0200 (CEST)
Received: from mail.transpacket.com ([127.0.0.1]) by localhost (mail.transpacket.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 4766b7cBo8gb; Thu, 15 Jun 2017 13:59:30 +0200 (CEST)
Received: from [192.168.209.116] (s1853520235.blix.com [185.35.202.35]) by mail.transpacket.com (Postfix) with ESMTPSA id 603E41540982; Thu, 15 Jun 2017 13:59:30 +0200 (CEST)
To: netmod@ietf.org, Robert Wilton <rwilton@cisco.com>
References: <148943391240.20421.7015046968650807465@ietfa.amsl.com>
From: Vladimir Vassilev <vladimir@transpacket.com>
Message-ID: <d8118ca7-92f7-ce53-50a0-fd1a15181e4b@transpacket.com>
Date: Thu, 15 Jun 2017 13:59:30 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0
MIME-Version: 1.0
In-Reply-To: <148943391240.20421.7015046968650807465@ietfa.amsl.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ycSnhEM41xgjrXqb5ZFZwz_BZRI>
Subject: Re: [netmod] I-D Action: draft-ietf-netmod-sub-intf-vlan-model-01.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 15 Jun 2017 11:59:36 -0000
Hello, There is a problem with a mutually exclusive 'when' statements for the /interfaces/inteface/encapsulation container in ietf-interfaces-common@2017-03-13.yang (draft-ietf-netmod-intf-ext-yang-04) and ietf-if-l3-vlan@2017-03-13.yang models causing error with our validation tools. As defined in ietf-interfaces-common@2017-03-13.yang: ... container encapsulation { 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, 'ianaift:pos') or derived-from-or-self(../if:type, 'ianaift:atmSubInterface') or derived-from-or-self(../if:type, 'ethSubInterface')" { ... and here augmented in ietf-if-l3-vlan@2017-03-13.yang: augment "/if:interfaces/if:interface/if-cmn:encapsulation/" + "if-cmn:encaps-type" { when "../if:type = 'ianaift:l2vlan' and derived-from-or-self(../if-cmn:forwarding-mode, 'if-cmn:network-layer')" { Short term fix I use is to add "or derived-from-or-self(../if:type, 'ianaift:l2vlan')" to the ietf-interfaces-common definition. Vladimir On 03/13/2017 08:38 PM, 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 NETCONF Data Modeling Language of the IETF. > > Title : Sub-interface VLAN YANG Data Models > Authors : Robert Wilton > David Ball > Tapraj Singh > Selvakumar Sivaraj > Filename : draft-ietf-netmod-sub-intf-vlan-model-01.txt > Pages : 27 > Date : 2017-03-13 > > Abstract: > This document defines YANG modules to add support for classifying > traffic received on interfaces as Ethernet/VLAN framed packets to > sub-interfaces based on the fields available in the Ethernet/VLAN > frame headers. These modules allow configuration of Layer 3 and > Layer 2 sub-interfaces (e.g. attachment circuits) that can > interoperate with IETF based forwarding protocols; such as IP and > L3VPN services; or L2VPN services like VPWS, VPLS, and EVPN. The > sub-interfaces also interoperate with VLAN tagged traffic orginating > from an IEEE 802.1Q compliant bridge. Primarily the classification > is based on VLAN identifiers in the 802.1Q VLAN tags, but the model > also has support for matching on some other layer 2 frame header > fields and is designed to be extensible to match on other arbitrary > header fields. > > The model differs from an IEEE 802.1Q bridge model in that the > configuration is interface/sub-interface based as opposed to being > based on membership of an 802.1Q VLAN bridge. > > > The IETF datatracker status page for this draft is: > https://datatracker.ietf.org/doc/draft-ietf-netmod-sub-intf-vlan-model/ > > There's also a htmlized version available at: > https://tools.ietf.org/html/draft-ietf-netmod-sub-intf-vlan-model-01 > > A diff from the previous version is available at: > https://www.ietf.org/rfcdiff?url2=draft-ietf-netmod-sub-intf-vlan-model-01 > > > 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/ > > _______________________________________________ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod
- [netmod] I-D Action: draft-ietf-netmod-sub-intf-v… internet-drafts
- Re: [netmod] I-D Action: draft-ietf-netmod-sub-in… Vladimir Vassilev
- Re: [netmod] I-D Action: draft-ietf-netmod-sub-in… Robert Wilton
- Re: [netmod] I-D Action: draft-ietf-netmod-sub-in… Vladimir Vassilev
- Re: [netmod] I-D Action: draft-ietf-netmod-sub-in… Robert Wilton