SlideShare a Scribd company logo
Chapter 4
IoT System Management with
NETCONF-YANG
Bahga & Madisetti, © 2015
Book website: http://www.internet-of-things-book.com
Outline
• Need for IoT Systems Management
• SNMP
• Network Operator Requirements
• NETCONF
• YANG
• IoT Systems Management with NETCONF-YANG
Bahga & Madisetti, © 2015
Book website: http://www.internet-of-things-book.com
Need for IoT Systems Management
• Automating Configuration
• Monitoring Operational & Statistical Data
• Improved Reliability
• System Wide Configurations
• Multiple System Configurations
• Retrieving & Reusing Configurations
Bahga & Madisetti, © 2015
Book website: http://www.internet-of-things-book.com
Simple Network Management Protocol (SNMP)
• SNMP is a well-known and widely used
network management protocol that allows
monitoring and configuring network devices
such as routers, switches, servers, printers, etc.
• SNMP component include
• Network Management Station (NMS)
• Managed Device
• Management Information Base (MIB)
• SNMP Agent that runs on the device
Bahga & Madisetti, © 2015
Book website: http://www.internet-of-things-book.com
Limitations of SNMP
• SNMP is stateless in nature and each SNMP request contains all the
information to process the request. The application needs to be intelligent
to manage the device.
• SNMP is a connectionless protocol which uses UDP as the transport protocol,
making it unreliable as there was no support for acknowledgement of
requests.
• MIBs often lack writable objects without which device configuration is not
possible using SNMP.
• It is difficult to differentiate between configuration and state data in MIBs.
• Retrieving the current configuration from a device can be difficult with
SNMP.
• Earlier versions of SNMP did not have strong security features.
Bahga & Madisetti, © 2015
Book website: http://www.internet-of-things-book.com
Network Operator Requirements
• Ease of use
• Distinction between configuration and state data
• Fetch configuration and state data separately
• Configuration of the network as a whole
• Configuration transactions across devices
• Configuration deltas
• Dump and restore configurations
Bahga & Madisetti, © 2015
Book website: http://www.internet-of-things-book.com
• Configuration validation
• Configuration database schemas
• Comparing configurations
• Role-based access control
• Consistency of access control lists:
• Multiple configuration sets
• Support for both data-oriented and task-
oriented access control
NETCONF
• Network Configuration Protocol (NETCONF) is a session-based network management protocol.
NETCONF allows retrieving state or configuration data and manipulating configuration data on
network devices
Bahga & Madisetti, © 2015
Book website: http://www.internet-of-things-book.com
NETCONF
• NETCONF works on SSH transport protocol.
• Transport layer provides end-to-end connectivity and ensure reliable delivery of messages.
• NETCONF uses XML-encoded Remote Procedure Calls (RPCs) for framing request and
response messages.
• The RPC layer provides mechanism for encoding of RPC calls and notifications.
• NETCONF provides various operations to retrieve and edit configuration data from
network devices.
• The Content Layer consists of configuration and state data which is XML-encoded.
• The schema of the configuration and state data is defined in a data modeling language
called YANG.
• NETCONF provides a clear separation of the configuration and state data.
• The configuration data resides within a NETCONF configuration datastore on the server.
Bahga & Madisetti, © 2015
Book website: http://www.internet-of-things-book.com
YANG
• YANG is a data modeling language used to model configuration and state data
manipulated by the NETCONF protocol
• YANG modules contain the definitions of the configuration data, state data, RPC calls that
can be issued and the format of the notifications.
• YANG modules defines the data exchanged between the NETCONF client and server.
• A module comprises of a number of 'leaf' nodes which are organized into a hierarchical
tree structure.
• The 'leaf' nodes are specified using the 'leaf' or 'leaf-list' constructs.
• Leaf nodes are organized using 'container' or 'list' constructs.
• A YANG module can import definitions from other modules.
• Constraints can be defined on the data nodes, e.g. allowed values.
• YANG can model both configuration data and state data using the 'config' statement.
Bahga & Madisetti, © 2015
Book website: http://www.internet-of-things-book.com
YANG Module Example
Bahga & Madisetti, © 2015
Book website: http://www.internet-of-things-book.com
• This YANG module is a YANG version of the toaster
MIB
• The toaster YANG module begins with the header
information followed by identity declarations
which define various bread types.
• The leaf nodes (‘toasterManufacturer’,
‘toasterModelNumber’ and oasterStatus’) are
defined in the ‘toaster’ container.
• Each leaf node definition has a type and optionally
a description and default value.
• The module has two RPC definitions (‘make-toast’
and ‘cancel-toast’).
IoT Systems Management with NETCONF-YANG
Bahga & Madisetti, © 2015
Book website: http://www.internet-of-things-book.com
• Management System
• Management API
• Transaction Manager
• Rollback Manager
• Data Model Manager
• Configuration Validator
• Configuration Database
• Configuration API
• Data Provider API

