Re: [yang-doctors] YANG QUIC-LB model
Ladislav Lhotka <ladislav.lhotka@nic.cz> Tue, 02 February 2021 07:49 UTC
Return-Path: <ladislav.lhotka@nic.cz>
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 684673A181E
for <yang-doctors@ietfa.amsl.com>; Mon, 1 Feb 2021 23:49:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
header.d=nic.cz
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 rq4UCio3pex6 for <yang-doctors@ietfa.amsl.com>;
Mon, 1 Feb 2021 23:49:56 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400])
(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 941BC3A181B
for <yang-doctors@ietf.org>; Mon, 1 Feb 2021 23:49:55 -0800 (PST)
Received: from localhost (unknown [IPv6:2001:1488:fffe:6:a88f:7eff:fed2:45f8])
by mail.nic.cz (Postfix) with ESMTPSA id DB59B1420CE;
Tue, 2 Feb 2021 08:49:51 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default;
t=1612252192; bh=7ah7J2IIfxuFRgFHLB32kJYQEBQgbKba0R978GnwO0M=;
h=From:To:Date;
b=EoYp/xOs+VnpAk143aZbw0xN+/81zrWJsdc/d0ZJf52T+ePe1RXATmFNJTmGqxcQW
b+1IWkIX+aAleqCtgzrycAlJkSmvwinxmhMXWnl5sRCg95tPL4cKlr/aPHaRqbFEih
ZbRomsJuzpmw+AmJbeYrosVuSO5vjTZ6PIofQzPs=
From: Ladislav Lhotka <ladislav.lhotka@nic.cz>
To: Martin Duke <martin.h.duke@gmail.com>, yang-doctors@ietf.org
In-Reply-To: <CAM4esxQasY3G6c6j73KLTOFssbNnowRnZxApzAH_yY1qiNBe4A@mail.gmail.com>
References: <CAM4esxQasY3G6c6j73KLTOFssbNnowRnZxApzAH_yY1qiNBe4A@mail.gmail.com>
Date: Tue, 02 Feb 2021 08:49:51 +0100
Message-ID: <87bld26h9c.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: clamav-milter 0.102.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/gR7LCdICSTP7DUg6CU5Cy4IAx40>
Subject: Re: [yang-doctors] YANG QUIC-LB model
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 02 Feb 2021 07:49:58 -0000
Hi, just responding to your question near the end. Martin Duke <martin.h.duke@gmail.com> writes: > Hello yang-doctors, > > I don't know that this rises to the level of a full review, but the QUIC-LB > draft (currently adopted by the QUIC WG) is basically a standard for > configuration of QUIC Load Balancers and servers to work together. After > much reluctance to take on a format I don't understand, I took a shot at a > YANG model: > > https://github.com/quicwg/load-balancers/blob/yang/draft-ietf-quic-load-balancers.md > > (The YANG stuff is in an appendix near the end -- search for #yang-model). > > Before we talk about a full review where you labor to understand the data > items, I'd appreciate an informal quick sanity check that I am doing this > roughly correctly, as I have zero experience with YANG. > > One other silly question: I have a field whose length depends on other > fields. Can you give me an example on how to express this correctly? e.g. > > leaf foo-length { > type uint8 > } > > leaf foo { > type yang:hex-string { > length foo-length; > } > } leaf foo { type yang:hex-string; must "string-length(.) = ../foo-length"; } Lada > > Thanks, > Martin > _______________________________________________ > yang-doctors mailing list > yang-doctors@ietf.org > https://www.ietf.org/mailman/listinfo/yang-doctors -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67
- [yang-doctors] YANG QUIC-LB model Martin Duke
- Re: [yang-doctors] YANG QUIC-LB model Ladislav Lhotka
- Re: [yang-doctors] YANG QUIC-LB model Martin Björklund
- Re: [yang-doctors] YANG QUIC-LB model Jan Lindblad
- Re: [yang-doctors] YANG QUIC-LB model Ladislav Lhotka
- Re: [yang-doctors] YANG QUIC-LB model Martin Duke