Re: [Netconf] operational state (WAS: New WGLC for a proposed new WG Charter ...)
Ladislav Lhotka <lhotka@nic.cz> Fri, 31 August 2012 14:13 UTC
Return-Path: <lhotka@nic.cz>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E4D3A21F845B for <netconf@ietfa.amsl.com>; Fri, 31 Aug 2012 07:13:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.642
X-Spam-Level:
X-Spam-Status: No, score=-1.642 tagged_above=-999 required=5 tests=[AWL=-0.243, BAYES_00=-2.599, J_CHICKENPOX_15=0.6, J_CHICKENPOX_23=0.6]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7l21tlI9hBio for <netconf@ietfa.amsl.com>; Fri, 31 Aug 2012 07:13:53 -0700 (PDT)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id AF82A21F8498 for <netconf@ietf.org>; Fri, 31 Aug 2012 07:13:52 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by trail.lhotka.name (Postfix) with ESMTP id 64D6F5401C0; Fri, 31 Aug 2012 16:13:50 +0200 (CEST)
Received: from trail.lhotka.name ([127.0.0.1]) by localhost (trail.lhotka.name [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Aa5DORpsPMMq; Fri, 31 Aug 2012 16:13:44 +0200 (CEST)
Received: from localhost (birdie.lhotkovi.cz [172.29.2.201]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by trail.lhotka.name (Postfix) with ESMTPSA id 8A74254004E; Fri, 31 Aug 2012 16:13:41 +0200 (CEST)
From: Ladislav Lhotka <lhotka@nic.cz>
To: "t.petch" <ietfc@btconnect.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
In-Reply-To: <000401cd876b$0e7aed40$4001a8c0@gateway.2wire.net>
References: <502D7052.2070302@bwijnen.net> <m28vddyjn1.fsf@nic.cz> <00fb01cd7f7a$2241fce0$4001a8c0@gateway.2wire.net> <20120821.110614.245770058077084953.mbj@tail-f.com> <011f01cd7f86$329b5bc0$4001a8c0@gateway.2wire.net> <20120826212304.GA7642@elstar.local> <00ec01cd8534$27a794a0$4001a8c0@gateway.2wire.net> <m2ipc26oyj.fsf@nic.cz> <000401cd876b$0e7aed40$4001a8c0@gateway.2wire.net>
User-Agent: Notmuch/0.13.2+77~g39beeb2 (http://notmuchmail.org) Emacs/23.3.50.1 (i386-apple-darwin9.8.0)
Date: Fri, 31 Aug 2012 16:13:40 +0200
Message-ID: <m2vcfz5euj.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Cc: netconf@ietf.org
Subject: Re: [Netconf] operational state (WAS: New WGLC for a proposed new WG Charter ...)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
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: <http://www.ietf.org/mail-archive/web/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: Fri, 31 Aug 2012 14:13:54 -0000
"t.petch" <ietfc@btconnect.com> writes: > ----- Original Message ----- > From: "Ladislav Lhotka" <lhotka@nic.cz> > To: "t.petch" <ietfc@btconnect.com>; "Juergen Schoenwaelder" > <j.schoenwaelder@jacobs-university.de> > Cc: <netconf@ietf.org> > Sent: Wednesday, August 29, 2012 10:13 AM >> "t.petch" <ietfc@btconnect.com> writes: >> >> > ----- Original Message ----- >> > From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de> >> > To: "t.petch" <ietfc@btconnect.com> >> > Cc: "Martin Bjorklund" <mbj@tail-f.com>; <netconf@ietf.org> >> > Sent: Sunday, August 26, 2012 10:23 PM >> >> On Tue, Aug 21, 2012 at 11:17:32AM +0100, t.petch wrote: >> >> >> >> > I prefer 'ephemeral configuration' to operational state, since we >> >> > have resolutely stated for 10 years than state is read only > whereas >> >> > configuration is written, so now to have writable state seems a >> >> > bigger somersault than to have ephemeral configuration. >> >> >> >> I do not know why you believe that state is necessarily read only. >> > >> > Because most of what we have produced says so:-( and what we have >> > produced reflects the discussions on the list). >> > >> > I remain unconvinced about the concept of operational state, that it >> > is a meaningful concept. Reading what the operators asked for in >> >> It is difficult to argue about these concepts without having their > definintion. These premises make sense to me though: >> >> 1. Each device has a set of system parameters/structures that > *directly* influence the device >> behaviour, no matter how they were set (operator action, factory > default, protocol, ...). I'd >> suggest to define this set as the "operational state" of the device. > Operators need to be able to >> have one or more interfaces for viewing (a subset of) this set. > > Right, I have no problem with this, only that it is new and different to > what we have previously discussed and is, for me, a fundamental change > of view. I always have had a problem with the Netconf/netmod split of > configuration and state, seeing it as artificial. Rather, what you > define above, is what I would have called, pre-netmod/conf, > configuration, by and large, with or without the epithet 'ephemeral', as > I think that many others would do. It does not matter how the routing > (/forwarding) table entry got there, the routing table is part of the > configuration. Hmm, according to my definition, a routing table is a part of operational state. The term "configuration" is limited to the stuff explicitly written by the client/manager. > > I have always read RFC3535 as wanting > - how to get a new box from the manufacturer operational > - how to get a failing box working again by a variety of means > and the netmod/conf view of configuration has focussed on the first > which, while > important, is not the whole story; and now we are starting to look at > the whole story. > Well, except that we are not, because it has been ruled out of scope pro > tem:-( Do you mean it has been ruled out of scope because Bert didn't accept my fourth charter item? It is not how I see it - in fact, I believe there is now a general consensus that the "whole story" has to be addressed. The only problem is that nobody has proposed anything concrete so far, and Bert rightly demanded that such proposal(s) be first submitted as individual drafts. Lada > > Tom Petch > >> 2. In order to be able to control the device, operators need an > interface for specifying their instructions for intended changes to the > operational state and, consequently, device behaviour. I'd suggest to > call these instructions a configuration. The device takes a submitted > configuration and applies it according to a certain algorithm depending > on the configuration, active network protocols, built-in policies etc. >> >> Examples of configuration interfaces are: >> >> - NETCONF (or CLI), where the operator's instructions have to be > installed as the "running configuration". >> - Unix init scripts, where the instructions are essentially shell > scripts. >> - RESTful interface, where the operational state is exposed as a set > of resources and some of them may be modified via HTTP methods. >> >> Of course, the hard part is to define the relationship and > interactions between a configuration and operational state. In the > simplest case, a configuration parameter directly maps to an operational > state parameter - the device may accept the configured value or not. >> >> But there are also more complicated mappings, e.g.: >> >> - One configuration parameter may disable a subsystem, i.e. a subtree > in operational state. >> - A list of configured entries get merged to a larger list which is a > part of the operational state. An example is the routing table that > contains static routes (= configuration) as well as routes learnt from > routing protocols. >> >> > RFC3535, >> > "Some devices make it very hard to determine >> > which parameters were administratively configured and which >> > were obtained via other mechanisms such as routing >> > protocols." >> > I always think of the routing table and think that that is > by-and-large >> > a unique, if very common, problem and that trying to extrapolate > from >> > the routing table to all the other data in a box is not helpful - > there >> > is >> > nothing else like a routing table. The ARP cache has some > similarities >> > but is much simpler; MPLS FECs may be the other example. >> > >> > A separate problem is the interface up/down. An operator has > configured >> > an interface as up and the box says down, because it knows best - > the >> > line >> > card just blew a fuse. This does have parallels elsewhere, with > DHCP, >> > and may be worth generalising but has little conceptually in common >> > with routing tables IMO. >> >> Right, so the operator gave an instruction/request but the device > knows better and doesn't accept it: the up/down parameter in operational > state remains down. >> >> > >> > Statistics are different in other ways. Read only, but only sort > of; it >> >> I think that statistics should be put aside and not considered a part > of operational state - at least for the purpose of this discussion. >> >> Lada >> >> > is >> > valuable to have a reset, so that counters may go to zero at > midnight >> > or some such. SMI recognised statistics as different with Counters >> > and that was good to have. It struggled with the sheer volume of > data - >> > I once set a MIB walk going on the RMONMIB and if I had not shut >> > the box down after several days, it would probably still be going > some >> > years later. But I see nothing in common with the routing table > problem >> > and the interface status problem, just how to get meaningful > information >> > from masses of raw data, ie do the maths in the box and ship out the >> > summary - and SMI did look at that but it did not seem >> > to catch on. >> > >> > Tom Petch >> > >> > >> > RFC >> >> 6244 has some material in sections 4.3 and 4.4. The recommendation >> >> given in section 4.4. is not really workable, as we find out > working >> >> on real data models in NETMOD. >> >> >> >> The first issue is that there is no standard way to retrieve >> >> operational state other than duplicating large parts of the data >> >> models, which seems costly and counter intuitive to modelers (who > tend >> >> to put config false objects next to config true objects). The get() >> >> operation gives you a blend of operational state and configurat >> -- >> Ladislav Lhotka, CZ.NIC Labs >> PGP Key ID: E74E8C0C >> > > -- Ladislav Lhotka, CZ.NIC Labs PGP Key ID: E74E8C0C
- Re: [Netconf] New WGLC for a proposed new WG Char… Martin Bjorklund
- [Netconf] New WGLC for a proposed new WG Charter … Bert Wijnen (IETF)
- Re: [Netconf] New WGLC for a proposed new WG Char… Ersue, Mehmet (NSN - DE/Munich)
- Re: [Netconf] New WGLC for a proposed new WG Char… Ladislav Lhotka
- Re: [Netconf] New WGLC for a proposed new WG Char… Bert Wijnen (IETF)
- Re: [Netconf] New WGLC for a proposed new WG Char… t.petch
- Re: [Netconf] New WGLC for a proposed new WG Char… Martin Bjorklund
- Re: [Netconf] New WGLC for a proposed new WG Char… Ladislav Lhotka
- Re: [Netconf] New WGLC for a proposed new WG Char… Kent Watsen
- Re: [Netconf] New WGLC for a proposed new WG Char… Andy Bierman
- Re: [Netconf] New WGLC for a proposed new WG Char… t.petch
- Re: [Netconf] New WGLC for a proposed new WG Char… t.petch
- Re: [Netconf] New WGLC for a proposed new WG Char… Ladislav Lhotka
- Re: [Netconf] New WGLC for a proposed new WG Char… Tina TSOU
- Re: [Netconf] New WGLC for a proposed new WG Char… Phil Shafer
- Re: [Netconf] New WGLC for a proposed new WG Char… Kent Watsen
- Re: [Netconf] New WGLC for a proposed new WG Char… Alexander Clemm (alex)
- Re: [Netconf] New WGLC for a proposed new WG Char… Xiang Li
- Re: [Netconf] New WGLC for a proposed new WG Char… Xiang Li
- Re: [Netconf] New WGLC for a proposed new WG Char… Andy Bierman
- [Netconf] Operational (or other non config) state… Bert Wijnen (IETF)
- Re: [Netconf] New WGLC for a proposed new WG Char… t.petch
- Re: [Netconf] New WGLC for a proposed new WG Char… Martin Bjorklund
- Re: [Netconf] New WGLC for a proposed new WG Char… Bert Wijnen (IETF)
- Re: [Netconf] New WGLC for a proposed new WG Char… t.petch
- Re: [Netconf] New WGLC for a proposed new WG Char… Martin Bjorklund
- [Netconf] Operational state (Was: New WGLC for a … Martin Bjorklund
- Re: [Netconf] New WGLC for a proposed new WG Char… t.petch
- Re: [Netconf] New WGLC for a proposed new WG Char… Ladislav Lhotka
- Re: [Netconf] Operational state (Was: New WGLC fo… Ladislav Lhotka
- Re: [Netconf] Operational state (Was: New WGLC fo… Andy Bierman
- Re: [Netconf] New WGLC for a proposed new WG Char… Phil Shafer
- Re: [Netconf] New WGLC for a proposed new WG Char… Kent Watsen
- Re: [Netconf] New WGLC for a proposed new WG Char… Andy Bierman
- Re: [Netconf] New WGLC for a proposed new WG Char… Phil Shafer
- [Netconf] Transience, persistence, configuration … Randy Presuhn
- Re: [Netconf] Transience, persistence, configurat… Andy Bierman
- Re: [Netconf] Transience, persistence, configurat… Jan Lindblad
- Re: [Netconf] New WGLC for a proposed new WG Char… Juergen Schoenwaelder
- Re: [Netconf] New WGLC for a proposed new WG Char… Patrick Gili (pgili)
- Re: [Netconf] New WGLC for a proposed new WG Char… t.petch
- Re: [Netconf] operational state (WAS: New WGLC fo… Ladislav Lhotka
- [Netconf] REminder: deadline Aug 31st: New WGLC f… Bert Wijnen (IETF)
- Re: [Netconf] REminder: deadline Aug 31st: New WG… Romascanu, Dan (Dan)
- Re: [Netconf] REminder: deadline Aug 31st: New WG… Juergen Schoenwaelder
- Re: [Netconf] REminder: deadline Aug 31st: New WG… Martin Bjorklund
- Re: [Netconf] REminder: deadline Aug 31st: New WG… Romascanu, Dan (Dan)
- Re: [Netconf] REminder: deadline Aug 31st: New WG… Andy Bierman
- Re: [Netconf] REminder: deadline Aug 31st: New WG… Xiang Li
- Re: [Netconf] REminder: deadline Aug 31st: New WG… Bert Wijnen (IETF)
- Re: [Netconf] REminder: deadline Aug 31st: New WG… Andy Bierman
- Re: [Netconf] operational state (WAS: New WGLC fo… t.petch
- Re: [Netconf] operational state (WAS: New WGLC fo… Ladislav Lhotka
- Re: [Netconf] operational state (WAS: New WGLC fo… Bert Wijnen (IETF)
- Re: [Netconf] New WGLC for a proposed new WG Char… Benoit Claise
- [Netconf] Operational State: Re: New WGLC for a p… Benoit Claise
- Re: [Netconf] Operational State: Re: New WGLC for… Andy Bierman
- Re: [Netconf] Operational State: Re: New WGLC for… Patrick Gili (pgili)
- Re: [Netconf] Operational State: Re: New WGLC for… Romascanu, Dan (Dan)
- Re: [Netconf] Operational State: Re: New WGLC for… Alexander Clemm (alex)
- Re: [Netconf] Operational State: Re: New WGLC for… Andy Bierman
- Re: [Netconf] Operational State: Re: New WGLC for… Juergen Schoenwaelder
- Re: [Netconf] Operational State: Re: New WGLC for… Ladislav Lhotka
- Re: [Netconf] Operational State: Re: New WGLC for… Andy Bierman
- Re: [Netconf] Operational State: Re: New WGLC for… Ladislav Lhotka