More Related Content

PPTX
IOT-Network Management.pptx
PPTX
IoT Heaps 3
PPTX
Io t system management with
PPTX
Untitled presentation (2).pptx
PPTX
IOT System Management with NETCONF-YANG.pptx
PPTX
IoT sysstem management.pptx for btech students
PPTX
Tail-f - Why NETCONF
PPTX
SDN Unit 6.pptxhgvgyubnjhuihjhgijhnkjhijnik
IOT-Network Management.pptx
IoT Heaps 3
Io t system management with
Untitled presentation (2).pptx
IOT System Management with NETCONF-YANG.pptx
IoT sysstem management.pptx for btech students
Tail-f - Why NETCONF
SDN Unit 6.pptxhgvgyubnjhuihjhgijhnkjhijnik

Similar to Chapter-4.pdf (20)

PDF
Chapter 1 updated.pdf
PPTX
IoT heap 1
PPTX
EsIoT Unit 4 IoT ARchitecuture and management.pptx
PPTX
SDN Introduction
PPTX
Iot unit i present by JAVVAJI VENKATRAO SVEC,TIRUPATI
PPTX
Iot unit i
PDF
IBM Programmable Network Controller
PPTX
Chapter - 1.pptx
PPTX
ppt-3-iotlogicdesign-210125034351.pptx
PPTX
IoT.pptx
PDF
Bringing SDN to the Management Plane
PDF
Introduction to YANG data models and their use in OpenDaylight: an overview
PDF
Chapter-2.pdf
PPTX
ONAP - Open Network Automation Platform
PDF
Extending SDN beyond the control plane
PPTX
IoT System Management ppt SNMP simple network
PPTX
unit1-iot introduction,logical design ,physical design
PDF
Central Office ReArchitected as a Data Center
PPTX
Introduction to Internet of things Introduction to Internet of things
PDF
Light Reading BTE_SDNtoolbox_June_2015
Chapter 1 updated.pdf
IoT heap 1
EsIoT Unit 4 IoT ARchitecuture and management.pptx
SDN Introduction
Iot unit i present by JAVVAJI VENKATRAO SVEC,TIRUPATI
Iot unit i
IBM Programmable Network Controller
Chapter - 1.pptx
ppt-3-iotlogicdesign-210125034351.pptx
IoT.pptx
Bringing SDN to the Management Plane
Introduction to YANG data models and their use in OpenDaylight: an overview
Chapter-2.pdf
ONAP - Open Network Automation Platform
Extending SDN beyond the control plane
IoT System Management ppt SNMP simple network
unit1-iot introduction,logical design ,physical design
Central Office ReArchitected as a Data Center
Introduction to Internet of things Introduction to Internet of things
Light Reading BTE_SDNtoolbox_June_2015
Ad

More from ssuser01a3d0 (6)

PDF
applicationsofiotinternetofthings-170111184957.pdf
PDF
Chapter-7.pdf
PDF
Chapter-5.pdf
PDF
Chapter-6.pdf
PDF
Chapter-3.pdf
PDF
Chapter-1.pdf
applicationsofiotinternetofthings-170111184957.pdf
Chapter-7.pdf
Chapter-5.pdf
Chapter-6.pdf
Chapter-3.pdf
Chapter-1.pdf
Ad

Recently uploaded (20)

PDF
Well-logging-methods_new................
PPTX
Lecture Notes Electrical Wiring System Components
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Welding lecture in detail for understanding
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Sustainable Sites - Green Building Construction
PPTX
additive manufacturing of ss316l using mig welding
PPTX
OOP with Java - Java Introduction (Basics)
PPT
Project quality management in manufacturing
PDF
composite construction of structures.pdf
PPTX
Construction Project Organization Group 2.pptx
PDF
PPT on Performance Review to get promotions
PDF
Digital Logic Computer Design lecture notes
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
Well-logging-methods_new................
Lecture Notes Electrical Wiring System Components
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Welding lecture in detail for understanding
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Sustainable Sites - Green Building Construction
additive manufacturing of ss316l using mig welding
OOP with Java - Java Introduction (Basics)
Project quality management in manufacturing
composite construction of structures.pdf
Construction Project Organization Group 2.pptx
PPT on Performance Review to get promotions
Digital Logic Computer Design lecture notes
Embodied AI: Ushering in the Next Era of Intelligent Systems
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Foundation to blockchain - A guide to Blockchain Tech

