Re: [netmod] Adveritzing submodule in <hello>

Martin Björklund <mbj+ietf@4668.se> Tue, 20 October 2020 14:04 UTC

Return-Path: <mbj+ietf@4668.se>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 12C963A0C00 for <netmod@ietfa.amsl.com>; Tue, 20 Oct 2020 07:04:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.099
X-Spam-Level:
X-Spam-Status: No, score=-0.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_NAKED_TO_NUMERO=1.999, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=4668.se header.b=WV56pPp/; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=WctUjce0
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 bJUDtX2N1jfL for <netmod@ietfa.amsl.com>; Tue, 20 Oct 2020 07:04:25 -0700 (PDT)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A50E93A097E for <netmod@ietf.org>; Tue, 20 Oct 2020 07:04:25 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 007F35C0172; Tue, 20 Oct 2020 10:04:24 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 20 Oct 2020 10:04:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4668.se; h=date :message-id:to:cc:subject:from:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm3; bh= mELmUcZUvLNANYrqdcbdIQSArL9aWVIUncmDndr0Tz4=; b=WV56pPp/MA3vB6n9 id9fo18A8mYVI8egg69Yyeqig6IsmV2XxZXl3Rirxgvtq5ykJxvYfpX/i3zZkZbB AMxUwY8lT8YE1OIRjIQ9hRs0OoUaIzF4PW76XRBwtQeNSL0TwvEsJAaIDFVRaCox N0JFvM8q9RJjYyzwkVJSpraNqlB3rfSQb8FnQ69EmvesJMGDdpGp9fh0wtttxslx nZBFwoCyryw8546YXcfecvL2j+rWWVcB1VHx7MB5w3N4aJxuGcnJbyCiW1yESAzz 0k1lF7L2lreXCEUo8UoCWCzZznc/tL1iULIpTseNjbxJoiN3s9zzIMGn2HC13Q3o A0UjVw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=mELmUcZUvLNANYrqdcbdIQSArL9aWVIUncmDndr0T z4=; b=WctUjce0ZmPxKdTHMexz46OOPSxoQkBSjfe7rq8x/aEGdBQNCENqgMZCV D8KnywRD1+ZJdtsR/kCYDA23b9DSKwQrHfTDjwPTooUCWGAGzOVSyw4LZCFXO2aj dqVe2cbDVgM8ZWRNABJlyGQpPWyeCDqJ+eMQoADjrNAIn+diivctQ2vTUVadyB+g Zfh07yHQYOSMHTbMJk78PD0rFn8YweXJHjfNqQR40zke/SIHxKZ6KHDZKMt+MyLN kefmdl1e45/WkHvfuKOwX8OGSe0hLiuZEq0Gn3ygxpvFBl2jPub1e7G2/LSrMFI+ UKc3XWi+sKFYwpkQGnpZ3TXi0ESeg==
X-ME-Sender: <xms:Z-6OX62legs3ZP4BXURu5ix-B409Is8SIymr7fsrS4E79DyCgDv1LA> <xme:Z-6OX9EUhB03odkuxA80xdI3KSR2K9oaww2K8DAbMaJq6g0ol5z7nsmb7DjPaULAo 6oJTvtaNf1P62n6Rt8>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjeefgdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffkvffuhfgjfhfogggtgfesthejre dtredtvdenucfhrhhomhepofgrrhhtihhnuceujhpnrhhklhhunhguuceomhgsjhdoihgv thhfseegieeikedrshgvqeenucggtffrrghtthgvrhhnpeeifefftdehgfevtefhledtie ekvdffffeklefgieeikeekieegteetgfdtkedvueenucffohhmrghinhepihgvthhfrdho rhhgpdgvgigrmhhplhgvrdgtohhmnecukfhppedvuddvrddvudegrdduuddriedtnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsjhdoihgv thhfseegieeikedrshgv
X-ME-Proxy: <xmx:Z-6OXy77_KF9LBTrE14dKj1FGnQvI8DqYUeN6HTzW9pzciWtOkiLdQ> <xmx:Z-6OX72yrfl7SMtw48ERL3Ad94UVqnoWOzcDE1BKp9lzq9Gzk1Xk4g> <xmx:Z-6OX9GsCkaH95wBm3vbC0YxL1EMkG--6TCJgnhOiKY6BzrsdoUaJw> <xmx:Z-6OX8yw7RcGtRQrRQz_MbvGwUfmTqzkpxWoJ-eiWPFPEz8P8asUbA>
Received: from localhost (212-214-11-60-static.se.customer.tele2.net [212.214.11.60]) by mail.messagingengine.com (Postfix) with ESMTPA id C94623064680; Tue, 20 Oct 2020 10:04:22 -0400 (EDT)
Date: Tue, 20 Oct 2020 16:04:21 +0200
Message-Id: <20201020.160421.1723421282146069920.id@4668.se>
To: ramas=40juniper.net@dmarc.ietf.org
Cc: netmod@ietf.org
From: Martin Björklund <mbj+ietf@4668.se>
In-Reply-To: <B3EA6D23-DE96-4E47-94E9-DD00CBCDE75A@juniper.net>
References: <B3EA6D23-DE96-4E47-94E9-DD00CBCDE75A@juniper.net>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/DvHghwDvcmjUTa81DksbpwFRXYg>
Subject: Re: [netmod] Adveritzing submodule in <hello>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Oct 2020 14:04:27 -0000

Ram Polisetty Subbaiah <ramas=40juniper.net@dmarc.ietf.org> wrote:
> Hi,
> 
> As per RFC 6020:
> 
> ===
> https://tools.ietf.org/html/rfc6020#section-5.6.4.1   Modules
>    Servers indicate the names of supported modules via the <hello>
>    message.  Module namespaces are encoded as the base URI in the
>    capability string, and the module name is encoded as the "module"
>    parameter to the base URI.
> 
>    A server MUST advertise all revisions of all modules it implements.
> 
>    For example, this <hello> message advertises one module "syslog".
> 
>    <hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
>      <capability>
>        http://example.com/syslog?module=syslog&amp;revision=2008-04-01
>      </capability>
>    </hello>
> ===
> 
> My question is, if there are some submodules, should server advertise
> the submodules also in <hello>?

No.

Note that module advertisement is done through YANG library in YANG
1.1 (RFC 7950).  Submodules are present in the YANG library (RFC
8525).


/martin


> If so, what is the defined format for advertising the same?
> 
> Thanks,
> Ram
> 
> 
> Juniper Business Use Only
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod