Re: [Netconf] IETF 101 SN Question 1: Proper designation of receiver (was RE: mbj's WGLC comments on subscribed-notifications-10)

Kent Watsen <kwatsen@juniper.net> Wed, 09 May 2018 17:48 UTC

Return-Path: <kwatsen@juniper.net>
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 7BCE8126E64 for <netconf@ietfa.amsl.com>; Wed, 9 May 2018 10:48:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.801
X-Spam-Level:
X-Spam-Status: No, score=-0.801 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 f9_7wwgeDzLu for <netconf@ietfa.amsl.com>; Wed, 9 May 2018 10:48:52 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 83D81126DFF for <netconf@ietf.org>; Wed, 9 May 2018 10:48:52 -0700 (PDT)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w49HjsbZ027004; Wed, 9 May 2018 10:48:50 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=4m95oYv6MLQbxIym8F0bMWaasu/H9bOQoZ1gFq4HJm0=; b=x+64chjxWsabjeowLFHb8ov1MijA0vTjd+3yEk5OQo6yoYjQGaqfaaoPsbl2JtyNS0Ax mooRhdkUQ2BP0YU9j4vRA3HWTObZpgMkjpVRNfvSgpagH3MbjkG9w+OLuPr+lo0zgS1u /z3sTU5dIwjBTnNmiGTt7y59thW3zUqN/JH2uBor9D2uoHayPMJBvSE3mWgH83KG3+79 vb4I1gVIk/2mkNddrqEKZTATA1gPN2LAmCdzTP10N8G/MFfs+O8J1Oo+VnYlP3DoMBCU OxZ9BxkEAU/dykr26c53e6dbdAKJ50Q8xvp6Qn6B5h/o98xLDzlLWlSs5cs2qj2olBXH bA==
Received: from nam01-by2-obe.outbound.protection.outlook.com (mail-by2nam01lp0176.outbound.protection.outlook.com [216.32.181.176]) by mx0b-00273201.pphosted.com with ESMTP id 2hv33s0bfa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 09 May 2018 10:48:50 -0700
Received: from BYAPR05MB4230.namprd05.prod.outlook.com (52.135.200.153) by BYAPR05MB4376.namprd05.prod.outlook.com (52.135.202.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.755.10; Wed, 9 May 2018 17:48:48 +0000
Received: from BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::5c50:c79f:dbd0:7a9a]) by BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::5c50:c79f:dbd0:7a9a%13]) with mapi id 15.20.0755.012; Wed, 9 May 2018 17:48:48 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "Eric Voit (evoit)" <evoit@cisco.com>, Martin Bjorklund <mbj@tail-f.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] IETF 101 SN Question 1: Proper designation of receiver (was RE: mbj's WGLC comments on subscribed-notifications-10)
Thread-Index: AdPLq1bdbG0V/cUiRq+xx5f8/6xu5QKHJ4qABFLuCwAAJ7APgP//1AsA
Date: Wed, 09 May 2018 17:48:47 +0000
Message-ID: <B55B43B2-C4E3-411B-A71B-05CD3299408C@juniper.net>
References: <d510ae4b5a8548c096229819f92b04d9@XCH-RTP-013.cisco.com> <3f91777ee1b945a7a770d2fcf9b9d0af@XCH-RTP-013.cisco.com> <F5B7A6D2-2C4C-4E26-8912-A2C7193209E1@juniper.net> <9639b2917e23473483a2fc1bf89b6e1e@XCH-RTP-013.cisco.com>
In-Reply-To: <9639b2917e23473483a2fc1bf89b6e1e@XCH-RTP-013.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.11]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BYAPR05MB4376; 7:wtnPWxNTckQ1KzoUq5PcX2JJspdZIsH35NXwig3KUyAY3AeqCT9ZR7xLfO3UXc+Sp9uLNH1WNvLGb+mIh1vSf/LFuQraG0xEyrCeIHZ7GQ/rTOnekxMqsaqeMYMIlFrmMYQAmNdaWAJHHPAwY/hQaog3nv8tlnZ3dkg3VIPTqotcwYWAu8xoMDcpo0Y4CQoM55cuJU+j/n5IrTy6OoFtj1a3RLLDVipM+c45PGKirGohhzUGW6HHbiXmIQ55HdH3
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:BYAPR05MB4376;
x-ms-traffictypediagnostic: BYAPR05MB4376:
x-microsoft-antispam-prvs: <BYAPR05MB4376228165ADC1CFDEC19523A5990@BYAPR05MB4376.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(10436049006162)(95692535739014);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231254)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BYAPR05MB4376; BCL:0; PCL:0; RULEID:; SRVR:BYAPR05MB4376;
x-forefront-prvs: 0667289FF8
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(39380400002)(346002)(376002)(39860400002)(366004)(189003)(199004)(66066001)(36756003)(93886005)(316002)(7736002)(11346002)(561944003)(33656002)(110136005)(476003)(2616005)(446003)(305945005)(486006)(97736004)(105586002)(53936002)(6246003)(26005)(6306002)(15650500001)(6512007)(4326008)(575784001)(58126008)(86362001)(2900100001)(106356001)(99286004)(8676002)(6486002)(3660700001)(68736007)(6436002)(102836004)(53546011)(76176011)(59450400001)(3280700002)(6346003)(82746002)(2906002)(6506007)(5660300001)(966005)(8936002)(478600001)(83716003)(14454004)(5250100002)(229853002)(25786009)(81156014)(186003)(81166006)(3846002)(6116002)(19627235001); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB4376; H:BYAPR05MB4230.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: ZUZZRIDNZMCzm81V+Bjo697aTlUpy/WzRGJmKuLYvuB31lTifeM6MQGIar4CaaQuOZYYXOKDH+EDvVwmVOh9I9V6EafZzyrGGZa1WLBJVIoj9DERZYcCBM4+FLrP/uIARx3J2OTl/3Q8gs8jcanFw+4BSlMrdaCCakKpVOAD1s14113w6DPdOZCdzcO3rybc
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <7145E002E0947E44879275AF4A348884@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Office365-Filtering-Correlation-Id: 8d90252d-5bcc-4091-0c26-08d5b5d51e18
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 8d90252d-5bcc-4091-0c26-08d5b5d51e18
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2018 17:48:47.9565 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4376
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-05-09_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805090167
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/iinvRe9gNEOnOBYVNtcGHXUUB9g>
Subject: Re: [Netconf] IETF 101 SN Question 1: Proper designation of receiver (was RE: mbj's WGLC comments on subscribed-notifications-10)
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, 09 May 2018 17:48:55 -0000

Listening to the audio from 101, it seemed that Martin's objection was primarily that the current draft didn't follow the pattern that other drafts are using [1].

Without actually understanding the proposal below, I'll only state that my thought is not to push this work towards [2] today, but more to ensure it follows the pattern.  

FWIW, in the syslog draft, we used to have a "tcp" transport type, which was really just an address/port pair, so maybe something like:

       +--rw subscriptions
          +--rw subscription* [id]
               +--rw id                 
               +--rw receivers
                  +--rw receiver* [name]
                       +--rw name    string
                       +--rw (transport)
                         +--:(tcp) {tcp-call-home}?
                             +--rw tcp
                                 ...

Wait, now I'm confused, how is only specifying an "address" sufficient for configuration.  I thought the receiver needed to authenticated.  -12 says:

   For both configured and dynamic subscriptions the publisher MUST
   authenticate and authorize a receiver via some transport level
   mechanism before sending any updates.

How is the crypto and auth configured?  Maybe this draft should leave the "transport" choice node empty, and let the netconf-notif and restconf-notif modules augment in their respective transport-specific config into the "transport" choice node here?

Kent


===== original message =====

Hi Kent,

I am trying to map your proposed structure onto the receivers list.  I think what you are suggesting is a design pattern like this:

       +--rw subscriptions
          +--rw subscription* [id]
               +--rw id                 
               +--rw receivers
                  +--rw receiver* [name]
                       +--rw name    string
                       +--rw (transport)
                         +--:(ssh) {ssh-call-home}?
                          |  +--rw ssh
                         |     ...
                          +--:(tls) {tls-call-home}?
                             +--rw tls

There was some discussion early on with respect to using your client/server models as inspiration.  However they were not a clean match, and actually the WG stepped back from this path when there was a decision at & after IETF 100 to simplify things and have a common transport across all receivers of a configured subscription.  

For more, see https://urldefense.proofpoint.com/v2/url?u=https-3A__etherpad.tools.ietf.org_p_notes-2Dietf-2D100-2Dnetconf-3FuseMonospaceFont-3Dtrue&d=DwIGaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=mlgnwyfQ9f4k26oqQICp5jBIZ1kB9w8T5l5YnoyGBgU&s=Ze41zuqNT4PBN99cA4dADgxy-xBKLFfzyfivvhJTidM&e=   Issue SN#4 

Also it feels more modular to maintain transport specific call home details in a place like module ietf-netconf-server  This avoids storing call home information for every receiver in the subscriptions table.  The good news is that with the current design, it is possible to augment a leafref to various call-home transport options when that draft progresses.  And I believe Martin suggested this as an approach in this thread.

Eric

In any case as [2] progresses, [2] should be something developers wanting to use call home should use.


> From: Kent Watsen, May 8, 2018 9:30 PM
> 
> 
> Sorry, just looking at this now while listening to the minutes.  I think we should
> look at [1] for inspiration.  This is the pattern that the various client/server and
> syslog documents used.  For instance, notice in [2]:
> 
>   module: ietf-netconf-server
>       +--rw netconf-server
>          +--rw listen {listen}?
>             ...
>          +--rw call-home {call-home}?
>             +--rw netconf-client* [name]
>                +--rw name                  string
>                +--rw endpoints
>                   +--rw endpoint* [name]
>                      +--rw name    string
>                      +--rw (transport)
>                         +--:(ssh) {ssh-call-home}?
>                         |  +--rw ssh
>                         |     ...
>                         +--:(tls) {tls-call-home}?
>                            +--rw tls
>                               ...
> 
> See how there is a 'choice' with a case for each transport?  "Endpoint" here is
> like your "receiver"...
> 
> [1] https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_id_draft-2Dschoenw-2Dnetmod-2Dyang-2Dpattern-2D00.txt&d=DwIGaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=mlgnwyfQ9f4k26oqQICp5jBIZ1kB9w8T5l5YnoyGBgU&s=5fSSDwLs3xnRhTaHRh0avYzXVp9vyEiBN6yPU5q7RWI&e=
> [2] https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_html_draft-2Dietf-2Dnetconf-2Dnetconf-2Dclient-2Dserver-2D&d=DwIGaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=mlgnwyfQ9f4k26oqQICp5jBIZ1kB9w8T5l5YnoyGBgU&s=LiWhNYvJYwT22pvItpCUzPNZH7-sJqJR3eGI8vji9Wc&e=
> 05#section-4.1
> 
> Kent // contributor
> 
> 
> 
> > From: Eric Voit, April 3, 2018 8:25 PM
> >
> > At IETF 101, during the subscribed-notifications review, everyone in
> > the room seemed good with having a string which acted as the key for a
> > list of configured receivers:
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_KJtg-2DJ
> > -2D6CZM-3Ft-3D27m39s&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-
> ndb3voDTXc
> >
> WzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=nPdmcQiJgwY
> aRYnX
> >
> OWJQJmL0npaAmtTIQk4YNutZA1I&s=XlKKQ9yScaldHxhsVmnkW8vDLpmTgU_4
> u2wD_WC6
> > BDQ&e= What was unresolved was that we still needed to choose the
> > preferred way to enforce each receiver initiating a call-home using
> > the configured subscription's transport.
> >
> > Further below in the thread, Martin proposes a structure to accomplish
> > this.  Please note however that a natural outcome of Martin's
> > suggestion is the placing of a small YANG model within
> > draft-ietf-netconf-netconf-event- notifications which just defines an identity
> for "NETCONF".  Specifically:
> >
> >   identity netconf {
> >     base sn:transport;
> >     base sn:inline-address;
> >     description
> >       "NETCONF is used as a transport for notification messages and
> >        state change notifications.";
> >   }
> >
> > (  For the full min-model with all the boilerplate, see:
> > https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__github.com_netconf-2Dwg_notif-2Dnetconf_blob_master_draft-2Dietf-
> 2D&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-
> ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=n
> PdmcQiJgwYaRYnXOWJQJmL0npaAmtTIQk4YNutZA1I&s=ADVNhk_g5Zew9bG9
> F48_mtfHGr46qSglpAL4AKzJFNY&e=
> > netconf-netconf-event-notifications-10.txt   )
> >
> > The benefit of having this very short model in
> > draft-ietf-netconf-netconf- event-notifications is that it is quite easy to
> enforce the proper call home
> > mechanism for NETCONF based receivers.   Another benefit is that we also
> > can create additional mini models for the RESTCONF / HTTP draft and
> > for other transports as they are built out.
> >
> > Does anyone have issue with this approach?
> 
> There hasn't been anyone with an opinion or an alternative to Martin's
> approach.    As a result, above it what I put into v12:
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__datatracker.ietf.org_doc_draft-2Dietf-2Dnetconf-2Dsubscribed-
> 2Dnotifications&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-
> ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=n
> PdmcQiJgwYaRYnXOWJQJmL0npaAmtTIQk4YNutZA1I&s=Hwcw85WOjJ9Duzi44
> YtoggL7NZpDaVVRlJVV6HeziKA&e=
> 
> If you feel strongly for please chime in before the end of the week.  If no one
> chimes in, let's close this issue.
> 
> Eric
> 
> > Eric
> >
> >
> >
> > > From: Martin Bjorklund <mbj@tail-f.com>
> > > Sent: Thursday, March 22, 2018 3:14 PM
> > > To: Eric Voit (evoit) <evoit@cisco.com>
> > > Cc: netconf@ietf.org
> > > Subject: Re: [Netconf] mbj's WGLC comments on
> > > subscribed-notifications-
> > > 10
> > >
> > > Hi,
> > >
> > > [pruning to open issues]
> > >
> > >
> > > "Eric Voit (evoit)" <evoit@cisco.com> wrote:
> > > > Hi Martin,
> > > >
> > > > Thanks very much for the comments.  Thoughts are in line.  Also a
> > > > few key areas marked with "****"
> > > >
> > > > Note that changes shown below are also included in this working
> > > > version
> > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ne
> > > > tconf-2Dwg_rfc5277bis_blob_master_draft-2Dietf-
> 2D&d=DwICAg&c=HAkYu
> > > > h63rsuhr6Scbfh0UjBXeMK-
> ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2
> > > >
> gsBYaGTvjISlaJdcZo&m=nPdmcQiJgwYaRYnXOWJQJmL0npaAmtTIQk4YNutZA1I
> &s
> > > > =Do-8-gNbbkSGICRHwztUIZKhbaErQvFYlrCnmrlKvGQ&e=
> > > netcon
> > > > f-subscribed-notifications-11.txt
> > > >
> > > > > Martin Bjorklund, March 15, 2018 5:12 AM
> > > > >
> > > > > Hi,
> > > > >
> > > > > Here are my WGLC comments on
> > > > > draft-ietf-netconf-subscribed-notifications-10.
> > > > >
> > > > > In general, I think ths document has improved a lot, it is now
> > > > > easier to follow.
> > > > >
> > > > >
> > > > >
> > > > > Major issue
> > > > > -----------
> > > > >
> > > > > o  list receiver
> > > > >
> > > > >    In the YANG model, the "receiver" list is indexed by ip and port.
> > > > >
> > > > >    How is the server supposed to use this simple list of ip/port?
> > > > >
> > > > >    We get a hint from the document in 2.5.2:
> > > > >
> > > > >      transport specific
> > > > >      call-home operations will be used to establish the
> > > > > connection
> > > > >
> > > > >    But it is not clear that this list of ip/port helps.
> > > >
> > > > Actually, the address is of type Host.  Of course for everyone
> > > > must eventually resolve to an IP address to make a connection.
> > > >
> > > > However what I think what you are ultimately trying to do is make
> > > > sure the choice of index doesn't preclude future mechanisms for
> > > > referencing receivers beyond address+Port.  And this likely is a
> > > > good
> > idea.
> > > >
> > > > >    The document
> > > > >    draft-ietf-netconf-netconf-client-server provides configuration for
> > > > >    call home for NETCONF.  In that document, the receiver is
> > > > >    identified with a "netconf-client" name and an "endpoint" name, not
> > > > >    ip/port. (draft-ietf-netconf-restconf-client-server has a similar
> > > > >    structure for RESTCONF).
> > > >
> > > > Yes, having alternative, indirect ways of *ultimately* getting to
> > > > IP address + port would help flexibility.
> > > >
> > > > >    The best solution would have been to have leafrefs to these
> > > > >    datamodels, but if we do that now, it would introduce a delay b/c
> > > > >    of the dependency.
> > > > >
> > > > >    The second best solution (I think) is to change this list to have
> > > > >    just a "name" as the single key, and nothing else, and write that
> > > > >    transport-specific modules can add to this in the future.
> > > >
> > > > I am fine with name as a single key.  However "nothing else"
> > > > injects a few problems:
> > > >
> > > > (1) our traffic counters are transport agnostic.  Displacing them
> > > > to a transport draft reduces utility.
> > >
> > > Yes; my mistake, I didn't mean to exclude the counters / state /
> > > action.  Just host/port.
> > >
> > > > (2) forcing the acquisition of host or ip address only from the
> > > > transport draft creates unnecessary complexity for people who are
> > > > able to simply configure host+Port, should it be available in that
> > > > form already?  So why not simply leave those in as a transport
> > > > agnostic option of last resort should it be available to populate?
> > >
> > > I think it is a bad idea to include open-ended objects just b/c
> > > "maybe someone would like to use them for something".  For
> > > interoperability, it is important that all objects we define have
> > > clear semantics, and that it clear how to use them.
> > >
> > > In this case, none of the standard transports will need these nodes
> > > (unless the client-server models are severly changed).  If someone
> > > defines a transport in the future that needs these objects, it is
> > > trivial to do, and it will be done in a more robust way.
> > >
> > > This said, if the WG strongly believes that these nodes are
> > > important, here's a design that might work:
> > >
> > >   identity inline-address {
> > >     description
> > >       "A transport identity can derive from this identity in order
> > >        to allow inline definition of the host address in the
> > >        'receiver' list";
> > >     }
> > >   }
> > >
> > >   ...
> > >
> > >   leaf address {
> > >     when 'derived-from(../../../transport, "sn:inline-address")';
> > >     ...
> > >   }
> > >
> > > The you can define your transport like this:
> > >
> > >   identity my-udp-based-transport {
> > >     base sn:transport;
> > >     base sn:inline-address;
> > >   }
> > >
> > > I would prefer to simply leave this out though.
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Netconf mailing list
> > Netconf@ietf.org
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mail
> > man_listinfo_netconf&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-
> ndb3voDTXc
> >
> WzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=nPdmcQiJgwY
> aRYnX
> >
> OWJQJmL0npaAmtTIQk4YNutZA1I&s=8_AkMiol4GBodtRocjI8gu0PfaUJP79h_03
> knfp4
> > 8GI&e=
> 
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__www.ietf.org_mailman_listinfo_netconf&d=DwICAg&c=HAkYuh63rsuhr6S
> cbfh0UjBXeMK-
> ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=n
> PdmcQiJgwYaRYnXOWJQJmL0npaAmtTIQk4YNutZA1I&s=8_AkMiol4GBodtRocjI
> 8gu0PfaUJP79h_03knfp48GI&e=
>