Re: [Rtg-yang-coord] Augment target path
"Acee Lindem (acee)" <acee@cisco.com> Wed, 01 April 2015 18:16 UTC
Return-Path: <acee@cisco.com>
X-Original-To: rtg-yang-coord@ietfa.amsl.com
Delivered-To: rtg-yang-coord@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 6DDA21A1BC6
for <rtg-yang-coord@ietfa.amsl.com>; Wed, 1 Apr 2015 11:16:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 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_HI=-5, SPF_PASS=-0.001,
T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 tm0fM2rK50pf for <rtg-yang-coord@ietfa.amsl.com>;
Wed, 1 Apr 2015 11:16:41 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93])
(using TLSv1 with cipher RC4-SHA (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id ED4E51A8F49
for <rtg-yang-coord@ietf.org>; Wed, 1 Apr 2015 11:16:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
d=cisco.com; i=@cisco.com; l=1960; q=dns/txt; s=iport;
t=1427912197; x=1429121797;
h=from:to:cc:subject:date:message-id:references:
in-reply-to:content-id:content-transfer-encoding: mime-version;
bh=Zdx49gcix3X0fDWk7BLNDe+Agt/K3+K6GOOrAzd/p3Q=;
b=ZOQN6J5SlQINh2TwcleZgIVFF/3BGkRwq5NVcAttDjBmfs0KlN0TiLpy
f7xj02GthpkX6qHxWuOJTPYzw5bUOTNPib+v8vcNuB7LfZT8kfECjsTT3
yhl3wINWrzWHAaj+3FAN/ubd9RNUGuhbSoDQ4a+CfoA3/Koq2WddmwhP0 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0A+BQBcNRxV/4YNJK1cgwZSXAWDEMJCCoVzAhyBK0wBAQEBAQF9hBUBAQQBAQEgEToLEAIBCBgCAiYCAgIlCxUQAgQOBQmIJg21VJkIAQEBAQEBAQEBAQEBAQEBAQEBAQEBF4EhigiERjMHgmiBRQWQY4l2lEAig25vAYFDfwEBAQ
X-IronPort-AV: E=Sophos;i="5.11,505,1422921600"; d="scan'208";a="137420880"
Received: from alln-core-12.cisco.com ([173.36.13.134])
by alln-iport-6.cisco.com with ESMTP; 01 Apr 2015 18:16:36 +0000
Received: from xhc-rcd-x12.cisco.com (xhc-rcd-x12.cisco.com [173.37.183.86])
by alln-core-12.cisco.com (8.14.5/8.14.5) with ESMTP id t31IGa4b029365
(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL);
Wed, 1 Apr 2015 18:16:36 GMT
Received: from xmb-aln-x06.cisco.com ([169.254.1.236]) by
xhc-rcd-x12.cisco.com ([173.37.183.86]) with mapi id 14.03.0195.001; Wed, 1
Apr 2015 13:16:36 -0500
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Giles Heron <giles@layerfree.net>
Thread-Topic: [Rtg-yang-coord] Augment target path
Thread-Index: AQHQbIx0dLJIH2CQzUmiEGTR+JZhGJ04n+aA///nx4A=
Date: Wed, 1 Apr 2015 18:16:35 +0000
Message-ID: <D141AE1E.14406%acee@cisco.com>
References: <D141801A.14361%acee@cisco.com>
<1CC500B8-012E-4A82-853B-E2269F15990B@layerfree.net>
In-Reply-To: <1CC500B8-012E-4A82-853B-E2269F15990B@layerfree.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.116.152.196]
Content-Type: text/plain; charset="utf-8"
Content-ID: <1E9DBEABBD56304DB0B4FB7A6F7C5FB3@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/q_Xj6i6yqal0zlXlLALjNan-474>
Cc: Routing YANG <rtg-yang-coord@ietf.org>
Subject: Re: [Rtg-yang-coord] Augment target path
X-BeenThere: rtg-yang-coord@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"List to discuss coordination between the Routing related YANG
models\"" <rtg-yang-coord.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-yang-coord>,
<mailto:rtg-yang-coord-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtg-yang-coord/>
List-Post: <mailto:rtg-yang-coord@ietf.org>
List-Help: <mailto:rtg-yang-coord-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-yang-coord>,
<mailto:rtg-yang-coord-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Apr 2015 18:16:42 -0000
Hi Giles, That worked. YANG has an interesting syntax to split long lines. Thanks, On 4/1/15, 11:43 AM, "Giles Heron" <giles@layerfree.net> wrote: >Hi Acee, > >I don't think you can augment a grouping (as groupings don't actually >exist in the data tree). > >From RFC6020 section 7.15: "The target node MUST be either a container, >list, choice, case, input, output, or notification node." > >can you try: > >augment >"/key-chain:key-chains/key-chain:key/key-chain:crypto-algorithm/key-chain: >algorithm" {... > >Giles > >On 1 Apr 2015, at 15:59, Acee Lindem (acee) <acee@cisco.com> wrote: > >> I’m trying to test out augmentation and am not able to get pyang to find >> the target node. What am I missing? I’m trying to augment the crypto >> algorithm types in >> http://www.ietf.org/id/draft-acee-rtg-yang-key-chain-03.txt >> >> I tried both augmenting the “choice” in the “grouping” >> >> augment “/key-chain:crypto-algorithm-types/key-chain:algorithm” { … >> >> And augmenting the “choice” in the “container" using the “grouping”. >> >> augment “/key-chain:crypto-algorithm/key-chain:algorithm” { … >> >> In both cases, it wasn’t found. >> >> Thanks, >> Acee >> >> _______________________________________________ >> Rtg-yang-coord mailing list >> Rtg-yang-coord@ietf.org >> https://www.ietf.org/mailman/listinfo/rtg-yang-coord >
- [Rtg-yang-coord] Augment target path Acee Lindem (acee)
- Re: [Rtg-yang-coord] Augment target path Giles Heron
- Re: [Rtg-yang-coord] Augment target path Acee Lindem (acee)