Schema version selection Reshad Rahman (presenting), Rob Wilton

Slides:



Advertisements
Similar presentations
Zero Touch Provisioning for NETCONF/RESTCONF Call Home draft-ietf-netconf-zerotouch-02 NETCONF WG IETF #92 Dallas, TX, USA.
Advertisements

NETCONF Server and RESTCONF Server Configuration Models draft-ietf-netconf-server-model-06 NETCONF WG IETF #92 Dallas, TX, USA.
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.
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
Netconf Schema Query Mark Scott IETF 70 Vancouver December 2007
I2rs Requirements for NETCONF IETF 93. Requirement Documents
Draft-ietf-netconf-server-model-04 NETCONF Server Configuration Model
1 Needing an extensible Mount syntax across Schema, Alias, & Peers IETF 95 Eric Voit, Alex Clemm April 4 th 2016.
NETCONF Server and RESTCONF Server Configuration Models draft-ietf-netconf-server-model-07 NETCONF WG IETF 93 Prague.
YANG Hackathon Achievements
YANG Data Model for RIP draft-liu-rtgwg-yang-rip-01
draft-litkowski-isis-yang-isis-cfg IETF 90 - Toronto
NETCONF WG IETF 93 - Prague, Czech Republic THURSDAY, July 23, 2015
Routing Area Yang Architecture Design Team Update
draft-ietf-teas-yang-te-topo-01
IETF 95 – Buenos Aires April 2016
OpState & Schema Mount Update NETMOD WG Chairs IETF 95 Buenos Aires
Voucher and Voucher Revocation Profiles for Bootstrapping Protocols draft-kwatsen-netconf-voucher-00 NETCONF WG IETF 97 (Seoul)
Routing Area Yang Architecture Design Team Update
YANG Data Models for TE and RSVP draft-ietf-teas-yang-te-03 draft-ietf-teas-yang-rsvp-03 Tarek Saad (Presenter)
draft-clacla-netmod-yang-model-update-02
Subscribing to YANG datastore push updates draft-netconf-yang-push-00 IETF #94 Yokohama A. Clemm A. Gonzalez Prieto
Rest Style Large MeAsurement Platform Protocol
NETCONF Discussion Draft-ietf-i2rs-ephemeral-state-14.txt
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.
draft-ietf-teas-yang-te-topo-04
Geospatial Database Create Geodatabase Practical Session
NETCONF Base Notifications for NMDA
Yang-Push On-change Notification Capability
Balazs Lengyel, Ericsson
Comparison of NMDA datastores draft-ietf-netmod-nmda-diff-00
IETF 103 NETMOD BBF YANG Update
Joe Clarke (presenting)
UDP based Publication Channel for Streaming Telemetry
Factory default Setting draft-wu-netmod-factory-default-01
Stream Issues Alex, Ambika, Eric, Tim
NETMOD IETF 103 Bangkok Nov , 2018
Interface extensions YANG & VLAN sub-interface YANG Status update
With Thanks to... Authors on at least 1 WG draft Andy Bierman
NMDA Q & A draft-dsdt-nmda-guidelines &
draft-ding-netmod-arp-yang-model-00 Xiaojian Ding, Feng Zheng
YANG Mount draft-clemm-netmod-mount IETF 98 Chicago, 30 March 2017
Routing Area Yang Architecture Design Team Update
IGMP & MLD Snooping YANG Model
Post WG LC NMDA datastore architecture draft
draft-liu-netmod-yang-schedule-02
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.
draft-ietf-teas-yang-te-topo-08
LIME CO Model Update draft-ietf-lime-yang-oam-model-07
Zero Touch Provisioning for NETCONF/RESTCONF Call Home draft-ietf-netconf-zerotouch-19 NETCONF WG IETF 100 (Singapore)
YANG Instance Data for Documenting Server Capabilities
Handling YANG Revisions – Discussion Kickoff
Subscription to Multiple Stream Originators
YANG Data Model for FlexE Interface Management
IETF Prague BFD Unsolicited
NETMOD WG IETF 104 (Prague)
QoS Yang Model Aseem Choudhary, Norm Strahle, Ing-Whar Chen,
NETMOD Versioning Design Team Update
IETF Montreal BFD YANG Data Model
Joe Clarke (presenting)
Device Management Profile and Requirements
Task 62 Scope – Config / Operational State
NETMOD Versioning Design Team Update
Rob Wilton (presenting)
TAPI and RFC8345 Network Topology Analysis
An HTTPS-based Transport for Subscribed Notifications
Interface extensions YANG & VLAN sub-interface YANG Status update
Comparison of NMDA datastores draft-ietf-netmod-nmda-diff-02
Presentation transcript:

Schema version selection Reshad Rahman (presenting), Rob Wilton draft-wilton-netmod-yang-ver-selection-00  NETMOD WG July 22nd, 2019 Reshad Rahman (presenting), Rob Wilton

YANG version selection - Goals To address requirements 3.1 and 3.2 from draft-ietf-netmod-yang- versioning-reqs-01: 3. Requirements related to supporting existing clients in a backwards-compatible way: 3.1 The solution MUST provide a mechanism to allow servers to support existing clients in a backwards-compatible way. 3.2 The solution MUST provide a mechanism to support clients that expect an older version of a given module when the current version has had non-backwards-compatible changes. Support for multiple versions is needed when there’s an NBC change to a YANG module

YANG Version Selection - Summary Allows servers to do NBC changes without forcing clients to immediately migrate to the new module versions Makes use of YANG packages defined in draft-rwilton-netmod-yang- packages Provides a mechanism for servers to advertise support for multiple versions of YANG packages Allows clients to choose, among the ones advertised by the server, which YANG package version they use With some NBC changes, supporting old model version is impossible (e.g. feature support removed)

YANG Version Selection – Summary (2) Servers are NOT required to concurrently support clients using different schema versions Servers are NOT required to support every published version of a YANG package Servers are NOT required to support all parts of all versioned schema. E.g. for some NBC changes, it may not be possible for the server to support both the old and new versions

YANG Version Selection – Overview A versioned schema is a YANG schema with an associated YANG revision label (such as a semantic version number). For example it could be a YANG package (see draft-rwilton-netmod-yang-packages) A schema-set is a set of related versioned YANG schema, one for each supported datastore Servers support configuration for the default schema-set version to use for default NETCONF/RESTCONF connections Servers support configuration for secondary NETCONF/RESTCONF instances (using different port numbers) which use a different schema-set version Clients choose which schema-set they use by using the corresponding NETCONF/RESTCONF port number For RESTCONF, the schema-set can also be selected via RESTCONF root path

YANG Version Selection – Data Tree module: ietf-schema-version-selection +--rw schema-selection | +--rw schema-sets* [name] | +--rw name string | +--rw netconf! {secondary-schema-set}? | | +--rw port? inet:port-number | +--rw restconf! {secondary-schema-set}? | | +--rw root-path? inet:uri | +--ro datastores* [datastore] | +--ro datastore ds:datastore-ref | +--ro package | +--ro name? | | -> /yanglib:yang-library/pkg:package/name | +--ro version? Leafref +--rw default-schema-set? -> /schema-selection/schema-sets/name {default-schema-set}?