[Netconf] draft-ietf for pub/sub WAS:RE: rfc5277:one session can only support one <create-subscription>?

"Ersue, Mehmet (Nokia - DE/Munich)" <mehmet.ersue@nokia.com> Wed, 05 August 2015 18:50 UTC

Return-Path: <mehmet.ersue@nokia.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A67C61A8AE2 for <netconf@ietfa.amsl.com>; Wed, 5 Aug 2015 11:50:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham
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 Z5l5OzXYmkf8 for <netconf@ietfa.amsl.com>; Wed, 5 Aug 2015 11:50:53 -0700 (PDT)
Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [93.183.12.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8CF71A8AE0 for <netconf@ietf.org>; Wed, 5 Aug 2015 11:50:52 -0700 (PDT)
Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd002.nsn-inter.net (8.15.1/8.15.1) with ESMTPS id t75IomtW005564 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Aug 2015 18:50:48 GMT
Received: from DEMUHTC002.nsn-intra.net ([10.159.42.33]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id t75Iolrj010944 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 5 Aug 2015 20:50:47 +0200
Received: from DEMUMBX005.nsn-intra.net ([169.254.5.210]) by DEMUHTC002.nsn-intra.net ([10.159.42.33]) with mapi id 14.03.0248.002; Wed, 5 Aug 2015 20:50:47 +0200
From: "Ersue, Mehmet (Nokia - DE/Munich)" <mehmet.ersue@nokia.com>
To: "ext Eric Voit (evoit)" <evoit@cisco.com>, "du.baowei23@zte.com.cn" <du.baowei23@zte.com.cn>
Thread-Topic: draft-ietf for pub/sub WAS:RE: [Netconf] rfc5277:one session can only support one <create-subscription>?
Thread-Index: AQHQzlxegxsRQ0QNHEWR9HpNeNpDqZ39msrggAAEXoA=
Date: Wed, 05 Aug 2015 18:50:46 +0000
Message-ID: <E4DE949E6CE3E34993A2FF8AE79131F819776572@DEMUMBX005.nsn-intra.net>
References: <OF61DE7910.A6569B4D-ON48257E97.00086045-48257E97.000A455E@zte.com.cn> <CABCOCHRayCNPWxPxR=ZOWq49QA7sqfpsthBwXGaZ=oew9OEDdA@mail.gmail.com> <EF64FF31F4C4384DBCE5D513A791C2B121B1E92D@xmb-aln-x11.cisco.com>
In-Reply-To: <EF64FF31F4C4384DBCE5D513A791C2B121B1E92D@xmb-aln-x11.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.159.42.155]
Content-Type: multipart/alternative; boundary="_000_E4DE949E6CE3E34993A2FF8AE79131F819776572DEMUMBX005nsnin_"
MIME-Version: 1.0
X-purgate-type: clean
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-size: 61440
X-purgate-ID: 151667::1438800648-0000676C-261DE2C6/0/0
Archived-At: <http://mailarchive.ietf.org/arch/msg/netconf/dc-9q999lU_yo8j88EXsrlJSnCE>
Cc: Netconf <netconf@ietf.org>
Subject: [Netconf] draft-ietf for pub/sub WAS:RE: rfc5277:one session can only support one <create-subscription>?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.15
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, 05 Aug 2015 18:50:56 -0000

Hi Eric,

there is no additional voting on the maillist. As per process we verify the meeting result on the maillist and ask whether there is an objection.
This happened, via the mail with the subject “[Netconf] Summary and AIs from the NETCONF Session in IETF #93” on July 25th.

The next step is to update the charter. Once the charter is through the AD review and IESG approval,
we will ask you to provide draft-ietf-netconf-yang-push-00.txt, which then will be accepted on IETF server.

Mehmet

From: Netconf [mailto:netconf-bounces@ietf.org] On Behalf Of ext Eric Voit (evoit)
Sent: Wednesday, August 05, 2015 6:43 PM
To: du.baowei23@zte.com.cn
Cc: Netconf
Subject: Re: [Netconf] rfc5277:one session can only support one <create-subscription>?

draft-clemm-netconf-yang-push is intended to support many subscriptions on a NETCONF session.  This draft was verbally approved for WG status a couple weeks ago in Prague, although the formal mailing list vote is still pending.

Can you take a look at section 3.8 of that draft above and see if it meets your needs?   And if not, suggest what else might be necessary?

Thanks,
Eric

From: Andy Bierman, August 03, 2015 10:22 PM

On Mon, Aug 3, 2015 at 6:52 PM, <du.baowei23@zte.com.cn<mailto:du.baowei23@zte.com.cn>> wrote:
Hello!

I was confused by the RFC5277 relationship between the session and subscription numbers.

In RFC5277:

2.  Notification-Related Operations
2.1.  Subscribing to Receive Event Notifications

   The event notification subscription is initiated by the NETCONF
   client and responded to by the NETCONF server.  A subscription is
   bound to a single stream for the lifetime of the subscription.  When
   the event notification subscription is created, the events of
   interest are specified.

QUESTION:a session can contain subscription.
          May a session contain several subscriptions?


no

6.  Interleave Capability
6.5.  Modifications to Existing Operations

   When a <create-subscription> is sent while another subscription is
   active on that session, the following error will be returned:

      Tag: operation-failed

      Error-type: protocol

      Severity: error

      Error-info: none

      Description: Request could not be completed because the requested
      operation failed for some reason not covered by any other error
      condition.

QUESTION: when interleave capability is active, a session can only support
          one <create-subscription> at one time.
          Does it imply that
          when a subscription is active, if there is no interleave capability
          and agent receive another <create-subscription>, session will
          support both two subscription?


the :interleave capability means the server will accept commands on
the same session that notifications are being sent.  The server has
to interleave complete <rpc-reply> and <notification> messages

Another <create-subscription> is not allowed.

thanks :)

Andy





--------------------------------------------------------

ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.




_______________________________________________
Netconf mailing list
Netconf@ietf.org<mailto:Netconf@ietf.org>
https://www.ietf.org/mailman/listinfo/netconf