[netmod] attributes in draft-lhotka-netmod-yang-json

Dean Bogdanovic <deanb@juniper.net> Thu, 20 March 2014 12:46 UTC

Return-Path: <deanb@juniper.net>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5128B1A03CE for <netmod@ietfa.amsl.com>; Thu, 20 Mar 2014 05:46:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 vD0PyR3HPgTJ for <netmod@ietfa.amsl.com>; Thu, 20 Mar 2014 05:46:47 -0700 (PDT)
Received: from am1outboundpool.messaging.microsoft.com (am1ehsobe003.messaging.microsoft.com [213.199.154.206]) by ietfa.amsl.com (Postfix) with ESMTP id A80FC1A0735 for <netmod@ietf.org>; Thu, 20 Mar 2014 05:46:46 -0700 (PDT)
Received: from mail77-am1-R.bigfish.com (10.3.201.250) by AM1EHSOBE006.bigfish.com (10.3.204.26) with Microsoft SMTP Server id 14.1.225.22; Thu, 20 Mar 2014 12:46:36 +0000
Received: from mail77-am1 (localhost [127.0.0.1]) by mail77-am1-R.bigfish.com (Postfix) with ESMTP id B0DE42404F5 for <netmod@ietf.org>; Thu, 20 Mar 2014 12:46:36 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.56.240.101; KIP:(null); UIP:(null); IPV:NLI; H:BL2PRD0510HT004.namprd05.prod.outlook.com; RD:none; EFVD:NLI
X-SpamScore: 0
X-BigFish: VPS0(zzzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzzz2fh109h2a8h839h944hd25he5bhf0ah1220h1288h12a5h12a9h12bdh137ah139eh13b6h1441h1504h1537h162dh1631h1662h1758h1898h18e1h1946h19b5h19ceh1ad9h1b0ah224fh1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e1dh1e23h1fe8h1ff5h2052h20b3h2218h2216h226dh22d0h24afh2327h2336h2438h2461h2487h24d7h2516h2545h255eh25cch25f6h2605h262fh2668h1155h)
Received-SPF: pass (mail77-am1: domain of juniper.net designates 157.56.240.101 as permitted sender) client-ip=157.56.240.101; envelope-from=deanb@juniper.net; helo=BL2PRD0510HT004.namprd05.prod.outlook.com ; .outlook.com ;
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009001)(6009001)(428001)(189002)(199002)(93136001)(85852003)(81686001)(92566001)(92726001)(51856001)(74876001)(47446002)(80976001)(74706001)(76482001)(53806001)(65816001)(80022001)(66066001)(74502001)(69226001)(54316002)(56776001)(74662001)(31966008)(81542001)(86362001)(93516002)(50226001)(49866001)(46102001)(4396001)(81342001)(95666003)(95416001)(93916002)(83072002)(82746002)(56816005)(90146001)(47736001)(89996001)(83322001)(81816001)(88136002)(94316002)(62966002)(47976001)(50986001)(83716003)(2656002)(79102001)(59766001)(87936001)(33656001)(97336001)(97186001)(77156001)(76176001)(77096001)(87286001)(87266001)(76796001)(77982001)(36756003)(57306001)(20776003)(63696002)(85306002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR05MB422; H:BN1PR05MB424.namprd05.prod.outlook.com; FPR:ADB9E39F.3954CF09.68E18E4B.544A8159.200C2; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
Received: from mail77-am1 (localhost.localdomain [127.0.0.1]) by mail77-am1 (MessageSwitch) id 1395319594109308_7387; Thu, 20 Mar 2014 12:46:34 +0000 (UTC)
Received: from AM1EHSMHS016.bigfish.com (unknown [10.3.201.227]) by mail77-am1.bigfish.com (Postfix) with ESMTP id 1711A380076 for <netmod@ietf.org>; Thu, 20 Mar 2014 12:46:34 +0000 (UTC)
Received: from BL2PRD0510HT004.namprd05.prod.outlook.com (157.56.240.101) by AM1EHSMHS016.bigfish.com (10.3.207.154) with Microsoft SMTP Server (TLS) id 14.16.227.3; Thu, 20 Mar 2014 12:46:34 +0000
Received: from BN1PR05MB422.namprd05.prod.outlook.com (10.141.58.142) by BL2PRD0510HT004.namprd05.prod.outlook.com (10.255.100.39) with Microsoft SMTP Server (TLS) id 14.16.423.0; Thu, 20 Mar 2014 12:46:32 +0000
Received: from BN1PR05MB424.namprd05.prod.outlook.com (10.141.58.148) by BN1PR05MB422.namprd05.prod.outlook.com (10.141.58.142) with Microsoft SMTP Server (TLS) id 15.0.898.11; Thu, 20 Mar 2014 12:46:30 +0000
Received: from BN1PR05MB424.namprd05.prod.outlook.com ([169.254.8.3]) by BN1PR05MB424.namprd05.prod.outlook.com ([169.254.8.3]) with mapi id 15.00.0898.005; Thu, 20 Mar 2014 12:46:30 +0000
From: Dean Bogdanovic <deanb@juniper.net>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: attributes in draft-lhotka-netmod-yang-json
Thread-Index: AQHPRDpqdAOo+d/gwEuJDj9/zOMZ4g==
Date: Thu, 20 Mar 2014 12:46:30 +0000
Message-ID: <3FADE5E8-88AC-4FD0-A2F6-72F408FAFFC4@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.1510)
x-originating-ip: [66.129.241.12]
x-forefront-prvs: 01565FED4C
Content-Type: text/plain; charset="us-ascii"
Content-ID: <ACD6EDD9289DFF4EA43E5CE8E44E4A0D@namprd05.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
Archived-At: http://mailarchive.ietf.org/arch/msg/netmod/voAKYHvK1S6GEWjha61o4SEEzUk
Subject: [netmod] attributes in draft-lhotka-netmod-yang-json
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 12:46:49 -0000

Hi, 

In draft yang leaf node is defined as name value pair in json

If it would be represented, as an object then we can assign attributes to it.

Example
"host-name" {
   "data" : "router",
	"attributes" : { "protect" : protect}
}

We need attributes for several things, so lets try to figure out how to enable them.

Dean