0% found this document useful (0 votes)
101 views12 pages

SNMP Netconf Yang

Managing multiple IoT devices requires advanced capabilities for automating configuration, monitoring data, and ensuring reliability. NETCONF and YANG provide such capabilities by allowing session-based retrieval and manipulation of device configuration and state data using XML over SSH. An IoT management system uses NETCONF messages to configure devices and receive state information, employing components like a transaction manager, data model manager, and configuration validator to securely manage configurations across multiple devices defined by YANG models.

Uploaded by

Niladree Paul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
101 views12 pages

SNMP Netconf Yang

Managing multiple IoT devices requires advanced capabilities for automating configuration, monitoring data, and ensuring reliability. NETCONF and YANG provide such capabilities by allowing session-based retrieval and manipulation of device configuration and state data using XML over SSH. An IoT management system uses NETCONF messages to configure devices and receive state information, employing components like a transaction manager, data model manager, and configuration validator to securely manage configurations across multiple devices defined by YANG models.

Uploaded by

Niladree Paul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

IoT System Management with

SNMP- NETCONF-YANG
Outline

• Need for IoT Systems Management


• Network Operator Requirements
• SNMP
• NETCONF
• YANG
• IoT Systems Management with NETCONF-YANG
Need for IoT Systems Management

• Automating Configuration
• Monitoring Operational & Statistical Data
• Improved Reliability
• System Wide Configurations
• Multiple System Configurations
• Retrieving & Reusing Configurations
Need for IoT Systems Management

Managing multiple devices within a single system requires advanced management capabilities.

Automating Configuration : IoT system management capabilities can help in automating the system
configuration.
Monitoring Operational & Statistical Data : Management systems can help in monitoring opeartional and
statistical data of a system. This data can be used for fault diagnosis or prognosis.
Improved Reliability: A management system that allows validating the system configurations before they are
put into effect and can help in improving the system reliability.
System Wide Configurations : For IoT systems that consists of multiple devices or nodes, ensuring system wide
configuration can be critical for the correct functioning of the system.
Multiple System Configurations : For some systems it may be desirable to have multiple valid configurations
which are applied at different times or in certain conditions.
Retrieving & Reusing Configurations : Management systems which have the capability of retrieving
configurations from devices can help in reusing the configurations for other devices of the same type.
Network Operator Requirements

• Ease of use • Configuration validation


• Distinction between configuration and state data • Configuration database schemas
• Fetch configuration and state data separately • Comparing configurations
• Configuration of the network as a whole • Role-based access control
• Configuration transactions across devices • Consistency of access control lists:
• Configuration deltas • Multiple configuration sets
• Dump and restore configurations • Support for both data-oriented and task-
oriented access control
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
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.
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
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.
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.
IoT Systems Management with NETCONF-
YANG
• Management System
• Management API
• Transaction Manager
• Rollback Manager
• Data Model Manager
• Configuration Validator
• Configuration Database
• Configuration API
• Data Provider API
IoT Systems Management with NETCONF-YANG

Management System : The operator uses a management system to send NETCONF messages to configure the
IoT device and receives state information and notifications from the device as NETCONF messages.
Management API : allows management application to start NETCONF sessions.
Transaction Manager: executes all the NETCONF transactions and ensures that ACID (atomicity, consistency,
isolation, and durability) properties hold true for the transactions.
Rollback Manager : is responsible for generating all the transactions necessary to rollback a current
configuration to its original state.
Data Model Manager : Keeps track of all the YANG data models and the corresponding managed objects. Also
keeps track of the applications which provide data for each part of a data model.
Configuration Validator : checks if the resulting configuration after applying a transaction would be a valid
configuration.
Configuration Database : contains both configuration and operational data.
Configuration API : Using the configuration API the application on the IoT device can read configuration data
from the configuration data store and write operational data to the operational data store.
Data Provider API: Applications on the IoT device can register for callbacks for various events using the Data
Provider API. Through the Data Provider API, the applications can report statistics and operational data.

You might also like