Re: [yang-doctors] 2 yang beginner questions

"Mehmet Ersue" <mersue@gmail.com> Sat, 31 March 2018 11:57 UTC

Return-Path: <mersue@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A538129C6A for <yang-doctors@ietfa.amsl.com>; Sat, 31 Mar 2018 04:57:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 3o2tx7gNLcxD for <yang-doctors@ietfa.amsl.com>; Sat, 31 Mar 2018 04:57:45 -0700 (PDT)
Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D2EB7124C27 for <yang-doctors@ietf.org>; Sat, 31 Mar 2018 04:57:44 -0700 (PDT)
Received: by mail-wm0-x22a.google.com with SMTP id r82so20303627wme.0 for <yang-doctors@ietf.org>; Sat, 31 Mar 2018 04:57:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:content-language:thread-index; bh=uXRmzPgMV9S5frUVA9gyTPlrm0xzz2CSY8opB7OF0Ok=; b=J9St4PWcgx9bMIWDWNO/m+EUp9T4C5XDT1aldO+t7/PddpMoFbQhb5uFzvUIAi5ndR /1F14TLSFjsIV0WeAWCA6iNY8WmN9A60GzJrf7r6QMuBvSuIkZCsYXURYA4tUumzfS4R Ppxii0MQY9FmsFtdBeLSnim/h+6ZfLbZcIGS7Y86cbhnj1+F2Ts4psU/c3yC/v3zGY1Z n9rQRNb6bJpZhTM8IdsGWbA2bWRNS+dXX3XXVFijXnreiLicRRCYeI7oHpux5A6evaxG Q5HJHAYj8lHkAufOfjvPBvwxtqpPs0+1Bz2KqEwVQabmVgVp+ghC41TvBUKhwTCCcTgs t09Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:content-language :thread-index; bh=uXRmzPgMV9S5frUVA9gyTPlrm0xzz2CSY8opB7OF0Ok=; b=nyITAUO3uC9QADqy8vpBQA5RwdZB6+hgtGL4Cnb6ygE4vSF58Ylxi7T/cWYZT43q4n z+Udqv1+gyUIepN/VdBQd+LHvdZ06PQ6lPUjTleR1NDyiisOweeKQbhw94mn29mQsgy8 6qrJfvkKShyGLtyEjOLjNmnZNAtZDMOJm40hVVVuIJ+b4iIYMWKLNHq2fWYVzqTdZX/j OjO5d3sVzeJFiyPR+/SkP4hhsnEu4UpXdBnODGwDML5x71Z5VXFBoumpOuqAMjFwWMRZ WR7hUIYZ9IWlZ6Gq8lEPjfmDNvBeWYi6+p94SRc/suIlxH0Mu6JhcH7qXGox1ZLE6Ing pb0w==
X-Gm-Message-State: AElRT7GzB20wNWu4FrYf3YZfeH57zu1M4Bdqe7ma78F8avvlCvoIU/w6 fHkGDfQ6WSNYtbmcPwpWDpgjGzG/
X-Google-Smtp-Source: AIpwx4+JazvkkXWvBkBarH9K/LQaLeHz37+Uwunz6JFJuO4dAvf8nabMVbGW4w1RQp4YjoQ7bnIN4A==
X-Received: by 10.80.152.227 with SMTP id j90mr6199730edb.89.1522497463343; Sat, 31 Mar 2018 04:57:43 -0700 (PDT)
Received: from DESKTOPFLHJVQJ ([2001:16b8:2d98:4100:7dac:670c:1805:f781]) by smtp.gmail.com with ESMTPSA id b10sm6400045edk.32.2018.03.31.04.57.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 31 Mar 2018 04:57:42 -0700 (PDT)
From: Mehmet Ersue <mersue@gmail.com>
To: 'Toerless Eckert' <tte@cs.fau.de>, yang-doctors@ietf.org
References: <20180331030739.GB341@faui40p.informatik.uni-erlangen.de>
In-Reply-To: <20180331030739.GB341@faui40p.informatik.uni-erlangen.de>
Date: Sat, 31 Mar 2018 13:57:42 +0200
Message-ID: <004d01d3c8e7$79f9c910$6ded5b30$@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Content-Language: de
Thread-Index: AQLWj8iavEiUGohZqvTQUuy+V1lmsKHkrXNw
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/HsZnFKOtLgt-K-kPC-NSNvB7TK0>
Subject: Re: [yang-doctors] 2 yang beginner questions
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 31 Mar 2018 11:57:47 -0000

Dear Toerless,

at IETF we have only the netmod and yang-doctors maillists.
AFAIK so far on both lists people are keen of answering any kind of
questions.

In case you didn't know the "YANG Doctor's FAQ Page" just check it.
You can reach it via: 
https://datatracker.ietf.org/group/yangdoctors/about/

Cheers,
Mehmet

> -----Original Message-----
> From: yang-doctors <yang-doctors-bounces@ietf.org> On Behalf Of Toerless
> Eckert
> Sent: Saturday, March 31, 2018 5:08 AM
> To: yang-doctors@ietf.org
> Subject: [yang-doctors] 2 yang beginner questions
> 
> a) Is there some yang-users mailing list where i wouldn't have to bother
>    yang-doctors precious time with beginner questions, but rather seek
>    help from folks who may like me just be learning up yang themselves
>    (and be a bit ahead) ?
> 
>    Typically the most easiest way to learn something is to be subscribed
>    to a list where other beginners ask questions and get them answered too
;-
> )
> 
> b) https://tools.ietf.org/html/draft-ietf-anima-voucher-07
> 
>    I am confused about the best way to express an OR condition.
> 
>    container voucher {
>       leaf expires-on {
>          must "not(../nonce)"
>       }
>       leaf nonce {
>          must "not(../expires-on)"
>       }
>    }
> 
>    What we do WANT to achieve is that you may have at least one of
>    the leaf expires-on or nonce. Having both is fine too (inclusive or).
>    Just not having either is not permitted.
> 
>    Is this the correct syntax to do that ? Is that the preferred syntax to
do this
> ?
> 
> Thanks
>     Toerless
> 
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors