Re: [Netconf] mbj's WGLC review of yang-push-17

Kent Watsen <kwatsen@juniper.net> Tue, 25 September 2018 19:12 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 66E1A12D7F8 for <netconf@ietfa.amsl.com>; Tue, 25 Sep 2018 12:12:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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] 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 PZuPVsUH0YK5 for <netconf@ietfa.amsl.com>; Tue, 25 Sep 2018 12:12:45 -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 7CFE0128CF3 for <netconf@ietf.org>; Tue, 25 Sep 2018 12:12:45 -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 w8PHnxw1017943; Tue, 25 Sep 2018 10:52:27 -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 : mime-version; s=PPS1017; bh=PpbYb4uXvMUj6r+Pd6xRVSBYU7bCwiOaNcbFtG8T4gw=; b=ytXMVwzm9szPDRdlJB9tDtXkiFkIr19KfOeH19cMQ6k9/qCHVZTX1WKa/ed+Ye7j5DYv I2jlg+ouDOOpDGnChV96Gk9hwwT1xwYc5Ki2gr8Kwkr/73HXbiel94PkGay4MR+jpgrY jEXI5I2ePOzHqw3eim5BW5EdZFIiFoz/bsx1d/eUSLH++0hoI4Vk0PhfNWFPbitenjD+ 9DpP/T4IJwa4cCIx9Ey7zcyf3teQNDuxlT2H8z+7G8mfnJ3WSs2n84AXoEkiZdsyfx+q xIZ8dr9HpMwGMb2MYodsuS4vbPDMQqWmbWSLaeP+srqnEWKICdKaX0S8bxWSKzbw21jA Tw==
Received: from nam03-co1-obe.outbound.protection.outlook.com (mail-co1nam03lp0015.outbound.protection.outlook.com [216.32.181.15]) by mx0b-00273201.pphosted.com with ESMTP id 2mqq5urd2a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 25 Sep 2018 10:52:27 -0700
Received: from DM6PR05MB4665.namprd05.prod.outlook.com (20.176.109.202) by DM6PR05MB4828.namprd05.prod.outlook.com (20.176.111.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.15; Tue, 25 Sep 2018 17:52:25 +0000
Received: from DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::8574:3388:660d:e495]) by DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::8574:3388:660d:e495%3]) with mapi id 15.20.1185.014; Tue, 25 Sep 2018 17:52:25 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Andy Bierman <andy@yumaworks.com>, "t.petch" <ietfc@btconnect.com>
CC: Martin Bjorklund <mbj@tail-f.com>, Alexander Clemm <alexander.clemm@huawei.com>, Netconf <netconf@ietf.org>
Thread-Topic: [Netconf] mbj's WGLC review of yang-push-17
Thread-Index: AQHUNImouJGUP0t9tESR9VzM68tuEKUBeG0A///MeoA=
Date: Tue, 25 Sep 2018 17:52:25 +0000
Message-ID: <674F5961-D956-4BD1-8AD0-44FE68150070@juniper.net>
References: <3B841FC9-63F4-41DD-BCE2-AA543FDADA5C@juniper.net> <20180920.094520.798604819426315275.mbj@tail-f.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0EB691A5@sjceml521-mbx.china.huawei.com> <20180924.093612.1791958587714330227.mbj@tail-f.com> <A1DF23A4-3D00-43D7-B121-D9F567B2A43F@juniper.net> <020f01d454ae$2e41e4a0$4001a8c0@gateway.2wire.net> <CABCOCHSATfi4Nq3XLGL65Kj4R_gWTFSf6H0v8qD8DE4aYOpDiQ@mail.gmail.com>
In-Reply-To: <CABCOCHSATfi4Nq3XLGL65Kj4R_gWTFSf6H0v8qD8DE4aYOpDiQ@mail.gmail.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.13]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM6PR05MB4828; 6:GlLCPUBcqAQuhKqPbQOhnBuJRU7bNTWjrk+a4s5T2CGYV4bJBmNGQmpEoOxDrKfaNOtwF4hwfdsHiOZKa4SmjKBwy5yGGSCOS+WwinuS/w3jdrE96RSsMg1EAoeLAvy3xlGI427SWb0grvZ4VQUo6w2J592/JNZIUgSf6EqTOTuPEQ44/1Bsn2Oxpxk29xuv1HbrSe6azGh7234S6w8HXlAMxuyZDzUjRJk/Bm6KNQec45YRofXNuFMgiUqZ0vla2H3HU7++1hTUmrSmaPKo8LsRHVcgn9ZxtUdXWWTRlDcSwHSExKMCsW9CvDv+l3fFq/P4wJ/EI1U8t6Z8RePWPA3F+kkCzTXwhdQbarOWhMhT9NUfe1ksHD7pPydZFSE+rjO0ymKA1/uLKkaRXiZCaKl5QaY/E6CLfYUIazx9KEEpvkCVh3sd15PZ5heEWHaDyi42vQHaUqTb3Emm9UO6pA==; 5:041yVGrnqDbDyq4gUd/Nhy1kvSwmZDdm1Hhzhhz6hz4S9CGyX+xQAm9UsEKPz62OAY93qbCXHcDkBtpPvIVXHyusUfv4vhGBP9/PEVGew5rQGYYV8+sYjOv8zYeIOMh7kFZ2DXdd6jguylMGkz80dIclrWNPkE+IE0vKc2mVBqg=; 7:lDOmJDptuvOEDwx//NhFloi2CrRR9nALd88F5MugaPqjixG8aD4Jew4q9+2sho08I4TsNi21GycJiXcaPbxUywMEPMdOKYdv++jlsZZAYM38x8ZllWwFcJg6Oy/U3YcRF5eLTxKv5iprSuzXgyhZkcHAHfom/bGdsTNsdqbGPJ9FVv2lta8Bd8xkZnvBO5Js8J7RmIlk3OlxHwGuFKJRdXTgH89Mjnm/aQlPL4Kctu4gTiVDrkXYlZy6Zma54Er5
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 703d5e25-b627-4dc4-ced8-08d6230fa74a
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DM6PR05MB4828;
x-ms-traffictypediagnostic: DM6PR05MB4828:
x-microsoft-antispam-prvs: <DM6PR05MB4828E20C16C72B08DF9DAF29A5160@DM6PR05MB4828.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(21748063052155)(28532068793085)(190501279198761)(227612066756510);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149066)(150027)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(201708071742011)(7699051)(76991041); SRVR:DM6PR05MB4828; BCL:0; PCL:0; RULEID:; SRVR:DM6PR05MB4828;
x-forefront-prvs: 08062C429B
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(376002)(396003)(136003)(366004)(39860400002)(189003)(199004)(93886005)(14454004)(2900100001)(6116002)(3846002)(478600001)(6512007)(54896002)(6306002)(25786009)(53936002)(6246003)(68736007)(8936002)(81166006)(81156014)(4326008)(71200400001)(71190400001)(6506007)(86362001)(83716004)(34290500001)(256004)(76176011)(14444005)(8676002)(66066001)(5250100002)(54906003)(105586002)(82746002)(486006)(26005)(316002)(58126008)(102836004)(110136005)(446003)(11346002)(476003)(2616005)(229853002)(36756003)(97736004)(7736002)(5660300001)(99286004)(33656002)(186003)(106356001)(6486002)(6436002)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4828; H:DM6PR05MB4665.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: J6cye7DJU/gpjUw0X4rreT3xstP3cb5jkfk+wS37fXTBw57nAO4QtUTi19uMu5an1vjgyhLdHvANRzQcOc38fgOnXsBrH7zRNhzttXdBeVrG6isI54qOEsThlJrs+B20mdoKzqgZuqegXO9x0aSU8zNjSk4ykZCSE9BrOxYvvyIjyVA8GsOG9xNglAuhOPFMOB9c2k4CY0u5QjNS4cnINM73qEJ02kaFvyVUKZye7dAs0W8bu/m/D0Qb+9B32HRxP/iD4ppedf85AvIpez0wiQwohPVu8mSZjjZwqMjOrk9JbFXIJjG8h+AwHlG3kBVHfdThGz9TfkmmmSGlkT4616nqiqvjF+c+pWbeRO894nY=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_674F5961D9564BD18AD044FE68150070junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 703d5e25-b627-4dc4-ced8-08d6230fa74a
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Sep 2018 17:52:25.6901 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4828
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-09-25_10:, , 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-1807170000 definitions=main-1809250176
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Yy0uNrOaiafJ7wU3qmBg4zRzUZo>
Subject: Re: [Netconf] mbj's WGLC review of yang-push-17
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 25 Sep 2018 19:12:48 -0000

> I do not understand the motivation for using uint16.
> This would limit the maximum period to 655.35 seconds.

That was a typo - it should've been uint32.  FWIW, when I added the
"anchor-time" to the [netcont/restconf]-client-server drafts, I used "period"
with "type uint16" and "units minutes", which is where uint16 came from.

I still think replacing "type yang:timeticks" with "type unit32" and "units
hundredths of a sec" is more intuitive, as:
  - no need to look up what a timetick is.
  - no need to understand why the two "epoch" times aren't documented
    in YP, as required(?) by RFC 6991.
  - more closely aligns with the [netcont/restconf]-client-server drafts

But it was just a suggestion.

I agree with the comment that software can easily convert hundredths of a
second values to things like "minutes" or "hours", but how would it know
when to do so?   Even if the UI was clever enough to enable an admin to
enter the value using two fields (value + units) and the software internally
converted to hundredths of a second, it doesn't help later when another UI
wants to looks at the value, unless we expect it to step through a bunch of
commonly-used units until finding one that fits nicely.

FWIW, we had a similar discussion a long time back with the netconf-server
draft but, at that time, the minimum designed granularity was "seconds",
which seemed okay since most people are pretty familiar with how seconds
convert to minutes or hours or days.

Kent // contributor