Re: [babel] Example configuration

"STARK, BARBARA H" <bs7652@att.com> Tue, 13 August 2019 22:51 UTC

Return-Path: <bs7652@att.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 C45EE1208FD for <babel@ietfa.amsl.com>; Tue, 13 Aug 2019 15:51:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Eeg8icwJRg9z for <babel@ietfa.amsl.com>; Tue, 13 Aug 2019 15:51:27 -0700 (PDT)
Received: from mx0a-00191d01.pphosted.com (mx0a-00191d01.pphosted.com [67.231.149.140]) (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 E515A1208C2 for <babel@ietf.org>; Tue, 13 Aug 2019 15:51:26 -0700 (PDT)
Received: from pps.filterd (m0048589.ppops.net [127.0.0.1]) by m0048589.ppops.net-00191d01. (8.16.0.27/8.16.0.27) with SMTP id x7DMjwpT001799; Tue, 13 Aug 2019 18:51:25 -0400
Received: from alpi154.enaf.aldc.att.com (sbcsmtp6.sbc.com [144.160.229.23]) by m0048589.ppops.net-00191d01. with ESMTP id 2uc65e88xb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Aug 2019 18:51:24 -0400
Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi154.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id x7DMpNPt003732; Tue, 13 Aug 2019 18:51:23 -0400
Received: from zlp30483.vci.att.com (zlp30483.vci.att.com [135.47.91.189]) by alpi154.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id x7DMpJtv003655 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 13 Aug 2019 18:51:19 -0400
Received: from zlp30483.vci.att.com (zlp30483.vci.att.com [127.0.0.1]) by zlp30483.vci.att.com (Service) with ESMTP id 376E24014661; Tue, 13 Aug 2019 22:51:19 +0000 (GMT)
Received: from GAALPA1MSGHUBAH.ITServices.sbc.com (unknown [130.8.218.157]) by zlp30483.vci.att.com (Service) with ESMTPS id 1F2DB40135E9; Tue, 13 Aug 2019 22:51:19 +0000 (GMT)
Received: from GAALPA1MSGUSRBF.ITServices.sbc.com ([169.254.5.84]) by GAALPA1MSGHUBAH.ITServices.sbc.com ([130.8.218.157]) with mapi id 14.03.0439.000; Tue, 13 Aug 2019 18:51:18 -0400
From: "STARK, BARBARA H" <bs7652@att.com>
To: 'Mahesh Jethanandani' <mjethanandani@gmail.com>, 'Juliusz Chroboczek' <jch@irif.fr>
CC: 'Toke Høiland-Jørgensen' <toke@toke.dk>, 'Babel at IETF' <babel@ietf.org>
Thread-Topic: [babel] Example configuration
Thread-Index: AQHVQysP27rmDxHNmE+dOkameIFP66bcIv6AgBKtMoCAAAmwgIAACWOAgAAV/4CAAC8QgIAAC2UAgABwxXCAAK2IgP//vsCAgABe24D//71TQIABdAyAgAAImACAAGCgAIAAGqGAgAAFboCAB5bYgIAABZVQ
Date: Tue, 13 Aug 2019 22:51:18 +0000
Message-ID: <2D09D61DDFA73D4C884805CC7865E6114E2680FE@GAALPA1MSGUSRBF.ITServices.sbc.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> <87ftmbs92f.fsf@toke.dk> <26F1A0CD-1FD2-456E-B295-8A60D93CF8E0@gmail.com> <87sgqbmhhe.wl-jch@irif.fr> <F30C9756-5104-4A43-BDD9-008FF3011362@gmail.com>
In-Reply-To: <F30C9756-5104-4A43-BDD9-008FF3011362@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [130.10.230.113]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-08-13_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908130213
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/xvYZIb03pU7OKPtP9guvP8u21D4>
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: Tue, 13 Aug 2019 22:51:29 -0000

I've been ruminating long and hard on this idea of abstracting the link properties.
I'm thinking this abstraction really is too complex, and I'd prefer to just stick with the properties under interface.
But, I think it would be reasonable to add language that describes what link characteristics make a particular choice preferred over other choices.
If a user really wants to change one of these (and Babel is designed not to require manual changes to link properties in most cases), then they just need to know what they're doing. 
Complexities creep in wrt user language (so users do need to customize the name, which means it can't be immutable), growing permutations as more properties are defined, etc.

Language I suggest:

   babel-metric-comp-algorithms:  List of supported cost computation
      algorithms.  Possible values include "2-out-of-3", and "ETX".
      "2-out-of-3" (a specific case of K-out-of-j ) link sensing is suitable for wired links that are either
       up, in which case they only occasionally drop a packet, or down, in
       which case they drop all packets. "ETX" is a link-quality estimation algorithm that is
       designed to work well with the IEEE 802.11 MAC.

   babel-interface-split-horizon:  Indicates whether or not the split
      horizon optimization is used when calculating metrics on this
      interface.  A value of true indicates split horizon optimization
      is used. Split horizon optimization is useful when running over a
      transitive, symmetric link technology, e.g., a
      point-to-point link or a wired LAN technology such as Ethernet. 
      It is not appropriate for links not known to be symmetric and transitive; in particular,
      split horizon is not appropriate for decentralized wireless link
      technologies (e.g., IEEE 802.11 in ad hoc mode) when routing updates
      are sent over multicast.

Barbara

> >> In the second example, the operator will define a
> >> babel-link-properties-obj, call it “radio” or “wireless” or anything
> >> they want, and within that object set the
> >> babel-interface-metric-algorithm (because it a mandatory parameter),
> >> and set the babel-split-horizon to false. They will then associate “radio”
> object with eth1 interface.
> >
> > Can the UI simulate the babel-link-properties-obj without it being
> > part of the model?
> 
> Before I answer that question, let me know if the following answers help. If
> they do not, I am afraid that we will need a whiteboard discussion on
> management interface and the role YANG plays in it.
> 
> >
> > I.e. the operator defines a set of values called "radio", this set
> > only exists within the UI.
> 
> “radio” in my example is what you call UIs, just like “wireless”. Therefore
> when you say “set of values called “radio””, I read it as set of link properties
> that you want to club together and associate with a name, and that name is
> “radio". Is that correct?
> 
> > The operator then applies "radio" to a number of interfaces, and the
> > frontend applies the individual values contained in the "radio"
> > dictionary to each of those interfaces.
> 
> 
> But that is exactly what the new babel-link-properties-obj allows you to do. It
> allows you to define any number of babel-link-properties-obj, and name
> them whatever you want, e.g. “radio”, “wired”, “wireless” etc, or what you
> call “UI". In each of the babel-link-properties-obj you set the properties you
> want, e.g. split horizon, rtt, etc.  As a final step you associate any of the
> defined UI with any number of interfaces. When you associate the given UI
> with an interface, all the link properties defined as part of that UI are then
> applied on the interface.
> 
> Did that answer your question, or confuse you even more?
> 
> >
> > Or does YANG require that the UI reflect the model?
> 
> >
> > -- Juliusz
> 
> Mahesh Jethanandani
> mjethanandani@gmail.com
> 
>