Re: [CDNi] CDNI JSON object description notations
Ori Finkelman <orif@qwilt.com> Wed, 02 May 2018 20:12 UTC
Return-Path: <orif@qwilt.com>
X-Original-To: cdni@ietfa.amsl.com
Delivered-To: cdni@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1FDD1241F8 for <cdni@ietfa.amsl.com>; Wed, 2 May 2018 13:12:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=qwilt-com.20150623.gappssmtp.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 9Z2kiMOuabBm for <cdni@ietfa.amsl.com>; Wed, 2 May 2018 13:12:48 -0700 (PDT)
Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 01082126DC2 for <cdni@ietf.org>; Wed, 2 May 2018 13:12:47 -0700 (PDT)
Received: by mail-wr0-x22f.google.com with SMTP id q3-v6so15302404wrj.6 for <cdni@ietf.org>; Wed, 02 May 2018 13:12:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qwilt-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ii99mp6lYghNhl5gNSNouKXr6ikNQTwPboM8++DDb+g=; b=LSm10axL/+CCaLUWE1Q658WMoPx/7+eNIJyVbxG9+qJT4JURYpP1oTJ3RlyNhVmK0n L3xkWaVk4seh6940EPcFcES/0CLYFMfSL6TWKAKlfKG7Wry4b/muclatO9nsQHs3Q3Yx 2ZgO+OsCx8QI43mzkmBfV6DF+ba0SSI7QmSi/ZDX6QuvXyE8pmqdZ9Bo/+3dur+v9H+v nc4hvqEAh/ntYqDtYuAsyia2lXM8hrLxAwmUWOAJQuCwI3nnWmGSuKEuaNI23MPJTaFt gcr4zaBYOG2b3NH0h4gtg9fG1l9eHpSuPXxa1N9f2ett9JE/ZVGFJX5zNCk1JY/FK+hq INog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ii99mp6lYghNhl5gNSNouKXr6ikNQTwPboM8++DDb+g=; b=G1C7sz3aJGcn39ucz1R7tj/3uBOragLyQlYkkddACoMy0f5P8tnfPjeGmzNsqX9M8E EgayoXIAEqFb/tvzxK9QasWzTiqz95fuNEDk1kB/FwlEZWA/+6HTldRDU2YQjk8MCcQZ BzvE2mB9LHfNH8IfdA3fuowoOOP18wljIfXmeSXa1/afPjSVAxqsZR9z9zQB1n/CMFkQ FUHko4nlDBFDGqMyuxBYwUeBATY0vsjGyUoKqlmea/sKYgv91Xz3fIiD2g80bDWmhTbV xgGIh33EqeO53VyirgvjJE9mWdKvjsYEoObcgRlWgPxE76lyJ84obm6+GRLlDw+A71qo y/qw==
X-Gm-Message-State: ALQs6tCwsOtaJgz2s6sCS4uuYFnrt2jNEKPF+apvtV53sptuctdKlz2p 2ssBgdpd7EE1VpRYyGNtQGuNEIFdAN/RSioVWmHGEg==
X-Google-Smtp-Source: AB8JxZqC36iyWeAcBW+ker9g9idsgnC5+C8jAcA60kZYQetOpDdA6vrkWF+c4cbWsp9oc4M9oClj0P5eLWXjtipx6AM=
X-Received: by 2002:adf:b595:: with SMTP id c21-v6mr17033146wre.233.1525291965115; Wed, 02 May 2018 13:12:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.22.195 with HTTP; Wed, 2 May 2018 13:12:14 -0700 (PDT)
In-Reply-To: <AE177EA9-9F51-4420-95FA-4F9E859D7DEE@nokia.com>
References: <CAMb9nTsuq3hn6Cv6JcifOOt6giqswDmf7qiewLAJ9feSrzjb3A@mail.gmail.com> <AE177EA9-9F51-4420-95FA-4F9E859D7DEE@nokia.com>
From: Ori Finkelman <orif@qwilt.com>
Date: Wed, 02 May 2018 23:12:14 +0300
Message-ID: <CAMb9nTvhgFuLqOyTTazyX9jV0tRmRXUHfzCfEW5Jr4zrE2teiA@mail.gmail.com>
To: "Murray, Rob (Nokia - GB/Cambridge)" <rob.murray@nokia.com>
Cc: "<cdni@ietf.org>" <cdni@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c28b39056b3eb504"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/0DDm2A5U5iEqHa0nYBfuy8flUi8>
Subject: Re: [CDNi] CDNI JSON object description notations
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This list is to discuss issues associated with the Interconnection of Content Delivery Networks \(CDNs\)" <cdni.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cdni>, <mailto:cdni-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cdni/>
List-Post: <mailto:cdni@ietf.org>
List-Help: <mailto:cdni-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cdni>, <mailto:cdni-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2018 20:12:51 -0000
Hi Rob, Thanks for your input, in that case I will just stick with one of the notations. As for the separation of documents, I think that at this point I will keep it in a single draft, at least until the first revision is published. Then we can discuss it and decide if I should split them or keep them together, I am fine with both alternatives. Thanks, Ori On Wed, May 2, 2018 at 5:10 PM, Murray, Rob (Nokia - GB/Cambridge) < rob.murray@nokia.com> wrote: > Hi Ori, all, > > > > I don't think the difference has any particular significance, just style. > I probably based the Triggers headings on an earlier version of the > metadata draft, or maybe just changed the headings without thinking. > > > > I'm not sure whether it's best to have an Open Caching extensions draft > per CDNI interface. Perhaps it depends on where the extensions are headed > ... if the intention is to update/replace each of the existing RFCs, maybe > it'll be easiest to keep the draft updates separate. Otherwise, if the new > draft is going to turn into a standalone SVA Open Caching extensions RFC, > perhaps it'd be best to keep all the extensions together? > > > > Rob. > > > > > > *From: *CDNi <cdni-bounces@ietf.org> on behalf of Ori Finkelman < > orif@qwilt.com> > *Date: *Wednesday, 2 May 2018 at 13:49 > *To: *"<cdni@ietf.org>" <cdni@ietf.org> > *Subject: *[CDNi] CDNI JSON object description notations > > > > Dear all, > > I am currently drafting and extension for the CDNI Triggers interface. > > I am wondering about the differences in JSON object specification > notations between RFCs 8006 (metadata) and 8008 (FCI) vs RFC 8007 > (Triggers). > > In metadata and FCI a json field is described as a "property" that has a > "description" and a "type", for example > > + GenericMetadata https://tools.ietf.org/html/rfc8006#section-4.1.7 > > > > Property: generic-metadata-type > > > > Description: Case-insensitive CDNI Metadata object type. > > > > Type: String containing the CDNI Payload Type [RFC7736 <https://tools.ietf.org/html/rfc7736>] of the > > object contained in the generic-metadata-value property (see > > Table 4). > > > > + FCI Base Advertisement Object https://tools.ietf.org/ > html/rfc8008#section-5.1 > > > > Property: capability-type > > > > Description: CDNI capability object type. > > > > Type: FCI-specific CDNI Payload Type (from the "CDNI Payload > > Types" registry [RFC7736 <https://tools.ietf.org/html/rfc7736>]) > > > > Mandatory-to-Specify: Yes. > > > While in Triggers, the JSON field is described as a "name" that has a > "description" and a "value" for example: > > + Trigger Specification https://tools.ietf.org/html/rfc8007#section-5.2.1 > > > > Name: type > > > > Description: Defines the type of the CI/T Trigger Command. > > > > Value: Trigger Type, as defined in Section 5.2.2 <https://tools.ietf.org/html/rfc8007#section-5.2.2>. > > > > I was wondering what is the reason for this difference, is it anything but > different styles ? what notation should we follow when extending these > interfaces, and in my case, as my draft extends both interface, what > notation should be used ? > > Perhaps, this means I should have two separate drafts ? > > > > Thanks, > > Ori > > > > -- > > > *Ori Finkelman *Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | > orif@qwilt.com > -- *Ori Finkelman*Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | orif@qwilt.com
- [CDNi] CDNI JSON object description notations Ori Finkelman
- Re: [CDNi] CDNI JSON object description notations Murray, Rob (Nokia - GB/Cambridge)
- Re: [CDNi] CDNI JSON object description notations Ori Finkelman