Re: [babel] Example configuration

Mahesh Jethanandani <mjethanandani@gmail.com> Wed, 07 August 2019 19:51 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 9C65D120152 for <babel@ietfa.amsl.com>; Wed, 7 Aug 2019 12:51:12 -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 V-8xIddU8R3w for <babel@ietfa.amsl.com>; Wed, 7 Aug 2019 12:51:10 -0700 (PDT)
Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (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 216DA120073 for <babel@ietf.org>; Wed, 7 Aug 2019 12:51:10 -0700 (PDT)
Received: by mail-pl1-x629.google.com with SMTP id ay6so42382327plb.9 for <babel@ietf.org>; Wed, 07 Aug 2019 12:51:10 -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=Y3IqXhIpGSHFEoCRp0oGOjoiA7XiRn7nxN7mM3zNE7g=; b=MbVP6qehtP6qw9MkfQzBt//KmxnmEbdX07Pg3zZNu2gDMyUFJPBvQXrO1aafcvySxC TTmSWgslaMKX3NqaUTDJRR+lVV704Q0o8s4UD/8pAbmrwOU47Ez/0Dp6bYcsPiuqYkAJ OQAuT0KvOXfmpVjBVpu+hgSmm3pT6OeCAQbpac+aKUmWyNOAwg6O/P4uMs94NnEYYT79 JGhln5LFQ+J65WsfHRQ3hHLro7koeIxxe/ImVjpUjIgqjYSM2L39jSF0auN6VB8j2OdZ /Iz6/uGCLapIuGkRNmV8GcDkWhTyPwUxxrHYbf22PZMYJxolL1VDxgt+8v7hdoanoh3L qGpw==
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=Y3IqXhIpGSHFEoCRp0oGOjoiA7XiRn7nxN7mM3zNE7g=; b=Yc1Mmo/N2tlSM2qJOXkDzXjtLo3LmE5tUOkisxxoyZPz+bKYPTfoaVUItfSO71mEgG r1h44mbGn+siuos9eGJV6HH66xS0dyipPxqda/kUgeh4iLP86g7sWEJersj0BpMa/npl r4WxOnGbpjlx9bWDJOlFKydkP/XOySY1jP2KGAuNgv4ujqHTYOKTsD04ZKhrJQJQXpFe peP/Qi+HbqN87Qdv5lYS4voxwmAk4ToKM4K4uK6XYWDY+pSSClP54sGDXkYgYgQEQ8B3 8WGc+2kDOsqQiCqeRSTqVyMb5gS1ye0fruMFV8XnDU9jiXEMrPemnXKr557vHKLb1iC1 6pPg==
X-Gm-Message-State: APjAAAVrQ+qn2wwVwNIseHZ6CFRHzxaBvx2eX904wdnmtz5pwip7EEkC r4tD/DAAg1sAyXagkA4c7tw=
X-Google-Smtp-Source: APXvYqw/MMSVbLLW+dPBlJzL0zOP6f2Yp4Y6fxR4ANCCf8L5Q7hFEIzEPl11l6dktiPzGe3LYUxw9g==
X-Received: by 2002:a17:902:9f93:: with SMTP id g19mr9604214plq.223.1565207469531; Wed, 07 Aug 2019 12:51:09 -0700 (PDT)
Received: from [10.33.122.240] ([66.170.99.1]) by smtp.gmail.com with ESMTPSA id a3sm94325352pfo.49.2019.08.07.12.51.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Aug 2019 12:51:08 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <B2CE14DA-DEDA-40FB-AA96-FB4009F5FA19@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_3C4960D2-C31C-4F53-8CE5-D0610D32CD30"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Wed, 07 Aug 2019 12:51:07 -0700
In-Reply-To: <2D09D61DDFA73D4C884805CC7865E6114E258CF7@GAALPA1MSGUSRBF.ITServices.sbc.com>
Cc: Juliusz Chroboczek <jch@irif.fr>, Babel at IETF <babel@ietf.org>
To: "STARK, BARBARA H" <bs7652@att.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>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/DBpgniCC_kaoonKQTJ2aj__m4O8>
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: Wed, 07 Aug 2019 19:51:13 -0000


> On Aug 7, 2019, at 11:55 AM, STARK, BARBARA H <bs7652@att.com> wrote:
> 
>  
> 
>  
> What I had in mind for the updates to the information model are step 5. If the operator needs to update link-quality, or flip on split-horizon, or set a RTT estimate value, or specify whether they want to use unicast instead of multicast, or any combination thereof for a particular interface, they would create a new babel-link-properties object and associate that with the interface.
> 
> Can we agree on the changes to the information model I suggested yesterday?
>  
> <bhs> Let me see if I understand... Does it have to be a “new” babel-link-properties instance, or can it be one that exists?
>  
> That is, if we had an object called babel-link-properties 
>      object {
>           string                rw babel-link-properties-name;
>           [string               rw babel-interface-metric-algorithm;]
>           [boolean               rw babel-interface-split-horizon;]
>           [boolean               rw babel-interface-rtt;]
>           [boolean               rw babel-interface-unicast;]
>       } babel-hmac-keys-obj babel-link-properties;

[mj] with the corrections marked in red.

>  
> Where the implementation may create some set of initial entries that its developers have decided to e.g. name “wired”, “wireless”, “tunnel” (but some other implementation may give a different name to the same group of parameter values). link-properties-name must be unique (and not empty or NULL), but also no 2 instances are allowed to have the same set of values for the latter 4 parameters. Once an instance is created it cannot be modified. If it is referenced from an interface or was created by the implementation, it cannot be deleted. This makes instances created by the implementation immutable.
> This object can be written (new instances created with different combinations of values and a different name, like “unicast-wired”).
> An interface will have a reference to one of these instances, to identify the set of link-properties it uses. It’s allowed to modify which set of link-properties is used/referenced by an interface.
>  
> Is that right? And did you say you wanted it under interface or under the base? I think it would make sense under base. Juliusz, I think this approach (if it’s what Mahesh meant) would provide the benefits of allowing users to use more meaningful names for groups of link properties, allow use of names that babeld has already popularized among its users while allowing other implementations to use different names (names aren’t standardized), and isn’t very complicated. It does make it harder if the user wants to just change one of the link properties and not others (they might have to create a new instance). But it makes it easier for the user who wants to change from one grouping of properties to another.

[mj] Yes, that is what the intention of the change was. Note, I did want instances of babel-link-properties to exist under the base (babel-informtion-obj). In babel-interface-obj we only reference one of those instances:

object {
          ….
          [babel-link-properties   rw babel-link-properties<0..*>;]

} babel-information-obj;

object {
         [reference                      rw  babel-link-properties;]
          …..
} babel-interface-obj;

> Barbara

Mahesh Jethanandani
mjethanandani@gmail.com