Re: [Netconf] restconf and namespaces and unique module names.

Randy Presuhn <randy_presuhn@mindspring.com> Wed, 23 September 2015 15:11 UTC

Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C03161A6FA8 for <netconf@ietfa.amsl.com>; Wed, 23 Sep 2015 08:11:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 pl0W2qJ-Io2G for <netconf@ietfa.amsl.com>; Wed, 23 Sep 2015 08:11:36 -0700 (PDT)
Received: from elasmtp-scoter.atl.sa.earthlink.net (elasmtp-scoter.atl.sa.earthlink.net [209.86.89.67]) by ietfa.amsl.com (Postfix) with ESMTP id 42FA01A6F9A for <netconf@ietf.org>; Wed, 23 Sep 2015 08:11:36 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=DEF5W8PRhSket6oaR7G1TWPuBd2K+MaPSN7csSHANr3RpHfV7VHmpUoNCjpX0Fal; h=Message-ID:Date:From:Reply-To:To:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-ELNK-Trace:X-Originating-IP;
Received: from [209.86.224.42] (helo=elwamui-muscovy.atl.sa.earthlink.net) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1Zelhi-00047f-Kx for netconf@ietf.org; Wed, 23 Sep 2015 11:11:30 -0400
Received: from 76.254.54.248 by webmail.earthlink.net with HTTP; Wed, 23 Sep 2015 11:11:30 -0400
Message-ID: <7047634.1443021090650.JavaMail.root@elwamui-muscovy.atl.sa.earthlink.net>
Date: Wed, 23 Sep 2015 08:11:30 -0700
From: Randy Presuhn <randy_presuhn@mindspring.com>
To: netconf@ietf.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Mailer: EarthLink Zoo Mail 1.0
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d88874d3f0892ff6d3eda1c983dc9d85fff0657b9dd707f154fd350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 209.86.224.42
Archived-At: <http://mailarchive.ietf.org/arch/msg/netconf/ZrWIIOlsKjjckdn4citxiRv1QZg>
Subject: Re: [Netconf] restconf and namespaces and unique module names.
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Randy Presuhn <randy_presuhn@mindspring.com>
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2015 15:11:37 -0000

Hi -

>From: Ladislav Lhotka <lhotka@nic.cz>
>Sent: Sep 23, 2015 2:15 AM
>To: Randy Presuhn <randy_presuhn@mindspring.com>, "netconf@ietf.org" <netconf@ietf.org>
>Subject: Re: [Netconf] restconf and namespaces and unique module names.
...
>>>RFC 6020:
>>>
>>>   The names of all standard modules and submodules MUST be unique.
>>>   Developers of enterprise modules are RECOMMENDED to choose names for
>>>   their modules that will have a low probability of colliding with
>>>   standard or other enterprise modules, e.g., by using the enterprise
>>>   or organization name as a prefix for the module name.
>>>
>>>Apparently, both module names in the example violate this. Note that
>>>module names are used to resolve imports and hence they better are
>>>unique. For the IETF, we can manage that via the IANA registry. For
>>>the other modules, there is a clear recommendation.
>>
>> A couple of questions on the RFC 6020 text cited...
>>
>>   (1) is "standard modules" intended to include those from *all* SDOs?
>>  
>>   (2) "MUST" is normally used in situations where "if you don't
>>       do this this way, this protocol/process won't work correctly."
>
>This is not the case unless different modules of the same name are used
>by the same server.

(1) My question remains: why a "MUST" for "standard" modules but
    not enterprise ones?  It sounds like you're arguing that a
    "SHOULD" or "RECOMMENDED" would suffice in both cases.

(2) A question of curiousity: what does a client do when it encounters
    different servers using different modules of the same name, and
    how does it know they are indeed different, using only mandatory
    features of the protocol and mandatory-to-implement models?

Randy