Return-Path: <evoit@cisco.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id 2CB711250B8
 for <netconf@ietfa.amsl.com>; Wed, 15 Nov 2017 13:53:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.52
X-Spam-Level: 
X-Spam-Status: No, score=-14.52 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01,
 RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001,
 USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
 header.d=cisco.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 qeCFKH9tU9SI for <netconf@ietfa.amsl.com>;
 Wed, 15 Nov 2017 13:53:47 -0800 (PST)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78])
 (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id CDD49127B60
 for <netconf@ietf.org>; Wed, 15 Nov 2017 13:53:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=cisco.com; i=@cisco.com; l=3457; q=dns/txt; s=iport;
 t=1510782810; x=1511992410;
 h=from:to:cc:subject:date:message-id:references:
 in-reply-to:content-transfer-encoding:mime-version;
 bh=4fAjfOpyNYrt/vMMPKQWLmwWjxk7e6bQfnxKTsXGvjw=;
 b=OgAqjBtMF0PvlUW6JWLrKK2gux72IQwvGLzwD2i/EDimJSdFMdivzMjX
 3OtKFLamcMqdzXPfFe/wLs1CJzLCf9Oqe+WYLjbZeWwmXk2lcv5i4asyY
 tQSsSCNpWmKzu3tzuQnNVrMG2wdzO3E563s7ItJxNJvbqQtQKcS57vdD+ E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CWAQAftgxa/4ENJK1eGQEBAQEBAQEBA?=
 =?us-ascii?q?QEBAQcBAQEBAYM2ZG4nB503gX2YbgojhRgChQ5CFQEBAQEBAQEBAWsohR4BAQE?=
 =?us-ascii?q?DATo/BQsCAQgOBwMNEQUEBzIUEQEBBAENBQiKFAgQrBWLDwEBAQEBAQEBAQEBA?=
 =?us-ascii?q?QEBAQEBAQEBARgFgzSCB4FVhROLEAWiNwKHa40Qk02Mb4kSAhEZAYE4ATUigXR?=
 =?us-ascii?q?6FUmCZIMRgU53iFYrgQiBEQEBAQ?=
X-IronPort-AV: E=Sophos;i="5.44,401,1505779200"; d="scan'208";a="319265830"
Received: from alln-core-9.cisco.com ([173.36.13.129])
 by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA;
 15 Nov 2017 21:53:29 +0000
Received: from XCH-RTP-010.cisco.com (xch-rtp-010.cisco.com [64.101.220.150])
 by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id vAFLrTr4008675
 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL);
 Wed, 15 Nov 2017 21:53:29 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-010.cisco.com
 (64.101.220.150) with Microsoft SMTP Server (TLS) id 15.0.1320.4;
 Wed, 15 Nov 2017 16:53:28 -0500
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by
 XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1320.000; Wed, 15
 Nov 2017 16:53:28 -0500
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Martin Bjorklund <mbj@tail-f.com>, "Einar Nilsen-Nygaard (einarnn)"
 <einarnn@cisco.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] Issue SN #4: Can Transport vary across different
 receivers of a single configured subscription?
Thread-Index: AdNdw8aKy+YwdoNoSQ+TUlgDzy0olQAXxPeAAAB8W7AAC1/ogAABuWFw
Date: Wed, 15 Nov 2017 21:53:28 +0000
Message-ID: <7da6319e524f4c6b85652c0fdaf6644c@XCH-RTP-013.cisco.com>
References: <868e65f523c04a38b696649cfaec3666@XCH-RTP-013.cisco.com>
 <20171115.110311.268174371353663424.mbj@tail-f.com>
 <4f48c351c272493eb4d3e5efc8730615@XCH-RTP-013.cisco.com>
 <20171115.164247.1419508866071356464.mbj@tail-f.com>
In-Reply-To: <20171115.164247.1419508866071356464.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.68.216.199]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/NWobwRwVSzeyZTFMTuLjD7hpsDo>
Subject: Re: [Netconf] Issue SN #4: Can Transport vary across different
 receivers of a single configured subscription?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>,
 <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>,
 <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Nov 2017 21:53:49 -0000

Adding Einar as he had some strong opinions on this a few years ago when we=
 were setting the model...


> From: Martin Bjorklund, November 15, 2017 10:43 AM
>=20
> "Eric Voit (evoit)" <evoit@cisco.com> wrote:
> > Hi Martin,
> >
> > > From: Martin Bjorklund [mailto:mbj@tail-f.com]
> > >
> > > "Eric Voit (evoit)" <evoit@cisco.com> wrote:
> > > > In the WG session tomorrow, I am hoping to get "hum feedback" on:
> > > >
> > > >
> > > >
> > > > draft-ietf-netconf-subscribed-notifications
> > > >
> > > > https://github.com/netconf-wg/rfc5277bis/issues/4
> > > >
> > > >
> > > >
> > > > The two choices and their issues exposed during the two week
> > > > review on
> > > "Can Transport vary across different receivers of a single
> > > configured subscription?" are:
> > > >
> > > >
> > > >
> > > > (1) Yes, Transport can vary by receiver
> > > >
> > > > *        Fewer subscriptions (scale benefit)
> > > >
> > > > *        Can convert transport without requiring an application to =
learn
> a
> > > multiple subscription ids
> > > >
> > > > *        No duplication of content during transport conversion.
> > > >
> > > > *        (Potential confusion in allowing transport to vary, but en=
coding
> not
> > > to vary?)
> > > >
> > > >
> > > >
> > > > (2) No, only one Transport across all subscriptions
> > > >
> > > > *        Simpler model
> > > >
> > > > *        But applications may need to create and track multiple
> > > subscription-ids for the same content.
> > > >
> > > > *        Temporary duplication of content streams during transport
> change.
> > > >
> > > >
> > > >
> > > > The current draft does (1).
> > >
> > > Actually, the github issue lists 3 options, but here you just list 2.
> >
> > In reviewing tomorrow's slides with Mahesh, he preferred 2 options.
> > And as varying the encoding by receiver seems unlikely in
> > implementation
>=20
> Why is this unlikely?  Suppose I have two receivers for the same
> subscription, one wants NETCONF/XML and the other RESTCONF/JSON.  Is
> that unlikely?

Einar's belief was that a publisher implementation would be unlikely to ser=
vice a single subscription into multiple encodings.   If such a condition e=
xisted, it would be far easier to create two subscriptions.  This also woul=
d have fewer error conditions.
=20
> > , there is little reason to socialize this unlikely variant before
> > the whole WG.   Since as your opinion was either both encoding and
> > transport or neither encoding and transport vary by receiver, the more
> > likely of your primary ask is supported.
> >
> >
> > > I think the point is that in the term "Transport", we need to
> > > include both protocol and encoding (in the case the protocol
> > > supports multiple encodings).
> >
> > While most likely the case for NETCONF and RESTCONF, Tianran's
> > draft-ietf-netconf-udp-pub-channel shows that there can be encoding
> > variation by transports .   It Therefore it seems better to let them
> > both vary independently.
>=20
> Not sure I understand what you mean.  To be clear, do you think the
> "encoding" leaf should stay where it is, or be moved down to the receiver=
,
> as a sibling to "protocol"?

Encoding leaf should stay where it is.   Your previous ask was to put encod=
ing and transport and the same level. There is an option proposed in the sl=
ides which does that.

Eric

> /martin

