NETCONF Discussion Draft-ietf-i2rs-ephemeral-state-14.txt

Slides:



Advertisements
Similar presentations
SERVICE MANAGER 9.2 PROBLEM MANAGEMENT TRAINING JUNE 2011.
Advertisements

Ephemeral State for I2RS IETF 91 - Honolulu Jeffrey Haas –
Module 20 Troubleshooting Common SQL Server 2008 R2 Administrative Issues.
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Public Presentation_ID 1 i2rs Usecases for BGP draft-keyupate-i2rs-bgp-usecases-01.txt Keyur Patel,
Model-based Programmable Networks
© 2014 Cisco - Cisco INTERNAL only – All Rights Reserved1 Requirements for Subscription to YANG Datastores draft-ietf-i2rs-pub-sub-requirements-01 NECONF.
Doc.: IEEE /0617r0 Submission May 2008 Tony Braskich, MotorolaSlide 1 Refining the Security Architecture Date: Authors:
Protocol for I2RS I2RS WG IETF #89 London, UK Dean Bogdanovic v0.1.
Representing Netconf Data Models using Document Schema Definition Languages (DSDL) Rohan Mahy Sharon Chisholm Lada Lhotka IETF 72 - Dublin.
Subscribing to datastore push updates draft-netmod-clemm-datastore-push-00.txt Alexander Clemm, Alberto Gonzalez Prieto, Eric Voit.
The “application” Profile Type (draft-channabasappa-sipping-app-profile-type-01) Sumanth Channabasappa Josh Littlefield Salvatore Loreto 70th IETF, Vancouver,
Netconf Schema Query Mark Scott IETF 70 Vancouver December 2007
Notification + Yang-push Meeting #2 3 - May
Interface to The Internet Routing System (IRS) Framework documents Joel Halpern IETF 84 – Routing Area Open Meeting 1.
I2rs Requirements for NETCONF IETF 93. Requirement Documents
IETF 86 i2rs 14 March Functional Analysis of I2RS: What Are We Putting in the Mixture? Alia Atlas IETF 86, Orlando, FL.
Subscriptions for Event Notification + Yang-push IETF NETCONF WG Contributors Call 26 - May
Lesson 19: Configuring and Managing Updates
Open issues with PANA Protocol
Jean-Philippe Vasseur – Cisco Systems Raymond Zhang - Infonet
Possible options of using DDS in oneM2M
draft-litkowski-isis-yang-isis-cfg IETF 90 - Toronto
Kumiko Ono End-to-middle Security in SIP draft-ietf-sipping-e2m-sec-reqs-04 draft-ono-sipping-end2middle-security-03 Kumiko Ono.
Interface extensions YANG & VLAN sub-interface YANG Status update
Routing Area Yang Architecture Design Team Update
draft-ietf-teas-yang-te-topo-01
PAA-EP protocol considerations PANA wg - IETF 57 Vienna
Les Ginsberg Stefano Previdi Peter Psenak Martin Pilka
Importing Serial Prediction Patterns Via the Service Import 85X records (Serial-52) Yoel Kortick.
Subscribing to YANG datastore push updates draft-netconf-yang-push-00 IETF #94 Yokohama A. Clemm A. Gonzalez Prieto
Subscribing to YANG datastore push updates draft-ietf-netconf-yang-push-02 NETMOD WG IETF #95 Buenos Aires 4-April-2015 Alexander Clemm Alberto Gonzalez.
Interface to Routing System (I2RS)
Evolution of the Subscription & Event Notification Drafts IETF #98 Chicago Eric Voit 28-Mar-2017 DRAFT Authors on at least 1 drafts Andy Bierman Alexander.
Two Ideas of This Paper Using Permissions-only Cache to deduce the rate at which less-efficient overflow handling mechanisms are invoked. When the overflow.
NETCONF Base Notifications for NMDA
Subscriptions for Event Notification + Yang-push
Yang-Push On-change Notification Capability
Report from the DataStore Design Team Breakout Session
Comparison of NMDA datastores draft-ietf-netmod-nmda-diff-00
Joe Clarke (presenting)
UDP based Publication Channel for Streaming Telemetry
Factory default Setting draft-wu-netmod-factory-default-01
Michale Wang Qin Wu Roni Even Wen Bin IETF 103 Bangkok, Tailand
Stream Issues Alex, Ambika, Eric, Tim
NETMOD IETF 103 Bangkok Nov , 2018
Interface extensions YANG & VLAN sub-interface YANG Status update
NMDA Q & A draft-dsdt-nmda-guidelines &
YANG Mount draft-clemm-netmod-mount IETF 98 Chicago, 30 March 2017
Separating Routing Planes using Segment Routing draft-gulkohegde-spring-separating-routing-planes-using-sr-00 IETF 98 – Chicago, USA Shraddha Hegde
Post WG LC NMDA datastore architecture draft
Jonathan Rosenberg dynamicsoft
Yingzhen Qu YANG Data Model for OSPF Protocol draft-ietf-ospf-yang-08 draft-ietf-ospf-sr-yang-02 IETF99, Prague Derek Yeung
Evolution of the Subscription & Event Notification Drafts IETF #98 Chicago Eric Voit 28-Mar-2017 DRAFT Authors on at least 1 drafts Andy Bierman Alexander.
PAA-2-EP protocol PANA wg - IETF 58 Minneapolis
Overview Multimedia: The Role of WINS in the Network Infrastructure
Data Annotation for On-Change Notifications
PIM Backup DR Mankamana Mishra IETF-102
Smart filters for Push Updates – Problem Statement draft-clemm-netconf-push-smart-filters-ps-00 Alexander Clemm, Eric Voit, Xufeng Liu, Igor Bryskin,
Handling YANG Revisions – Discussion Kickoff
Subscription to Multiple Stream Originators
Joe Clarke (presenting)
Device Management Profile and Requirements
Task 62 Scope – Config / Operational State
NETMOD Versioning Design Team Update
TAPI and RFC8345 Network Topology Analysis
YANG Data Models for TE and RSVP draft-ietf-teas-yang-te-21 draft-ietf-teas-yang-rsvp-11 draft-ietf-teas-yang-rsvp-te-07 Tarek Saad, Juniper Networks Rakesh.
Schema version selection Reshad Rahman (presenting), Rob Wilton
An HTTPS-based Transport for Subscribed Notifications
YANG Data Models for TE and RSVP draft-ietf-teas-yang-te-21 draft-ietf-teas-yang-rsvp-11 draft-ietf-teas-yang-rsvp-te-07 Tarek Saad, Juniper Networks Rakesh.
Comparison of NMDA datastores draft-ietf-netmod-nmda-diff-02
Presentation transcript:

