Re: [CDNi] CDNI Metadata Interface

Kevin J Ma <kevin.ma@azukisystems.com> Thu, 20 October 2011 05:53 UTC

Return-Path: <kevin.ma@azukisystems.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 3E88E11E80D7 for <cdni@ietfa.amsl.com>; Wed, 19 Oct 2011 22:53:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.47
X-Spam-Level:
X-Spam-Status: No, score=-2.47 tagged_above=-999 required=5 tests=[AWL=0.128, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g9tHz3w4kRkE for <cdni@ietfa.amsl.com>; Wed, 19 Oct 2011 22:53:55 -0700 (PDT)
Received: from mxout.myoutlookonline.com (mxout.myoutlookonline.com [64.95.72.241]) by ietfa.amsl.com (Postfix) with ESMTP id B710211E80C2 for <cdni@ietf.org>; Wed, 19 Oct 2011 22:53:54 -0700 (PDT)
Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 5CEA755474C; Thu, 20 Oct 2011 01:53:47 -0400 (EDT)
X-Virus-Scanned: by SpamTitan at mail.lan
Received: from HUB025.mail.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 03799553A21; Thu, 20 Oct 2011 01:53:46 -0400 (EDT)
Received: from MAILR002.mail.lan ([10.110.18.15]) by HUB025.mail.lan ([10.110.17.25]) with mapi; Thu, 20 Oct 2011 01:53:45 -0400
From: Kevin J Ma <kevin.ma@azukisystems.com>
To: Francois Le Faucheur <flefauch@cisco.com>
Date: Thu, 20 Oct 2011 01:53:43 -0400
Thread-Topic: [CDNi] CDNI Metadata Interface
Thread-Index: AcyOeCmM/aaZ6BCeReue7FxcOEZEugAbtgaQ
Message-ID: <291CC3F9E50E7641901A54E85D0977C651B6683047@MAILR002.mail.lan>
References: <291CC3F9E50E7641901A54E85D0977C651B50AF9D2@MAILR002.mail.lan> <EBE563EB-FE0D-49C1-8107-4BB2557D2B1A@cisco.com> <291CC3F9E50E7641901A54E85D0977C651B6682887@MAILR002.mail.lan> <D551963F-1D68-43A7-BD97-19A624196691@cisco.com>
In-Reply-To: <D551963F-1D68-43A7-BD97-19A624196691@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_291CC3F9E50E7641901A54E85D0977C651B6683047MAILR002maill_"
MIME-Version: 1.0
Cc: "cdni@ietf.org" <cdni@ietf.org>
Subject: Re: [CDNi] CDNI Metadata Interface
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Oct 2011 05:53:57 -0000

Hi Francois,

  responses inline:

> From: Francois Le Faucheur [mailto:flefauch@cisco.com]
> Sent: Wednesday, October 19, 2011 12:02 PM
> To: Kevin J Ma
> Cc: Francois Le Faucheur; cdni@ietf.org
> Subject: Re: [CDNi] CDNI Metadata Interface
>
> Hi again,
>
> Thanks for the responses. See embedded below:
>
> On 18 Oct 2011, at 07:26, Kevin J Ma wrote:
>
>
> Hi Francois,
>
>  comments inline:
>
>
> From: Francois Le Faucheur [mailto:flefauch@cisco.com]
> Sent: Monday, October 17, 2011 3:43 PM
> To: Kevin J Ma
> Cc: Francois Le Faucheur; cdni@ietf.org
> Subject: Re: [CDNi] CDNI Metadata Interface
>
> Hello Kevin,
>
> [with Individual hat on]
>
> A first set of high level questions:
>
> * directionality of metadata creation/retrieval/removal/update mechanism:
> Could you clarify which of the above operation you see possibly happening
> in which direction?
> For example, regarding update/removal, do you see:
>     *a)  the POST possibly being issued towards the uCDN to
> update/remove some metadata in the uCDN repository?
>     *b) the POST possibly being issued by the uCDN towards the dCDN to
> update/remove some metadata in the dCDN repository (after some out-of-date
> metadata had been retrieved by dCDN from uCDN).
> For example, regarding retrieval, clearly we want the dCDN to issue a GET
> towards the uCDN to acquire metadata. Now do you see that the GET could
> possibly be also issued by the uCDN to check metadata stored by the dCDN?
>
> I think POSTs make the most sense going from upstream to downstream.
> The agent was intended to moderate this, since any given pair of CDNs
> could be both a uCDN and a dCDN for each other in different domains.
>
> Do we agree POST would normally be dis-allowed in dCDN-uCDN direction
> (regardless of whether this is "enforced" by the Agent or something else)?

I agree with that.

> Regarding the use of POST for metadata creation, are you proposing it so
> it is used by the uCDN to "create" metadata in the dCDN (ie to pre-
> populate metadata in the dCDN) or are you proposing it so it is used by
> say a CP to "create" the metadata in the uCDN that will then be "pulled"
> by dCDN?
> (for metadata pre-positioning in dCDN, I had been thinking more of an
> approach where the uCDN would issue a trigger instructing the dCDN to GET
> the corresponding metadata)

