B.tech IoT Module 2 B
B.tech IoT Module 2 B
• Automating Configuration
• Devices can be configured automatically through system
management interfaces.
• This can ensure that all devices have the same configuration, and
thereby one can avoid variations & errors due to manual
configuration.
• Monitoring Operational & Statistical Data
• Operational data refers to system’s operating parameters collected
at runtime.
• Statistical data describes the system performance (CPU/memory
usage)
• Such data need to be monitored for fault diagnosis and prognosis.
Contd..
• Improved Reliability
• By having a management system one can validate the system
configuration before it is applied.
• This will enhance system reliability.
Layered Architecture
NETCONF
• NETCONF works on SSH (Secure Shell) transport protocol. SSH is a
cryptographic network protocol used to access the network devices and
servers over the internet. One could use Transport Layer Security (TLS)
protocol also.
• Transport layer provides end-to-end connectivity and ensures 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 Operations layer 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.
Ex: <get-config> retrieves only configuration data.
<get> can retrieve both configuration & state data.
• The configuration data resides within a NETCONF
configuration datastore on the server.
• The NETCONF server resides on the network
device.
Commonly used NETCONF operations
Working of NETCONF
• Management System
• Management API
• Transaction Manager
• Rollback Manager
• Data Model Manager
• Configuration Validator
• Configuration Database
• Configuration API
• Data Provider API
• Management System (MS)
• An operator uses the MS to send NETCONF messages to configure
IoT devices and also receives state information & notifications from
the devices.
• Management API
• The API allows management applications to start NETCONF
sessions, read & write config data, read state data, retrieve
configurations, and call RPCs.
• Transaction Manager
• It executes all NETCONF transactions ensuring the ACID properties.
• Atomicity: ensures that transactions are executed either completely
or not at all.
• Consistency: ensures that a transaction brings the device
configuration from one valid state to another.
• Isolation: ensures that concurrent execution of transactions result
in the same device configuration as if transactions were executed
serially in order.
• Durability: ensures that once a transaction is committed the
resulting state will persist.
• Rollback Manager
• Responsible for rolling back to a previous configuration, if necessary
• Data Model Manager
• Keeps track of all the YANG data models and the
corresponding managed objects.
• Keeps track of the applications which provide data for the
data models.
• Configuration Validator
• Checks if the resulting configuration after applying a
transaction would be a valid configuration.
• Configuration Database
• Contains both configuration & operational data.
• Configuration API
• Through the APIs the IoT applications can read configuration
data from the configuration datastore and write operational
data to the operational datastore.
• Data Provider API
• Through this API, applications can report statistical &
operational data. Applications register for callbacks for
various events to receive data using this API.
• Why does the IoT system have to be self-adapting and self-configuring?
• Ans. Dynamic & self-adapting: IOT devices and systems may have the
capability to dynamically adopt with the changing context and take
actions based on the operating conditions, user’s context , or sensed
environment.
• Ans. Controller service is a native service that runs on the device and
interacts with the web services. Controller service sends data from the
device to the web service and receives commands from the application
via web services for controlling the device.
• Ans. M2M data are collected in point solution and often in on-premises
storage infrastructure. The data in IoT are collected in the cloud and can
be public, private or hybrid cloud.
• Ans. With decoupled control and data planes and centralized network
controller, the network administrators can rapidly configure the network.
SDN applications can be deployed through programmable open APIs.
• Ans. The data model manager keeps track of all the YANG data models
and the corresponding managed objects. The Data Model manager also
keeps track of the applications which provide data for each part of a data
model .