Re: [OSPF] draft-ietf-ospf-yang-03 questions and doubts

Alan Davey <Alan.Davey@metaswitch.com> Wed, 11 May 2016 16:40 UTC

Return-Path: <Alan.Davey@metaswitch.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AAA4412D0A0; Wed, 11 May 2016 09:40:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=metaswitch.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 hpHMK1_0i2lD; Wed, 11 May 2016 09:40:27 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0103.outbound.protection.outlook.com [65.55.169.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1225412B02C; Wed, 11 May 2016 09:40:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=metaswitch.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=RBH66WPAbvM2rUr2q43cd5yOyP1Ryi+uQhNWx9dZ6h4=; b=EWJQUXoasYxZC3EdTidPqLKPf+wyW6scVPoOZT1p4HYGdzlOuJoKWLDYKglalALUMS9oPeHYwf5mB46FJSRZIcUdD9h++3+Kg279bGx1RPL1sVjarDVhix3IWoCFmraGlA8DO+mw910TqGp5m1Wpz0Qr6OwAY6fs+PO8iIy2s6M=
Received: from BN3PR0201MB1059.namprd02.prod.outlook.com (10.161.209.14) by BN3PR0201MB1057.namprd02.prod.outlook.com (10.161.209.13) with Microsoft SMTP Server (TLS) id 15.1.492.11; Wed, 11 May 2016 16:40:25 +0000
Received: from BN3PR0201MB1059.namprd02.prod.outlook.com ([10.161.209.14]) by BN3PR0201MB1059.namprd02.prod.outlook.com ([10.161.209.14]) with mapi id 15.01.0492.016; Wed, 11 May 2016 16:40:25 +0000
From: Alan Davey <Alan.Davey@metaswitch.com>
To: "Derek Man-Kit Yeung (myeung)" <myeung@cisco.com>, "draft-ietf-ospf-yang@ietf.org" <draft-ietf-ospf-yang@ietf.org>
Thread-Topic: draft-ietf-ospf-yang-03 questions and doubts
Thread-Index: AdE3NLGjjtMGuql0QfiSt+s9ulh9zgoPjYmAAiVQNuADX5obgAcESYLgBoJ48NA=
Date: Wed, 11 May 2016 16:40:25 +0000
Message-ID: <BN3PR0201MB10593ECF530B4B73B7EDEA38F9720@BN3PR0201MB1059.namprd02.prod.outlook.com>
References: <C2EE31C852049D499842B19FC01C0804012A72782A@ENFICSMBX1.datcon.co.uk> <D2D8C451.73937%myeung@cisco.com> <CY1PR0201MB1066110895F4C141E7779015F9AF0@CY1PR0201MB1066.namprd02.prod.outlook.com> <D2FDEE96.7531D%myeung@cisco.com> <BN3PR0201MB10597DBA718D60998EA82E0FF9950@BN3PR0201MB1059.namprd02.prod.outlook.com>
In-Reply-To: <BN3PR0201MB10597DBA718D60998EA82E0FF9950@BN3PR0201MB1059.namprd02.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=metaswitch.com;
x-originating-ip: [2620:104:4001:72:c16c:9d39:5d:4b0d]
x-ms-office365-filtering-correlation-id: 6e896526-0945-4a51-7da9-08d379baf42c
x-microsoft-exchange-diagnostics: 1; BN3PR0201MB1057; 5:RA+l4tIMcEmd2CVrJn/wjTrwssc3P4fOMiNuY5VPixZg0YqgrvQEb4O2CJN8zFa/yynXh84zdlRUoEtYIZuYJ2KMTPUPhbheyPFLMOs+LnGJLXqMLRALPjxV+mm7D0dfpSWCmK29NNNMaENhoH+b/A==; 24:vWt0pja8IUhT/h1pPOY6yjgErLny7mmbJIE+fxslv0JhYJeWEXDXOZlnb29zz0Zj0YIYYjfIJD3ICrhpXfmon2Ded/OonlTGQx4DMTYjGRE=; 7:Fz6EeJpLkd/wMdO6ZE5NKTqN+h0IdrPTCtel4hpjAOcbs0IHwJv2UoCBGgR0sRGbVSDJSpSmHR5xmExjugmS1+60JCyl8G9TX1UpYSAXaIJbtPrFb8YbvnkuQXTStgp+qci/aHFtEPKorG0nQlNKRc+O+PjG7pBxKqxCp1w9UqfIG3g44fMtQ5LFcQ3cXPBa
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0201MB1057;
x-microsoft-antispam-prvs: <BN3PR0201MB10577A97B5D4BA085599814FF9720@BN3PR0201MB1057.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BN3PR0201MB1057; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0201MB1057;
x-forefront-prvs: 0939529DE2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(76104003)(3660700001)(9686002)(15975445007)(77096005)(5008740100001)(122556002)(3280700002)(19300405004)(76576001)(76176999)(54356999)(74316001)(189998001)(50986999)(10400500002)(8936002)(2950100001)(2900100001)(87936001)(1220700001)(19580395003)(86362001)(19625215002)(33656002)(5001770100001)(6116002)(5004730100002)(586003)(102836003)(790700001)(5002640100001)(11100500001)(93886004)(5003600100002)(4326007)(2906002)(230783001)(81166006)(92566002)(16236675004)(2501003)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0201MB1057; H:BN3PR0201MB1059.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BN3PR0201MB10593ECF530B4B73B7EDEA38F9720BN3PR0201MB1059_"
MIME-Version: 1.0
X-OriginatorOrg: metaswitch.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2016 16:40:25.3681 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9d9e56eb-f613-4ddb-b27b-bfcdf14b2cdb
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0201MB1057
Archived-At: <http://mailarchive.ietf.org/arch/msg/ospf/EXzsgNCFNsgEyU4IFZhNnjY80G0>
Cc: OSPF WG List <ospf@ietf.org>
Subject: Re: [OSPF] draft-ietf-ospf-yang-03 questions and doubts
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ospf/>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 May 2016 16:40:31 -0000

Hi Derek

A question about the key for OSPF interfaces in the Yang draft.  Please let me know what you think.

The background is that the Management Information Base definitions define indices for OSPF interfaces as follows.


-          For OSPFv2, RFC 4750 defines the index as ospfIfIpAddress, ospfAddressLessIf.

-          For OSPFv3, RFC 5643 defines the index as ospfv3IfIndex, ospfv3IfInstId.

However, in the OSPF Yang draft, the key is defined as "interface", which I believe is a name of the interface.

How does "interface" map to the indices defined in RFCs 4750 and 5643?

Thanks
Alan