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

Alan Davey <> Fri, 29 January 2016 17:47 UTC

Return-Path: <>
Received: from localhost ( []) by (Postfix) with ESMTP id CC1AE1A88A9; Fri, 29 Jan 2016 09:47:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.901
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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 9Bc_H1U2bJXt; Fri, 29 Jan 2016 09:47:41 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id DF4E81A88A6; Fri, 29 Jan 2016 09:47:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=selector1-metaswitch-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BrrHyrM0Pkr4V8ffZuvkIhERZ+0AfVATePdhjaLgBUY=; b=NCWe2qp2UQxCNwcBI+Xp9kYiGakVwf6Ve29wHNAIOgW28GNPzL3YDYBDrdfQkEp/yCJ55ppRj0eWEXuB3Zp9zuIeeND9Myv6CE8ZhaIQfSlbz8sbccBaCmnsFBa3pXzb2lv2tlGLAng6KPG+6rXMfFeMVpW2ykls6PreHb4BD9c=
Received: from ( by ( with Microsoft SMTP Server (TLS) id 15.1.390.13; Fri, 29 Jan 2016 17:47:35 +0000
Received: from ([]) by ([]) with mapi id 15.01.0390.016; Fri, 29 Jan 2016 17:47:35 +0000
From: Alan Davey <>
To: "" <>
Thread-Topic: draft-ietf-ospf-yang-03 questions and doubts
Thread-Index: AdE3NLGjjtMGuql0QfiSt+s9ulh9zgjfE2ew
Date: Fri, 29 Jan 2016 17:47:35 +0000
Message-ID: <>
References: <>
In-Reply-To: <>
Accept-Language: en-GB, en-US
Content-Language: en-US
authentication-results:; dkim=none (message not signed) header.d=none;; dmarc=none action=none;
x-originating-ip: [2620:104:4001:72:a485:2a09:ec72:8da0]
x-microsoft-exchange-diagnostics: 1; DM2PR0201MB1070; 5:pYjnde6dQyo5CkcUFKgp2Db0vA+l7RerGWyuvgpyEx0R8joUWc2f5VUIcCuZw3MEjueYodZsB6rCv4dNL+6jKeVxiq2tqTECeMQUF4AtEYtDEZUYKLCFLnFtUe2SvBs7C4n6jD7UXrX7jszKLZ4K3w==; 24:U907V6L9KL+uAE0YNzh8hzU++2l3eYRYfe4bvj4VesqCZbKdtKNSZ2/k0NR1InlWp2XET6Bz0EjMExPIGg+ks+XHy8vbIa3hgyHRum25Q9o=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0201MB1070;
x-ms-office365-filtering-correlation-id: 2e88b361-a663-41eb-09f3-08d328d4456f
x-microsoft-antispam-prvs: <>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:DM2PR0201MB1070; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0201MB1070;
x-forefront-prvs: 083691450C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(51444003)(1096002)(86362001)(1220700001)(586003)(15975445007)(110136002)(6116002)(77096005)(790700001)(87936001)(102836003)(5008740100001)(11100500001)(230783001)(74316001)(5003600100002)(5004730100002)(92566002)(99286002)(2351001)(2950100001)(2900100001)(4326007)(54356999)(2501003)(2906002)(122556002)(50986999)(19580395003)(3280700002)(189998001)(19300405004)(40100003)(19580405001)(3660700001)(3470700001)(5001960100002)(76576001)(19625215002)(33656002)(5002640100001)(450100001)(10400500002)(76176999)(16236675004)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0201MB1070;; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DM2PR0201MB1070615E1F602B0D653575CCF9DB0DM2PR0201MB1070_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2016 17:47:35.0735 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9d9e56eb-f613-4ddb-b27b-bfcdf14b2cdb
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0201MB1070
Archived-At: <>
Cc: "" <>
Subject: Re: [OSPF] draft-ietf-ospf-yang-03 questions and doubts
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 29 Jan 2016 17:47:44 -0000


I have not seen any response to my email below.  Does this mean that my comments will be incorporated into the next version of draft-ietf-ospf-yang?


From: Alan Davey
Sent: 15 December 2015 16:23
Subject: draft-ietf-ospf-yang-03 questions and doubts


I have a doubt about draft-ietf-ospf-yang-03.  Please let me know your thoughts on the following.

The text is OSPFv2-specific in places.  I think that it would be better to define separate top-level groupings and containers for OSPFv2 and OSPFv3 and define common groupings and containers, where possible, that are used by both.

For example, grouping interface-operation contains the following, which is incorrect for OSPFv3.

-          leaf dr with type ipv4-address

-          leaf bdr with type ipv4-address.

I think that it would be better to define something along the following lines.

-          ospfv3-interface-operation {

o   uses interface-config

o   uses ospf-common-interface-operation

o   leaf dr {

?  type if:interface-ref

?  description:

*                   "The remote interface ID used by the Designated Router on

*                   this link.  This is the interface index of the interface local to the DR.";

o   etc

-          ospfv2-interface-operation {

o   uses interface-config

o   uses ospf-common-interface-operation

o   leaf dr {

?           type inet:ipv4-address;

?           description "Designated Router (DR) IP address.";

o   etc.

Alan Davey