NETCONF Discussion Draft-ietf-i2rs-ephemeral-state-14.txt Presenter: Susan Hares Co-authors: Jeff Haas + Susan Hares Ephemeral Requirements: Susan Hares

I2RS Ephemeral State Requirements Being Naïve Data Store + ephemeral My thoughts: draft-hares-i2rs-protcol-strawman-03.txt (see section) Walking through Ephemeral State Requirements for Yang (1MT) Ephemeral Requirements: Susan Hares

Being Naïve about Ephemeral We’ve talked About Ephemeral For 4 years … so we understand it Ephemeral Requirements: Susan Hares

4 ephemeral Models Running Ephemeral Running (ct, rw) start-up Persistent Cfg (ct, rw) Running Ephemeral Cfg (ct, rw) Intended Config Protocol + Ephemeral Intended Config Protocol + Ephemeral Applied Config Applied Config (ct, ro) Derived State (protocol + ephemeral) System cfg System State draft-wilton Ephemeral Cfg (ct, rw) Ephemeral Requirements: Susan Hares draft-wilton

Ephemeral Requirements: Susan Hares 4 ephemeral Models Running (ct, rw) start-up (ct, rw) Local Intended config Ephemeral Config Persistent Cfg (ct, rw) R/W Running Ephemeral Cfg (ct, rw) Applied Config Config Ephemeral RO Intended Config Protocol + Ephemeral Config true Applied Config (ct, ro) Derived state Config Ephemeral Config false System cfg System State Original discussion (draft-kwatsen-netmod-opstate) Ephemeral Cfg (ct, rw) draft-wilton-netmod- refined-datastores Ephemeral Requirements: Susan Hares

