[ire] XML rgpStatus definition

Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Wed, 20 May 2015 08:50 UTC

Return-Path: <rep.dot.nop@gmail.com>
X-Original-To: ire@ietfa.amsl.com
Delivered-To: ire@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B4781B3598 for <ire@ietfa.amsl.com>; Wed, 20 May 2015 01:50:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.3
X-Spam-Level: *
X-Spam-Status: No, score=1.3 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_39=0.6, SPF_PASS=-0.001] autolearn=no
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 vxOUU6Arv9T6 for <ire@ietfa.amsl.com>; Wed, 20 May 2015 01:50:17 -0700 (PDT)
Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) (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 0F8391B359F for <ire@ietf.org>; Wed, 20 May 2015 01:50:16 -0700 (PDT)
Received: by lagr1 with SMTP id r1so62930904lag.0 for <ire@ietf.org>; Wed, 20 May 2015 01:50:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sfV6/RkFQ83aPV/+3/Q2nyhG0VCkavgQ8AvqaA300pM=; b=aPKZOREGMt3Jy/VKYFX/4QZVmZeTUww73huBBQhkuwzLS9Vf2C8bZGs1obSm8rj8xg k4SLeZFIvP/rH68tDI+ynedT+bcD+YNq8lzoiqFIDAiT21YMRPEr6XZdk/RKzkELgyQ/ KC3ch3otDy2Fk47LMtMcNAfhqFJxwABE43SiH9JqKYx2DUnsBzr5UZwFczQUDTiH3AHf 3k8rJ6g+k8vrFmfKUWITq7/vCxWFeCFdfaGLyUwX73BRAUzH6nUrWU2HjKV8tr+IuEM+ LIHbjqypwF+8jKo0WFzQzTUMOEKmDrqQY1gEaUBIXU9RwdCWHoZ7K8lew4erJsKaDgy5 pz0Q==
MIME-Version: 1.0
X-Received: by 10.112.63.201 with SMTP id i9mr21395339lbs.93.1432111815469; Wed, 20 May 2015 01:50:15 -0700 (PDT)
Received: by 10.152.90.230 with HTTP; Wed, 20 May 2015 01:50:15 -0700 (PDT)
Date: Wed, 20 May 2015 10:50:15 +0200
Message-ID: <CAC1BbcQSBYa1JE4C2tM5+WqmFOMVSMfTk-ovYWcW_=PLQa1MiQ@mail.gmail.com>
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: ire@ietf.org
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/ire/nUDSJvuFCiRrbq27eiGdT2WPIYs>
Subject: [ire] XML rgpStatus definition
X-BeenThere: ire@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Internet Registration Escrow discussion list." <ire.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ire>, <mailto:ire-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ire/>
List-Post: <mailto:ire@ietf.org>
List-Help: <mailto:ire-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ire>, <mailto:ire-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 May 2015 08:50:18 -0000

Hi,

If i read rfc3915 (the EPP Grace Period Mapping) RGP state diagram
correctly then a domain can only ever be in one gracePeriod.

In https://tools.ietf.org/html/draft-arias-noguchi-dnrd-objects-mapping-05
, however, specifies it as

             <element name="status"
               type="domain:statusType" maxOccurs="11"/>
             <element name="rgpStatus"
               type="rgp:statusType" minOccurs="0"
               maxOccurs="unbounded"/>

Where RFC3915 defines rgp:statusType as

     <complexType name="statusType">
       <simpleContent>
         <extension base="normalizedString">
           <attribute name="s" type="rgp:statusValueType"
            use="required"/>
           <attribute name="lang" type="language" default="en"/>
         </extension>
       </simpleContent>
     </complexType>

     <simpleType name="statusValueType">
       <restriction base="token">
         <enumeration value="addPeriod"/>
         <enumeration value="autoRenewPeriod"/>
         <enumeration value="renewPeriod"/>
         <enumeration value="transferPeriod"/>
         <enumeration value="pendingDelete"/>
         <enumeration value="pendingRestore"/>
         <enumeration value="redemptionPeriod"/>
       </restriction>
     </simpleType>

1) Why is the rde:rgpStatus not a single element? Maybe for later
extensions? Or is that just a copy'n pasto from the normal object's
status? Just curious about this one..

2) Some poor guy from donuts rightfully noted that the lack of a
gracePeriod's endDate in the escrow-data is inconvenient.
What about officially adding something like e.g.:

      <rdeDomain:rgpStatus s="addPeriod">
        <!--<rdeDomain:rgpEndDate>2015-04-20T08:41:22.174588Z</rdeDomain:rgpEndDate>-->
      </rdeDomain:rgpStatus>

thanks,