
From nobody Sun Dec  2 01:31:17 2018
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cdni@ietf.org
Delivered-To: cdni@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id B85C7130DDA; Sun,  2 Dec 2018 01:31:07 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cdni@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.89.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cdni@ietf.org
Message-ID: <154374306772.7333.13020676879863958633@ietfa.amsl.com>
Date: Sun, 02 Dec 2018 01:31:07 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/lrybOf6m51CnSUGRUU6BaxaM7CE>
Subject: [CDNi] I-D Action: draft-ietf-cdni-triggers-extensions-01.txt
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.29
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, 02 Dec 2018 09:31:08 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Content Delivery Networks Interconnection WG of the IETF.

        Title           : CDNI Control Triggers Interface Extensions
        Authors         : Ori Finkelman
                          Sanjay Mishra
	Filename        : draft-ietf-cdni-triggers-extensions-01.txt
	Pages           : 42
	Date            : 2018-12-02

Abstract:
   This document updates RFC 8007 to include generic extensions and more
   granular content matching options, required by the Open Caching
   architecture.  The Open Caching working group of the Streaming Video
   Alliance is focused on the delegation of video delivery request from
   commercial CDNs to a caching layer at the ISP.  In that aspect, Open
   Caching is a specific use case of CDNI, where the commercial CDN is
   the upstream CDN (uCDN) and the ISP caching layer is the downstream
   CDN (dCDN).  The extensions specified in this document to the CDNI
   Control Interface / Triggers are derived from requirements of Open
   Caching but are applicable to CDNI use cases in general.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cdni-triggers-extensions/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-cdni-triggers-extensions-01
