Re: [babel] Example configuration

Mahesh Jethanandani <mjethanandani@gmail.com> Thu, 08 August 2019 14:35 UTC

Return-Path: <mjethanandani@gmail.com>
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 CAB9D12006D for <babel@ietfa.amsl.com>; Thu, 8 Aug 2019 07:35:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=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 7XioMK12-STt for <babel@ietfa.amsl.com>; Thu, 8 Aug 2019 07:35:09 -0700 (PDT)
Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (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 655401200E6 for <babel@ietf.org>; Thu, 8 Aug 2019 07:34:56 -0700 (PDT)
Received: by mail-pg1-x532.google.com with SMTP id n9so37947508pgc.1 for <babel@ietf.org>; Thu, 08 Aug 2019 07:34:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=K3Q1r4jvBPjX7S9zPSWibIkW46+k9hzkjyTUYJemsEo=; b=neF0lQVtJcR3y/qD3AZkDAYm1eAo9j3O+L2SeMLivQGJsFUMLc3pjRzyOgAwB/minD CewVC8QYg4/+ZQuTWrSgFLdU63wMSu75nigCUwlHv8K99Os06tYxXTKDWs5K+E6R7i6W zi2bfgnby1M27k6uQMtS1u0NiOr385V7Jv5vA7u3Y3NLTIJ7aS8RWZKVCZpRXaUmYewH 7dq7xwR4fSLhMO0b+lYPLqR/s/pPgQ7yWlU+7DLY0EGQoXmoesNp9jLGt6smjvceIiCH 1Dxbmez2tYh96co/TvSDFCUFEklNndl3inYevcCznqmQG3ZObsye5cMmeKvoIr/gv7C4 aFCA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=K3Q1r4jvBPjX7S9zPSWibIkW46+k9hzkjyTUYJemsEo=; b=t2IBofHJXoi3ABexi+W462DpkBZanIB6aGEwQR7z/gKZoqqpvoAvmpw8MnU7xQnNDJ dvjRuObyNuXtu4b0OGWe8rvy95oo2hacPdlC3dHVo3QPfLthTySwaLm3/jqTAfYF8Jy6 kVOtPm0t4mIsG1Go9FgqvIVnQzgBzAgiSIlFIP+IARRy1qYPrrvijZ89YpBvClb/qllM CW9py0K0MoCg8VwDe/TJ0d3u4uqiVLjgFY5rbVM/XEqg2PbrIuTFuDC4aQLGfGyCQ+5o 1CnlFlAcWVtGnDX2VjBBM6+cTztxIRQOf3jkWpznH80HZSQdZX8ER7b82WQMyOknshul eZ9w==
X-Gm-Message-State: APjAAAXG8Ou9VilhPDIPxmav2ZlLXgcCsC1Gwc0MrC7KntifIP/KxPoa RUQIT/u77seJihp1FaBhd5zzz62c
X-Google-Smtp-Source: APXvYqxmPK5SqlMnBqKIrbhm+xd9AVySAGZyolSylI1c70waBsBftxTcQXQzb2M14m8hD0Yxq+iT1A==
X-Received: by 2002:aa7:92d2:: with SMTP id k18mr15808683pfa.153.1565274895828; Thu, 08 Aug 2019 07:34:55 -0700 (PDT)
Received: from [192.168.1.122] (c-73-93-49-153.hsd1.ca.comcast.net. [73.93.49.153]) by smtp.gmail.com with ESMTPSA id o128sm102235373pfb.42.2019.08.08.07.34.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Aug 2019 07:34:52 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <110D87BA-BBA1-417B-9BC3-77BAD4B201D1@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_6C3DA098-3EC0-4528-93C4-7360C10C4EF0"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Thu, 08 Aug 2019 07:34:50 -0700
In-Reply-To: <87lfw3u52i.fsf@toke.dk>
Cc: "STARK, BARBARA H" <bs7652@att.com>, Babel at IETF <babel@ietf.org>, Juliusz Chroboczek <jch@irif.fr>
To: Toke Høiland-Jørgensen <toke@toke.dk>
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>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/qwCtnkp08t8TqEsgYSK7WtRZgzQ>
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 14:35:11 -0000

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. 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.

Cheers.

> 
> Underneath those four input boxes is another dropdown box (or whatever)
> with the presets ("wireless", "wired", "tunnel", etc). Selecting one of
> these just fills in the preset values into the four input boxes above
> it, which the user can then either just accept, or change individual
> values as he or she pleases.
> 
> This way, the information model doesn't need to know anything about the
> groups or preset names, it just carries the values...
> 
> -Toke

Mahesh Jethanandani
mjethanandani@gmail.com