Ephemeral Requirements: Susan Hares 4 ephemeral Models <candidate> (ct, rw) Running (ct, rw) Ephemeral Config (ct, rw) start-up (ct, rw) <start-up> (ct, rw) <Running> (ct, rw) Running cfg (ct, rw) Remove inactive a a Remove inactive <intended> (ct,co) Must Be validated Intended Config (ct, rw) Subject to validation Missing resources b Missing resources or delays b Applied Config (ct, ro) Applied Config (ct, ro) c Auto-discover, CE protocols c Auto-discover, CE protocols System cfg System State (ct + cf, ro) Ephemeral state Op-State (ct, cf, ro + injected) Fwding Injected Ephemeral e d Russ White I2rs discussion Draft-schoenw-netmod-revised-datastore Ephemeral Requirements: Susan Hares

Ephemeral Requirements: Susan Hares Pro Watsen Wilton Schoenw White/Hares Ephemeral checking message checking (Y 8.3.1) Y NETCONF or RESTCONF (Y8.3.2, 8.3.3) Operation state in ephemeral only models Ephemeral natural augment Event /notify Query Ephemeral + local separate or together Aligns with Ephemeral Requirements P Ephemeral tailors is own validation Ephemeral like other Control plane traffic Ephemeral Requirements: Susan Hares

Ephemeral Requirements: Susan Hares Con Watsen Wilton Schoenw White /Hares Ephemeral cannot elect to just Yang 1.1 8.3.1 (speed up) – because of data store validity Y Ephemeral must create its own validation checking No easy way to see overlay of ephemeral configuration and local configuration Not clear how Event/Notify works with Data store Ephemeral Requirements: Susan Hares

I2RS Requirements in WG LC 15 Ephemeral State 1 Persistence (REQ-01) 6 Constraints (REQ-02 to REQ-07) 1 Yang feature (REQ-08) 2 Protocol (NETCONF/RESTCONF) (REQ-09/10) 4 Multi-headed control (REQ-11 to REQ-14) 1 Multiple Transactions 3 Pub/sub + ephemeral Ephemeral Requirements: Susan Hares

Ephemeral Requirements: Susan Hares Yang Features Ephemeral-REQ-08:In addition to config true/false, there MUST be a way to indicate that YANG schema nodes represent ephemeral state. It is desirable to allow for, and have to way to indicate, config false YANG schema nodes that are writable operational state. Ephemeral Requirements: Susan Hares

Ephemeral Requirements: Susan Hares Feedback needed Ephemeral Requirements: Susan Hares

Ephemeral Requirements Backup slides only Ephemeral Requirements: Susan Hares

Ephemeral Requirements: Susan Hares Ephemeral Persists Ephemeral-REQ-01: I2RS requires ephemeral state; i.e. state that does not persist across reboots. If state must be restored, it should be done solely by replay actions from the I2RS client via the I2RS agent. While at first glance this may seem equivalent to the writable- running data store in NETCONF, running-config can be copied to a persistent data store, like startup config. I2RS ephemeral state MUST NOT be persisted. Ephemeral Requirements: Susan Hares

Ephemeral Constraints Ephemeral-REQ-02: Non-ephemeral state MUST NOT refer to ephemeral state for constraint purposes; it SHALL be considered a validation error if it does. Ephemeral-REQ-03: Ephemeral state may have constraints that refer to operational state, this includes potentially fast changing or short lived operational state nodes, such as MPLS LSP-ID or a BGP IN-RIB. Ephemeral state constraints should be assessed when the ephemeral state is written, and if any of the constraints change to make the constraints invalid after that time the I2RS agent should notify the I2RS Client. Ephemeral Requirements: Susan Hares

Ephemeral Constraints Ephemeral-REQ-04: Ephemeral state MUST be able to refer to non- ephemeral state as a constraint. Non-ephemeral state can be configuration state or operational state. Ephemeral-REQ-05: I2RS pub-sub, logging, RPC or other mechanisms may lead to undesirable or unsustainable resource consumption on a system implementing an I2RS Agent. It is RECOMMENDED that mechanisms be made available to permit prioritization of I2RS operations, when appropriate, to permit implementations to shed work load when operating under constrained resources. An example of such a work shedding mechanism is rate-limiting. Ephemeral Requirements: Susan Hares

Ephemeral Constraints Ephemeral-REQ-06: The ability to: 1. to define a YANG module or submodule schema that only contains data nodes with the property of being ephemeral, and 2. to augment a YANG data model with additional YANG schema nodes that have the property of being ephemeral. Ephemeral Requirements: Susan Hares