Chapter-4.pdf

  • 1. Chapter 4 IoT System Management with NETCONF-YANG Bahga & Madisetti, © 2015 Book website: http://www.internet-of-things-book.com
  • 2. Outline • Need for IoT Systems Management • SNMP • Network Operator Requirements • NETCONF • YANG • IoT Systems Management with NETCONF-YANG Bahga & Madisetti, © 2015 Book website: http://www.internet-of-things-book.com
  • 3. Need for IoT Systems Management • Automating Configuration • Monitoring Operational & Statistical Data • Improved Reliability • System Wide Configurations • Multiple System Configurations • Retrieving & Reusing Configurations Bahga & Madisetti, © 2015 Book website: http://www.internet-of-things-book.com
  • 4. Simple Network Management Protocol (SNMP) • SNMP is a well-known and widely used network management protocol that allows monitoring and configuring network devices such as routers, switches, servers, printers, etc. • SNMP component include • Network Management Station (NMS) • Managed Device • Management Information Base (MIB) • SNMP Agent that runs on the device Bahga & Madisetti, © 2015 Book website: http://www.internet-of-things-book.com
  • 5. Limitations of SNMP • SNMP is stateless in nature and each SNMP request contains all the information to process the request. The application needs to be intelligent to manage the device. • SNMP is a connectionless protocol which uses UDP as the transport protocol, making it unreliable as there was no support for acknowledgement of requests. • MIBs often lack writable objects without which device configuration is not possible using SNMP. • It is difficult to differentiate between configuration and state data in MIBs. • Retrieving the current configuration from a device can be difficult with SNMP. • Earlier versions of SNMP did not have strong security features. Bahga & Madisetti, © 2015 Book website: http://www.internet-of-things-book.com
  • 6. Network Operator Requirements • Ease of use • Distinction between configuration and state data • Fetch configuration and state data separately • Configuration of the network as a whole • Configuration transactions across devices • Configuration deltas • Dump and restore configurations Bahga & Madisetti, © 2015 Book website: http://www.internet-of-things-book.com • Configuration validation • Configuration database schemas • Comparing configurations • Role-based access control • Consistency of access control lists: • Multiple configuration sets • Support for both data-oriented and task- oriented access control
  • 7. NETCONF • Network Configuration Protocol (NETCONF) is a session-based network management protocol. NETCONF allows retrieving state or configuration data and manipulating configuration data on network devices Bahga & Madisetti, © 2015 Book website: http://www.internet-of-things-book.com
  • 8. NETCONF • NETCONF works on SSH transport protocol. • Transport layer provides end-to-end connectivity and ensure reliable delivery of messages. • NETCONF uses XML-encoded Remote Procedure Calls (RPCs) for framing request and response messages. • The RPC layer provides mechanism for encoding of RPC calls and notifications. • NETCONF provides various operations to retrieve and edit configuration data from network devices. • The Content Layer consists of configuration and state data which is XML-encoded. • The schema of the configuration and state data is defined in a data modeling language called YANG. • NETCONF provides a clear separation of the configuration and state data. • The configuration data resides within a NETCONF configuration datastore on the server. Bahga & Madisetti, © 2015 Book website: http://www.internet-of-things-book.com
  • 9. YANG • YANG is a data modeling language used to model configuration and state data manipulated by the NETCONF protocol • YANG modules contain the definitions of the configuration data, state data, RPC calls that can be issued and the format of the notifications. • YANG modules defines the data exchanged between the NETCONF client and server. • A module comprises of a number of 'leaf' nodes which are organized into a hierarchical tree structure. • The 'leaf' nodes are specified using the 'leaf' or 'leaf-list' constructs. • Leaf nodes are organized using 'container' or 'list' constructs. • A YANG module can import definitions from other modules. • Constraints can be defined on the data nodes, e.g. allowed values. • YANG can model both configuration data and state data using the 'config' statement. Bahga & Madisetti, © 2015 Book website: http://www.internet-of-things-book.com
  • 10. YANG Module Example Bahga & Madisetti, © 2015 Book website: http://www.internet-of-things-book.com • This YANG module is a YANG version of the toaster MIB • The toaster YANG module begins with the header information followed by identity declarations which define various bread types. • The leaf nodes (‘toasterManufacturer’, ‘toasterModelNumber’ and oasterStatus’) are defined in the ‘toaster’ container. • Each leaf node definition has a type and optionally a description and default value. • The module has two RPC definitions (‘make-toast’ and ‘cancel-toast’).
  • 11. IoT Systems Management with NETCONF-YANG Bahga & Madisetti, © 2015 Book website: http://www.internet-of-things-book.com • Management System • Management API • Transaction Manager • Rollback Manager • Data Model Manager • Configuration Validator • Configuration Database • Configuration API • Data Provider API