https://datatracker.ietf.org/doc/html/draft-ietf-cdni-triggers-extensions-01

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cdni-triggers-extensions-01


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Sun Dec  9 02:06:11 2018
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 3153A130F4F for <cdni@ietfa.amsl.com>; Sun,  9 Dec 2018 02:06:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.348
X-Spam-Level: 
X-Spam-Status: No, score=-3.348 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-1.459, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_TEMPERROR=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 oKY2g9tCtvjg for <cdni@ietfa.amsl.com>; Sun,  9 Dec 2018 02:06:04 -0800 (PST)
Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (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 34372127332 for <cdni@ietf.org>; Sun,  9 Dec 2018 02:06:04 -0800 (PST)
Received: by mail-wr1-x42a.google.com with SMTP id j2so7650610wrw.1 for <cdni@ietf.org>; Sun, 09 Dec 2018 02:06:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qwilt-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aD3s70//nqv0jdEditHiLYmKlG2XSAd5DI/47b5r6/0=; b=fGbGOuOGRseyDI8hp4lqot1wBGFZP2N3R4m01J/gwJ/KzRxq4uBox511JbipLdTMyU UW9Y914LwF6Ycofw+zDfdDGQXgXQ2OXA9QqLDWqb5fkgwxU/gJsgVComVMakzbqvL3hN zZWWK5jYNSfzskw3HcxQFZij6wxaxgiD9Aw3XUXzJII547J4BJJ/A3W7OyAlRz+JWaPP 8Zc9jZqS/iuI0O6PO2AoPF1WSiIfUWBdjKRfYE7Hc8ZIu/MIsepC1OEGHbrnuB8RCXHr K8IUhOXo1IlSdt6SixPDYsgThC0TXrngml8zc1+2BYewiaRtxA/m78S1hqa8qjwlalzE LHQQ==
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=aD3s70//nqv0jdEditHiLYmKlG2XSAd5DI/47b5r6/0=; b=KTKuT88ZBrwcU4e32w70SnnDExaCLhBiK2oGOJ2Qgm2ar2+RYHagydIQDgaENgill+ dW9uc7CvOysh0s33W4Mi9wQqB0S2Ov2x9+TPk68KReqhHCLSUjt7y74ZtnKnQaonU69h J25snOfwBuK9UAgGKauGFDZ8pMw2Gk/IXQMfsEn51fBnn4kPEaN7GJTG2s+j9zZd7VT9 UwpB28UA+23LxnY1lc0yWgQobEI2Sq3Kxp/YdOxu7/pJyEMx3W594/OrzF15Km8KtulB xbu9WE9uUi8+rpXa4zF8OjgvCnxTBpOxCDLyPqTz7k9rgLYh4bGDWgEcK+OoeiRBnkGS uWWg==
X-Gm-Message-State: AA+aEWY+rUKlnFvNyC5UNWipidL5aqK1nbr7Iv/89NjLJIsu+8D7FeLN CgXo+DEoGf+0vr8HzTmAcSfqIGG42JpYXcKdCu7gJg==
X-Google-Smtp-Source: AFSGD/U6Q51HID+bWW4gXzX5U02B0sAyxQZiwsP4ArllgXqHkYqodSi5KQdAiy6fwCLajlyfjVQl6wYT/qWWesmeCKc=
X-Received: by 2002:adf:ae1a:: with SMTP id x26mr6321224wrc.0.1544349962274; Sun, 09 Dec 2018 02:06:02 -0800 (PST)
MIME-Version: 1.0
References: <CAMb9nTttmr1kh6SbNBz5ztTtQ=bjPOi_A7dpLyS4FgRGt_eqWg@mail.gmail.com> <CAMb9nTs62PQFQc3GHxDXnQ-7wt_LCam8eC3dX8ivNg=H_+eabg@mail.gmail.com> <CAMb9nTtuVm6kVHNJh=505yrC55VtS+tdzSH9HEgL-6DN-dyxgg@mail.gmail.com> <CABF6JR0-ykY8UkRxtSr-8i5FmSJe6e8HjfOZEZ-p8nF=3y7Aqw@mail.gmail.com> <CAMb9nTt3wSu5p2iU5HWkAO3pYSDc+TFv0kdKmj+edJUPZ6u+1w@mail.gmail.com> <CAJEGKNs-sXAafCQg5ca3K3d_N_p077X7mNrvRJwW+WXKHb1HFg@mail.gmail.com> <1542120839.3452626.1575386224.226D0485@webmail.messagingengine.com> <CAMb9nTsX4pwnSnwdGRvHFKbvL1WcyofsQPb3=irYZrmP_BziJw@mail.gmail.com> <CAMb9nTtK7S6G+d8PFiBJvE+MbodRfTcMOJxZ2UsVbWDQu4eLhw@mail.gmail.com> <8CAB349C-A6E5-4BF2-AC48-008B979A8B5B@fastmail.fm> <CAMb9nTtWeCF-2HU5dFLsPbJxD9qpJnwMAmJmZJTV4nH6GFxRkA@mail.gmail.com> <CAMb9nTsfX_7ZTAsv=9O_4NGh07G16VfVLv_FFveqtk1m_srn0Q@mail.gmail.com>
In-Reply-To: <CAMb9nTsfX_7ZTAsv=9O_4NGh07G16VfVLv_FFveqtk1m_srn0Q@mail.gmail.com>
From: Ori Finkelman <orif@qwilt.com>
Date: Sun, 9 Dec 2018 12:05:34 +0200
Message-ID: <CAMb9nTsaBkeCgM91mLPQ2jt-F-D9ZEHNYzL-d78MoB+UqiWEsA@mail.gmail.com>
To: aamelnikov@fastmail.fm
Cc: Chris Lemmons <alficles@gmail.com>, "<cdni@ietf.org>" <cdni@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e92396057c93fe1f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/QCe54sNacSyqCLGFv2hFduGeNs8>
Subject: Re: [CDNi] Trigger time policy using local time
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, 09 Dec 2018 10:06:09 -0000

--000000000000e92396057c93fe1f
Content-Type: text/plain; charset="UTF-8"

Hi,
The time policy as defined in the latest drafts now have 3, mutually
exclusive properties:
1. *unix-time-window:* this is a TimeWindow objects as defined in the
metadata https://tools.ietf.org/html/rfc8006#section-4.2.3.2 using unix
epoch.
2. *utc-window*: this is a new object type UTCWindow, using RFC3339 for
start and end times. supports any format defined by RFC3339.
3. l*ocal-time-window:*  this is a new object type LocalTimeWindow. The
start and end properties are using a new format type called DateLocalTime,
defined in this draft.

*DateLocalTime*
This format is similar to the ISO8601 profile specified by RFC3339,
however, it does not have a time offset and MUST be interpreted by the
reader as "in my local time".
The ABNF format is defined in the draft and is very much like the one
specified by RF3339, without the time-offset and without the leap-second
(which is not necessary for this use case).

Thanks,
Ori


On Sun, Nov 25, 2018 at 10:13 AM Ori Finkelman <orif@qwilt.com> wrote:

> Got feedback from Chris Newman, the author of RFC3339. This RFC does not
> have support for non-coordinated local time intentionally, as the purpose
> of this RFC was to created a timestamp which is interoperable, so that
> different systems will interpret it as the same UTC,
> Therefore, we cannot use RFC3339 timestamp as the base for this use case,
> as we want to allow exactly that.
> I will therefore follow Alexey's suggestion and redefine the format in the
> triggers extension I-D, so that it suits this purpose.
>
> Ori
>
>
> On Sun, Nov 18, 2018 at 3:32 PM Ori Finkelman <orif@qwilt.com> wrote:
>
>> Thanks, I will do that.
>> Best regards,
>> Ori
>>
>> On Sun, Nov 18, 2018 at 3:18 PM Alexey Melnikov <aamelnikov@fastmail.fm>
>> wrote:
>>
>>> Hi,
>>>
>>> On 15 Nov 2018, at 12:56, Ori Finkelman <orif@qwilt.com> wrote:
>>>
>>> Hi,
>>> Looking at ISO8601, local time is simply defined by not adding the
>>> offset (or Z).
>>> For example: 2018-11-12T02:30:00.00
>>> Is interpreted as 2:30AM at the local time.
>>>
>>> RFC 3339 does not support this option as the RFC is focused on
>>> interoperability, and when what you want is to have a deterministic way to
>>> establish an agreement on a specific absolute time, you can either use UTC
>>> or local time with an offset from UTC.
>>>
>>> We can adopt that option for our use case as it is not trying to agree
>>> on an absolute time but rather on the local.
>>>
>>> Is this an acceptable solution?
>>>
>>> If so, how do we standardize it ? as a CDNI time, or as an extension to
>>> RFC 3339 ?
>>>
>>>
>>> Just include in your document. You can cut & paste ABNF from RFC 3339
>>> and modify as needed.
>>>
>>>
>>> Thanks,
>>> Ori
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Nov 14, 2018 at 11:02 AM Ori Finkelman <orif@qwilt.com> wrote:
>>>
>>>> Thanks Alexey,
>>>> I will look into it.
>>>>
>>>> Ori
>>>>
>>>> On Tue, Nov 13, 2018 at 4:54 PM Alexey Melnikov <aamelnikov@fastmail.fm>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> On Mon, Nov 12, 2018, at 10:46 PM, Chris Lemmons wrote:
>>>>> > Part of the issue with ISO 8601 is that it is a bit annoying to
>>>>> parse.
>>>>> > It allows you to leave out all sorts of things and really defines a
>>>>> > whole bunch of formats. All these formats are "ISO8601":
>>>>> > 2018-11-12T17:38:41+00:00
>>>>> > 2018-W46
>>>>> > 2018-W46-1
>>>>> > --11-12
>>>>> > 2018-316
>>>>> >
>>>>> > And a whole bunch of others. Obviously, most of those leave out some
>>>>> > information that ought to be required. But actually implementing a
>>>>> > full parser for it is a bit tougher than for some other formats.
>>>>>
>>>>> I agree that generic ISO 8601 format is not what you want, that is why
>>>>> RFC 3339 was defined in the first place. RFC 3339 defines a subset which is
>>>>> much easier to parse.
>>>>>
>>>>> You could have a look at ISO 8601 and see how "local timezone" is
>>>>> defined there and just extend RFC 3339 for this case, without adding
>>>>> support for all other optional things in ISO 8601.
>>>>>
>>>>> Just my 2p.
>>>>>
>>>>> > Consider something like "local-offset: true", to indicate that a
>>>>> local
>>>>> > offset should be added to the UTC time specified. This achieves the
>>>>> > effect of executing it in the local time zone.
>>>>> > On Mon, Nov 12, 2018 at 1:42 PM Ori Finkelman <orif@qwilt.com>
>>>>> wrote:
>>>>> > >
>>>>> > > Hi Phil,
>>>>> > > Though it may seem so, this is not our case and using it may
>>>>> create confusion.
>>>>> > > What we need is something that executes in different absolute
>>>>> times in different locations.
>>>>> > >
>>>>> > > using the -0000 offset to signify local time.
>>>>> > > >> This means that the time is actually in UTC (same as +0000) but
>>>>> the time zone was not supposed to be 0, it is just unknown, and is
>>>>> therefore using 0.
>>>>> > >
>>>>> > > Also, it seems that ISO8601 also has a "local time" where you just
>>>>> don't include an offset:
>>>>> > > >> This actually means that time is in the local time of the
>>>>> caller, which means that if you translate it to UTC you should get the
>>>>> caller time + the correct offset. This is a specific absolute time, not
>>>>> something that can be interpreted as different UTC in different time zones.
>>>>> > > We can decide that when we say "local time" we actually mean the
>>>>> receivers local time rather than the callers local time, but then again, if
>>>>> for example the trigger server is located at NY, then 4AM will mean 4AM in
>>>>> local time in NY (i.e. +0500). Using it to designate 4AM depending on where
>>>>> the cache is found is non-standard.
>>>>> > > I was rather hoping we can have something which designate exactly
>>>>> what we mean, but I guess that passing the time with no time-zone and
>>>>> adding a flag that says "use in your own local time" may be do it. But in
>>>>> this case, I would take Chris proposal and use UNIX epoch as it is easier
>>>>> to parse and is already been used in CDNI.
>>>>> > >
>>>>> > > Thanks,
>>>>> > > Ori
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > > On Mon, Nov 12, 2018 at 10:15 PM Phil Sorber <sorber@apache.org>
>>>>> wrote:
>>>>> > >>
>>>>> > >> What about section 4.3 of RFC3339?
>>>>> > >>
>>>>> > >> https://tools.ietf.org/html/rfc3339#section-4.3
>>>>> > >>
>>>>> > >> using the -0000 offset to signify local time.
>>>>> > >
>>>>> > > >> This means that the time is actually in UTC (same as +0000) but
>>>>> the time zone was not supposed to be 0, it is just unknown, and is
>>>>> therefore using 0.
>>>>> > >>
>>>>> > >>
>>>>> > >> Also, it seems that ISO8601 also has a "local time" where you
>>>>> just don't include an offset:
>>>>> > >
>>>>> > > >> This actually means that time is in the local time of the
>>>>> caller, which means that if you translate it to UTC you should get the
>>>>> caller time + the correct offset. This is a specific absolute time, not
>>>>> something that can be interpreted as different UTC in different time zones.
>>>>> > >>
>>>>> > >>
>>>>> > >> https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators
>>>>> > >>
>>>>> > >> "If no UTC relation information is given with a time
>>>>> representation, the time is assumed to be in local time."
>>>>> > >
>>>>> > >
>>>>> > > >> This is the same as the above, We can decide that when we say
>>>>> "local time" we actually mean the receivers local time rather than the
>>>>> callers local time, but then again, if for example the trigger server is
>>>>> located at NY, then the 4AM will mean local time in NY. Using it to
>>>>> designate 4AM depending on where the cache is found is non-standard.
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > >>
>>>>> > >>
>>>>> > >> Also in RFC 2822 section 3.3 (
>>>>> https://tools.ietf.org/html/rfc2822#section-3.3):
>>>>> > >>
>>>>> > >> "Though "-0000" also indicates Universal Time, it is used to
>>>>> indicate that the time was generated on a system that may be in a local
>>>>> time zone other than Universal Time and therefore indicates that the
>>>>> date-time contains no information about the local time zone."
>>>>> > >>
>>>>> > >> On Mon, Nov 12, 2018 at 5:53 AM Ori Finkelman <orif@qwilt.com>
>>>>> wrote:
>>>>> > >>>
>>>>> > >>> Hi,
>>>>> > >>> In the CDNI meeting we have discussed how to represent local
>>>>> time at the trigger destination where there are multiple destination
>>>>> locations in different time zones.
>>>>> > >>>
>>>>> > >>> Two options raised:
>>>>> > >>> 1. Follow RFC 3339, and add a new notion for "your local time"
>>>>> > >>> For example: 2018-11-12T02:30:00.00L
>>>>> > >>> should be interpreted as November 12th, 2018, 2:30AM at your own
>>>>> local time.
>>>>> > >>>
>>>>> > >>> 2. Use UTC / UNIX epoch with a local time flag.
>>>>> > >>> For example: 1541989800 For and {"local-time": true} means
>>>>> 2018-11-12T02:30:00.00 but servers MUST interpret that in their own local
>>>>> time.
>>>>> > >>> I.e. servers MUST reduce their time offset from the UNIX epoch
>>>>> before interpreting the time.
>>>>> > >>> For example, a server located at UTC+02:00 must reduce 7200
>>>>> seconds from this eopch, resulting in 1541982600 which is
>>>>> 2018-11-12T02:30:00.00+02:00
>>>>> > >>> If a sever is located at UTC-04:00 it must reduce -14,400
>>>>> seconds epoch, resulting in 1542004200 which is 2018-11-12T02:30:00.00-04:00
>>>>> > >>>
>>>>> > >>> Personally I am in favor of option 2, as option 1 will require
>>>>> changes in time parser and is probably best done by an updated RFC on top
>>>>> of RFC 3339, not sure this use case justifies it.
>>>>> > >>> I will also ping the authors of RFC3339 to get their views, but
>>>>> would appreciate any input at the mean time.
>>>>> > >>>
>>>>> > >>> Thanks,
>>>>> > >>> Ori
>>>>> > >>>
>>>>> > >>>
>>>>> > >>>
>>>>> > >>>
>>>>> > >>>
>>>>> > >>>
>>>>> > >>>
>>>>> > >>>
>>>>> > >>> On Mon, Oct 15, 2018 at 12:23 PM Ori Finkelman <orif@qwilt.com>
>>>>> wrote:
>>>>> > >>>>
>>>>> > >>>> Hi,
>>>>> > >>>> In the last CDNI meeting we have agreed to add to the time
>>>>> policy the local-time flag (see below).
>>>>> > >>>> The required semantics is the instruct the dCDN to run the
>>>>> trigger at the given time window in there own local time.
>>>>> > >>>> For example: "I want you to run this trigger between 3AM-5AM at
>>>>> your own local time".
>>>>> > >>>>
>>>>> > >>>> The reasoning is that network resource availability and prices
>>>>> may vary across the day, and specifically are more available and less
>>>>> expensive at off-peak hours. however off-peak hours are local per region.
>>>>> > >>>> In the past we have proposed to avoid adding this flag by using
>>>>> a combination of location policy and time policy, but that would require
>>>>> calling a separate trigger for each region.
>>>>> > >>>>
>>>>> > >>>> While working on adding this "local-time" flag, I have realized
>>>>> that TimeWindow as defined in
>>>>> https://tools.ietf.org/html/rfc8006#section-4.2.3.2 in UTC and it is
>>>>> better not be used to represent local time.
>>>>> > >>>> The only option I can think of using textual time format as
>>>>> defined in RFC3339, and the local time flag should be interpreted by the
>>>>> dCDN as "you should interpret this as if it in your own local time".
>>>>> > >>>> Using RFC3339 means we need to add a new time object instead of
>>>>> the TimeWindow.
>>>>> > >>>>
>>>>> > >>>> Thoughts ?
>>>>> > >>>>
>>>>> > >>>> Thanks,
>>>>> > >>>> Ori
>>>>> > >>>>
>>>>> > >>>>
>>>>> > >>>> On Sun, Jul 22, 2018 at 9:19 AM Ori Finkelman <orif@qwilt.com>
>>>>> wrote:
>>>>> > >>>>>
>>>>> > >>>>> Here are the comments we got CDNI meeting.
>>>>> > >>>>>
>>>>> > >>>>> Playlist:
>>>>> > >>>>> change abr-protocol to media-protocol, as it may be used for
>>>>> other media rather than video abr.
>>>>> > >>>>>
>>>>> > >>>>> Trigger TimePolicy:
>>>>> > >>>>> Add local-time flag. When true the trigger should be executed
>>>>> at the local time, per zone.
>>>>> > >>>>>
>>>>> > >>>>> Trigger error and warning propagation:
>>>>> > >>>>> Considering triggers may be propagated to a chain of dCDNs,
>>>>> and considering we allow extensions to be safe-to-redistribute even if not
>>>>> understood, we should add a mechanism for propagating errors and warnings
>>>>> back to the uCDN.
>>>>> > >>>>>
>>>>> > >>>>> 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
>>>>> > >>>
>>>>> > >>>
>>>>> > >>>
>>>>> > >>> --
>>>>> > >>> Ori Finkelman
>>>>> > >>> Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |
>>>>> orif@qwilt.com
>>>>> > >>> _______________________________________________
>>>>> > >>> CDNi mailing list
>>>>> > >>> CDNi@ietf.org
>>>>> > >>> https://www.ietf.org/mailman/listinfo/cdni
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > > --
>>>>> > > Ori Finkelman
>>>>> > > Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |
>>>>> orif@qwilt.com
>>>>> > > _______________________________________________
>>>>> > > CDNi mailing list
>>>>> > > CDNi@ietf.org
>>>>> > > https://www.ietf.org/mailman/listinfo/cdni
>>>>> >
>>>>> > _______________________________________________
>>>>> > CDNi mailing list
>>>>> > CDNi@ietf.org
>>>>> > https://www.ietf.org/mailman/listinfo/cdni
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *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
>>>
>>>
>>
>> --
>>
>> *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
>


-- 

*Ori Finkelman*Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |
orif@qwilt.com

--000000000000e92396057c93fe1f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Hi,<div>The time policy as defined in the=
 latest drafts now have 3, mutually exclusive properties:</div><div>1. <b><=
u>unix-time-window:</u></b> this is a TimeWindow objects as defined in the =
metadata=C2=A0<a href=3D"https://tools.ietf.org/html/rfc8006#section-4.2.3.=
2">https://tools.ietf.org/html/rfc8006#section-4.2.3.2</a> using unix epoch=
.</div><div>2. <b><u>utc-window</u></b>: this is a new object type UTCWindo=
w, using RFC3339 for start and end times. supports any format defined by RF=
C3339.</div><div>3. l<u style=3D"font-weight:bold">ocal-time-window:</u>=C2=
=A0 this is a new object type LocalTimeWindow. The start and end properties=
 are using a new format type called DateLocalTime, defined in this draft.</=
div><div><br></div><div><b><u>DateLocalTime</u></b></div><div>This format i=
s similar to the ISO8601 profile specified by RFC3339, however, it does not=
 have a time offset and MUST be interpreted by the reader as &quot;in my lo=
cal time&quot;.</div><div>The ABNF format is defined in the draft and is ve=
ry much like the one specified by RF3339, without the time-offset and witho=
ut the leap-second (which is not necessary for this use case).</div><div><b=
r></div><div>Thanks,</div><div>Ori</div><div><br></div></div></div><br><div=
 class=3D"gmail_quote"><div dir=3D"ltr">On Sun, Nov 25, 2018 at 10:13 AM Or=
i Finkelman &lt;<a href=3D"mailto:orif@qwilt.com" target=3D"_blank">orif@qw=
ilt.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"=
ltr">Got feedback from Chris Newman, the author of RFC3339. This RFC does n=
ot have support for non-coordinated local time intentionally, as the purpos=
e of this RFC was to created a timestamp which is interoperable, so that di=
fferent systems will interpret it as the same UTC,<div>Therefore, we cannot=
 use RFC3339 timestamp as the base for this use case, as we want to allow e=
xactly that.</div><div>I will therefore follow Alexey&#39;s suggestion and =
redefine the format in the triggers extension I-D, so that it suits this pu=
rpose.</div><div><br></div><div>Ori</div><div><br></div></div><br><div clas=
s=3D"gmail_quote"><div dir=3D"ltr">On Sun, Nov 18, 2018 at 3:32 PM Ori Fink=
elman &lt;<a href=3D"mailto:orif@qwilt.com" target=3D"_blank">orif@qwilt.co=
m</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">T=
hanks, I will do that.<div>Best regards,</div><div>Ori</div></div><br><div =
class=3D"gmail_quote"><div dir=3D"ltr">On Sun, Nov 18, 2018 at 3:18 PM Alex=
ey Melnikov &lt;<a href=3D"mailto:aamelnikov@fastmail.fm" target=3D"_blank"=
>aamelnikov@fastmail.fm</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex"><div dir=3D"auto">Hi,<br><div><br>On 15 Nov 2018, at 12:56, Ori Finkelm=
an &lt;<a href=3D"mailto:orif@qwilt.com" target=3D"_blank">orif@qwilt.com</=
a>&gt; wrote:<br><br></div><blockquote type=3D"cite"><div><div dir=3D"ltr">=
Hi,<div>Looking at ISO8601, local time is simply defined by not adding the =
offset (or Z).</div><div>For example:=C2=A0<span style=3D"color:rgb(0,0,0);=
font-family:monospace;font-size:13.3333px;white-space:pre-wrap">2018-11-12T=
02:30:00.00</span></div><div>Is interpreted as 2:30AM at the local time.<br=
></div><div><br></div><div>RFC 3339 does not support this option as the RFC=
 is focused on interoperability, and when what you want is to have a determ=
inistic way to establish an agreement on a specific absolute time, you can =
either use UTC or local time with an offset from UTC.</div><div><br></div><=
div>We can adopt that option for our use case as it is not trying to agree =
on an absolute time but rather on the local.</div><div><br></div><div>Is th=
is an acceptable solution?</div><div><br></div><div>If so, how do we standa=
rdize it ? as a CDNI time, or as an extension to RFC 3339 ?</div></div></di=
v></blockquote><div><br></div>Just include in your document. You can cut &a=
mp; paste ABNF from RFC 3339 and modify as needed.<br><blockquote type=3D"c=
ite"><div><div dir=3D"ltr"><div><br></div><div>Thanks,</div><div>Ori</div><=
div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><=
div><br></div><div><br></div><div><br></div></div><br><div class=3D"gmail_q=
uote"><div dir=3D"ltr">On Wed, Nov 14, 2018 at 11:02 AM Ori Finkelman &lt;<=
a href=3D"mailto:orif@qwilt.com" target=3D"_blank">orif@qwilt.com</a>&gt; w=
rote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Thanks Alexe=
y,<div>I will look=C2=A0into it.</div><div><br></div><div>Ori</div></div><b=
r><div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, Nov 13, 2018 at 4:54 =
PM Alexey Melnikov &lt;<a href=3D"mailto:aamelnikov@fastmail.fm" target=3D"=
_blank">aamelnikov@fastmail.fm</a>&gt; wrote:<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">Hi,<br>
<br>
On Mon, Nov 12, 2018, at 10:46 PM, Chris Lemmons wrote:<br>
&gt; Part of the issue with ISO 8601 is that it is a bit annoying to parse.=
<br>
&gt; It allows you to leave out all sorts of things and really defines a<br=
>
&gt; whole bunch of formats. All these formats are &quot;ISO8601&quot;:<br>
&gt; 2018-11-12T17:38:41+00:00<br>
&gt; 2018-W46<br>
&gt; 2018-W46-1<br>
&gt; --11-12<br>
&gt; 2018-316<br>
&gt; <br>
&gt; And a whole bunch of others. Obviously, most of those leave out some<b=
r>
&gt; information that ought to be required. But actually implementing a<br>
&gt; full parser for it is a bit tougher than for some other formats.<br>
<br>
I agree that generic ISO 8601 format is not what you want, that is why RFC =
3339 was defined in the first place. RFC 3339 defines a subset which is muc=
h easier to parse.<br>
<br>
You could have a look at ISO 8601 and see how &quot;local timezone&quot; is=
 defined there and just extend RFC 3339 for this case, without adding suppo=
rt for all other optional things in ISO 8601.<br>
<br>
Just my 2p.<br>
<br>
&gt; Consider something like &quot;local-offset: true&quot;, to indicate th=
at a local<br>
&gt; offset should be added to the UTC time specified. This achieves the<br=
>
&gt; effect of executing it in the local time zone.<br>
&gt; On Mon, Nov 12, 2018 at 1:42 PM Ori Finkelman &lt;<a href=3D"mailto:or=
if@qwilt.com" target=3D"_blank">orif@qwilt.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Hi Phil,<br>
&gt; &gt; Though it may seem so, this is not our case and using it may crea=
te confusion.<br>
&gt; &gt; What we need is something that executes in different absolute tim=
es in different locations.<br>
&gt; &gt;<br>
&gt; &gt; using the -0000 offset to signify local time.<br>
&gt; &gt; &gt;&gt; This means that the time is actually in UTC (same as +00=
00) but the time zone was not supposed to be 0, it is just unknown, and is =
therefore using 0.<br>
&gt; &gt;<br>
&gt; &gt; Also, it seems that ISO8601 also has a &quot;local time&quot; whe=
re you just don&#39;t include an offset:<br>
&gt; &gt; &gt;&gt; This actually means that time is in the local time of th=
e caller, which means that if you translate it to UTC you should get the ca=
ller time + the correct offset. This is a specific absolute time, not somet=
hing that can be interpreted as different UTC in different time zones.<br>
&gt; &gt; We can decide that when we say &quot;local time&quot; we actually=
 mean the receivers local time rather than the callers local time, but then=
 again, if for example the trigger server is located at NY, then 4AM will m=
ean 4AM in local time in NY (i.e. +0500). Using it to designate 4AM dependi=
ng on where the cache is found is non-standard.<br>
&gt; &gt; I was rather hoping we can have something which designate exactly=
 what we mean, but I guess that passing the time with no time-zone and addi=
ng a flag that says &quot;use in your own local time&quot; may be do it. Bu=
t in this case, I would take Chris proposal and use UNIX epoch as it is eas=
ier to parse and is already been used in CDNI.<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt; Ori<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Mon, Nov 12, 2018 at 10:15 PM Phil Sorber &lt;<a href=3D"mailt=
o:sorber@apache.org" target=3D"_blank">sorber@apache.org</a>&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; What about section 4.3 of RFC3339?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; <a href=3D"https://tools.ietf.org/html/rfc3339#section-4.3" r=
el=3D"noreferrer" target=3D"_blank">https://tools.ietf.org/html/rfc3339#sec=
tion-4.3</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; using the -0000 offset to signify local time.<br>
&gt; &gt;<br>
&gt; &gt; &gt;&gt; This means that the time is actually in UTC (same as +00=
00) but the time zone was not supposed to be 0, it is just unknown, and is =
therefore using 0.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Also, it seems that ISO8601 also has a &quot;local time&quot;=
 where you just don&#39;t include an offset:<br>
&gt; &gt;<br>
&gt; &gt; &gt;&gt; This actually means that time is in the local time of th=
e caller, which means that if you translate it to UTC you should get the ca=
ller time + the correct offset. This is a specific absolute time, not somet=
hing that can be interpreted as different UTC in different time zones.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; <a href=3D"https://en.wikipedia.org/wiki/ISO_8601#Time_zone_d=
esignators" rel=3D"noreferrer" target=3D"_blank">https://en.wikipedia.org/w=
iki/ISO_8601#Time_zone_designators</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &quot;If no UTC relation information is given with a time rep=
resentation, the time is assumed to be in local time.&quot;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;&gt; This is the same as the above, We can decide that when w=
e say &quot;local time&quot; we actually mean the receivers local time rath=
er than the callers local time, but then again, if for example the trigger =
server is located at NY, then the 4AM will mean local time in NY. Using it =
to designate 4AM depending on where the cache is found is non-standard.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Also in RFC 2822 section 3.3 (<a href=3D"https://tools.ietf.o=
rg/html/rfc2822#section-3.3" rel=3D"noreferrer" target=3D"_blank">https://t=
ools.ietf.org/html/rfc2822#section-3.3</a>):<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &quot;Though &quot;-0000&quot; also indicates Universal Time,=
 it is used to indicate that the time was generated on a system that may be=
 in a local time zone other than Universal Time and therefore indicates tha=
t the date-time contains no information about the local time zone.&quot;<br=
>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Mon, Nov 12, 2018 at 5:53 AM Ori Finkelman &lt;<a href=3D"=
mailto:orif@qwilt.com" target=3D"_blank">orif@qwilt.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Hi,<br>
&gt; &gt;&gt;&gt; In the CDNI meeting we have discussed how to represent lo=
cal time at the trigger destination where there are multiple destination lo=
cations in different time zones.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Two options raised:<br>
&gt; &gt;&gt;&gt; 1. Follow RFC 3339, and add a new notion for &quot;your l=
ocal time&quot;<br>
&gt; &gt;&gt;&gt; For example: 2018-11-12T02:30:00.00L<br>
&gt; &gt;&gt;&gt; should be interpreted as November 12th, 2018, 2:30AM at y=
our own local time.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; 2. Use UTC / UNIX epoch with a local time flag.<br>
&gt; &gt;&gt;&gt; For example: 1541989800 For and {&quot;local-time&quot;: =
true} means 2018-11-12T02:30:00.00 but servers MUST interpret that in their=
 own local time.<br>
&gt; &gt;&gt;&gt; I.e. servers MUST reduce their time offset from the UNIX =
epoch before interpreting the time.<br>
&gt; &gt;&gt;&gt; For example, a server located at UTC+02:00 must reduce 72=
00 seconds from this eopch, resulting in 1541982600 which is 2018-11-12T02:=
30:00.00+02:00<br>
&gt; &gt;&gt;&gt; If a sever is located at UTC-04:00 it must reduce -14,400=
 seconds epoch, resulting in 1542004200 which is 2018-11-12T02:30:00.00-04:=
00<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Personally I am in favor of option 2, as option 1 will re=
quire changes in time parser and is probably best done by an updated RFC on=
 top of RFC 3339, not sure this use case justifies it.<br>
&gt; &gt;&gt;&gt; I will also ping the authors of RFC3339 to get their view=
s, but would appreciate any input at the mean time.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Thanks,<br>
&gt; &gt;&gt;&gt; Ori<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; On Mon, Oct 15, 2018 at 12:23 PM Ori Finkelman &lt;<a hre=
f=3D"mailto:orif@qwilt.com" target=3D"_blank">orif@qwilt.com</a>&gt; wrote:=
<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Hi,<br>
&gt; &gt;&gt;&gt;&gt; In the last CDNI meeting we have agreed to add to the=
 time policy the local-time flag (see below).<br>
&gt; &gt;&gt;&gt;&gt; The required semantics is the instruct the dCDN to ru=
n the trigger at the given time window in there own local time.<br>
&gt; &gt;&gt;&gt;&gt; For example: &quot;I want you to run this trigger bet=
ween 3AM-5AM at your own local time&quot;.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; The reasoning is that network resource availability a=
nd prices may vary across the day, and specifically are more available and =
less expensive at off-peak hours. however off-peak hours are local per regi=
on.<br>
&gt; &gt;&gt;&gt;&gt; In the past we have proposed to avoid adding this fla=
g by using a combination of location policy and time policy, but that would=
 require calling a separate trigger for each region.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; While working on adding this &quot;local-time&quot; f=
lag, I have realized that TimeWindow as defined in <a href=3D"https://tools=
.ietf.org/html/rfc8006#section-4.2.3.2" rel=3D"noreferrer" target=3D"_blank=
">https://tools.ietf.org/html/rfc8006#section-4.2.3.2</a> in UTC and it is =
better not be used to represent local time.<br>
&gt; &gt;&gt;&gt;&gt; The only option I can think of using textual time for=
mat as defined in RFC3339, and the local time flag should be interpreted by=
 the dCDN as &quot;you should interpret this as if it in your own local tim=
e&quot;.<br>
&gt; &gt;&gt;&gt;&gt; Using RFC3339 means we need to add a new time object =
instead of the TimeWindow.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Thoughts ?<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Thanks,<br>
&gt; &gt;&gt;&gt;&gt; Ori<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; On Sun, Jul 22, 2018 at 9:19 AM Ori Finkelman &lt;<a =
href=3D"mailto:orif@qwilt.com" target=3D"_blank">orif@qwilt.com</a>&gt; wro=
te:<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Here are the comments we got CDNI meeting.<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Playlist:<br>
&gt; &gt;&gt;&gt;&gt;&gt; change abr-protocol to media-protocol, as it may =
be used for other media rather than video abr.<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Trigger TimePolicy:<br>
&gt; &gt;&gt;&gt;&gt;&gt; Add local-time flag. When true the trigger should=
 be executed at the local time, per zone.<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Trigger error and warning propagation:<br>
&gt; &gt;&gt;&gt;&gt;&gt; Considering triggers may be propagated to a chain=
 of dCDNs, and considering we allow extensions to be safe-to-redistribute e=
ven if not understood, we should add a mechanism for propagating errors and=
 warnings back to the uCDN.<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Thanks,<br>
&gt; &gt;&gt;&gt;&gt;&gt; Ori<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt;&gt;&gt; Ori Finkelman<br>
&gt; &gt;&gt;&gt;&gt;&gt; Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3=
832189 | <a href=3D"mailto:orif@qwilt.com" target=3D"_blank">orif@qwilt.com=
</a><br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt;&gt; Ori Finkelman<br>
&gt; &gt;&gt;&gt;&gt; Qwilt | Work: +972-72-2221647 | Mobile: +972-52-38321=
89 | <a href=3D"mailto:orif@qwilt.com" target=3D"_blank">orif@qwilt.com</a>=
<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt; Ori Finkelman<br>
&gt; &gt;&gt;&gt; Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |=
 <a href=3D"mailto:orif@qwilt.com" target=3D"_blank">orif@qwilt.com</a><br>
&gt; &gt;&gt;&gt; _______________________________________________<br>
&gt; &gt;&gt;&gt; CDNi mailing list<br>
&gt; &gt;&gt;&gt; <a href=3D"mailto:CDNi@ietf.org" target=3D"_blank">CDNi@i=
etf.org</a><br>
&gt; &gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/cdni" re=
l=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/cd=
ni</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Ori Finkelman<br>
&gt; &gt; Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href=
=3D"mailto:orif@qwilt.com" target=3D"_blank">orif@qwilt.com</a><br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; CDNi mailing list<br>
&gt; &gt; <a href=3D"mailto:CDNi@ietf.org" target=3D"_blank">CDNi@ietf.org<=
/a><br>
&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/cdni" rel=3D"nor=
eferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/cdni</a><b=
r>
&gt; <br>
&gt; _______________________________________________<br>
&gt; CDNi mailing list<br>
&gt; <a href=3D"mailto:CDNi@ietf.org" target=3D"_blank">CDNi@ietf.org</a><b=
r>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/cdni" rel=3D"noreferr=
er" target=3D"_blank">https://www.ietf.org/mailman/listinfo/cdni</a><br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"m_3944965906948720735m_7208505489569568228m_8514581874785386457m_=
-4182990701145702898m_-8043722035978971196m_-5853070979370455743gmail_signa=
ture" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><b>Ori Finkelman<=
br></b>Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href=3D=
"mailto:orif@qwilt.com" rel=3D"nofollow" target=3D"_blank">orif@qwilt.com</=
a></div></div>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"m_3944965906948720735m_7208505489569568228m_8514581874785386457m_=
-4182990701145702898m_-8043722035978971196gmail_signature" data-smartmail=
=3D"gmail_signature"><div dir=3D"ltr"><b>Ori Finkelman<br></b>Qwilt | Work:=
 +972-72-2221647 | Mobile: +972-52-3832189 | <a href=3D"mailto:orif@qwilt.c=
om" rel=3D"nofollow" target=3D"_blank">orif@qwilt.com</a></div></div>
</div></blockquote></div></blockquote></div><br clear=3D"all"><div><br></di=
v>-- <br><div dir=3D"ltr" class=3D"m_3944965906948720735m_72085054895695682=
28m_8514581874785386457gmail_signature" data-smartmail=3D"gmail_signature">=
<div dir=3D"ltr"><b>Ori Finkelman<br></b>Qwilt | Work: +972-72-2221647 | Mo=
bile: +972-52-3832189 | <a href=3D"mailto:orif@qwilt.com" rel=3D"nofollow" =
target=3D"_blank">orif@qwilt.com</a></div></div>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"m_3944965906948720735m_7208505489569568228gmail_signature" data-s=
martmail=3D"gmail_signature"><div dir=3D"ltr"><b>Ori Finkelman<br></b>Qwilt=
 | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href=3D"mailto:orif=
@qwilt.com" rel=3D"nofollow" target=3D"_blank">orif@qwilt.com</a></div></di=
v>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"m_3944965906948720735gmail_signature" data-smartmail=3D"gmail_sig=
nature"><div dir=3D"ltr"><b>Ori Finkelman<br></b>Qwilt | Work: +972-72-2221=
647 | Mobile: +972-52-3832189 | <a href=3D"mailto:orif@qwilt.com" rel=3D"no=
follow" target=3D"_blank">orif@qwilt.com</a></div></div>

--000000000000e92396057c93fe1f--


From nobody Tue Dec 11 08:28:38 2018
Return-Path: <aamelnikov@fastmail.fm>
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 510A7130E3C for <cdni@ietfa.amsl.com>; Tue, 11 Dec 2018 08:28:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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=fastmail.fm header.b=vfdoQEvB; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=tJJH6Pjm
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 RW8NYyvCPwZ4 for <cdni@ietfa.amsl.com>; Tue, 11 Dec 2018 08:28:33 -0800 (PST)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9301D130E3D for <cdni@ietf.org>; Tue, 11 Dec 2018 08:28:33 -0800 (PST)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A70BE21E8D; Tue, 11 Dec 2018 11:28:32 -0500 (EST)
Received: from web5 ([10.202.2.215]) by compute7.internal (MEProxy); Tue, 11 Dec 2018 11:28:32 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= message-id:from:to:cc:mime-version:content-transfer-encoding :content-type:subject:date:references:in-reply-to; s=fm1; bh=lnB /bf3meZEYjJA+KhAryvet2EFNty3mx4u44EjpTY0=; b=vfdoQEvBVRVWD7gTzKE Uc7oRXoS7IiHMMq4i6h2j1cZHS0oeF+9bdVql6K8U9ia8g8/FuxDAX3tmaJwsbLO KDsSEGnYPkjEYvbZuv1Os9Ye9AlpO31ACG6SkFmwdbxxb9F9fDPdFM5NL2WCVI/S pllhKEqFu60t8dsjsfqlF4+ln+zmudrnvJILBihMovqFG1W2N3LoN4/Hm6KQdxAN m7X4hjJQM3KqxMIiQuecXig/IOAEGiUc/vL2I5SBdQMeW2FvJxX7KrKyX1BDFeCS alPDVCq2MaXHI0Phhi6nBXFBF1KzWE3rdP3SuPoxGwDUV2GKQgQGhhQQseSRJ3H8 njg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=lnB/bf3meZEYjJA+KhAryvet2EFNty3mx4u44EjpT Y0=; b=tJJH6PjmR5ztgXfUbFc5w3w8FKYIk6Al59nnlKCW2FOl0vOerQeljQogs aBdMbbsGk44pymNy+hi/zafWB0rcyjqSEk6CUz4IkGE0FT26GIKXTXcc88F0tCxW sm30HzTvqijSGqIsMBOTR4GuMlFpxuadUJ48dz3XKJdwjuOg/FvSc1VprxzmUkPo dRdpOwAraLXxxxW1KCuktJyF8fIa1/uM1SdQEz4jv1VZNWS8SXUPZm2rvMbmPnAR Ra7s3eWOeN/xoIo1Eo7fh0PHEv+lCXFA0pG/9biWAOE9SjLASB8NfVFcstLnN2Eh H7nqhFjFomFz95PearUuwOXzdZ/Qg==
X-ME-Sender: <xms:sOUPXIIyjZey7M7kvG3BxCGCgdoob1Xr7AL8DtbWvObs11iOTrML9g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudegjedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkhffvggfgtg fouffffhgjsegrjeerreertdejnecuhfhrohhmpeetlhgvgigvhicuofgvlhhnihhkohhv uceorggrmhgvlhhnihhkohhvsehfrghsthhmrghilhdrfhhmqeenucffohhmrghinhepfi hikhhiphgvughirgdrohhrghdpihgvthhfrdhorhhgnecurfgrrhgrmhepmhgrihhlfhhr ohhmpegrrghmvghlnhhikhhovhesfhgrshhtmhgrihhlrdhfmhenucevlhhushhtvghruf hiiigvpedt
X-ME-Proxy: <xmx:sOUPXMiWXmc2MRyX_o2LxN8wZOC9rMPIZ8Nu-s6opZj3uj_yDD5IyQ> <xmx:sOUPXPWJywGvE03ziVf7aJs3wO70ILNrtqgJvmEYnz3gVBwIi7m2Zg> <xmx:sOUPXLnLCojThx3RhaCKtwl85I4pqi0BtWLX7gQgQ_jskWoIZ52xLA> <xmx:sOUPXMAo3a9Rfh3OhgCYy-FGQBRUZVPZvrRrxbZQrH-b71wZB15FRQ> <xmx:sOUPXKMnyjnvaNIzoIbxGPDhDqo55y37PJJMp9vRo7wCx62B5yiFgQ> <xmx:sOUPXJJviDUOy7WSkDITGJokP3vQQHeuyJOUPnvq_p0VgKyxelQgDA>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id 1B0159E149; Tue, 11 Dec 2018 11:28:32 -0500 (EST)
Message-Id: <1544545711.234627.1606013984.26F7D4C1@webmail.messagingengine.com>
From: Alexey Melnikov <aamelnikov@fastmail.fm>
To: Ori Finkelman <orif@qwilt.com>
Cc: Chris Lemmons <alficles@gmail.com>, "<cdni@ietf.org>" <cdni@ietf.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_15445457122346270"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-2f590f9a
Date: Tue, 11 Dec 2018 16:28:31 +0000
References: <CAMb9nTttmr1kh6SbNBz5ztTtQ=bjPOi_A7dpLyS4FgRGt_eqWg@mail.gmail.com> <CAMb9nTs62PQFQc3GHxDXnQ-7wt_LCam8eC3dX8ivNg=H_+eabg@mail.gmail.com> <CAMb9nTtuVm6kVHNJh=505yrC55VtS+tdzSH9HEgL-6DN-dyxgg@mail.gmail.com> <CABF6JR0-ykY8UkRxtSr-8i5FmSJe6e8HjfOZEZ-p8nF=3y7Aqw@mail.gmail.com> <CAMb9nTt3wSu5p2iU5HWkAO3pYSDc+TFv0kdKmj+edJUPZ6u+1w@mail.gmail.com> <CAJEGKNs-sXAafCQg5ca3K3d_N_p077X7mNrvRJwW+WXKHb1HFg@mail.gmail.com> <1542120839.3452626.1575386224.226D0485@webmail.messagingengine.com> <CAMb9nTsX4pwnSnwdGRvHFKbvL1WcyofsQPb3=irYZrmP_BziJw@mail.gmail.com> <CAMb9nTtK7S6G+d8PFiBJvE+MbodRfTcMOJxZ2UsVbWDQu4eLhw@mail.gmail.com> <8CAB349C-A6E5-4BF2-AC48-008B979A8B5B@fastmail.fm> <CAMb9nTtWeCF-2HU5dFLsPbJxD9qpJnwMAmJmZJTV4nH6GFxRkA@mail.gmail.com> <CAMb9nTsfX_7ZTAsv=9O_4NGh07G16VfVLv_FFveqtk1m_srn0Q@mail.gmail.com> <CAMb9nTsaBkeCgM91mLPQ2jt-F-D9ZEHNYzL-d78MoB+UqiWEsA@mail.gmail.com>
In-Reply-To: <CAMb9nTsaBkeCgM91mLPQ2jt-F-D9ZEHNYzL-d78MoB+UqiWEsA@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/ybvw2aDg4f7QfytG73q07ILQU1M>
Subject: Re: [CDNi] Trigger time policy using local time
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: Tue, 11 Dec 2018 16:28:37 -0000

This is a multi-part message in MIME format.

--_----------=_15445457122346270
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="utf-8"

Hi Ori,

On Sun, Dec 9, 2018, at 10:05 AM, Ori Finkelman wrote:
> Hi,
> The time policy as defined in the latest drafts now have 3, mutually
> exclusive properties:> 1. *_unix-time-window:_* this is a TimeWindow objects as defined in
>    the metadata https://tools.ietf.org/html/rfc8006#section-4.2.3.2
>    using unix epoch.> 2. *_utc-window_*: this is a new object type UTCWindow, using RFC3339
>    for start and end times. supports any format defined by RFC3339.> 3. l_ocal-time-window:_  this is a new object type LocalTimeWindow.
>    The start and end properties are using a new format type called
>    DateLocalTime, defined in this draft.> 
> *_DateLocalTime_*
> This format is similar to the ISO8601 profile specified by RFC3339,
> however, it does not have a time offset and MUST be interpreted by the
> reader as "in my local time".> The ABNF format is defined in the draft and is very much like the one
> specified by RF3339, without the time-offset and without the leap-
> second (which is not necessary for this use case).This looks reasonable to me.

Thank you,
Alexey
> 
> Thanks,
> Ori
> 
> 
> On Sun, Nov 25, 2018 at 10:13 AM Ori Finkelman <orif@qwilt.com> wrote:>> Got feedback from Chris Newman, the author of RFC3339. This RFC does
>> not have support for non-coordinated local time intentionally, as the
>> purpose of this RFC was to created a timestamp which is
>> interoperable, so that different systems will interpret it as the
>> same UTC,>> Therefore, we cannot use RFC3339 timestamp as the base for this use
>> case, as we want to allow exactly that.>> I will therefore follow Alexey's suggestion and redefine the format
>> in the triggers extension I-D, so that it suits this purpose.>> 
>> Ori
>> 
>> 
>> On Sun, Nov 18, 2018 at 3:32 PM Ori Finkelman <orif@qwilt.com> wrote:>>> Thanks, I will do that.
>>> Best regards,
>>> Ori
>>> 
>>> On Sun, Nov 18, 2018 at 3:18 PM Alexey Melnikov
>>> <aamelnikov@fastmail.fm> wrote:>>>> Hi,
>>>> 
>>>> On 15 Nov 2018, at 12:56, Ori Finkelman <orif@qwilt.com> wrote:
>>>>> Hi,
>>>>> Looking at ISO8601, local time is simply defined by not adding the
>>>>> offset (or Z).>>>>> For example: 2018-11-12T02:30:00.00
>>>>> Is interpreted as 2:30AM at the local time.
>>>>> 
>>>>> RFC 3339 does not support this option as the RFC is focused on
>>>>> interoperability, and when what you want is to have a
>>>>> deterministic way to establish an agreement on a specific absolute
>>>>> time, you can either use UTC or local time with an offset from
>>>>> UTC.>>>>> 
>>>>> We can adopt that option for our use case as it is not trying to
>>>>> agree on an absolute time but rather on the local.>>>>> 
>>>>> Is this an acceptable solution?
>>>>> 
>>>>> If so, how do we standardize it ? as a CDNI time, or as an
>>>>> extension to RFC 3339 ?>>>> 
>>>> Just include in your document. You can cut & paste ABNF from RFC
>>>> 3339 and modify as needed.>>>>> 
>>>>> Thanks,
>>>>> Ori
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Wed, Nov 14, 2018 at 11:02 AM Ori Finkelman <orif@qwilt.com>
>>>>> wrote:>>>>>> Thanks Alexey,
>>>>>> I will look into it.
>>>>>> 
>>>>>> Ori
>>>>>> 
>>>>>> On Tue, Nov 13, 2018 at 4:54 PM Alexey Melnikov
>>>>>> <aamelnikov@fastmail.fm> wrote:>>>>>>> Hi,
>>>>>>> 
>>>>>>>  On Mon, Nov 12, 2018, at 10:46 PM, Chris Lemmons wrote:
>>>>>>>  > Part of the issue with ISO 8601 is that it is a bit annoying
>>>>>>>  > to parse.>>>>>>>  > It allows you to leave out all sorts of things and really
>>>>>>>  > defines a>>>>>>>  > whole bunch of formats. All these formats are "ISO8601":
>>>>>>>  > 2018-11-12T17:38:41+00:00
>>>>>>>  > 2018-W46
>>>>>>>  > 2018-W46-1
>>>>>>>  > --11-12
>>>>>>>  > 2018-316
>>>>>>>  > 
>>>>>>>  > And a whole bunch of others. Obviously, most of those leave
>>>>>>>  > out some>>>>>>>  > information that ought to be required. But actually
>>>>>>>  > implementing a>>>>>>>  > full parser for it is a bit tougher than for some other
>>>>>>>  > formats.>>>>>>> 
>>>>>>>  I agree that generic ISO 8601 format is not what you want, that
>>>>>>>  is why RFC 3339 was defined in the first place. RFC 3339
>>>>>>>  defines a subset which is much easier to parse.>>>>>>> 
>>>>>>>  You could have a look at ISO 8601 and see how "local timezone"
>>>>>>>  is defined there and just extend RFC 3339 for this case,
>>>>>>>  without adding support for all other optional things in ISO
>>>>>>>  8601.>>>>>>> 
>>>>>>>  Just my 2p.
>>>>>>> 
>>>>>>>  > Consider something like "local-offset: true", to indicate
>>>>>>>  > that a local>>>>>>>  > offset should be added to the UTC time specified. This
>>>>>>>  > achieves the>>>>>>>  > effect of executing it in the local time zone.
>>>>>>>  > On Mon, Nov 12, 2018 at 1:42 PM Ori Finkelman
>>>>>>>  > <orif@qwilt.com> wrote:>>>>>>>  > >
>>>>>>>  > > Hi Phil,
>>>>>>>  > > Though it may seem so, this is not our case and using it
>>>>>>>  > > may create confusion.>>>>>>>  > > What we need is something that executes in different
>>>>>>>  > > absolute times in different locations.>>>>>>>  > >
>>>>>>>  > > using the -0000 offset to signify local time.
>>>>>>>  > > >> This means that the time is actually in UTC (same as
>>>>>>>  > > >> +0000) but the time zone was not supposed to be 0, it is
>>>>>>>  > > >> just unknown, and is therefore using 0.>>>>>>>  > >
>>>>>>>  > > Also, it seems that ISO8601 also has a "local time" where
>>>>>>>  > > you just don't include an offset:>>>>>>>  > > >> This actually means that time is in the local time of
>>>>>>>  > > >> the caller, which means that if you translate it to UTC
>>>>>>>  > > >> you should get the caller time + the correct offset.
>>>>>>>  > > >> This is a specific absolute time, not something that can
>>>>>>>  > > >> be interpreted as different UTC in different time zones.>>>>>>>  > > We can decide that when we say "local time" we actually
>>>>>>>  > > mean the receivers local time rather than the callers local
>>>>>>>  > > time, but then again, if for example the trigger server is
>>>>>>>  > > located at NY, then 4AM will mean 4AM in local time in NY
>>>>>>>  > > (i.e. +0500). Using it to designate 4AM depending on where
>>>>>>>  > > the cache is found is non-standard.>>>>>>>  > > I was rather hoping we can have something which designate
>>>>>>>  > > exactly what we mean, but I guess that passing the time
>>>>>>>  > > with no time-zone and adding a flag that says "use in your
>>>>>>>  > > own local time" may be do it. But in this case, I would
>>>>>>>  > > take Chris proposal and use UNIX epoch as it is easier to
>>>>>>>  > > parse and is already been used in CDNI.>>>>>>>  > >
>>>>>>>  > > Thanks,
>>>>>>>  > > Ori
>>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > > On Mon, Nov 12, 2018 at 10:15 PM Phil Sorber
>>>>>>>  > > <sorber@apache.org> wrote:>>>>>>>  > >>
>>>>>>>  > >> What about section 4.3 of RFC3339?
>>>>>>>  > >>
>>>>>>>  > >> https://tools.ietf.org/html/rfc3339#section-4.3
>>>>>>>  > >>
>>>>>>>  > >> using the -0000 offset to signify local time.
>>>>>>>  > >
>>>>>>>  > > >> This means that the time is actually in UTC (same as
>>>>>>>  > > >> +0000) but the time zone was not supposed to be 0, it is
>>>>>>>  > > >> just unknown, and is therefore using 0.>>>>>>>  > >>
>>>>>>>  > >>
>>>>>>>  > >> Also, it seems that ISO8601 also has a "local time" where
>>>>>>>  > >> you just don't include an offset:>>>>>>>  > >
>>>>>>>  > > >> This actually means that time is in the local time of
>>>>>>>  > > >> the caller, which means that if you translate it to UTC
>>>>>>>  > > >> you should get the caller time + the correct offset.
>>>>>>>  > > >> This is a specific absolute time, not something that can
>>>>>>>  > > >> be interpreted as different UTC in different time zones.>>>>>>>  > >>
>>>>>>>  > >>
>>>>>>>  > >> https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators>>>>>>>  > >>
>>>>>>>  > >> "If no UTC relation information is given with a time
>>>>>>>  > >> representation, the time is assumed to be in local time.">>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > > >> This is the same as the above, We can decide that when
>>>>>>>  > > >> we say "local time" we actually mean the receivers local
>>>>>>>  > > >> time rather than the callers local time, but then again,
>>>>>>>  > > >> if for example the trigger server is located at NY, then
>>>>>>>  > > >> the 4AM will mean local time in NY. Using it to
>>>>>>>  > > >> designate 4AM depending on where the cache is found is
>>>>>>>  > > >> non-standard.>>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > >>
>>>>>>>  > >>
>>>>>>>  > >> Also in RFC 2822 section 3.3
>>>>>>>  > >> (https://tools.ietf.org/html/rfc2822#section-3.3):>>>>>>>  > >>
>>>>>>>  > >> "Though "-0000" also indicates Universal Time, it is used
>>>>>>>  > >> to indicate that the time was generated on a system that
>>>>>>>  > >> may be in a local time zone other than Universal Time and
>>>>>>>  > >> therefore indicates that the date-time contains no
>>>>>>>  > >> information about the local time zone.">>>>>>>  > >>
>>>>>>>  > >> On Mon, Nov 12, 2018 at 5:53 AM Ori Finkelman
>>>>>>>  > >> <orif@qwilt.com> wrote:>>>>>>>  > >>>
>>>>>>>  > >>> Hi,
>>>>>>>  > >>> In the CDNI meeting we have discussed how to represent
>>>>>>>  > >>> local time at the trigger destination where there are
>>>>>>>  > >>> multiple destination locations in different time zones.>>>>>>>  > >>>
>>>>>>>  > >>> Two options raised:
>>>>>>>  > >>> 1. Follow RFC 3339, and add a new notion for "your local
>>>>>>>  > >>>    time">>>>>>>  > >>> For example: 2018-11-12T02:30:00.00L
>>>>>>>  > >>> should be interpreted as November 12th, 2018, 2:30AM at
>>>>>>>  > >>> your own local time.>>>>>>>  > >>>
>>>>>>>  > >>> 2. Use UTC / UNIX epoch with a local time flag.
>>>>>>>  > >>> For example: 1541989800 For and {"local-time": true}
>>>>>>>  > >>> means 2018-11-12T02:30:00.00 but servers MUST interpret
>>>>>>>  > >>> that in their own local time.>>>>>>>  > >>> I.e. servers MUST reduce their time offset from the UNIX
>>>>>>>  > >>>      epoch before interpreting the time.>>>>>>>  > >>> For example, a server located at UTC+02:00 must reduce
>>>>>>>  > >>> 7200 seconds from this eopch, resulting in 1541982600
>>>>>>>  > >>> which is 2018-11-12T02:30:00.00+02:00>>>>>>>  > >>> If a sever is located at UTC-04:00 it must reduce -14,400
>>>>>>>  > >>> seconds epoch, resulting in 1542004200 which is 2018-11-12T02:30:00.00-
>>>>>>>  > >>> 04:00>>>>>>>  > >>>
>>>>>>>  > >>> Personally I am in favor of option 2, as option 1 will
>>>>>>>  > >>> require changes in time parser and is probably best done
>>>>>>>  > >>> by an updated RFC on top of RFC 3339, not sure this use
>>>>>>>  > >>> case justifies it.>>>>>>>  > >>> I will also ping the authors of RFC3339 to get their
>>>>>>>  > >>> views, but would appreciate any input at the mean time.>>>>>>>  > >>>
>>>>>>>  > >>> Thanks,
>>>>>>>  > >>> Ori
>>>>>>>  > >>>
>>>>>>>  > >>>
>>>>>>>  > >>>
>>>>>>>  > >>>
>>>>>>>  > >>>
>>>>>>>  > >>>
>>>>>>>  > >>>
>>>>>>>  > >>>
>>>>>>>  > >>> On Mon, Oct 15, 2018 at 12:23 PM Ori Finkelman
>>>>>>>  > >>> <orif@qwilt.com> wrote:>>>>>>>  > >>>>
>>>>>>>  > >>>> Hi,
>>>>>>>  > >>>> In the last CDNI meeting we have agreed to add to the
>>>>>>>  > >>>> time policy the local-time flag (see below).>>>>>>>  > >>>> The required semantics is the instruct the dCDN to run
>>>>>>>  > >>>> the trigger at the given time window in there own local
>>>>>>>  > >>>> time.>>>>>>>  > >>>> For example: "I want you to run this trigger between 3AM-
>>>>>>>  > >>>> 5AM at your own local time".>>>>>>>  > >>>>
>>>>>>>  > >>>> The reasoning is that network resource availability and
>>>>>>>  > >>>> prices may vary across the day, and specifically are
>>>>>>>  > >>>> more available and less expensive at off-peak hours.
>>>>>>>  > >>>> however off-peak hours are local per region.>>>>>>>  > >>>> In the past we have proposed to avoid adding this flag
>>>>>>>  > >>>> by using a combination of location policy and time
>>>>>>>  > >>>> policy, but that would require calling a separate
>>>>>>>  > >>>> trigger for each region.>>>>>>>  > >>>>
>>>>>>>  > >>>> While working on adding this "local-time" flag, I have
>>>>>>>  > >>>> realized that TimeWindow as defined in
>>>>>>>  > >>>> https://tools.ietf.org/html/rfc8006#section-4.2.3.2 in
>>>>>>>  > >>>> UTC and it is better not be used to represent local
>>>>>>>  > >>>> time.>>>>>>>  > >>>> The only option I can think of using textual time format
>>>>>>>  > >>>> as defined in RFC3339, and the local time flag should be
>>>>>>>  > >>>> interpreted by the dCDN as "you should interpret this as
>>>>>>>  > >>>> if it in your own local time".>>>>>>>  > >>>> Using RFC3339 means we need to add a new time object
>>>>>>>  > >>>> instead of the TimeWindow.>>>>>>>  > >>>>
>>>>>>>  > >>>> Thoughts ?
>>>>>>>  > >>>>
>>>>>>>  > >>>> Thanks,
>>>>>>>  > >>>> Ori
>>>>>>>  > >>>>
>>>>>>>  > >>>>
>>>>>>>  > >>>> On Sun, Jul 22, 2018 at 9:19 AM Ori Finkelman
>>>>>>>  > >>>> <orif@qwilt.com> wrote:>>>>>>>  > >>>>>
>>>>>>>  > >>>>> Here are the comments we got CDNI meeting.
>>>>>>>  > >>>>>
>>>>>>>  > >>>>> Playlist:
>>>>>>>  > >>>>> change abr-protocol to media-protocol, as it may be
>>>>>>>  > >>>>> used for other media rather than video abr.>>>>>>>  > >>>>>
>>>>>>>  > >>>>> Trigger TimePolicy:
>>>>>>>  > >>>>> Add local-time flag. When true the trigger should be
>>>>>>>  > >>>>> executed at the local time, per zone.>>>>>>>  > >>>>>
>>>>>>>  > >>>>> Trigger error and warning propagation:
>>>>>>>  > >>>>> Considering triggers may be propagated to a chain of
>>>>>>>  > >>>>> dCDNs, and considering we allow extensions to be safe-to-
>>>>>>>  > >>>>> redistribute even if not understood, we should add a
>>>>>>>  > >>>>> mechanism for propagating errors and warnings back to
>>>>>>>  > >>>>> the uCDN.>>>>>>>  > >>>>>
>>>>>>>  > >>>>> 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>>>>>>>  > >>>
>>>>>>>  > >>>
>>>>>>>  > >>>
>>>>>>>  > >>> --
>>>>>>>  > >>> Ori Finkelman
>>>>>>>  > >>> Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |
>>>>>>>  > >>> orif@qwilt.com>>>>>>>  > >>> _______________________________________________
>>>>>>>  > >>> CDNi mailing list
>>>>>>>  > >>> CDNi@ietf.org
>>>>>>>  > >>> https://www.ietf.org/mailman/listinfo/cdni
>>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > >
>>>>>>>  > > --
>>>>>>>  > > Ori Finkelman
>>>>>>>  > > Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |
>>>>>>>  > > orif@qwilt.com>>>>>>>  > > _______________________________________________
>>>>>>>  > > CDNi mailing list
>>>>>>>  > > CDNi@ietf.org
>>>>>>>  > > https://www.ietf.org/mailman/listinfo/cdni
>>>>>>>  > 
>>>>>>>  > _______________________________________________
>>>>>>>  > CDNi mailing list
>>>>>>>  > CDNi@ietf.org
>>>>>>>  > https://www.ietf.org/mailman/listinfo/cdni
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> *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>>> 
>>> 
>>> -- 
>>> *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> 
> 
> -- 
> *Ori Finkelman
*Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |
orif@qwilt.com

--_----------=_15445457122346270
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset="utf-8"

<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>Hi Ori,</div>
<div><br></div>
<div id="sig21611513"><div class="signature">On Sun, Dec 9, 2018, at 10:05 AM, Ori Finkelman wrote:<br></div>
</div>
<blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Hi,<br></div>
<div>The time policy as defined in the latest drafts now have 3, mutually exclusive properties:<br></div>
<div>1. <b><u>unix-time-window:</u></b> this is a TimeWindow objects as defined in the metadata&nbsp;<a href="https://tools.ietf.org/html/rfc8006#section-4.2.3.2">https://tools.ietf.org/html/rfc8006#section-4.2.3.2</a> using unix epoch.<br></div>
<div>2. <b><u>utc-window</u></b>: this is a new object type UTCWindow, using RFC3339 for start and end times. supports any format defined by RFC3339.<br></div>
<div>3. l<u style="font-weight:bold;">ocal-time-window:</u>&nbsp; this is a new object type LocalTimeWindow. The start and end properties are using a new format type called DateLocalTime, defined in this draft.<br></div>
<div><br></div>
<div><b><u>DateLocalTime</u></b><br></div>
<div>This format is similar to the ISO8601 profile specified by RFC3339, however, it does not have a time offset and MUST be interpreted by the reader as "in my local time".<br></div>
<div>The ABNF format is defined in the draft and is very much like the one specified by RF3339, without the time-offset and without the leap-second (which is not necessary for this use case).<br></div>
</div>
</div>
</blockquote><div>This looks reasonable to me.<br></div>
<div><br></div>
<div>Thank you,<br></div>
<div>Alexey</div>
<blockquote type="cite"><div dir="ltr"><div dir="ltr"><div><br></div>
<div>Thanks,<br></div>
<div>Ori<br></div>
<div><br></div>
</div>
</div>
<div><br></div>
<div defang_data-gmailquote="yes"><div dir="ltr">On Sun, Nov 25, 2018 at 10:13 AM Ori Finkelman &lt;<a href="mailto:orif@qwilt.com">orif@qwilt.com</a>&gt; wrote:<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div dir="ltr"><div>Got feedback from Chris Newman, the author of RFC3339. This RFC does not have support for non-coordinated local time intentionally, as the purpose of this RFC was to created a timestamp which is interoperable, so that different systems will interpret it as the same UTC,<br></div>
<div>Therefore, we cannot use RFC3339 timestamp as the base for this use case, as we want to allow exactly that.<br></div>
<div>I will therefore follow Alexey's suggestion and redefine the format in the triggers extension I-D, so that it suits this purpose.<br></div>
<div><br></div>
<div>Ori<br></div>
<div><br></div>
</div>
<div><br></div>
<div defang_data-gmailquote="yes"><div dir="ltr">On Sun, Nov 18, 2018 at 3:32 PM Ori Finkelman &lt;<a href="mailto:orif@qwilt.com">orif@qwilt.com</a>&gt; wrote:<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div dir="ltr"><div>Thanks, I will do that.<br></div>
<div>Best regards,<br></div>
<div>Ori<br></div>
</div>
<div><br></div>
<div defang_data-gmailquote="yes"><div dir="ltr">On Sun, Nov 18, 2018 at 3:18 PM Alexey Melnikov &lt;<a href="mailto:aamelnikov@fastmail.fm">aamelnikov@fastmail.fm</a>&gt; wrote:<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div><div>Hi,<br></div>
<div><div><br></div>
<div>On 15 Nov 2018, at 12:56, Ori Finkelman &lt;<a href="mailto:orif@qwilt.com">orif@qwilt.com</a>&gt; wrote:<br></div>
</div>
<blockquote type="cite"><div><div dir="ltr"><div>Hi,<br></div>
<div>Looking at ISO8601, local time is simply defined by not adding the offset (or Z).<br></div>
<div>For example:&nbsp;<span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:monospace"><span class="size" style="font-size:13.3333px">2018-11-12T02:30:00.00</span></span></span><br></div>
<div>Is interpreted as 2:30AM at the local time.<br></div>
<div><br></div>
<div>RFC 3339 does not support this option as the RFC is focused on interoperability, and when what you want is to have a deterministic way to establish an agreement on a specific absolute time, you can either use UTC or local time with an offset from UTC.<br></div>
<div><br></div>
<div>We can adopt that option for our use case as it is not trying to agree on an absolute time but rather on the local.<br></div>
<div><br></div>
<div>Is this an acceptable solution?<br></div>
<div><br></div>
<div>If so, how do we standardize it ? as a CDNI time, or as an extension to RFC 3339 ?<br></div>
</div>
</div>
</blockquote><div><br></div>
<div>Just include in your document. You can cut &amp; paste ABNF from RFC 3339 and modify as needed.<br></div>
<blockquote type="cite"><div><div dir="ltr"><div><br></div>
<div>Thanks,<br></div>
<div>Ori<br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
</div>
<div><br></div>
<div defang_data-gmailquote="yes"><div dir="ltr">On Wed, Nov 14, 2018 at 11:02 AM Ori Finkelman &lt;<a href="mailto:orif@qwilt.com">orif@qwilt.com</a>&gt; wrote:<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div dir="ltr"><div>Thanks Alexey,<br></div>
<div>I will look&nbsp;into it.<br></div>
<div><br></div>
<div>Ori<br></div>
</div>
<div><br></div>
<div defang_data-gmailquote="yes"><div dir="ltr">On Tue, Nov 13, 2018 at 4:54 PM Alexey Melnikov &lt;<a href="mailto:aamelnikov@fastmail.fm">aamelnikov@fastmail.fm</a>&gt; wrote:<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div>Hi,<br></div>
<div> <br></div>
<div> On Mon, Nov 12, 2018, at 10:46 PM, Chris Lemmons wrote:<br></div>
<div> &gt; Part of the issue with ISO 8601 is that it is a bit annoying to parse.<br></div>
<div> &gt; It allows you to leave out all sorts of things and really defines a<br></div>
<div> &gt; whole bunch of formats. All these formats are "ISO8601":<br></div>
<div> &gt; 2018-11-12T17:38:41+00:00<br></div>
<div> &gt; 2018-W46<br></div>
<div> &gt; 2018-W46-1<br></div>
<div> &gt; --11-12<br></div>
<div> &gt; 2018-316<br></div>
<div> &gt; <br></div>
<div> &gt; And a whole bunch of others. Obviously, most of those leave out some<br></div>
<div> &gt; information that ought to be required. But actually implementing a<br></div>
<div> &gt; full parser for it is a bit tougher than for some other formats.<br></div>
<div> <br></div>
<div> I agree that generic ISO 8601 format is not what you want, that is why RFC 3339 was defined in the first place. RFC 3339 defines a subset which is much easier to parse.<br></div>
<div> <br></div>
<div> You could have a look at ISO 8601 and see how "local timezone" is defined there and just extend RFC 3339 for this case, without adding support for all other optional things in ISO 8601.<br></div>
<div> <br></div>
<div> Just my 2p.<br></div>
<div> <br></div>
<div> &gt; Consider something like "local-offset: true", to indicate that a local<br></div>
<div> &gt; offset should be added to the UTC time specified. This achieves the<br></div>
<div> &gt; effect of executing it in the local time zone.<br></div>
<div> &gt; On Mon, Nov 12, 2018 at 1:42 PM Ori Finkelman &lt;<a href="mailto:orif@qwilt.com">orif@qwilt.com</a>&gt; wrote:<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt; Hi Phil,<br></div>
<div> &gt; &gt; Though it may seem so, this is not our case and using it may create confusion.<br></div>
<div> &gt; &gt; What we need is something that executes in different absolute times in different locations.<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt; using the -0000 offset to signify local time.<br></div>
<div> &gt; &gt; &gt;&gt; This means that the time is actually in UTC (same as +0000) but the time zone was not supposed to be 0, it is just unknown, and is therefore using 0.<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt; Also, it seems that ISO8601 also has a "local time" where you just don't include an offset:<br></div>
<div> &gt; &gt; &gt;&gt; This actually means that time is in the local time of the caller, which means that if you translate it to UTC you should get the caller time + the correct offset. This is a specific absolute time, not something that can be interpreted as different UTC in different time zones.<br></div>
<div> &gt; &gt; We can decide that when we say "local time" we actually mean the receivers local time rather than the callers local time, but then again, if for example the trigger server is located at NY, then 4AM will mean 4AM in local time in NY (i.e. +0500). Using it to designate 4AM depending on where the cache is found is non-standard.<br></div>
<div> &gt; &gt; I was rather hoping we can have something which designate exactly what we mean, but I guess that passing the time with no time-zone and adding a flag that says "use in your own local time" may be do it. But in this case, I would take Chris proposal and use UNIX epoch as it is easier to parse and is already been used in CDNI.<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt; Thanks,<br></div>
<div> &gt; &gt; Ori<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt; On Mon, Nov 12, 2018 at 10:15 PM Phil Sorber &lt;<a href="mailto:sorber@apache.org">sorber@apache.org</a>&gt; wrote:<br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt; What about section 4.3 of RFC3339?<br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt; <a href="https://tools.ietf.org/html/rfc3339#section-4.3">https://tools.ietf.org/html/rfc3339#section-4.3</a><br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt; using the -0000 offset to signify local time.<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt; &gt;&gt; This means that the time is actually in UTC (same as +0000) but the time zone was not supposed to be 0, it is just unknown, and is therefore using 0.<br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt; Also, it seems that ISO8601 also has a "local time" where you just don't include an offset:<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt; &gt;&gt; This actually means that time is in the local time of the caller, which means that if you translate it to UTC you should get the caller time + the correct offset. This is a specific absolute time, not something that can be interpreted as different UTC in different time zones.<br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt; <a href="https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators">https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators</a><br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt; "If no UTC relation information is given with a time representation, the time is assumed to be in local time."<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt; &gt;&gt; This is the same as the above, We can decide that when we say "local time" we actually mean the receivers local time rather than the callers local time, but then again, if for example the trigger server is located at NY, then the 4AM will mean local time in NY. Using it to designate 4AM depending on where the cache is found is non-standard.<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt; Also in RFC 2822 section 3.3 (<a href="https://tools.ietf.org/html/rfc2822#section-3.3">https://tools.ietf.org/html/rfc2822#section-3.3</a>):<br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt; "Though "-0000" also indicates Universal Time, it is used to indicate that the time was generated on a system that may be in a local time zone other than Universal Time and therefore indicates that the date-time contains no information about the local time zone."<br></div>
<div> &gt; &gt;&gt;<br></div>
<div> &gt; &gt;&gt; On Mon, Nov 12, 2018 at 5:53 AM Ori Finkelman &lt;<a href="mailto:orif@qwilt.com">orif@qwilt.com</a>&gt; wrote:<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt; Hi,<br></div>
<div> &gt; &gt;&gt;&gt; In the CDNI meeting we have discussed how to represent local time at the trigger destination where there are multiple destination locations in different time zones.<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt; Two options raised:<br></div>
<div> &gt; &gt;&gt;&gt; 1. Follow RFC 3339, and add a new notion for "your local time"<br></div>
<div> &gt; &gt;&gt;&gt; For example: 2018-11-12T02:30:00.00L<br></div>
<div> &gt; &gt;&gt;&gt; should be interpreted as November 12th, 2018, 2:30AM at your own local time.<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt; 2. Use UTC / UNIX epoch with a local time flag.<br></div>
<div> &gt; &gt;&gt;&gt; For example: 1541989800 For and {"local-time": true} means 2018-11-12T02:30:00.00 but servers MUST interpret that in their own local time.<br></div>
<div> &gt; &gt;&gt;&gt; I.e. servers MUST reduce their time offset from the UNIX epoch before interpreting the time.<br></div>
<div> &gt; &gt;&gt;&gt; For example, a server located at UTC+02:00 must reduce 7200 seconds from this eopch, resulting in 1541982600 which is 2018-11-12T02:30:00.00+02:00<br></div>
<div> &gt; &gt;&gt;&gt; If a sever is located at UTC-04:00 it must reduce -14,400 seconds epoch, resulting in 1542004200 which is 2018-11-12T02:30:00.00-04:00<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt; Personally I am in favor of option 2, as option 1 will require changes in time parser and is probably best done by an updated RFC on top of RFC 3339, not sure this use case justifies it.<br></div>
<div> &gt; &gt;&gt;&gt; I will also ping the authors of RFC3339 to get their views, but would appreciate any input at the mean time.<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt; Thanks,<br></div>
<div> &gt; &gt;&gt;&gt; Ori<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt; On Mon, Oct 15, 2018 at 12:23 PM Ori Finkelman &lt;<a href="mailto:orif@qwilt.com">orif@qwilt.com</a>&gt; wrote:<br></div>
<div> &gt; &gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt; Hi,<br></div>
<div> &gt; &gt;&gt;&gt;&gt; In the last CDNI meeting we have agreed to add to the time policy the local-time flag (see below).<br></div>
<div> &gt; &gt;&gt;&gt;&gt; The required semantics is the instruct the dCDN to run the trigger at the given time window in there own local time.<br></div>
<div> &gt; &gt;&gt;&gt;&gt; For example: "I want you to run this trigger between 3AM-5AM at your own local time".<br></div>
<div> &gt; &gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt; The reasoning is that network resource availability and prices may vary across the day, and specifically are more available and less expensive at off-peak hours. however off-peak hours are local per region.<br></div>
<div> &gt; &gt;&gt;&gt;&gt; In the past we have proposed to avoid adding this flag by using a combination of location policy and time policy, but that would require calling a separate trigger for each region.<br></div>
<div> &gt; &gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt; While working on adding this "local-time" flag, I have realized that TimeWindow as defined in <a href="https://tools.ietf.org/html/rfc8006#section-4.2.3.2">https://tools.ietf.org/html/rfc8006#section-4.2.3.2</a> in UTC and it is better not be used to represent local time.<br></div>
<div> &gt; &gt;&gt;&gt;&gt; The only option I can think of using textual time format as defined in RFC3339, and the local time flag should be interpreted by the dCDN as "you should interpret this as if it in your own local time".<br></div>
<div> &gt; &gt;&gt;&gt;&gt; Using RFC3339 means we need to add a new time object instead of the TimeWindow.<br></div>
<div> &gt; &gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt; Thoughts ?<br></div>
<div> &gt; &gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt; Thanks,<br></div>
<div> &gt; &gt;&gt;&gt;&gt; Ori<br></div>
<div> &gt; &gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt; On Sun, Jul 22, 2018 at 9:19 AM Ori Finkelman &lt;<a href="mailto:orif@qwilt.com">orif@qwilt.com</a>&gt; wrote:<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; Here are the comments we got CDNI meeting.<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; Playlist:<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; change abr-protocol to media-protocol, as it may be used for other media rather than video abr.<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; Trigger TimePolicy:<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; Add local-time flag. When true the trigger should be executed at the local time, per zone.<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; Trigger error and warning propagation:<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; Considering triggers may be propagated to a chain of dCDNs, and considering we allow extensions to be safe-to-redistribute even if not understood, we should add a mechanism for propagating errors and warnings back to the uCDN.<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; Thanks,<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; Ori<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; --<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; Ori Finkelman<br></div>
<div> &gt; &gt;&gt;&gt;&gt;&gt; Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href="mailto:orif@qwilt.com">orif@qwilt.com</a><br></div>
<div> &gt; &gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;&gt; --<br></div>
<div> &gt; &gt;&gt;&gt;&gt; Ori Finkelman<br></div>
<div> &gt; &gt;&gt;&gt;&gt; Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href="mailto:orif@qwilt.com">orif@qwilt.com</a><br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt;<br></div>
<div> &gt; &gt;&gt;&gt; --<br></div>
<div> &gt; &gt;&gt;&gt; Ori Finkelman<br></div>
<div> &gt; &gt;&gt;&gt; Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href="mailto:orif@qwilt.com">orif@qwilt.com</a><br></div>
<div> &gt; &gt;&gt;&gt; _______________________________________________<br></div>
<div> &gt; &gt;&gt;&gt; CDNi mailing list<br></div>
<div> &gt; &gt;&gt;&gt; <a href="mailto:CDNi@ietf.org">CDNi@ietf.org</a><br></div>
<div> &gt; &gt;&gt;&gt; <a href="https://www.ietf.org/mailman/listinfo/cdni">https://www.ietf.org/mailman/listinfo/cdni</a><br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt;<br></div>
<div> &gt; &gt; --<br></div>
<div> &gt; &gt; Ori Finkelman<br></div>
<div> &gt; &gt; Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href="mailto:orif@qwilt.com">orif@qwilt.com</a><br></div>
<div> &gt; &gt; _______________________________________________<br></div>
<div> &gt; &gt; CDNi mailing list<br></div>
<div> &gt; &gt; <a href="mailto:CDNi@ietf.org">CDNi@ietf.org</a><br></div>
<div> &gt; &gt; <a href="https://www.ietf.org/mailman/listinfo/cdni">https://www.ietf.org/mailman/listinfo/cdni</a><br></div>
<div> &gt; <br></div>
<div> &gt; _______________________________________________<br></div>
<div> &gt; CDNi mailing list<br></div>
<div> &gt; <a href="mailto:CDNi@ietf.org">CDNi@ietf.org</a><br></div>
<div> &gt; <a href="https://www.ietf.org/mailman/listinfo/cdni">https://www.ietf.org/mailman/listinfo/cdni</a><br></div>
</blockquote></div>
<div><br></div>
<div><br></div>
<div>-- <br></div>
<div dir="ltr"><div dir="ltr"><b>Ori Finkelman<br></b>Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href="mailto:orif@qwilt.com">orif@qwilt.com</a></div>
</div>
</blockquote></div>
<div><br></div>
<div><br></div>
<div>-- <br></div>
<div dir="ltr"><div dir="ltr"><b>Ori Finkelman<br></b>Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href="mailto:orif@qwilt.com">orif@qwilt.com</a></div>
</div>
</div>
</blockquote></div>
</blockquote></div>
<div><br></div>
<div><br></div>
<div>-- <br></div>
<div dir="ltr"><div dir="ltr"><b>Ori Finkelman<br></b>Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href="mailto:orif@qwilt.com">orif@qwilt.com</a></div>
</div>
</blockquote></div>
<div><br></div>
<div><br></div>
<div>-- <br></div>
<div dir="ltr"><div dir="ltr"><b>Ori Finkelman<br></b>Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href="mailto:orif@qwilt.com">orif@qwilt.com</a></div>
</div>
</blockquote></div>
<div><br></div>
<div><br></div>
<div>-- <br></div>
<div dir="ltr"><div dir="ltr"><b>Ori Finkelman<br></b>Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | <a href="mailto:orif@qwilt.com">orif@qwilt.com</a></div>
</div>
</blockquote><div><br></div>
</body>
</html>

--_----------=_15445457122346270--


