Re: [lmap] Need your help to understand how YANG data model is carried over wire (was Large Scale Measurement of Access network Performance <lmap.ietf.org>
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Sat, 07 May 2016 06:55 UTC
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: lmap@ietfa.amsl.com
Delivered-To: lmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C50F12B015 for <lmap@ietfa.amsl.com>; Fri, 6 May 2016 23:55:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.196
X-Spam-Level:
X-Spam-Status: No, score=-5.196 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996] autolearn=ham autolearn_force=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 0Zrhb1bCUV5Q for <lmap@ietfa.amsl.com>; Fri, 6 May 2016 23:55:49 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8C9E412B013 for <lmap@ietf.org>; Fri, 6 May 2016 23:55:49 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id D60B311C4; Sat, 7 May 2016 08:55:47 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id HurrjMdgr5FN; Sat, 7 May 2016 08:55:28 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Sat, 7 May 2016 08:55:47 +0200 (CEST)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 2347920050; Sat, 7 May 2016 08:55:47 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id TBbxjTDi4lCV; Sat, 7 May 2016 08:55:46 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id E644020047; Sat, 7 May 2016 08:55:45 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 554AE3AC9E25; Sat, 7 May 2016 08:55:45 +0200 (CEST)
Date: Sat, 07 May 2016 08:55:45 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Linda Dunbar <linda.dunbar@huawei.com>
Message-ID: <20160507065545.GA44352@elstar.local>
Mail-Followup-To: Linda Dunbar <linda.dunbar@huawei.com>, "lmap@ietf.org" <lmap@ietf.org>
References: <4A95BA014132FF49AE685FAB4B9F17F657E821EE@dfweml501-mbb>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <4A95BA014132FF49AE685FAB4B9F17F657E821EE@dfweml501-mbb>
User-Agent: Mutt/1.6.0 (2016-04-01)
Archived-At: <http://mailarchive.ietf.org/arch/msg/lmap/bffy9crsB36BZnaOvsTVn_p99PE>
Cc: "lmap@ietf.org" <lmap@ietf.org>
Subject: Re: [lmap] Need your help to understand how YANG data model is carried over wire (was Large Scale Measurement of Access network Performance <lmap.ietf.org>
X-BeenThere: lmap@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: Large Scale Measurement of Access network Performance <lmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lmap>, <mailto:lmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lmap/>
List-Post: <mailto:lmap@ietf.org>
List-Help: <mailto:lmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lmap>, <mailto:lmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 07 May 2016 06:55:52 -0000
Linda, please take a look at draft-ietf-lmap-yang-04.txt and draft-ietf-lmap-restconf-02.txt. /js On Fri, May 06, 2016 at 10:55:55PM +0000, Linda Dunbar wrote: > Juergen, > > This email post is supposed to show how a YANG data model is carried over wire: https://www.ietf.org/mail-archive/web/lmap/current/msg02038.html > > Hope you can help me to resolve those mysteries: > > > - The Controller use a "POST /restconf/data/ietf-lmap:lmap/schedules HTTP/1.1" to send a "schedule". But where is the actual "icmp-latency-measurement" is actually defined? Where is "report-daily" is defined? They are all in the form of "strings". So supposedly, any string can be encoded there, then what content is carried from "Controller" to the "Measurement Agent"? > > - What purpose do the following two lines achieve? > > C: Host: example.com > > C: Content-Type: application/yang.data+json > > What would happen if those two lines are not there? > > > - What does the following line achieve? > > C: "timing": "hourly" > > > Thank you very much. > > Linda Dunbar -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <http://www.jacobs-university.de/>
- [lmap] Need your help to understand how YANG data… Linda Dunbar
- Re: [lmap] Need your help to understand how YANG … Juergen Schoenwaelder
- Re: [lmap] Need your help to understand how YANG … Linda Dunbar
- Re: [lmap] Need your help to understand how YANG … Juergen Schoenwaelder