3. Hybrid SDN
• NETCONF.
• Abstract the configuration of devices.
• Using YANG Data Model.
4/25/2018
4. NETCONF
NETCONF is a IETF network management protocol designed specifically for
configuration management
• Makes a distinction between configuration and state data.
• Utilized multiple configuration data stores (candidate, running, startup).
• Configuration change transcations.
• Provides client side configuration validation.
• Uses a client-server model and SSH as transport protocol
4/25/2018
6. YANG
4/25/2018
• YANG is a modeling language defined
in RFC 6020.
• Models files are self-documented and
ship with devices
• The goal is to be able to formally model
any network device configuration.
• YANG data models is create by IETF or
OpenConfig and mapped to native
models in each vendors.
7. YANG
4/25/2018
Main node types :
• Leaf – node with name and value of
certain type (no children)
• Leaf list – sequence of leafs
• Container – groups nodes and has no
value
• List – Sequence of records with key leafs
10. Step Demo
4/25/2018
• Enable NETCONF/YANG in CSR1000v
• Get YANG capabilities from CSR1000v
• Get YANG data model from CSR1000v
• Convert YANG data model to python modules
• Create python program to generate JSON files
configuration from modules
• Convert JSON to XML
• Send XML to CSR1000v
• Python Script : http://bit.ly/NETCONF-YANG