6-3
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 6 Programmability
About Programmability
• RESTCONF— Uses structured data (XML or JSON) and YANG to provide a REST-like APIs,
enabling you to programmatically access different network devices. RESTCONF APIs use HTTPs
methods.
• YANG—A data modeling language that is used to model configuration and operational features on
the switch. YANG determines the scope and the kind of functions that can be performed by
NETCONF and RESTCONF APIs. The following data models are supported:
–
The ned.yang model—A Cisco-specific configuration data model that enables to you perform
write (SET) operations.
–
The Operational Data Manager (ODM)—Enables you to read operational state data (GET
operations) using YANG models.
Figure 6-1 shows how the different components of Programmability come together.
Figure 6-1 Programmability Components
Default Configuration
Programmability is not enabled.
354706
NETCONF
Client
UI
HTTP Client
(RESTCONF)
UI
Configuration
DB
Cisco IOS XE
Cisco Catalyst 4500 Series Switch
YANG Data
Models
HTTP
Server
NetCONF
Server
Action is
Performed
PXE Server
YANG Data
Models
YANG Data
Models
DHCP and
HTTP or TFTP
SSH
XML
HTTP
JSON
or XML