Re: [netmod] OpsState and Schema-Mount

Kent Watsen <kwatsen@juniper.net> Tue, 09 August 2016 19:44 UTC

Return-Path: <kwatsen@juniper.net>
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 3336112D19B for <netmod@ietfa.amsl.com>; Tue, 9 Aug 2016 12:44:29 -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=junipernetworks.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 g7yuznORW4Bx for <netmod@ietfa.amsl.com>; Tue, 9 Aug 2016 12:44:27 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0133.outbound.protection.outlook.com [104.47.36.133]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 067F112D131 for <netmod@ietf.org>; Tue, 9 Aug 2016 12:44:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ksD9uGe6/tnaxmX2EsLx2rTnlwPHqkRKD8vYqIJNL5s=; b=Gzh7RmoafBJS+g3lYfbzOCKD+GRchyBgiv7C19/XmJip3oo+sqnmMd7Jmo0UsE5MB3W7LPpoNgatdXQLHR3g6SNyfudR5mTEinDCRW3C5AxPjV0UB3+wmJK5Ukf3P8GigUup9oSrgFZnMlSLvw6FxpKpshGoIB+AKeGf0ogF9LA=
Received: from CY1PR0501MB1450.namprd05.prod.outlook.com (10.160.149.11) by CY1PR0501MB1449.namprd05.prod.outlook.com (10.160.148.155) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.8; Tue, 9 Aug 2016 19:44:24 +0000
Received: from CY1PR0501MB1450.namprd05.prod.outlook.com ([10.160.149.11]) by CY1PR0501MB1450.namprd05.prod.outlook.com ([10.160.149.11]) with mapi id 15.01.0557.009; Tue, 9 Aug 2016 19:44:24 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Andy Bierman <andy@yumaworks.com>, Robert Wilton <rwilton@cisco.com>
Thread-Topic: [netmod] OpsState and Schema-Mount
Thread-Index: AQHR7Nwrg+3BeZANfEqM5r9gczFpmaA2zIQAgAAlNwCAAKDWgIABEGmAgAAzOACABnBxAIAAXauAgADz3wCAACFNgIAAFpwA
Date: Tue, 09 Aug 2016 19:44:24 +0000
Message-ID: <C2257A12-930E-4CD7-AC9C-1570145A82C0@juniper.net>
References: <bed9398c-0e6a-450e-d2ac-b381b6bebf87@cisco.com> <5296754B-8178-4B1B-B4A6-FE228ABB8E7F@juniper.net> <9367f4b1-7814-e175-32e8-d518438b841d@cisco.com> <m24m79c1ja.fsf@birdie.labs.nic.cz> <D3BF8708.72620%acee@cisco.com> <552008CB-F216-4578-A709-AE0613C2EFB9@nic.cz> <12ed1a4d-44c5-9a51-b6d4-95e1620a24ee@cisco.com> <m260roedim.fsf@birdie.labs.nic.cz> <CABCOCHRF98sTa=MA1VTkZovOufL-=yQr9Gzy+ojnncjSfK1y0Q@mail.gmail.com> <e307c2fc-e621-b5c6-4fcc-67bbcdcb87b9@cisco.com> <20160729163220.GA3579@elstar.local> <68421198-703c-bb26-0fcc-f560e6fe108d@ericsson.com> <100B5D71-C23E-4C72-9EA2-2DB6574DEB87@nic.cz> <5153eab1-8d87-6e3c-3b54-441f683695e4@cisco.com> <D3C7B1A4.7482A%acee@cisco.com> <18066971-3353-b13f-04fa-e214a47ab9a7@cisco.com> <D3C8C14F.74A40%acee@cisco.com> <3175490B-E8DA-4819-B294-C64D1A7D8A40@juniper.net> <CABCOCHRuzTTBM-9OU5GaXS_fHmpNSn5Yp-3K6oXF33SeObSonA@mail.gmail.com> <2e78a895-84d3-6381-ca34-f49a830f3bb0@cisco.com> <CABCOCHQQSojKJTz-ABkOGVqegY9Db3+BqHUmdWv08pu22XdFrA@mail.gmail.com>
In-Reply-To: <CABCOCHQQSojKJTz-ABkOGVqegY9Db3+BqHUmdWv08pu22XdFrA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.18.0.160709
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kwatsen@juniper.net;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [66.129.241.11]
x-ms-office365-filtering-correlation-id: b37f4c80-7bfe-4d1a-efe3-08d3c08d9108
x-microsoft-exchange-diagnostics: 1; CY1PR0501MB1449; 6:ygDNTrGZoCjNsxeA693nt5gwM7HZFEC64Rimhjhtj/CHcH44J4pSNOgHjUkV6y+PB42UFzfclA0k1Ei+SILopoAb394tdOxjiWJ1P9Denh7bsBkH/HOclEhM9hUCBjSSoOLlt6oFBETOjS30HFzwkBm0tZZEbsCu3LKaX2dS4d8XyiJybQCwalbmXtTR6cM2UivZfSvOtrKVZGtSHauBGncJQlI9MwbiVqVkd4nE2TYxaYCFVSfvbxFlWrzF/ERGK1iBDzORcWkpPIR+iHwGkjilL/W3IcQxbPtnr1RDdRxWxAaei5VjjNOtdJNyqnZSQJgNh0gLzLWeZBb4/ZB3fg==; 5:nMde7myiEhYBNfb7XbQYmsSUBaeUkHcN1GjbIOwDdskaRfaoe5EVIDeFUojUSs7UFVdzjvW6P9Dv+54GYE5GarIPDLxFBU00NJSmohZoUp1EhLmna8iTbJmGugcRgfJOBhmysUPgiHANtu3X7UMzGA==; 24:8onKtU88OLUJIw40wn0m1l3dytzhGr7lhlUC4KZgv6oky/cLiHNGXwD/zalz+usNi695zl68qQkJqc+5o6TXNHo5h+7qpulED3OlcA6aRRk=; 7:odhfum8+QoJ5fDbTXPFeVQAgDHC8/YXpI+c3kD6CLq+h07g8NMPy0a36tWCkO+Xd6QZfsys7pYACwoOc0h9YprlMMaC4j8E2dSv2TGI4WHxEZC6tsnlHL3PSR6knP9T15uVXcyhiafuXh2W8u9eznaTgmLgh6LPJ9I9DybiO6OvTylsD3buY6XXY+19Bu+9uyQi5T4tbdT7Mfc7nf9/XnOsQ4q26fKX3fdI1055xbSoGTlhWmq6FlLB1SkQHJ+nv
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1449;
x-microsoft-antispam-prvs: <CY1PR0501MB1449DF7EDDD965598D5DE26CA51C0@CY1PR0501MB1449.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(72170088055959)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:CY1PR0501MB1449; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0501MB1449;
x-forefront-prvs: 0029F17A3F
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(199003)(189002)(19580395003)(50986999)(8936002)(3660700001)(36756003)(81156014)(2950100001)(92566002)(5002640100001)(101416001)(8676002)(77096005)(81166006)(3280700002)(106356001)(87936001)(83716003)(2900100001)(19625215002)(82746002)(15975445007)(11100500001)(106116001)(83506001)(122556002)(5001770100001)(99286002)(105586002)(3846002)(4326007)(19300405004)(102836003)(10400500002)(7736002)(6116002)(93886004)(86362001)(33656002)(586003)(66066001)(54356999)(16236675004)(68736007)(7846002)(76176999)(97736004)(189998001)(2906002)(4001350100001)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0501MB1449; H:CY1PR0501MB1450.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_C2257A12930E4CD7AC9C1570145A82C0junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Aug 2016 19:44:24.3303 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1449
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/-oLX6Zj1biHwV-m1hGky5mF_be8>
Cc: netmod WG <netmod@ietf.org>
Subject: Re: [netmod] OpsState and Schema-Mount
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: Tue, 09 Aug 2016 19:44:29 -0000

Before the "rule" I can choose to place monitoring in its own module
without any reliance on other modules.  If the monitoring does not share indexing,
what value is there in putting it in the config tree?  I see none except a poor
attempt at model classification.

[KENT] from opstate-reqs:

    4. Ability to relate configuration with its corresponding
       operational state.
           A.  Ability to relate intended config nodes to corresponding
                  applied config nodes
            B.  Ability to relate intended config nodes to associated derived
                  state nodes
            C.  The relationships need to be programmatically consumable



If the monitoring is rooting under config=true nodes, then those config=true
nodes need to be created somehow.  A client with write access is probably required.

[KENT] yes, but those config true ancestor nodes could be created by another client that has write-access, similar to POSIX filesystem.



Much easier to solve the conformance since /foo-state does not need any objects from /foo
to exist first.  Creating the /foo container means that all config=true requirements for
that container must be implemented (or complex deviations used)

[KENT] seems like an implementation detail.  The conceptual model is fine.   <get-config> and new <get-state> can have different views.  <get-config> should maintain the view of the config false nodes returned not including system-generated objects (e.g., interfaces), whereas <get-state> can also return system-generated objects, some of which may require also returning config true ancestor nodes.