Re: [Taps] YANG model for TAPS (was: Re: Transport Services (taps) WG Virtual Meeting: 2019-05-08)

"Holland, Jake" <jholland@akamai.com> Mon, 13 May 2019 14:25 UTC

Return-Path: <jholland@akamai.com>
X-Original-To: taps@ietfa.amsl.com
Delivered-To: taps@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E57112015E for <taps@ietfa.amsl.com>; Mon, 13 May 2019 07:25:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level:
X-Spam-Status: No, score=-2.71 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_LOW=-0.7, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 WzRphhtz0nbE for <taps@ietfa.amsl.com>; Mon, 13 May 2019 07:25:24 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (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 C9BC5120156 for <taps@ietf.org>; Mon, 13 May 2019 07:25:23 -0700 (PDT)
Received: from pps.filterd (m0122333.ppops.net [127.0.0.1]) by mx0a-00190b01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4DEHaJt004505; Mon, 13 May 2019 15:25:22 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=jan2016.eng; bh=b4EB3M2Sf3nIrACTmJD65ZmFylUdMzM71VicALTSOOc=; b=TqpVVVEauxl4JcRDgARUY27ypJcISNryQnVWWQs3IwSMAAXmHeGEbwmnNb869fOED7tS Jof4mmaqPwZ2U8O5yLogdWdH0L24sECGI0JxCNSBBEn8pilz40U8lpZlIVR54ivb2TrS TsGRoBqeSe+fzkKU/FykB503rRnKdZvWa1Uw4gsLWYbHqauUwb7XmZoqE7F61UpeI7CC Kt+oFtCqIXfEpFMFBUK4+IMnkGt6EtcWFYOVB9Hvud8dGwE5Gi48apEtDIDV7AovUjRT GSjTjoJQhq4e065TnZgsTEQmrUExTQJedddYGefh/HulBKfbFNjRRrLInH42aSCLDjiJ bw==
Received: from prod-mail-ppoint3 (prod-mail-ppoint3.akamai.com [96.6.114.86] (may be forged)) by mx0a-00190b01.pphosted.com with ESMTP id 2sdrkvqwss-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 May 2019 15:25:21 +0100
Received: from pps.filterd (prod-mail-ppoint3.akamai.com [127.0.0.1]) by prod-mail-ppoint3.akamai.com (8.16.0.27/8.16.0.27) with SMTP id x4DEHLMn010262; Mon, 13 May 2019 10:25:20 -0400
Received: from email.msg.corp.akamai.com ([172.27.27.21]) by prod-mail-ppoint3.akamai.com with ESMTP id 2sdsqvm47j-6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 13 May 2019 10:25:17 -0400
Received: from USTX2EX-DAG1MB4.msg.corp.akamai.com (172.27.27.104) by ustx2ex-dag1mb2.msg.corp.akamai.com (172.27.27.102) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 13 May 2019 09:25:03 -0500
Received: from USTX2EX-DAG1MB4.msg.corp.akamai.com ([172.27.6.134]) by ustx2ex-dag1mb4.msg.corp.akamai.com ([172.27.6.134]) with mapi id 15.00.1473.003; Mon, 13 May 2019 09:25:03 -0500
From: "Holland, Jake" <jholland@akamai.com>
To: "Philipp S. Tiesel" <philipp@tiesel.net>
CC: "Brian Trammell (IETF)" <ietf@trammell.ch>, Aaron Falk <aaron.falk@gmail.com>, "taps@ietf.org" <taps@ietf.org>
Thread-Topic: YANG model for TAPS (was: Re: [Taps] Transport Services (taps) WG Virtual Meeting: 2019-05-08)
Thread-Index: AQHVBLFimsNYtm6d/0O69LYOQyZQu6ZpBGMA
Date: Mon, 13 May 2019 14:25:03 +0000
Message-ID: <52F6D59F-F3B5-4B63-B7B7-3C39622991D7@akamai.com>
References: <155489822442.1250.16679801810558020672@ietfa.amsl.com> <0EB8B0C5-AA9F-4B26-A496-0308096696CE@gmail.com> <CD21123D-B57D-4F85-ADF5-0FB926C923F2@trammell.ch> <A920F023-C5A7-4EB2-B088-FB0EACC6A539@akamai.com> <78919203-5513-49F9-8B15-BC721A895B37@tiesel.net>
In-Reply-To: <78919203-5513-49F9-8B15-BC721A895B37@tiesel.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.18.0.190414
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.113.169]
Content-Type: multipart/alternative; boundary="_000_52F6D59FF3B54B63B7B73C39622991D7akamaicom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-13_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905130101
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-13_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905130101
Archived-At: <https://mailarchive.ietf.org/arch/msg/taps/rT4L0dRw2MSuqshY4VupNxHQnv8>
Subject: Re: [Taps] YANG model for TAPS (was: Re: Transport Services (taps) WG Virtual Meeting: 2019-05-08)
X-BeenThere: taps@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IETF Transport Services \(TAPS\) Working Group" <taps.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/taps>, <mailto:taps-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/taps/>
List-Post: <mailto:taps@ietf.org>
List-Help: <mailto:taps-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/taps>, <mailto:taps-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 May 2019 14:25:26 -0000

Whoops, I just noticed I didn’t send this last Tuesday!

I would have let it drop as out-of-date, but I still wanted to say thanks to Philipp for the review and suggestion.


Hi Philipp,

Thanks for taking a look, and for the suggestion.

I agree that seems nicer, so I updated the model and the input .json files to match, and adjusted the import logic so it runs again.  I also cleaned up the transport-properties in that repo to match (I think) with the latest text from section 5.2 of taps-interface.

- Jake

From: "Philipp S. Tiesel" <philipp@tiesel.net>
Date: 2019-05-07 at 01:46
To: Jake Holland <jholland@akamai.com>
Cc: "Brian Trammell (IETF)" <ietf@trammell.ch>, Aaron Falk <aaron.falk@gmail.com>, "taps@ietf.org" <taps@ietf.org>
Subject: YANG model for TAPS (was: Re: [Taps] Transport Services (taps) WG Virtual Meeting: 2019-05-08)

Hi Jake,

thanks on your work on PyTAPS and the YANG model!
I love the idea of having a implementation-agnostic way to specify endpoints and transport properties.

I have not reviewed the work on PyTAPS yet, but have some comments on the updated YANG model.
It is far better than the first version, especially with regards to the endpoint definition.

With regards to the properties, I think the modelling of transport properties still does
not work as the transport properties in the draft. The transport properties in the YANG
model model only a subset of the selection properties.

For the actual preferences, I’d rather expected something like:

container transport-properties {

  leaf reliability {
    description "Reliable Transport";
    type preference-level;
  }
  leaf per-message-reliability {
    description "Per-message Reliable Transport";
    type preference-level;
  }
  leaf preserve-order {
    description "Per-message Reliable Transport";
    type preference-level;
  }
  leaf zero-rtt-establishment {
    description "Use 0-RTT session establishment with an idempotent Message";
    type preference-level;
  }

  list iftype {
    leaf type {
        when "derived-from-or-self(../type,
            'taps:local-interface-selection')";
        type identityref {
          base "ianaift:iana-interface-type";
        }
    }
    leaf preference {
        type preference-level;
    }
    description "interface type constraint for local interface selection";
    reference "RFC 7224 Section 2";
}

But maybe we should discuss details off-line…