Re: [calsify] New Draft - Maintenance Notifications Using iCalendar

Ryan Gunter <rgunter@twitch.tv> Thu, 25 July 2019 15:45 UTC

Return-Path: <rgunter@justin.tv>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D0C212027E for <calsify@ietfa.amsl.com>; Thu, 25 Jul 2019 08:45:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level:
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=twitch.tv
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 LBBwgrgs4DxJ for <calsify@ietfa.amsl.com>; Thu, 25 Jul 2019 08:45:30 -0700 (PDT)
Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (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 AED1412026D for <calsify@ietf.org>; Thu, 25 Jul 2019 08:45:29 -0700 (PDT)
Received: by mail-wm1-x331.google.com with SMTP id a15so45439659wmj.5 for <calsify@ietf.org>; Thu, 25 Jul 2019 08:45:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=twitch.tv; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o1PBuhQ/prcHVtLr8NV2RNGT8G05HQrLW/fdpk71CNw=; b=KRuvSXvXSFPkXD9ypMiWcpVwOXNBhapenNJ6vQBderVwlpAOpwHg6ffVe2NzSeX83p PoVjnHvXAisHD9XAEIn9wFq0DMn3Rb78d0vKDcvY/pQ6JX7sBo25lNV7Zxg1V768J02f CLf4FVr0idtlaFCp9/PLJ/LkGjJF1h2WMbsnk=
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=o1PBuhQ/prcHVtLr8NV2RNGT8G05HQrLW/fdpk71CNw=; b=ZRnvRoIpWeqGOCvCMyN1EdrYslJi7CSsXmOniQ0oXS7WJ66g80vFaRIzbKJBQYFpqi frh0aiqaCyIkXpwHEo0y5NBLfeLKgOOzBSxppujytWY3zGkyooH9Tt9U0tYcB4vXtXn0 WDABzQdaDI76Mx7sUUkkTt5ixvV6lTdLfH0EtFTNM1pbCxZm72j2hCmha101soF9zadA qwTwi5Xcl4cLdVHsJynlP1y3VJCi4oy72zTgjj5AyGYNWH5rTRF1IVpNA6UoV6xECQDT z+ti6TahVOkJrnrfKwlRxKTlKrPmv82viC1sPLoB9CorI8vjALH5Fl2iBvN11VrEX7si gTiQ==
X-Gm-Message-State: APjAAAWXZ5ZxrXB9Abwa7106EU7OcDi5QwQrJ6Ie35UD5m0gEXtJhIZX dYrNJ94/D2hsOG1mjVoBd4gm+R44YoSR0QCwTNDX
X-Google-Smtp-Source: APXvYqwFSnqRDfm2ExgdwThxpLmvDmPVSIfYe1QAFZtbdZK82ptPlZ6cWHw8bgUmVVGIxQjsMALcWDIKT9Mdq8SQQ+M=
X-Received: by 2002:a1c:f418:: with SMTP id z24mr31436313wma.80.1564069528030; Thu, 25 Jul 2019 08:45:28 -0700 (PDT)
MIME-Version: 1.0
References: <CAOxZLy0VntDQYCrdvnpDcef3rPqXibqso36OwEjbFn4kdUSPWQ@mail.gmail.com> <f2eaac56-8604-ac3e-9749-cfa92a888416@fastmail.com> <f845a34d-7eb4-99fe-252a-49b15fedae49@gmail.com> <CAOxZLy2e9mv5QsDBpKv=us+jJ0R_i9Yp5q0aHz-0oFq7X+jeEg@mail.gmail.com> <a9a77a94-6eff-b6f8-7d37-56735f7331bf@fastmail.com> <CAOxZLy2UVWd8cv4pPTnyKFgPbWshh7CT82i5kLn4qUL=dBegLQ@mail.gmail.com> <12d2d82e-121f-3583-592b-fcbd17f2b0d1@gmail.com> <17ad7de3-5957-eb65-a052-d6f9f93f2b23@gmail.com> <acb24b57-62ce-3267-4828-c3e5b3057a0c@gmail.com> <CAOxZLy1dURTrXkbGNy+TQOF7x2fTF8dZ-yepU9EUd_AtygQ+3w@mail.gmail.com> <4a9a9e83-08b0-6d70-10d4-3c82a58ad398@gmail.com>
In-Reply-To: <4a9a9e83-08b0-6d70-10d4-3c82a58ad398@gmail.com>
From: Ryan Gunter <rgunter@twitch.tv>
Date: Thu, 25 Jul 2019 09:44:51 -0600
Message-ID: <CAOxZLy2Jr8yZup7O8FAOrkta9fOAtO3HHbMCyGGwaudN4ZW75Q@mail.gmail.com>
To: Doug Royer <douglasroyer@gmail.com>
Cc: calsify@ietf.org
Content-Type: multipart/alternative; boundary="0000000000009f7f58058e835079"
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/OuoNCXc4ORJyCFQ2zW8jp4CJVxg>
Subject: Re: [calsify] New Draft - Maintenance Notifications Using iCalendar
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Jul 2019 15:45:33 -0000

Doug,

I'm extremely appreciative of your response, it's very helpful.

Based on my previous draft, we have a very simple set of fields but enough
to provide context for an upcoming maintenance.  With this being said, the
addition of a new component seems like the better option.

For the new draft, would we revise it to 01, or create a new draft to
review?


Ryan Gunter  |   *Twitch* <http://www.twitch.tv/>   |   Network Engineering
 |   +1.415.568.7607


On Tue, Jul 23, 2019 at 1:54 PM Doug Royer <douglasroyer@gmail.com> wrote:

> On 7/23/19 9:02 AM, Ryan Gunter wrote:
>
> >
> > Is this suggesting to use the ATTACH property with a defined data set
> from schema.org <http://schema.org>, or otherwise?  If that's the case,
> we could work with schema.org <http://schema.org> to define these data
> sets?  The original hope of the draft was to agree upon a way to provide
> network maintenance information within the file.  If we went with the
> ATTACH or STRUCTURED-DATA route, would there be a way to define this data
> set or method within the IETF?  I just want to make sure I understand the
> boundaries and drive this effort correctly.
>
> One option is to create a new iCalendar component 'MAINTNOTE'  and include
> it inline, as in:
>
>         ...
>         BEGIN:MAINTNOTE
>         MAINTNOTE-PROVIDER:example.com
>         MAINTNOTE-ACCOUNT: Twitch
>         MAINTNOTE-MAINTENANCE-ID: WorkOrder-31415
>         MAINTNOTE-OBJECT-ID: ABC123
>         MAINTNOTE-IMPACT: OUTAGE
>         MAINTNOTE-STATUS: CONFIRMED
>         END:MAINTNOTE
>         ...
>
> Which would be the 'iCalendar' way of doing it.
>
> Another option is if the data structure does not easily translate to
> iCalendar format, you could attach it with something like this for an
> included attachment (where text/maintnode would be replaced with whatever
> mime-type is assigned to identify your data):
>
>         ...
>         ATTACH;fmttype=text/maintnode;...:CID=maintnote-attach-id
>         ...
>
> Or for an external object:
>
>         ...
>         ATTACH;fmttype=text/maintnode;...:
> https://example.com/maintnote-attach
>         ...
>
> The advantage to ATTACH is that email and calendar tools like outlook,
> Thunderbird, and others will see the data as an attachment and allow the
> user to drag/drop it, without new code needing to be written just to pull
> it out, or to copy/paste it.  Outlook, Thunderbird, and many other calendar
> clients already know how to handle ATTACH, even when they do not know what
> the mime-type does.  Minimal changes to make a maintnode aware calendar
> client. Zero changes needed when the iCalendar application can already
> handle ATTACH, and copy/paste is what you need.
>
> And for custom iCalendar maintnode programs, MIME libraries already know
> how to handle mime multipart objects (CID or external). How an attachment
> is include in a mime object is already a standard. Custom maintnote
> processing code would just open the text/calendar MIME object and pull out
> the ATTACH;text/maintnote properties. Then call already implemented MIME
> libraries to extract the included maintnode attachments (a CID) and/or for
> fetching the URL provided for external maintnode attachments. Then your
> custom code does whatever it wants with the attachment and iCalendar data.
>
> The structured-data proposal has no advantages, and it would complicate
> recognizing the data as an attachment or extra data and require outlook,
> Thunderbird, and all other calendar clients be re-written to extract out
> the maintnote data from the iCalendar object, or someone would have to
> write a plug-in for all email clients and calendar clients to extract the
> data. (vs just using an copy/paste or using existing MIME libraries).
>
> As to schema.org. Any MIME object defined by them, can already be the
> content of an ATTACH iCalendar object. Just name the MIME-TYPE and provide
> the URL as the property value.
>
> It is not a schema.org vs IETF decision. You can (or not) define it with
> schema.org. You can ATTACH it as a defined schema.org object, or attach
> it as a non-schema.org object. Both with ATTACH. (Or go the MAINTNOTE
> component way).
>
> If it maps easily into iCalendar, use MAINTNOTE. If your data is part of a
> larger data set that is complicated, define it with schema.org, and
> iCalendar ATTACH it.
>
> Hope this helps.
>
> --
>
> Doug Royer - (http://DougRoyer.US)
> Douglas.Royer@gmail.com
> 714-989-6135
>