Re: [babel] Example configuration

Toke Høiland-Jørgensen <toke@toke.dk> Thu, 08 August 2019 20:20 UTC

Return-Path: <toke@toke.dk>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B1C2C1200A3 for <babel@ietfa.amsl.com>; Thu, 8 Aug 2019 13:20:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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 (2048-bit key) header.d=toke.dk
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 4GXJtcdiVYQM for <babel@ietfa.amsl.com>; Thu, 8 Aug 2019 13:20:44 -0700 (PDT)
Received: from mail.toke.dk (mail.toke.dk [52.28.52.200]) (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 B12B512002F for <babel@ietf.org>; Thu, 8 Aug 2019 13:20:44 -0700 (PDT)
From: Toke Høiland-Jørgensen <toke@toke.dk>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1565295641; bh=pkoZcpAnaUo6nYaId1kZswdBVa/N2uXOHEkTiEcM58o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=BrB8gHLsiLr0x89Qs6Bf3v8Umq9pDL6sZkm18S4rFciJyX8qH5A/4LCSXPVX3ueBU 4QjaNG+EePoYBkyzahrB/n4CGQ9YT3JhtEADAFMHx7h0ifhnH/xg9cn0iTK8DV3Axj WO4v5U0g3aMKVv53uQ7p2ErSYX5RUttJN1LhctUS/Na0vjSKnF5hocTKhrIjM489ha c3u7qrfmYGGWAENvIOZDYIQckjGMsq3wjGnAg0SVRGeE3S7/ihQi8xvZx4XDFLCKjL gG8YFTQOPgZgbnDgkIc7CEzLTZbHGtC4Islhb6FQ4GBqaOT5ae8a2qWRFzZC3yVxs8 WmcXnq7yvT9Ag==
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: "STARK, BARBARA H" <bs7652@att.com>, Babel at IETF <babel@ietf.org>, Juliusz Chroboczek <jch@irif.fr>
In-Reply-To: <110D87BA-BBA1-417B-9BC3-77BAD4B201D1@gmail.com>
References: <E726ED50-6D90-4537-B237-6E52D375F50B@gmail.com> <8736itu6j8.wl-jch@irif.fr> <0E0A89B7-3D7A-4605-8776-2CF685B268B0@gmail.com> <877e7qaxte.wl-jch@irif.fr> <1C6F628C-7A3C-4D66-9930-9F0244A20722@gmail.com> <8736ieasm6.wl-jch@irif.fr> <EF249683-1BB0-4686-A77A-847E64E4EA50@gmail.com> <87pnlhaixh.wl-jch@irif.fr> <2D09D61DDFA73D4C884805CC7865E6114E257961@GAALPA1MSGUSRBF.ITServices.sbc.com> <0B28A1FA-32B4-41E6-B646-C6A3907E9CCC@gmail.com> <2D09D61DDFA73D4C884805CC7865E6114E258CF7@GAALPA1MSGUSRBF.ITServices.sbc.com> <B2CE14DA-DEDA-40FB-AA96-FB4009F5FA19@gmail.com> <2D09D61DDFA73D4C884805CC7865E6114E25905B@GAALPA1MSGUSRBF.ITServices.sbc.com> <87lfw3u52i.fsf@toke.dk> <110D87BA-BBA1-417B-9BC3-77BAD4B201D1@gmail.com>
Date: Thu, 08 Aug 2019 22:20:40 +0200
X-Clacks-Overhead: GNU Terry Pratchett
Message-ID: <87ftmbs92f.fsf@toke.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/ic0n0qyHKr_8rXa5Nbzwpdp2KJI>
Subject: Re: [babel] Example configuration
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Aug 2019 20:20:47 -0000

Mahesh Jethanandani <mjethanandani@gmail.com> writes:

> Hi Toke,
>
>> On Aug 8, 2019, at 7:04 AM, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
>> 
>> Why is this complexity needed? Couldn't it just be solved in the user
>> interface, something like:
>> 
>> An input form contains these four entries:
>>          [string               rw babel-interface-metric-algorithm;]
>>          [boolean               rw babel-interface-split-horizon;]
>>          [boolean               rw babel-interface-rtt;]
>>          [boolean               rw babel-interface-unicast;]
>
> While seemingly more complex, it is not. First of all, with your
> proposed schema, if you need the same presets for multiple interfaces,
> you would be having to repeat them for multiple interfaces. Secondly,
> there is no way in YANG to define a set of presets, so there will be
> no drop down menu to select from.

These both sound like UI issues rather than configuration protocol
issues. I'm not familiar with how YANG works, but from this it sounds
like a UI cannot deviate from what is defined in the YANG model?

> We were going to document the three or four well known presets.
> Thirdly, while these names and values may make sense to us, they may
> not to an operator, who might want to configure their own set of
> presets.

But how does this work in the case where nothing is set on the
management interface, the implementation auto-detect the interface type,
and fills out the defaults based on the type? As Juliusz explained, the
preset keyword cannot generally be inferred from the set values, so what
is the info model / management interface supposed to do in this case?

-Toke