Re: [netmod] BBF extensions to ietf-entity

Athanasios Kyparlis <akyparlis@kuatrotech.com> Fri, 02 September 2016 14:49 UTC

Return-Path: <akyparlis@kuatrotech.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F4D912D59B for <netmod@ietfa.amsl.com>; Fri, 2 Sep 2016 07:49:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 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, 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=kuatrotechnology.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 5QkoqvXpF4c9 for <netmod@ietfa.amsl.com>; Fri, 2 Sep 2016 07:49:11 -0700 (PDT)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0050.outbound.protection.outlook.com [104.47.2.50]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7CD8612D135 for <netmod@ietf.org>; Fri, 2 Sep 2016 07:49:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuatrotechnology.onmicrosoft.com; s=selector1-kuatrotech-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=czP7T9J1E8UXjuJwIY3qxo/pzzXad41h1nCR2L2kK28=; b=i3SOXauF8Mr1fC54lgsBm7oWF2rUR7aMu69YqPvysvaMS6p+9iQYGZrMqGN7vSHHged0o2CxbSfNz9zvCk9ZB8PyNHDZP5iZ6VtjLdknQz/mlRvyCBOWFzbVchkZRKxEuGtaL1O6FHI1dnQ71lVsIuO+gCVb+ETx/swLDE4S5IM=
Received: from AM4PR06MB1474.eurprd06.prod.outlook.com (10.164.80.28) by AM4PR06MB1475.eurprd06.prod.outlook.com (10.164.80.29) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.13; Fri, 2 Sep 2016 14:49:08 +0000
Received: from AM4PR06MB1474.eurprd06.prod.outlook.com ([10.164.80.28]) by AM4PR06MB1474.eurprd06.prod.outlook.com ([10.164.80.28]) with mapi id 15.01.0599.010; Fri, 2 Sep 2016 14:49:08 +0000
From: Athanasios Kyparlis <akyparlis@kuatrotech.com>
To: "Bogaert, Bart (Nokia - BE)" <bart.bogaert@nokia.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: BBF extensions to ietf-entity
Thread-Index: AdHpoi/h3dfqTKzQR3WYPaIL6IHWCgbhjGdA
Date: Fri, 02 Sep 2016 14:49:08 +0000
Message-ID: <AM4PR06MB14743EE42923E82002E6E1A5DFE50@AM4PR06MB1474.eurprd06.prod.outlook.com>
References: <D62E05768DBAFF42A72B9F4954476D65010EA9ACC8@FR712WXCHMBA09.zeu.alcatel-lucent.com>
In-Reply-To: <D62E05768DBAFF42A72B9F4954476D65010EA9ACC8@FR712WXCHMBA09.zeu.alcatel-lucent.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=akyparlis@kuatrotech.com;
x-originating-ip: [98.191.72.170]
x-ms-office365-filtering-correlation-id: 0bfb3cf3-394d-40f6-93b2-08d3d3404b3b
x-microsoft-exchange-diagnostics: 1; AM4PR06MB1475; 6:qYZ17wg9RZoVAfIjql3Q430Ta+NIVe264wYtyqRNN5456mlyR+HeFKQGfXPO8+jUbaINn+i3YZfuzab006j7dhTvcbogrmVGuItbvMr/Cvsc5gac33kHTVaQ5sZMidgXiCZIn+vTNQQfF4C15r3JqMIejVa+PG+B9V4yqRu/T+wI09PJ3hFlJc5PDIJFNV+p48cMiRbSv22LjhcxpIBm0itboRnZ1yEGZFT1FyW99sG2v5Qt/2CUL31t7AQMJEtHU4D2+J56PjsqxGCfZf/O8jsTax+CAgl92rTRJFZkVywPeayJPNIkjaA4oe3dfK2f; 5:IITr61yKTAaiVJM+H22KTg6snciZk/E4bNEwqMG398PgtXVfAZA7rxMzwOyv1tTZmghsG9+uMhn4GcLYPgTay0UyMNMA18vAhSzdVGwNPnC5EdnpNxoTugDxV2CFhgzLA3pdUrrRG+fMuNRcFGgJaQ==; 24:TRcKor92Bn3Vu2rHJrdYgisHSWWsucXtCyAGL5Aw0IYA8p0Gx+SSsKBEyq0Owr3QZo+/CJ6GyEWgl1v7GYm9XxaoLdYovDF7mySlsYLmgnA=; 7:5pEK8Ke7l/KhueVGeihyVDKxYRR6uHP8t01Z0KsbbmvpSKmA9VuVAFa+Js5yh13OphK/+S9JWQQVsPEqoMutmxRR5YPOH9TnjIf7BXWsjHyD198HKKm8afRHZTaoF3nqxcvfv9nmdVeLMnAhdKIQlsZNb+slPFjilHp13ZRzdaxTI9wYLKrq/98+Nzu6KOl2VU1uASMPWYILFa5FYxLECo3a5QVu2/uwyxpqiaUsIESmq/cHXmx6nTVTJS1ZS9AI
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM4PR06MB1475;
x-microsoft-antispam-prvs: <AM4PR06MB147534244A77BCC12C282AC5DFE50@AM4PR06MB1475.eurprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(278428928389397)(131327999870524)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6043046)(6042046); SRVR:AM4PR06MB1475; BCL:0; PCL:0; RULEID:; SRVR:AM4PR06MB1475;
x-forefront-prvs: 00531FAC2C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(189002)(377454003)(199003)(11100500001)(102836003)(5890100001)(8676002)(76576001)(19609705001)(16236675004)(106356001)(86362001)(3846002)(586003)(9686002)(6116002)(2501003)(10400500002)(790700001)(87936001)(8936002)(101416001)(189998001)(122556002)(2906002)(105586002)(107886002)(81166006)(7696003)(7736002)(50986999)(97736004)(76176999)(74316002)(3660700001)(5660300001)(33656002)(7846002)(54356999)(5001770100001)(19580395003)(68736007)(19580405001)(19300405004)(92566002)(77096005)(3280700002)(19625215002)(66066001)(81156014)(15975445007)(5002640100001)(2900100001)(2950100001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR06MB1475; H:AM4PR06MB1474.eurprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: kuatrotech.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_AM4PR06MB14743EE42923E82002E6E1A5DFE50AM4PR06MB1474eurp_"
MIME-Version: 1.0
X-OriginatorOrg: kuatrotech.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Sep 2016 14:49:08.1504 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 99314f4e-50ab-4d4e-a9c6-b21b0c887384
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR06MB1475
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/xDvM2TsMJtLCCP2HwvnsAcRrezA>
Subject: Re: [netmod] BBF extensions to ietf-entity
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Sep 2016 14:49:14 -0000

>"But we then hit a problem for the 'top-level' entity which not contained in anything (and 'fooling' >the model by having it pointing to itself is not allowed).  "
One possible solution is to have a list of top elements:

  augment "/ent:entity-state" {
    description "Adding the list of root nodes in HW hierarchy";
    leaf-list top-elems {
      type leafref {
        path "/ent:entity-state/ent:physical-entity/ent:name";
      }
      description "The list of root elements in the entity hierarchy";
    }
  }

  augment "/ent:entity" {
    description "Adding the list of root nodes in HW hierarchy";
    leaf-list top-elems {
      type leafref {
        path "/ent:entity/ent:physical-entity/ent:name";
      }
      description "The list of root elements in the entity hierarchy";
    }
  }

In addition, this allows one to traverse the HW hierarchy without a search.

Thanks,
Athanasios Kyparlis

From: netmod [mailto:netmod-bounces@ietf.org] On Behalf Of Bogaert, Bart (Nokia - BE)
Sent: Friday, July 29, 2016 10:05 AM
To: netmod@ietf.org
Subject: [netmod] BBF extensions to ietf-entity

I would like to bring this to the ietf-entity group.  Currently BBF is proposing to add new RW leafs to the entity object.  This is done in the context of plugable entities and hence it means that when an operator (via a NC client) configures a plugable item it is required to define the entity type.  For this reason additional RW attributes are needed.  Two of the new leafs are class and contained-in (same as the RO class leaf).

-        class: we think that the class leaf needs to be mandatory but adding this via an augment is not possible as we can't add a mandatory leaf via an augment.  Making class implicit for the client based on "some information" exchanged between device vendors and management applications is maybe not such a sound approach.

-        contained-in: for plugable items contained-in requires to be mandatory too as a plugable item can't be "floating" in the device.  But we then hit a problem for the 'top-level' entity which not contained in anything (and 'fooling' the model by having it pointing to itself is not allowed).  Contained-in can't be derived by the NC server: what to do if 2 entities of the same class are preprovisioned (together with ports and interfaces related to subscribers)?  We need to be sure that the subscribers are on the intended ports.

This would mean that the ietf-entity model would require a revision to add leafs for these plugable items.  What is the best way to address this?

Best regards - Vriendelijke groeten,
Bart Bogaert
Broadband-Access System Architect Data
Contact number +32 3 2408310 (+32 477 673952)

NOKIA
Copernicuslaan 50, 2018 Antwerp, Belgium
Fortis 220-0002334-42
VAT BE 0404 621 642 Register of Legal Entities Antwerp
<<
This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited without the prior consent of its author.
>>