[Yot] YANG notification within CoMI

Michel Veillette <Michel.Veillette@trilliant.com> Fri, 08 June 2018 18:17 UTC

Return-Path: <Michel.Veillette@trilliant.com>
X-Original-To: yot@ietfa.amsl.com
Delivered-To: yot@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E416130F6D; Fri, 8 Jun 2018 11:17:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 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_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=trilliant.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 sPQNswXrnmom; Fri, 8 Jun 2018 11:17:24 -0700 (PDT)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0106.outbound.protection.outlook.com [104.47.37.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BDC0D130F62; Fri, 8 Jun 2018 11:17:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Trilliant.onmicrosoft.com; s=selector1-Trilliant-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tIgDjuy6XkwGAttTTpTMYZdVkES2qOXpdAm/Pinv8cc=; b=QUlOfT3nxhCQxWTQhHjc2zvT8Oju+I6Jt/k3+L2L4+7SbQ0Hy+76p15sv7M8vpSl/c0oEtANsNUBTgXF+MEAOUPKLH9jpHHicshzKOrhea4bVTZYu8q00maoIsKhetAT5bBiPXxhPIWcobdrYS2uhAzS2aFbdIVOZdCcB+HETB0=
Received: from DM5PR06MB2777.namprd06.prod.outlook.com (10.175.107.139) by DM5PR06MB3002.namprd06.prod.outlook.com (10.175.109.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.15; Fri, 8 Jun 2018 18:17:19 +0000
Received: from DM5PR06MB2777.namprd06.prod.outlook.com ([fe80::5423:80d3:8d70:efb9]) by DM5PR06MB2777.namprd06.prod.outlook.com ([fe80::5423:80d3:8d70:efb9%9]) with mapi id 15.20.0820.015; Fri, 8 Jun 2018 18:17:19 +0000
From: Michel Veillette <Michel.Veillette@trilliant.com>
To: Peter van der Stok <stokcons@bbhmail.nl>, Andy Bierman <andy@yumaworks.com>, Alexander Pelov <a@ackl.io>, "Eric Voit (evoit)" <evoit@cisco.com>, Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
CC: "yot@ietf.org" <yot@ietf.org>, Core <core@ietf.org>
Thread-Topic: YANG notification within CoMI
Thread-Index: AdP/UVBv6lm2EKsrSzmsBpb94+0wbg==
Date: Fri, 08 Jun 2018 18:17:19 +0000
Message-ID: <DM5PR06MB2777CAB016D2789C4F1DD67F9A7B0@DM5PR06MB2777.namprd06.prod.outlook.com>
Accept-Language: fr-CA, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michel.Veillette@trilliant.com;
x-originating-ip: [207.96.192.122]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM5PR06MB3002; 7:InqR+dUFxDF0Bph/BdoKN1k2NQhPFlnGw2ZYGOzsVhoFa6olJnEBRfTIOs5z/5o3vq3rlC+HHFqT+40Gl2WXs05Za/1BoEgRCv+wGpZdCxchuuROtpEHYgGqHLkhhjjUQ+63ayQJ+xaFkXaH6PIDdnH3QMas5Jet6DmiBVI3NWWdMx3Xjn8u6eNMnOtrg7jNoXwMsuhgfxWBoW/jVudwg7K8oyhdyuBT6papxx2AcgjAh1/5tRauGuReF1S0T59Q
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DM5PR06MB3002;
x-ms-traffictypediagnostic: DM5PR06MB3002:
x-microsoft-antispam-prvs: <DM5PR06MB3002DC82E8C49C65334F2A089A7B0@DM5PR06MB3002.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(190756311086443)(158342451672863)(21748063052155);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201703011903075)(201702281528075)(20161123555045)(201703061421075)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:DM5PR06MB3002; BCL:0; PCL:0; RULEID:; SRVR:DM5PR06MB3002;
x-forefront-prvs: 06973FFAD3
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(7966004)(39380400002)(396003)(346002)(376002)(39850400004)(366004)(189003)(199004)(7736002)(25786009)(2900100001)(790700001)(5250100002)(6116002)(606006)(7110500001)(186003)(476003)(7696005)(3660700001)(2420400007)(15650500001)(6506007)(8676002)(66066001)(26005)(3480700004)(10710500007)(59450400001)(99286004)(486006)(3846002)(81166006)(3280700002)(102836004)(2906002)(81156014)(68736007)(110136005)(86362001)(5660300001)(316002)(8936002)(33656002)(4326008)(236005)(54896002)(14454004)(508600001)(54906003)(97736004)(6306002)(966005)(55016002)(105586002)(72206003)(9686003)(106356001)(6436002)(53936002)(74316002)(781001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR06MB3002; H:DM5PR06MB2777.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: trilliant.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: N0PoTpYCK8KW0g6iW6hA3nfhSny3viF45cNvK/YeJikstkly/KHXoLfb87gXJ9JEUmmOFtfIzoSq4PhnVhE1ww/lTClupIzUfWR+W/2Jhvk6Mc+ZfmXKeaBbQwwkGxNeOrR7hVz+jdq7LP96fJu5BzWsJZ/xYMf2KSEmtqJItnzaw84Pl/ykMIOYBkMD/Xx3
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DM5PR06MB2777CAB016D2789C4F1DD67F9A7B0DM5PR06MB2777namp_"
MIME-Version: 1.0
X-MS-Office365-Filtering-Correlation-Id: a5d406d1-c609-451d-bd06-08d5cd6c12ba
X-OriginatorOrg: Trilliant.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a5d406d1-c609-451d-bd06-08d5cd6c12ba
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2018 18:17:19.5776 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4f6fbd13-0dfb-4150-85c3-d43260c04309
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR06MB3002
Archived-At: <https://mailarchive.ietf.org/arch/msg/yot/v-xnksdGMNb4J7vbW5XSlWMK3Yg>
Subject: [Yot] YANG notification within CoMI
X-BeenThere: yot@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Yang of Things <yot.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yot>, <mailto:yot-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yot/>
List-Post: <mailto:yot@ietf.org>
List-Help: <mailto:yot-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yot>, <mailto:yot-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Jun 2018 18:17:29 -0000

Support the YANG notifications in the current CoMI draft (i.e https://www.ietf.org/id/draft-ietf-core-comi-03.txt) is based on the observe option as defined by RFC7641.



This solution has the following issues which make it not practical for the targeted use case.



1) This approach in incompatible with load balancers, notifications are directly returned to the specific server within the cluster which have initiated the observe request.

2) Typical CoAP implementation (e.g. Californium) doesn't support the persistence of the observe context. These contexts can't be recovered after a server restart and can't be shared between servers.

3) Registrations to event streams are not resilient, they can terminate unexpectedly upon transmission error or reception of a Reset message.



I recommend to delete draft-ietf-core-comi section 5.5 and start a specific effort on this topic.

Alignment with the [I-D.ietf-netconf-yang-push] also need to be considered.

Those interested to this topic, please send me a email so I can schedule conference calls or a face to face meeting during the next IETF.



The following diagram shows a typical deployment scenario.



  +---------+  +---------+       +---------+

  | CoMI    |  | CoMI    |  ...  | CoMI    |

  | server  |  | server  |       | server  |

  +---------+  +---------+       +---------+

       |            |                 |

       |            |                 |

       +----------+-+-----------------+

                  |

                  |

   +---------------------------------+

   | CoMI         |                  |

   | client       |                  |

   |         +----------+            |

   |         | Load     |            |

   |         | Balancer |            |

   |         +----------+            |

   |              |                  |

   |        +-----+---------+        |

   |        |               |        |

   |   +---------+     +---------+   |

   |   | Server  | ... | Server  |   |

   |   +---------+     +---------+   |

   |        |               |        |

   |        +-------+-------+        |

   |                |                |

   |           +----------+          |

   |           | Database |          |

   |           +----------+          |

        |                                 |

   +---------------------------------+

Regards,
Michel