IETF 94 - Tutorials

Yokohama, Japan
November 1-6, 2015

YANG Tutorial and YANG Advice/Editing Session

Presented by: Carl Moberg and Ladislav Lhotka

Day: Sunday, November 1, 2015
Time: 13:00 - 17:00
Room: Room 413

Description:

The "YANG Tutorial" includes the following presentations:

1. [40 min] An overview of NETCONF and YANG (Carl Moberg)
2. [40 min] A deeper dive into YANG (Carl Moberg)
3. [40 min] A deeper dive into NETCONF (Carl Moberg)
4. [60 min] Pyang Tutorial (Ladislav Lhotka)

The "YANG Advice/Editing Session" will occupy the remaining one hour.

The specific outlines for the for the four presentations are:

1. An overview of NETCONF and YANG

  • Session Objectives:
    • Identify the major problems/issues facing network administrators
    • Describe the NETCONF/YANG protocol and modeling language
    • Describe how the features of NETCONF/YANG address major problems in network administration
    • Describe a use case for NETCONF/YANG
  • Content Outline:
    • Problems for Network Managers
    • NETCONF/YANG
      • Definitions
      • Distinction between Protocol and Modeling language
      • NETCONF Protocol Layers
      • NETCONF Operations
    • Solutions for Network Managers
    • Summary

2. A deeper dive into YANG

  • Session Objectives:
    • Identify and describe common elements of a YANG model
    • Examine a YANG model and create an instance data to configure one or more network devices
  • Content Outline:
    • Standard YANG Models
    • High-level structure of YANG Modules
    • Presenting the Use Case (MPLS-VPN configuration)
      • Task 1: Activating an interface on group of devices
      • Task 2: Assigning addresses to interfaces
      • Task 3: Configuring an MPLS VPN Tunnel

3. A deeper dive into NETCONF

  • Session Objectives:
    • Obtain configuration and operational data from a device using NETCONF
    • Configure a network device using NETCONF
  • Content Outline:
    • NETCONF Basics
      • Layers
      • Sessions
      • Capabilities
    • Scenario 1 - Getting Data
    • Scenario 2 - Configuring
    • Scenario 3 - Locking
    • Scenario 4 - Validating, Confirmed Commits, Multiple Devices
    • Language Binding Examples
    • Summary

4. Pyang Tutorial

  • Introduction to pyang and its design
    • installation, prerequisites
    • core functions, plugins and stand-alone tools
    • essential command-line parameters and options
  • Preparing YANG modules
    • editors with YANG support
    • verification of YANG modules and data models
    • visualisation of data models
  • Working with instance data
    • preparing a sample instance document
    • validation against DSDL schemas
    • converting instances encoded in XML to JSON, and vice versa