Table of Contents

1  Preface

1.1  Legal Statements

1.2  Additional Resources

1.2.1  WEB Sites

1.2.2  Mailing Lists

1.3  Conventions Used in this Document

2  Introduction

2.1  Intended Audience

2.2  What is NETCONF and YANG?

2.3  How Does an Operator Use NETCONF and YANG?

2.4  How Does a Developer Use NETCONF and YANG?

3  Getting Started with toaster.yang

3.1  What is libtoaster?

3.2  Start the netconfd-pro server

3.2.1  Configuration Defaults

3.2.2  SSH Server

3.2.3  NETCONF Server

3.2.4  Stopping netconfd-pro

3.2.5  Starting netconfd-pro with ypwatcher program

3.3  Start the yangcli-pro client

3.3.1  Configuration Defaults

3.3.2  Startup Screen

3.3.3  Command Line Editing

3.3.4  Escape Commands

3.4  Getting Context Sensitive Help

3.4.1  Tab Key for Command Completion

3.4.2  The '?' Escape Sequence in Command Mode

3.4.3  The '?' and '??' Escape Sequences in Parameter Mode

3.4.4  The 'help' Command

3.5  Start a NETCONF session

3.5.1  The connect Command

3.5.2  Fixing Connection Problems

3.6  Enable Notification Delivery

3.7  Load the Toaster Module

3.8  Enable the Toaster

3.8.1  Lock the Databases

3.8.2  Create the toaster Container

3.8.3  Save the Database Changes

3.8.4  Unlock the Databases

3.9  Get the Toaster State Information

3.10  Start Making Toast

3.11  Stop Making Toast

3.12  Close the NETCONF Session

4  Advanced Topics

4.1  Data Retrieval

4.1.1  Basic NETCONF Retrieval Operations

4.1.2  Default Value Filtering

4.1.3  Special Retrieval Operations

4.2  Notifications

4.2.1  Notification Contents

4.2.2  Notification Replay

4.2.3  The interleave capability

4.3  Database Editing

4.3.1  The Target Database

4.3.2  Database Locking

4.3.3  Non-Volatile Storage

4.3.4  Editing Commands

4.4  Access Control

4.5  Variables

4.6  Scripts

5  toaster.yang