Ephemeral Config Overlap with Local configuration Ephemeral-REQ-07: Ephemeral configuration state could override overlapping local configuration state, or vice-versa. Implementations MUST provide a mechanism to choose which takes precedence. This mechanism MUST include local configuration (policy) and MAY be provided via the I2RS protocol mechanisms. Ephemeral Requirements: Susan Hares

Ephemeral Requirements: Susan Hares Yang Features Ephemeral-REQ-08:In addition to config true/false, there MUST be a way to indicate that YANG schema nodes represent ephemeral state. It is desirable to allow for, and have to way to indicate, config false YANG schema nodes that are writable operational state. Ephemeral Requirements: Susan Hares

Ephemeral Requirements: Susan Hares NETCONF/RESTCONF Ephemeral-REQ-09/10: The conceptual changes to NETCONF /RESTCONF 1. Support for communication mechanisms to enable an I2RS client to determine that an I2RS agent supports the mechanisms needed for I2RS operation. 2. The ephemeral state must support notification of write conflicts using the priority requirements defined in section 7 below in requirements Ephemeral-REQ-11 through Ephemeral-REQ-14). Ephemeral Requirements: Susan Hares

Ephemeral Requirements: Susan Hares Mulit-headed Control Ephemeral-REQ-11: The data nodes MAY store I2RS client identity and not the effective priority at the time the data node is stored. Per SEC-REQ-07 in section 3.1 of [I-D.ietf-i2rs-protocol-security-requirements], an identifier must have just one priority. Therefore, the data nodes MAY store I2RS client identity and not the effective priority of the I2RS client at the time the data node is stored. The priority MAY be dynamically changed by AAA, but the exact actions are part of the protocol definition as long as collisions are handled as described in Ephemeral-REQ-12, Ephemeral-REQ-13, and Ephemeral-REQ-14. Ephemeral Requirements: Susan Hares

Multi-Headed control (2) Ephemeral-REQ-12: When a collision occurs as two clients are trying to write the same data node, this collision is considered an error and priorities were created to give a deterministic result. When there is a collision, a notification (which includes indicating data node the collision occurred on) MUST BE sent to the original client to give the original client a chance to deal with the issues surrounding the collision. The original client may need to fix their state. Note:RESTCONF and NETCONF posts can come in concurrently from alternative sources (see ETag in [I-D.ietf-netconf-restconf] section 3.4.1.2 usage). Therefore the collision detection and comparison of priority needs to occur both for both type of updates (POST or edit- config) at the point of comparison. Ephemeral Requirements: Susan Hares

Mutli-Headed Control (3) Ephemeral-REQ-13: Multi-headed control is required for collisions and the priority resolution of collisions. Multi-headed control is not tied to ephemeral state. I2RS is not mandating how AAA supports priority. Mechanisms which prevent collisions of two clients trying to modify the same node of data are the focus. Ephemeral-REQ-14: A deterministic conflict resolution mechanism MUST be provided to handle the error scenario that two clients, with the same priority, update the same configuration data node. The I2RS architecture gives one way that this could be achieved, by specifying that the first update wins. Other solutions, that prevent oscillation of the config data node, are also acceptable. Ephemeral Requirements: Susan Hares

Multiple Transactions Ephemeral-REQ-15: Section 7.9 of the [I-D.ietf-i2rs-architecture] states the I2RS architecture does not include multi-message atomicity and roll-back mechanisms. I2RS notes multiple operations in one or more messages handling can handle errors within the set of operations in many ways. No multi-message commands SHOULD cause errors to be inserted into the I2RS ephemeral state. Ephemeral Requirements: Susan Hares

Ephemeral Requirements: Susan Hares Pub/Sub Pub-Sub-REQ-01: The Subscription Service MUST support subscriptions against ephemeral state in operational data stores, configuration data stores or both. Pub-Sub-REQ-02: The Subscription Service MUST support filtering so that subscribed updates under a target node might publish only ephemeral state in operational data or configuration data, or publish both ephemeral and operational data. Pub-Sub-REQ-03: The subscription service must support subscriptions which are ephemeral. (E.g. An ephemeral data model which has ephemeral subscriptions.) Ephemeral Requirements: Susan Hares