[Netconf] stream-filter list in draft-ietf-netconf-subscribed-notifications

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Fri, 15 June 2018 14:51 UTC

Return-Path: <rrahman@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 1A5B2130EF8; Fri, 15 Jun 2018 07:51:13 -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 LM6-OBLdcYAj; Fri, 15 Jun 2018 07:51:11 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D820130EF6; Fri, 15 Jun 2018 07:51:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9940; q=dns/txt; s=iport; t=1529074271; x=1530283871; h=from:to:cc:subject:date:message-id:mime-version; bh=FiWQbh/vplaH+kwMShQY7E2IgSQ+X8plNDGzQv87m+U=; b=jmOO415a6jJ+mXGUpnB58VMmUpyM1MXONvi4NZdVj1CuRN+RKTmcKKWd rBBd+LsFAnZcfB8XDmXYyjGw6ZXrMXlgtHszil+IxC6JFwym6iVeNhLOI 8l+DtnsQPplVhEQEKiH4qm/fk7Gvds3EV88WJ4pAP3WhL9ZFVikY2pGev w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CqAQAb0SNb/5NdJa1bGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAYJTdWJ/MoNvlFaBXpARhH+BeAsshEAZgjshNhYBAgEBAQE?= =?us-ascii?q?BAQJtHQuFUlQCEgFKAgQwJwQOgycCgRtkqVaCHIhGgWiITIFUP4EzDIpSMYI?= =?us-ascii?q?kApE8h1IJAo5/jTiRGgIREwGBJCQDLoFScBU7KgGCGZBOggSOKgGBGQEB?=
X-IronPort-AV: E=Sophos;i="5.51,227,1526342400"; d="scan'208,217";a="410886585"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jun 2018 14:51:10 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by rcdn-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id w5FEpAUk001630 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 15 Jun 2018 14:51:10 GMT
Received: from xch-rcd-005.cisco.com (173.37.102.15) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 15 Jun 2018 09:51:09 -0500
Received: from xch-rcd-005.cisco.com ([173.37.102.15]) by XCH-RCD-005.cisco.com ([173.37.102.15]) with mapi id 15.00.1320.000; Fri, 15 Jun 2018 09:51:09 -0500
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: "draft-ietf-netconf-subscribed-notifications@ietf.org" <draft-ietf-netconf-subscribed-notifications@ietf.org>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: stream-filter list in draft-ietf-netconf-subscribed-notifications
Thread-Index: AQHUBLhL2E/DTySvS0ezm0kgqZ0mbA==
Date: Fri, 15 Jun 2018 14:51:09 +0000
Message-ID: <44E5BF61-4C13-4940-B7F2-B5BD72DDA130@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.b.0.180311
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [161.44.212.36]
Content-Type: multipart/alternative; boundary="_000_44E5BF614C134940B7F2B5BD72DDA130ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/87wp7DJ4NeVerQVxVwkAniS_2yw>
Subject: [Netconf] stream-filter list in draft-ietf-netconf-subscribed-notifications
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: Fri, 15 Jun 2018 14:51:14 -0000

Minor question: why don’t the names of the container wrapper (filters) and the list (stream-filter) match (e.g. filters and filter or stream-filters and stream-filter), is it because we could have another list with other types of filters? If that’s the case, shouldn’t there be a container wrapper stream-filters for the list stream-filter. Looked in the archive and didn’t find discussions on this.

Regards,
Reshad.

  container filters {
    description
      "This container contains a list of configurable filters
       that can be applied to subscriptions.  This facilitates
       the reuse of complex filters once defined.";
    list stream-filter {
      key "identifier";
      description
        "A list of pre-configured filters that can be applied to
        subscriptions.";
      leaf identifier {
        type filter-id;
        description
          "An identifier to differentiate between filters.";
      }
      uses stream-filter-elements;
    }
  }