Primarily, I added the create/modify APIs because it seems odd to have
a retrieval API with no way for the metadata to have been populated
initially.  It could be used by the local CDN to populate its own
local metadatabase, by CPs to populate uCDN metadatabases, or by
uCDNs to populate dCDN metadatabases.

> I see no reason why GETs could not go in both directions.  I can see a
> case where upstream entities would want to verify downstream entities.
>
> Agreed.
>
> In any case, I would suggest that you discuss/document directionality in
> upcoming versions, possibly though some table capturing all the possible
> cases.

Can do.

> * in your CDNI metadata model, a "domain" is directly associated with a
> set of "hostnames". So this assumes that the same set of unmodified
> hostnames is used unmodified everywhere in all the potential dCDNs. That
> can be the case in some deployment, but that may not always be the case.
> For example, when HTTP redirection is used across CDNs, an upstream CDN
> may want to modify (possibly hide) the actual content provider hostnames
> (and possibly part of the URI path) when redirecting to a dCDN (I believe
> this is mentioned in the framework).
>
> I was thinking (though it is not noted in the document) that hostname
> lists could be different in different dCDNs.  What is not entirely
> clear to me is how metadata would get set across cascaded CDNs,
> i.e., if the CP contracts CDN-A, and CDN-A makes a deal with CDN-B,
> and CDN-B makes a deal with CDN-C, does the CP or CDN-A know about
> CDN-C and is the CP or CDN-A responsible configuring metadata on
> CDN-C?  Or, is CDN metadata only configured by the most immediate
> uCDN (or the CP), i.e., only CDN-B (or the CP) will know the values of
> metadata in CDN-C?
>
> In my opinion, everything would typically operate as a chain, because the
> typical relationships between entities will be as a chain:
> CP knows CDN-A, CDN-A knows CDN-B, CDN-B knows CDN-C.
> So:
>     * CDN-A would be responsible for crafting the metadata that will be
> pulled by CDN-B. CDN-A may elect to allow CP to directly populate
> (some/all) these metadata (so it does correctly reflect its policy).
>     * CDN-B would then be responsible for crafting the metadata that
> will be pulled by CDN-C. CDN-B may elect to allow CDN-A to directly
> populate (some/all) these metadata (so it does correctly reflect its
> policy).
>     * etc.
>
> In any case, do you agree with the idea of having the hostname/resource-
> sets be tied to the Agent (so they can be different on a per CDN basis)?

I agree with this as well.

> Would you consider modifying your proposed CDNI model to allow for the
> fact that a domain may be "referenced" differently by some dCDNs than by
> the uCDN?
> I think it means:
>     * the concept of "hostnames" should be made more flexible so it
> matches not just on hostnames but on pattern match over hostname/path.
> Let's call this "resource sets".
>     * "resource sets" should be dependent on "Agents". So perhaps it
> shoudl be folded inside your "Metadata" so it can be defined on a per
> "dCDN" basis.
> Would that work for you?
>
> Would the goal be to use the entire hostname/uri as a single combined
> key?  I do not have a problem with merging them if we think that it
> would be useful.
>
> I do think it is useful to associate to a domain something that is more
> flexible than hostname. For example, a hostname+beginning-of-path.
> In some cases, it will just be hostnames. In some cases, it will be finer-
> grain

Understood.

thanx.

--  Kevin J. Ma

> Thanks
>
> Francois
>
>
>
> * in section 3.3.3, you have a couple of examples showing
> "/CDNI/MI/domain". Should those not say "/CDNI/MI/metadata"?
>
> Yep.  Those are cut and paste errors, good catch!  I will fix those.
>
> thanx!
>
> --  Kevin J. Ma
>
>
> Cheers
>
> Francois
>
>
>
>
> On 6 Oct 2011, at 22:21, Kevin J Ma wrote:
>
>
> Hi all,
>
> Just uploaded a new I-D with a proposed metadata model and API:
>
>   http://www.ietf.org/internet-drafts/draft-ma-cdni-metadata-00.txt
>
> The model takes a rather generic approach to metadata representation
> to support opaque metadata and addresses some of the security issues
> associated with metadata retrieval.  Comments welcome.
>
> thanx.
>
> --  Kevin J. Ma
>
> _______________________________________________
> CDNi mailing list
> CDNi@ietf.org
> https://www.ietf.org/mailman/listinfo/cdni
>
>
>
>
>
>
>
> Francois Le Faucheur
> Distinguished Engineer
> Corporate Development
> flefauch@cisco.com
> Phone: +33 49 723 2619
> Mobile: +33 6 19 98 50 90
>
> Cisco Systems France
> Greenside
> 400 Ave de Roumanille
> 06410 Sophia Antipolis
> France
> Cisco.com
>
>
>
>
>  Think before you print.
>
> This email may contain confidential and privileged material for the sole
> use of the intended recipient. Any review, use, distribution or disclosure
> by others is strictly prohibited. If you are not the intended recipient
> (or authorized to receive for the recipient), please contact the sender by
> reply email and delete all copies of this message.
>
> Cisco Systems France, Société à responsabiité limitée, Rue Camille
> Desmoulins – Imm Atlantis Zac Forum Seine Ilot 7 92130 Issy les
> Moulineaux, Au capital de 91.470 €, 349 166 561 RCS Nanterre, Directeur de
> la publication: Jean-Luc Michel Givone.
>
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/index.html
>