Re: [Netconf] Anyone want just Configured Subscriptions?

"Eric Voit (evoit)" <evoit@cisco.com> Mon, 09 July 2018 04:17 UTC

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 B55BC130F01 for <netconf@ietfa.amsl.com>; Sun, 8 Jul 2018 21:17:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, 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 jp7j5vFXokSU for <netconf@ietfa.amsl.com>; Sun, 8 Jul 2018 21:17:07 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DC927130F02 for <netconf@ietf.org>; Sun, 8 Jul 2018 21:17:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=18000; q=dns/txt; s=iport; t=1531109826; x=1532319426; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=TqnGPSgMRcZ/3Bap1W/bezZB31DbFIL6yKQ6/dRlkCo=; b=HHwsRjl+yDUxR2jk4Ik0OBmLQlFvCKSRMav31NslUPMcpR1tbC52zFo9 hL2Y+wIjb+5W4jFEhJZ1AFwswWnIBA5uEqZhG/laryilTRokN0BQlnUQp JW9jjJ25pu9ZHOTT4IJoXFkQLjsMVGwMP1K+IiA70YGxvkoIiOJ7RP30g 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CoAAAa4UJb/5NdJa1cGQEBAQEBAQEBAQEBAQcBAQEBAYJTTCpifygKg3CIBIw0ggeQJIUOgXoLhGwCF4IWITQYAQIBAQIBAQJtKIU2AQEBAQMjCkwQAgEIEAUDDRoDAgICMBQRAgQOBQiCTUyBG2SpDYIciEaBOohugVY/gQ+CYS6EZCQogkuCVQKRaodlCQKIaoYwjWWRaQIRFIEkHTiBUnAVgySQUQFvjQgFgSmBGgEB
X-IronPort-AV: E=Sophos;i="5.51,328,1526342400"; d="scan'208,217";a="139706514"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2018 04:17:06 +0000
Received: from XCH-RTP-015.cisco.com (xch-rtp-015.cisco.com [64.101.220.155]) by rcdn-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id w694H5GZ031602 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 9 Jul 2018 04:17:06 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-015.cisco.com (64.101.220.155) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Mon, 9 Jul 2018 00:17:05 -0400
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; Mon, 9 Jul 2018 00:17:05 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Andy Bierman <andy@yumaworks.com>
CC: Martin Bjorklund <mbj@tail-f.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Netconf <netconf@ietf.org>
Thread-Topic: [Netconf] Anyone want just Configured Subscriptions?
Thread-Index: AQHUFdzoQxUMgGR6+EyEsUfGkX4eo6SD/RKAgABHKwCAAA3RgIAA6BaAgAAi8ACAAGVWAIAABZ+AgABuS9CAAFFigP//wvaA
Date: Mon, 09 Jul 2018 04:17:04 +0000
Message-ID: <dd176f76da934d01962768071f9ddb5f@XCH-RTP-013.cisco.com>
References: <CABCOCHSfzpj3Kca2RRtNFV6wLLt_6r4p3vfS_j4Hzfai-0Y2gA@mail.gmail.com> <20180708.095807.918450792556408986.mbj@tail-f.com> <20180708100310.gn3xaol66f7c7lo5@anna.jacobs.jacobs-university.de> <20180708.180552.1582913595227099806.mbj@tail-f.com> <CABCOCHQfirYPAVJwLELnqw0VJ=js7aFNX9wB7Xcs6Tkw06w1hw@mail.gmail.com> <9c3799f19cf84b22a3659c04a548ba67@XCH-RTP-013.cisco.com> <CABCOCHSd4UAmJV1yPERTxT9btdAAXOpNQQNK5N6ezZsirpw7nA@mail.gmail.com>
In-Reply-To: <CABCOCHSd4UAmJV1yPERTxT9btdAAXOpNQQNK5N6ezZsirpw7nA@mail.gmail.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.118.56.230]
Content-Type: multipart/alternative; boundary="_000_dd176f76da934d01962768071f9ddb5fXCHRTP013ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/gDq_Z7wQlTq6efBVB8BNST7zglg>
Subject: Re: [Netconf] Anyone want just Configured Subscriptions?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
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: Mon, 09 Jul 2018 04:17:10 -0000

From: Andy Bierman, July 8, 2018 11:52 PM


On Sun, Jul 8, 2018 at 8:05 PM, Eric Voit (evoit) <evoit@cisco.com<mailto:evoit@cisco.com>> wrote:
Hi Andy,

From: Andy Bierman, July 8, 2018 12:26 PM
On Sun, Jul 8, 2018 at 9:05 AM, Martin Bjorklund <mbj@tail-f.com<mailto:mbj@tail-f.com>> wrote:
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de<mailto:j.schoenwaelder@jacobs-university.de>> wrote:
> On Sun, Jul 08, 2018 at 09:58:07AM +0200, Martin Bjorklund wrote:
> > Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>> wrote:
> > >
> > > You mean <start-all-configured-subscriptions> I think.
> >
> > Yes.
> >
>
> If you do this, why does the client, after receiving a call home, not
> simply create dynamic subscriptions? ;-)

Well, the configured subscription is needed anyway in order for the
device to call home, so having the client create all configured
subscriptions as dynamic subscriptions as well doesn't seem quite
right.

It is quite possible that multiple RPC operations are needed to get the session
started, such as reading the YANG library, and that the client
is not ready to receive notifications as soon as the session is started.
So an <activate-configured-sessions> operation may help.


But if the WG agrees that it is ok to send <notification> directly,
this issue goes away.

Sitting idle is definitely OK.
Accepting notifications right away is OK as an implementation feature
outside the standard.

<Eric> If the NETCONF-Notif says that the NETCONF client for a configured subscription must be able to handle accepting notifications right away, do you see any standardization issue with this behavior in this context?


NETCONF-Notif can make that requirement, but the Notif-Server MUST support regular
operations on the session, because CallHome allows a client to do that.


<Eric> Yes.  This is the last sentence of the first paragraph of draft-ietf-netconf-netconf-event-notifications, Section 5.1

“This transport session MAY also be used by dynamic subscriptions and/or non-subscription related NETCONF operations originated by the NETCONF client.”

Eric

Eric

/martin

Andy



Andy