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

t.petch <ietfc@btconnect.com> Tue, 17 May 2016 09:51 UTC

Return-Path: <ietfc@btconnect.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 25AAC12D0AC; Tue, 17 May 2016 02:51:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 6Ci1VYJEsELB; Tue, 17 May 2016 02:51:31 -0700 (PDT)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0743.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::743]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E01C12B030; Tue, 17 May 2016 02:51:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=aW9EUOSiSqnTptDGDIC1Fmu5mVfxWp6ORFQjR8ncvP4=; b=Oh+ER7mhrmkaWrq6ePglGMBcv0lhfnvqRlRPHlddNVnxmyin+kcxgYN/g7eINdf7c4U+k+PP2Kq2ERr4VCW73JMrr2i4mtsMdAkTU5UKtUG4IqTF4QsC6iHu2AgkA/QMuVsL68hmZxMjDgbflOGfFPjW3TJTDrWA9tISWyfrBx8=
Authentication-Results: metaswitch.com; dkim=none (message not signed) header.d=none;metaswitch.com; dmarc=none action=none header.from=btconnect.com;
Received: from pc6 (109.145.193.232) by VI1PR07MB1632.eurprd07.prod.outlook.com (10.166.142.150) with Microsoft SMTP Server (TLS) id 15.1.497.12; Tue, 17 May 2016 09:51:07 +0000
Message-ID: <01c201d1b021$1b09ee20$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: Alan Davey <Alan.Davey@metaswitch.com>, "Acee Lindem (acee)" <acee@cisco.com>, "Derek Man-Kit Yeung (myeung)" <myeung@cisco.com>, draft-ietf-ospf-yang@ietf.org
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> <BN3PR0201MB10593ECF530B4B73B7EDEA38F9720@BN3PR0201MB1059.namprd02.prod.outlook.com> <01f101d1ac75$8fd66a80$4001a8c0@gateway.2wire.net> <D35B5666.60D24%acee@cisco.com> <BN3PR0201MB1059516477FD53CC451B4CADF9740@BN3PR0201MB1059.namprd02.prod.outlook.com> <00ef01d1ad34$e0e406c0$4001a8c0@gateway.2wire.net> <BN3PR0201MB105993070C1185BA1B2C78D8F9770@BN3PR0201MB1059.namprd02.prod.outlook.com>
Date: Tue, 17 May 2016 10:42:58 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [109.145.193.232]
X-ClientProxiedBy: VI1PR0101CA0018.eurprd01.prod.exchangelabs.com (10.166.38.28) To VI1PR07MB1632.eurprd07.prod.outlook.com (10.166.142.150)
X-MS-Office365-Filtering-Correlation-Id: 089d8321-8b3c-4569-ad27-08d37e38c52c
X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB1632; 2:ywyGaR8WorpL5HEtrnCjYKd4bzKfL8K9HihJmo8IM8xOKO/CnojAJW6TgKF4UDEf243a9xBfgEUHgLUKJ9uongf7lFECp/ZhkLjhNLJFihnKcpq8O7uQ5DI8Ue4aTj7HIaubiyhef7WmETyrlHs7T8Vj77tfzSZ/QO8oVo/baD/5x6TftAahFcgjh7I3DqMq; 3:wfxbUPezHFEGJEw4/WEpcr5ss+zaWjdYpl7XFR0aXRL796UgtOoY606hpBxyfG3WYY66WGKluShK9plRGwLwI4/e+mhFK0FHUeQ/UmOAUyL6gP8BZM1A8YrsibZfdzYp
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR07MB1632;
X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB1632; 25:p7H/Ujqr6fLhQTemnx/FBh1TDbkgfOe+inTohjc6JmlvPsePdTNdnZ/4N6ylE0+vIl8Npkl69+koqVLZpwKneM9I6Ju9QCwi7IGs4Urw70MP1S9udl0i6wuF50ibxv+Dgs0tQUcqczeZu7+4Ls7ADR9Y4niVyP5Udt+El4wIqnBPQj5cZEdu3HNxDtq9oWjczbMZdgWl8DikX9LCV2T8xxw45iqOQzCGfQPssfMHi98vFhqdNYVAGfA1styJ/v8e0+CyhtoiGJm2PYrgO1tuxqs7NgbEf0XieFvC74Jj34ijvMjkLtsyNDeo6aXdrPDH4yVKiCpXdS/dXFFQqWEY/6WeYSwjPROBfEhvsZRQH1Nn5Xmf6Iwz//tcndDxuJZfvp+eg3Ng+rVmnKrIkiAQy4qwE+vKZYtTLvFYWCpOq6hgWLmA/9Wk4gCuG4QGR/Tf146W7dLn+iZZp5IyW0+Ot2J5SOyBlWdw+NFdMW5SRFC5FKF8C3jzYpKgC1WbFeK4KdLF7zq1s9pIreLP543mjxTkt3BCpHw2kMz8wA6qJrBm3OMchptQK8UAXzJ3BL/cdqdnmJ50f3/dSkwXuP9rLbejGqlNSZyaADjPrQqdFNnProZkjVDlZkf4fXhP3aZGLYavoVqvyfhdGiHaiHUP8aT/Zu8mDvE/gyT0Gz8TE9M+eJMyn3Q1fFcep5Aaegeh2o6HPgnzRlHxVuxz7Q+ay+MS7H+/RARtyCvtPvyAwo0=
X-Microsoft-Antispam-PRVS: <VI1PR07MB1632130185D8B42A5990352DA0480@VI1PR07MB1632.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(95692535739014);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:VI1PR07MB1632; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB1632;
X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB1632; 4:qQFIR8T2nRtj6Nj0fz7LSvkE/ib8li/iML+8m7OQHna1gyPDdwMDpLEUlZ7bso3XpEawoOlabOwm6PLSO+PUY0bUBfevgsNoagTYVixiZ+fe3lS5cAu8dIC+Kiko+fis6BBdSb6Eh3rzwou7rg8TL/72oPbzHujxo8ZXto77NsRcoqChYJJFTAS9BAql/U/h4kCsu7eINrIqDRj7ingCxdcv2x8Uk3E8V7QA3JGl8Tlt+b2puBd6ZDn6RTrBnxNOkaw0g+vHrjL8jH+wJsiz9+kJmMsj4hILsSvQcpxR9FS9eDW1rJ4qJa84Eu3YuoXOJVfSFV33bqLdYjBzsqKIgxg4YLMaye70kbt6Ug3aU4GPG3Lcift5bavzupBBqMEUC8kAeu7shqaDDwMqrwWd8eEnx3xtnNYhmX0kDkTuL0A=
X-Forefront-PRVS: 0945B0CC72
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(377454003)(13464003)(230700001)(84392002)(4326007)(76176999)(50986999)(81686999)(81166006)(2906002)(47776003)(61296003)(66066001)(5001770100001)(5004730100002)(189998001)(93886004)(62236002)(44716002)(5008740100001)(86362001)(77096005)(42186005)(586003)(3846002)(6116002)(23676002)(9686002)(8676002)(50226002)(19580405001)(33646002)(19580395003)(92566002)(50466002)(230783001)(74416001)(7726001)(4720700001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB1632; H:pc6; FPR:; SPF:None; MLV:sfv; LANG:en;
X-Microsoft-Exchange-Diagnostics: 1;VI1PR07MB1632;23:Q5ADvujrP3qVNq0KzTOWu/fHPJ6yZS1vFH2DcMisDURvg1Uui1f//DSL+ceJXd7n+NOFeCC6bIDUOvworkBlVajgXrrJ6KHjEbNBObw1zLQ0qtg90AbILPf8gQLTStJJUAovdEbmznpDoXaQy3LaydS9qlmovexXt0/jESr2hvMUjmq4LvyEXhh8ZwodBqb2Jiqiqno1Joj3VephL+LWstDyJ8WIsJnKHM668ETPp5Z03sCmPKsLfVAp6pndbfn/Vo9sioC+kWRUNbGiOP/RdR7gjTH9v94Dz2P65LztbbjpK59K2k4mMa/T8/egHWo3JOQlu/20qFihZKOv9cigMvol44iqD3UhTRueZjMsTNILexVhQogl0BTaz1m3PxrNjIx3gIlYOZv5mwbxzNJn7xqnUj6fzNShFcAgjXiyqiMw9aFAASLZ8Zpy3AiziYDlRfZJGnjUCsHvSBjppfWlbfxif/OnBxDYp59LuOW+mDH4y/vTkSUW8ogcd50FMA8qHbYRZ2ldGb1z/BPr5r3mej0Mrb5IQ/sWsBYHIxV/qUlGlv6oSx8dlmfdfo70nYtPvaEIjrR/iV1ofwfbU9Qc2T1lMDOXcR65gPZRS0mQB3eYyoXqAp/sw38Qt1HQKGgjWGdul1TrtSR/GId+Wzz+o1cDCKkGS6F+H15m05neDG8BHuTmy1yAvJp1F+ytJMFTIm7fypWqmPv4AufKSqNFmwAfZ/u7o3Xrzm09suFECc8SwCp5KktgOJXuK4gWW6oYRESGpg14xpGdr3XCwFmDGih5O5Qt3Qd9e6NFz4iv9ZuSzcn9ja/EFb1w7xzvMXH5z2co9Vq7fNSZVeJpxTvcXIHO+cn5jQyH4TExMm1vr5Uy5q+jvyVkJVnZRS+zRMZc5WBUg6lcJ3Z29BBWh6PKDbCHmwQY856h7BBA6wmnaEXi7zWE//ot52ZxJfqwh3dp6AvNNivlK33QppGkAZGE+SMMiIQcVEqd5/Xm79s7n3pJPnx/BfltLR6hYGO5tnW8qHqOWJONz3mDVFqj4HQF6ZIXvkxKXWLRJdNiWkp+eL999ucLFfZFhHHy5n7P2Qcn
X-Microsoft-Exchange-Diagnostics: 1; VI1PR07MB1632; 5:RlzbMWN4FkJ1IbxbTxXF2fyxp9GvHZfZQCY25VAFOC1AyQLShV8Ev889XkUjuwZhGmADEIO5mY1T77/VaUW70zUpxY3qTzi970nPk86x/gRbEndD0X4sBztMdvb2vN0vZyQc/BjXwopg/XbX7l70Ow==; 24:zJkrs3zue79hubOATwlr7kTIv2PxHBn11+om1xyrQTBkkt0qMHhL3Gl04heE1vvdTyOzzjHy5At1SA0aU45LkU1OCiGPWrtjxe8yJS5sS9Q=; 7:iT/bBdsxJmapZH+MmOB8eVeUGYeFx6oRkJKh11EpsT8Q/YOx+DMBNQepieNiyUNz4HBrha3B5fW9hZBkpgMX2iUJdw6tzWBkZVgSE7ayHPQ7dVWEKocY3yVkfVhNl+/V7Ok0Jpt1wLOJly89Tk/r4npOzxjd2cgLdaWdQWMrxdlBeUHZGF496TkwmxwgXw22
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2016 09:51:07.7242 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB1632
Archived-At: <http://mailarchive.ietf.org/arch/msg/ospf/GWdHZpil9WuhPdnlLYZ8yOWYK2g>
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: Tue, 17 May 2016 09:51:33 -0000

----- Original Message -----
From: "Alan Davey" <Alan.Davey@metaswitch.com>
To: "t.petch" <ietfc@btconnect.com>; "Acee Lindem (acee)"
<acee@cisco.com>; "Derek Man-Kit Yeung (myeung)" <myeung@cisco.com>;
<draft-ietf-ospf-yang@ietf.org>
Cc: "OSPF WG List" <ospf@ietf.org>
Sent: Monday, May 16, 2016 9:44 AM

> Hi Tom
>
> Thanks for your quick response.  I just want to check that I
understand your email.  Please let me know if the following is correct
or not.
>
> -  You expect that the NMS would identify an interface by name in all
cases of protocol configuration, where there is flexibility on what the
"interface" represents.
>
> -  There will only ever be one primary IP address assigned to an
interface (or zero in the case of unnumbered point to point interfaces).
>
> -  There is a set of zero or more secondary IP addresses that may be
assigned to the interface.
>
> -  Only the primary address (or unnumbered interface) would ever have
OSPF configuration associated with it.  Secondary addresses never have
OSPF configuration associated.  (As an aside, multicast considerations
do not preclude running OSPF using a secondary address.)
>
> -  I assume that in the case of a non-empty set of secondary
addresses, the secondary addresses should be advertised by the OSPF
protocol.  Is this true?

My context is IPv4 (despite my erroneous reference to multicast:-); with
IPv6, interfaces are expected to have multiple IP addresses and so
applications must be prepared for that.  With IPv4, the concept came
late in the day which is why I am uncertain about how much support there
is thereof.

Using a NMS with NETCONF and the IETF YANG models, then the protocol/DDL
identifies the interface, whatever that may be, physical, logical (FR
VC, MPLS LSP, ...) by name; the YANG list is keyed by 'name' which is a
change in approach from that of the MIB module.  How the NMS presents
that to the user is up to the NMS (it could be - I don't know - that an
NMS chooses to use IPv4 addresses because that is what users are
familiar with).

Secondary addresses I saw first with one router manufacturer and then
later with others; I would expect most to support them.  The
implementations I have seen have only one primary.  I have always seen
secondary addresses as an unsatisfactory solution to addressing issues
and while they were needed at the time, I would like to think that their
use has diminished since.  I would look askance at a design that uses
them in this day and age.  Doubtless they are still around but how
widespread they are, I don't know.  (I was active in getting them
included in the YANG model which I do not think that all those involved
were).

The configuration of OSPF may have an option to advertise or to suppress
the advertisement of secondary addresses in the LSA.

Whether or not a secondary address can be used for other purposes in
OSPF, such as DR or BDR, I am unsure; something at the back of my mind
says there is an issue with the use of broadcast by a DR but I cannot
track down a reference to that.  With the proposed YANG models - if-cfg,
ip-cfg, ospf - it is feasible to configure a secondary interface in the
same way as a primary one, should the device support that.

Tom Petch

> Regards
> Alan
>
>
> -----Original Message-----
> From: t.petch [mailto:ietfc@btconnect.com]
> Sent: 13 May 2016 17:31

<snip>