[CDNi] Triggers regexp: draft-finkelman-cdni-sva-extensions-00.txt

Ori Finkelman <orif@qwilt.com> Wed, 07 February 2018 08:40 UTC

Return-Path: <orif@qwilt.com>
X-Original-To: cdni@ietfa.amsl.com
Delivered-To: cdni@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D77B5126CC7 for <cdni@ietfa.amsl.com>; Wed, 7 Feb 2018 00:40:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 AMNccWK_q5kW for <cdni@ietfa.amsl.com>; Wed, 7 Feb 2018 00:40:10 -0800 (PST)
Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::236]) (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 E51561200C1 for <cdni@ietf.org>; Wed, 7 Feb 2018 00:40:09 -0800 (PST)
Received: by mail-wr0-x236.google.com with SMTP id f6so72468wra.6 for <cdni@ietf.org>; Wed, 07 Feb 2018 00:40:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qwilt-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=qDL/dou6uKL9lj1iehvOYkgZvkMhRnAPLAEvfsfgaa0=; b=1AdP0aUywtYVGvo+ZAVNZlykDs3sRJiVjyDSIpbZ0+rmq1S9FmwucUwdYHDCBKvLjP mQzLmtPu01tswrCOUoq197U4d6vyGDUvUS7V84jbMINAz+3T6H/TYiLG5SmmkJ00twfq qXpqU6hDjXowYP+C0Mq/V/UQvat9BB5Z4ZlemTX3SKFMGvk7pjSKfVL29Ef5gbMZi+2S X+lVSaHVw0TCFZFG3kXzX5Zj4giSlC6s8gZkvvqpOicDNE7mJ159G/DlqMoFbGOsx0oQ HBfmumFlznglEYjaoslgZodn4PEutk9y3yR2NFNEy3HSRMsjpVnkRT2NYymeWyiRfbca 2zKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qDL/dou6uKL9lj1iehvOYkgZvkMhRnAPLAEvfsfgaa0=; b=By001MLZxRQfIU2k+sEXNRZcYRDE5sBNJcypE/8I1Fwu2cCyIVcJ5KL7Ke/eciPhBG 3P7dl3Y08tkvevczctV7X2qXLxxheyW+JAqkmBMVD4hbuy6j8jSyO35PIVuEsHAP2tzx 8631rDK617yACweZ0Em/Ei7ku408l/VzqqAYAbSCcCU6L0ZuWwQDTIScDwpH/jantWYZ EtjSjtIwIQzyk7cK/Fgaav2oh1iN1XcezDQU8m769otPOEQ5GGtIE/CrFn6oJq2KWkqj ZmtuO9NWlhhSMW/Cb03P7Vk4gmHqGP13gkr1P2loKAV0Sv2vDRjSG9oKrzf8mc4Gk8Yo rf5g==
X-Gm-Message-State: APf1xPAm2n0FYskWd8vtaFs9/qXbmGnMvexqzEWSoLQVBIN8sfe85mzF MdT//Q1kLG76Odrt+LVdFJ8RsVX6WL+JD4ALKB8i1iM0ync=
X-Google-Smtp-Source: AH8x227qqNP8nrvSChJNP69/bo0UtgIUuqw+YZNsYIboAbTcSajxNeTyYqs6sY0Zsqah07InXflbRm2xUWXt0qDC7F4=
X-Received: by 10.223.209.3 with SMTP id a3mr4635571wri.27.1517992808184; Wed, 07 Feb 2018 00:40:08 -0800 (PST)
MIME-Version: 1.0
Received: by 10.28.127.71 with HTTP; Wed, 7 Feb 2018 00:39:37 -0800 (PST)
From: Ori Finkelman <orif@qwilt.com>
Date: Wed, 07 Feb 2018 10:39:37 +0200
Message-ID: <CAMb9nTv1uWO3xa1eoL6Bb9_pzZVO+5h+F8fUoaG5khkKBKwPUQ@mail.gmail.com>
To: "<cdni@ietf.org>" <cdni@ietf.org>
Content-Type: multipart/alternative; boundary="f4f5e809f5e01a945505649b3e1d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/bFtTYgcQpxvb6wrojJG9r_ahQck>
Subject: [CDNi] Triggers regexp: draft-finkelman-cdni-sva-extensions-00.txt
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This list is to discuss issues associated with the Interconnection of Content Delivery Networks \(CDNs\)" <cdni.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cdni>, <mailto:cdni-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cdni/>
List-Post: <mailto:cdni@ietf.org>
List-Help: <mailto:cdni-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cdni>, <mailto:cdni-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Feb 2018 08:40:12 -0000

Dear Colleagues,
Regarding the addition of a regular expression match for triggers, mainly
for invalidation.
What should be the regexp standard we use, PCRE ? POSIX BRE or ERE ?
Does the type of regrexp need to be exchanged via the interface (trigger
and capability) ?

Example 1: assuming we support only one specific type of regrex

    {
       "regex":
"/^(https:\/\/video\.example\.com)\/([a-z])\/([1-7])\/([\/\w \.-]*)*\/?$",

       "case-sensitive": true
    }

Example 2: assuming regexp type is variable

    {
       "regex":
"/^(https:\/\/video\.example\.com)\/([a-z])\/([1-7])\/([\/\w \.-]*)*\/?$",

       "case-sensitive": true
       "regrex-type": "pcre"
    }

Thanks,
Ori



-- 

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