Re: [babel] I-D Action: draft-ietf-babel-information-model-08.txt

"STARK, BARBARA H" <bs7652@att.com> Tue, 13 August 2019 13:08 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 DD953120154 for <babel@ietfa.amsl.com>; Tue, 13 Aug 2019 06:08:57 -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 7qDYcy_AKplM for <babel@ietfa.amsl.com>; Tue, 13 Aug 2019 06:08:56 -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 6E74D120147 for <babel@ietf.org>; Tue, 13 Aug 2019 06:08:56 -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 x7DD4nix020101; Tue, 13 Aug 2019 09:08:55 -0400
Received: from alpi154.enaf.aldc.att.com (sbcsmtp6.sbc.com [144.160.229.23]) by m0048589.ppops.net-00191d01. with ESMTP id 2ubuw0u24w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Aug 2019 09:08:55 -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 x7DD8rpu026462; Tue, 13 Aug 2019 09:08:53 -0400
Received: from zlp30485.vci.att.com (zlp30485.vci.att.com [135.47.91.178]) by alpi154.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id x7DD8mYr026353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 13 Aug 2019 09:08:49 -0400
Received: from zlp30485.vci.att.com (zlp30485.vci.att.com [127.0.0.1]) by zlp30485.vci.att.com (Service) with ESMTP id B5FE74009E78; Tue, 13 Aug 2019 13:08:48 +0000 (GMT)
Received: from GAALPA1MSGHUBAB.ITServices.sbc.com (unknown [130.8.218.151]) by zlp30485.vci.att.com (Service) with ESMTPS id A36294009E74; Tue, 13 Aug 2019 13:08:48 +0000 (GMT)
Received: from GAALPA1MSGUSRBF.ITServices.sbc.com ([169.254.5.84]) by GAALPA1MSGHUBAB.ITServices.sbc.com ([130.8.218.151]) with mapi id 14.03.0439.000; Tue, 13 Aug 2019 09:08:48 -0400
From: "STARK, BARBARA H" <bs7652@att.com>
To: 'Juliusz Chroboczek' <jch@irif.fr>
CC: "'babel@ietf.org'" <babel@ietf.org>
Thread-Topic: [babel] I-D Action: draft-ietf-babel-information-model-08.txt
Thread-Index: AQHVSy+136XJ0cDtj0yz+6M8HuFcTqbsr76wgAIi5wCACkT8kA==
Date: Tue, 13 Aug 2019 13:08:47 +0000
Message-ID: <2D09D61DDFA73D4C884805CC7865E6114E26708E@GAALPA1MSGUSRBF.ITServices.sbc.com>
References: <156496962402.26572.16204290795859744323@ietfa.amsl.com> <2D09D61DDFA73D4C884805CC7865E6114E254159@GAALPA1MSGUSRBF.ITServices.sbc.com> <874l2uawcv.wl-jch@irif.fr>
In-Reply-To: <874l2uawcv.wl-jch@irif.fr>
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="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-08-13_05:, , 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-1908130140
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/wS5I1pntakuk8nyb8sGK1fGpT7c>
Subject: Re: [babel] I-D Action: draft-ietf-babel-information-model-08.txt
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 13:08:58 -0000

> Sections 3.1 and 3.3 -- please remove the hmac-algorithm.
> 
> The algorithm is a property of a key, not of an interface.  There's no need to
> specify the algo here, it is determined by the set of configured keys.  (And it
> is quite legal to use keys with different algos on the same interface, for
> example when transitioning from one algorithm to a different one.)

In that case, the MAC algorithm needs to associated with keys (add key-mac-algorithm parameter to babel-hmac-keys-obj).
And I'll be changing all "hmac" to "mac" in the model.
 
> The second point is something we've discussed before.  The implementation
> has the interface point at the set of keys; in the model, the key set points at
> the interface.  Is the discrepancy intentional?

I don't see where a key set points to the interface? I only see where the interface points to a set of keys:
---------------------------------
3.3.  Definition of babel-interfaces-obj
     object {
...
         [reference            rw babel-if-hmac-key-sets<0..*>;]
...
         [reference            rw babel-if-dtls-cert-sets<0..*>;]
----------------------------------
There is the Boolean parameter in the key set object that indicates whether it is automatically applied to a new interface. But that's not a pointer to any existing interface.

Barbara