Re: [CDNi] CDNi Control-Interface / Trigger: content & metadata selection lists
Kevin Ma <kevin.j.ma.ietf@gmail.com> Sun, 25 July 2021 01:32 UTC
Return-Path: <kevin.j.ma.ietf@gmail.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 42A3E3A0CCB for <cdni@ietfa.amsl.com>; Sat, 24 Jul 2021 18:32:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.854
X-Spam-Level:
X-Spam-Status: No, score=-0.854 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 udP10opkww14 for <cdni@ietfa.amsl.com>; Sat, 24 Jul 2021 18:32:05 -0700 (PDT)
Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 2E11B3A0CC9 for <cdni@ietf.org>; Sat, 24 Jul 2021 18:32:04 -0700 (PDT)
Received: by mail-pj1-x102b.google.com with SMTP id m2-20020a17090a71c2b0290175cf22899cso9220896pjs.2 for <cdni@ietf.org>; Sat, 24 Jul 2021 18:32:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QEeK2jVHtuFGxE/2qrqXxN++gjNsTb99JA6ZsYGQh5I=; b=GgxBwE4bOWuQu+6M2H9/DITQE13H3+zarlWnjWe2pRCmG9VTvISXEH26VFMK2sEGhs N0mA3iURiNaLOI/5+uAI0exO3ORQAhKoEBytLxKFdGeLlPPHU0QtZFgjngTNGgjdZ4Hu TkTtCk3LHPJ4dJaPA7jvs7EDWSgnH4xszAD0wrvrdBeqJXXOXkaqAwv3VzllmBSURDda 75ZKzATBclSi8cZEceQ1quJAusIwNmqhq/iZHjCZgS/oI0w7LSZcs0Kli/tRbNN8kIiW O24XjH1BnglYLwXkAVXqi4ufeh4shteiq6c6YgA8QG3Sy15hwMSFWnwgv6iqpLzYgpvI nmoA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QEeK2jVHtuFGxE/2qrqXxN++gjNsTb99JA6ZsYGQh5I=; b=ezUbAnRDCs8rdmlZMHXiE4s6Ccw587p08K0FncyY57vGMuc/XFKTBidSmI6bk1YCs3 iFveY/fF/4TxY/Xwqwz88JrE0Pz+r1w5rbV2KlmbH5teO1tCvYkJix/VFPC3/agEgk+/ RXiTDY42onq3He4S/PDC0et7qlbaaV7xgm6mv3g+au9Y1oW1nC76L4uloxps8AicRXSH K4qEXvuhrlUNc0G/gcZgd/dFBhbYnzATw8bc1Qvx0cImSE/wO7KaXlDEJLJlz/QiBPAZ k+PkttELif5v7YbeAwsH5PAF9nQMbzCMs00cALrho4Zt3VeTnnMj/8ZbYhDvEBnivDfk tqEQ==
X-Gm-Message-State: AOAM533zezyiM7cMuaWWUO21Etv7HjcCchRloYxrWsVvSi0A7fZ2mKlA TbINP3rfklstS81QG53G4ooXMrwp8UpzLfnVqgc=
X-Google-Smtp-Source: ABdhPJyam0STUQ4xiJ+1ioRGQUlgYma9qpDhzp3rOItrbWaBtClCyjVxHD1MWrEuqdsOwnftVcKXaoITcz1rlKA8p6A=
X-Received: by 2002:a05:6a00:2:b029:32e:3ef0:770a with SMTP id h2-20020a056a000002b029032e3ef0770amr11480639pfk.8.1627176723672; Sat, 24 Jul 2021 18:32:03 -0700 (PDT)
MIME-Version: 1.0
References: <CA+ec=9pfoGPV6iYqeVxvcfNqyPFB-VDkv4CVNut8ST9QxVb7hg@mail.gmail.com> <CAMrHYE2CBD-PKpYXRW4gz+uEZ0GgarTWo4qV8xbLQ6=3QBUWOQ@mail.gmail.com> <CA+ec=9pPEjDxRwXq5qaSsWTmnH_XcLXRWz0NgEyo5vCMbPOJ8A@mail.gmail.com>
In-Reply-To: <CA+ec=9pPEjDxRwXq5qaSsWTmnH_XcLXRWz0NgEyo5vCMbPOJ8A@mail.gmail.com>
From: Kevin Ma <kevin.j.ma.ietf@gmail.com>
Date: Sat, 24 Jul 2021 21:31:53 -0400
Message-ID: <CAMrHYE05brS-MAkOX_sgzt0YFr_rDRL-NeozP+7=yYm=MKPmVg@mail.gmail.com>
To: Nir Sopher <nirs@qwilt.com>
Cc: "<cdni@ietf.org>" <cdni@ietf.org>, "Mishra, Sanjay" <sanjay.mishra@verizon.com>, "Ori Finkelman (IETF)" <ori.finkelman.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000099f0df05c7e89a8c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/JPhrbTUiPaGOgOTm17pFfiqVrig>
Subject: Re: [CDNi] CDNi Control-Interface / Trigger: content & metadata selection lists
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 25 Jul 2021 01:32:10 -0000
Hi Nir, > I'm not sure however regarding the merging the extensions list as well - as the extensions do not specify which content to operate on but how to operate. Do the semantics of the object matter? The objects are independent. I guess you might want to process content/metadata first, so having them separated might make stream processing easier? > > - Section 9.1: is "ci-trigger-collection" changing? if not, it doesn't need to be in the table? > NBS: It was already defined in RFC 8007. Should we mention it (now without registering it) just for completeness? I don't think you can put it in this table, since this table is requesting registration from IANA, and that value is already registered. The alternative would be to register ci-trigger-collection.v2, even though the message format will be identical to the original ci-trigger-collection, just to keep everything uniform as ".v2"; and just/optionally add a note to section 9.1.3 that it is identical to RFC8007 but rev'd for consistency. > > - Section 9.1.3: is this for trigger collection, not trigger command? can be removed? > NBS: It is a command. The reference within the section should be fixed to point at 5.1.1 and not 5.1.3 Section 9.1.1 already covers ci-trigger-command.v2, referencing 5.1.1, so I think you can remove Section 9.1.3, unless this is for ci-trigger-collection.v2? thanx. -- Kevin J. Ma On Sat, Jul 24, 2021 at 6:31 PM Nir Sopher <nirs@qwilt.com> wrote: > Hi Kevin, > > I certainly agree that the metadata and content lists should be merged > into a single GenericTriggerObjects list. > I'm not sure however regarding the merging the extensions list as well - > as the extensions do not specify which content to operate on but how to > operate. > Maybe this list should be called "GenericTriggerInstructions". > See examples attached. > > Thank you for the comments. > See my reply inline, > > Thanks, > Nir > > On Sat, Jul 24, 2021 at 7:55 AM Kevin Ma <kevin.j.ma.ietf@gmail.com> > wrote: > >> Hi Nir, >> >> (As an individual) Would another option be to just have a single list >> of GenericTriggerObjects that could contain content, metadata, or >> extensions? >> >> Some other comments on the draft below. >> >> thanx. >> >> -- Kevin J. Ma >> >> Comments: >> >> - There are existing errata on RFC8007, we should probably work them into >> this updated spec: >> https://www.rfc-editor.org/errata_search.php?rfc=8007&rec_status=0 >> > NBS: Ack > >> - Section 4.8.1: "occured" -> "occurred" >> > - Section 4.8.1: are there privacy concerns with propagating the PID? >> Does the uCDN really need to know the ultimate dCDN, given that we are >> allowing the tCDN to decide whether to shield the dCDN? Also, is there any >> guarantee that the PIDs are unique or discernible by the uCDN? >> > NBS: We'll further discuss it and reply. Note that to preserve privacy it > is up to the tCDN to decide whether it puts his PID or the dCDN's PID > >> - Section 5.2.7/9.4: can we use media types, e.g., "application/dash+xml" >> or "application/vnd.apple.mpegurl", rather than defining custom values? >> > NBS: I'll look into it > >> - Section 5.2.8.1: do we think triggers need safe-to-redistribute? do >> we envision trigger extensions that are modified by tCDNs? >> > NBS: We'll further discuss it and reply > >> - Section 5.2.8.1: ".." -> "." >> - Section 6.1: "region," -> "region" >> > - Section 9.1: is "ci-trigger-collection" changing? if not, it doesn't >> need to be in the table? >> > NBS: It was already defined in RFC 8007. Should we mention it (now without > registering it) just for completeness? > >> - Section 9.1.3: is this for trigger collection, not trigger command? >> can be removed? >> > NBS: It is a command. The reference within the section should be fixed to > point at 5.1.1 and not 5.1.3 > >> >> >> >> >> On Tue, Jul 20, 2021 at 12:49 AM Nir Sopher <nirs@qwilt.com> wrote: >> >>> Hi, >>> >>> As you may know, CDNi WG I-D for control triggers extensions >>> <https://datatracker.ietf.org/doc/html/draft-ietf-cdni-triggers-extensions> extends >>> RFC-8007 <https://datatracker.ietf.org/doc/html/rfc8007> (CDNi >>> control-interface/triggers) - including the addition of 2 content-selection >>> methods as properties to the trigger object: content.regex and >>> content.playlists. >>> IIUC, every such addition of a property to the trigger object, requires >>> the redefinition of the object - in this case creating a "v2" trigger >>> object. >>> >>> We are now working on merging this I-D into RFC-8007 - aiming to create >>> the 2nd edition of the CDNi Control Interface RFC. >>> During this process we came up with an idea that instead of redefining >>> the trigger object over and over again, we can just add a "content" >>> selection list and a "metadata" selection list to the trigger object. >>> >>> Following the suggestion, the trigger.V2 object would have the following >>> properties (in green, the new lists. In red - properties that we may >>> consider to remove): >>> >>> - type >>> - content: list of content-selection objects (TBD: type and values) >>> - metadata: list of metadata-selection (TBD: type and values) >>> - metadata.urls >>> - content.urls >>> - content.ccid >>> - metadata.patterns >>> - content.patterns >>> - content.regexs >>> - content.playlists >>> - extensions >>> >>> The content/metadata selection method types would have designated >>> registries and a dCDN should be able to publish via the FCI which methods >>> are supported (using designated capabilities). Hence, every future >>> content/metadata selection method would only require the addition of the >>> proper types to the registry. >>> >>> Please share your thoughts. >>> >>> Thanks, >>> Nir >>> >>
- [CDNi] CDNi Control-Interface / Trigger: content … Nir Sopher
- Re: [CDNi] CDNi Control-Interface / Trigger: cont… Kevin Ma
- Re: [CDNi] CDNi Control-Interface / Trigger: cont… Nir Sopher
- Re: [CDNi] CDNi Control-Interface / Trigger: cont… Kevin Ma
- Re: [CDNi] CDNi Control-Interface / Trigger: cont… Nir Sopher
- Re: [CDNi] CDNi Control-Interface / Trigger: cont… Kevin Ma
- Re: [CDNi] CDNi Control-Interface / Trigger: cont… Nir Sopher
- Re: [CDNi] CDNi Control-Interface / Trigger: cont… Kevin Ma
- Re: [CDNi] CDNi Control-Interface / Trigger: cont… Nir Sopher