[netmod] Interaction of 'when' and 'default' statements

William Ivory <wivory@Brocade.com> Wed, 22 March 2017 17:36 UTC

Return-Path: <wivory@Brocade.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 C13C2129B95 for <netmod@ietfa.amsl.com>; Wed, 22 Mar 2017 10:36:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-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 M70UdLrAGCsF for <netmod@ietfa.amsl.com>; Wed, 22 Mar 2017 10:35:59 -0700 (PDT)
Received: from mx0a-000f0801.pphosted.com (mx0b-000f0801.pphosted.com [IPv6:2620:100:9005:71::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4ECFF129B97 for <netmod@ietf.org>; Wed, 22 Mar 2017 10:35:59 -0700 (PDT)
Received: from pps.filterd (m0000700.ppops.net [127.0.0.1]) by mx0b-000f0801.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v2MHRxMY022126 for <netmod@ietf.org>; Wed, 22 Mar 2017 10:35:56 -0700
Received: from brmwp-exmb12.corp.brocade.com ([208.47.132.227]) by mx0b-000f0801.pphosted.com with ESMTP id 29b9vj62ny-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <netmod@ietf.org>; Wed, 22 Mar 2017 10:35:56 -0700
Received: from EMEAWP-EXMB12.corp.brocade.com (172.29.11.86) by BRMWP-EXMB12.corp.brocade.com (172.16.59.130) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 22 Mar 2017 11:35:53 -0600
Received: from EMEAWP-EXMB12.corp.brocade.com (172.29.11.86) by EMEAWP-EXMB12.corp.brocade.com (172.29.11.86) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 22 Mar 2017 18:35:52 +0100
Received: from EMEAWP-EXMB12.corp.brocade.com ([fe80::44d8:98be:88a6:417a]) by EMEAWP-EXMB12.corp.brocade.com ([fe80::44d8:98be:88a6:417a%23]) with mapi id 15.00.1210.000; Wed, 22 Mar 2017 18:35:52 +0100
From: William Ivory <wivory@Brocade.com>
To: "netmod@ietf. org netmod@ietf.org netmod@ietf. org (netmod@ietf.org)" <netmod@ietf.org>
CC: Nick Brown <brownn@Brocade.com>
Thread-Topic: Interaction of 'when' and 'default' statements
Thread-Index: AdKjMZ0ImM/a65bBTgeHa23x/dyvHw==
Date: Wed, 22 Mar 2017 17:35:28 +0000
Deferred-Delivery: Wed, 22 Mar 2017 17:30:25 +0000
Message-ID: <ae8d8d4e64e34dc8bb21fac7d90eb2c0@EMEAWP-EXMB12.corp.brocade.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.27.212.188]
Content-Type: multipart/alternative; boundary="_000_ae8d8d4e64e34dc8bb21fac7d90eb2c0EMEAWPEXMB12corpbrocade_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-03-22_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1703220147
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/WRuE2R3u0Vi6_AxSOpXZfK1CguE>
Subject: [netmod] Interaction of 'when' and 'default' statements
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: Wed, 22 Mar 2017 17:36:01 -0000

Hi,

I'm looking for clarification of the 'when' and 'default' statements on a leaf.  For example, if a leaf has a 'default', can it also have a 'when' statement that could cause it to disappear if the 'when' condition evaluates to false?  Section 8.3 or RFC 6020 isn't clear on how evaluation of constraints should be done here, and neither the section on the 'when' statement nor the 'default' section have any cross-references.

Thanks,

William