SlideShare a Scribd company logo
www.opengear.com© Copyright 2019 Opengear, Inc. 1
The Path to a Programmable Network
Open Telemetry and Model-Driven Configuration
David Leonard
4-Jul-2019
MyNOG-8, Kuala Lumpur
© Copyright 2019 Opengear, Inc. www.opengear.com 2
Overview
© Copyright 2019 Opengear, Inc. www.opengear.com 3
• Motivation
• Exciting news from the world of software development
• Strategies for automation
• Standards
• Demo / teaser
© Copyright 2019 Opengear, Inc. www.opengear.com 4
How it starts
© Copyright 2019 Opengear, Inc. www.opengear.com 5
configure
© Copyright 2019 Opengear, Inc. www.opengear.com 6
configure
configure
configure
© Copyright 2019 Opengear, Inc. www.opengear.com 7
configure
configure
configure
configureconfigure
configure
configure
configure
configure
© Copyright 2019 Opengear, Inc. www.opengear.com 8
configure
configure
configure
configureconfigure
configure
configure
configure
configure
© Copyright 2019 Opengear, Inc. www.opengear.com 9
What have
we wrought?
Trouble with configuring via the CLI
© Copyright 2019 Opengear, Inc. www.opengear.com 10
• Configs applied and maintained by hand
• Vendor-specific syntax, ever-changing
• Inconsistent configurations, unexplained special cases
• Configurations are forgotten; until... reactive break-fix model
• Workarounds: brute force, diligence, hard work, RANCID
• Fragile scrapers break on upgrades
• Human-oriented interfaces are for humans
© Copyright 2019 Opengear, Inc. www.opengear.com 11
Manual control
Controlled by
software
© Copyright 2019 Opengear, Inc. www.opengear.com 12
Combining
the reliability of software
with
the low cost of network changes
Exciting news from the world of software
© Copyright 2019 Opengear, Inc. www.opengear.com 13
• Agile practices
– Lighter but more intense teamwork
• git + pull requests
– collaborative text editing, focused review
• CI/CD + tests + sandboxes
– safety nets are safer
• DevOps
– the best tools and practices adopted by operations
© Copyright 2019 Opengear, Inc. www.opengear.com 14
programmer
© Copyright 2019 Opengear, Inc. www.opengear.com 15
configure
configure
configure
configureconfigure
configure
configure
configure
configure
1:100
© Copyright 2019 Opengear, Inc. www.opengear.com 16
program
program
program
configure
configure
configure
1:100
© Copyright 2019 Opengear, Inc. www.opengear.com 17
program
program
configure
configure
configure
configure
configure
configure
configure
program
1:1000
© Copyright 2019 Opengear, Inc. www.opengear.com 18
Strategies
Pre-conditions for automation
© Copyright 2019 Opengear, Inc. www.opengear.com 19
• Inventory: do you have good detail of all devices?
• Requirements: business's expectation of function level; now & plans
• Standards: which model/vocabulary to use in automation
• Telemetry: feedback channels
• Automation: control channels; tooling
• Trust: get experience, confidently predict automation's behaviour
• other: Budget, Stakeholders, Suppliers
© Copyright 2019 Opengear, Inc. www.opengear.com 20
Provisioning Monitoring Security …
Requirements ? ? ? ?
Automation ? ? ? ?
Telemetry ? ? ? ?
Inventory ? ? ? ?
Standards ? ? ? ?
Suppliers ? ? ? ?
Partners ? ? ? ?
Budget ? ? ? ?
Trust ? ? ? ?
© Copyright 2019 Opengear, Inc. www.opengear.com 21
Standards
IETF NETCONF
© Copyright 2019 Opengear, Inc. www.opengear.com 22
• 2006 RPC-based protocol for configuring network devices
• "SNMP done right"
• Replaces CLI-based programmatic interfaces (perl/expect over SSH)
• Installs, manipulates configuration
• Can validate config before activation
• Atomic commit/transaction across multiple devices
• Structured message and errors (XML/JSON)
NETCONF: XML over SSH
© Copyright 2019 Opengear, Inc. www.opengear.com 23
$ ssh -oHostKeyAlgorithms=+ssh-dss root@ios-xe-mgmt.cisco.com -p 10000 -s netconf
S: <hello> <capabilities> … </capabilities> </hello>
]]>]]>
C: <hello> <capabilities> … </capabilities> </hello>
NETCONF: XML over SSH (continued)
© Copyright 2019 Opengear, Inc. www.opengear.com 24
C: <rpc>
<get-config>
<source><running/></source>
</get-config>
</rpc>
S: <rpc-reply>
<data>
<interfaces><interface> <name>eth0</name> <enabled>true<… </interfaces>
</data>
</rpc-reply>
]]>]]>
NETCONF landscape
© Copyright 2019 Opengear, Inc. www.opengear.com 25
• YANG – the modeling language for NETCONF
– like MIBs' ASN.1 notation
– IETF provides some basic models, eg RFC8343 "ietf-interfaces"
• NETCONF – the client-server protocol
– NETCONF: sends XML over SSH
– RESTCONF: sends XML or JSON over HTTP
• OpenConfig – the community
– a group of carriers and vendors sharing their YANG models
– more than just "vendor MIBs" (called native models)
Where to get YANG models
© Copyright 2019 Opengear, Inc. www.opengear.com 26
• yangcatalog.org
– https://github.com/YangModels/yang (yangcatalog.org)
• openconfig.org
– https://github.com/openconfig/public
• https://github.com/Juniper/yang
© Copyright 2019 Opengear, Inc. www.opengear.com 27
Demo – Getting Started
© Copyright 2019 Opengear, Inc. www.opengear.com 28
© Copyright 2019 Opengear, Inc. www.opengear.com 29
Summary
© Copyright 2019 Opengear, Inc. www.opengear.com 30
© Copyright 2019 Opengear, Inc. www.opengear.com 31
Suggested approach:
• Get familiar with the OpenConfig models, eg BGP.
Many examples available showing YANG/NX-OS CLI
https://developer.cisco.com/docs/openconfig-yang-release-9-2x/#!ocni-bgp/ocni-bgp
• Try simple templated deployment (interfaces)
http://karneliuk.com/2018/07/openconfig-w-o-and-w-ansible-for-arista-eos-
cisco-ios-xr-and-nokia-sr-os-part-1-interfaces/
• Try same using YDK or NCClient, in Python
Additional thoughts
© Copyright 2019 Opengear, Inc. www.opengear.com 33
• The divide-and-conquer NETCONF strategy reflects what we’ve seen at
network operators and in large scale networks
• The “surgical” approach to configuration updates is
– Faster and less disruptive
– Allows for shared control of network devices (multi-tenant)
• Alternate approach is to distribute "complete" configuration files via tools
like Ansible, possibly generated from YANG models
– Reliable, whole-device 'restore'
• Ultimate end game is an Intent Based Network?
© Copyright 2019 Opengear, Inc. www.opengear.com 34

More Related Content

PDF
TIME Journey to the SPACE
PDF
MyIX Updates
PDF
Engineering The New IP Transport
PDF
Next Gen Monitoring with INT
PDF
RPKI and Me
PDF
Next Generation DDoS Services – can we do this with NFV? - CF Chui
PDF
12 (IDNOG02) SGIX and Singapore Internet Landscape by Kerk Chun Sing
PDF
NovoNet Vision and Operators' Perspective for ONAP
 
TIME Journey to the SPACE
MyIX Updates
Engineering The New IP Transport
Next Gen Monitoring with INT
RPKI and Me
Next Generation DDoS Services – can we do this with NFV? - CF Chui
12 (IDNOG02) SGIX and Singapore Internet Landscape by Kerk Chun Sing
NovoNet Vision and Operators' Perspective for ONAP
 

What's hot (20)

PDF
05 (IDNOG02) Technology to reserve the redundancy on the layer2 network by Sa...
PDF
High Speed Fiber Services and Challenges to the Core Network by Seiichi Kawamura
PDF
MyIX Updates
PDF
Prof. Danny Raz, Director, Bell Labs Israel, Nokia
PPTX
Game Changing Multilayer Networking - TNC 2017
PDF
MyIX Updates by Raja Mohan
PDF
Experience of Implementing IPTV in an ISP Network by Thong Hawk Yen
PDF
IPv6 Support at NEC CEs
PPTX
IPv6 deployment in Telekom Malaysia, PTC17
PDF
Software Defined RAN
PDF
How Data Center Traffic is Changing Your Network by KC Lim
PDF
WINS: Peering and IXPs
PDF
SP Routing Innovation with Segment Routing, VXLAN and EVPN - Ismail Ali
PDF
Five Trends Enabled by 5G that will Change Networking Forever
PDF
SDN-Based Enterprise Connectivity Service
PPTX
Colt inter-provider SDN NNIs and APIs
PDF
5G is more than a new radio - network slicing
PDF
100Gbps Core Network Deployment in an African Network - Mark Tinka
PDF
Design and deployment of optical white box
PDF
vCPE Challenges and Ways Forward
05 (IDNOG02) Technology to reserve the redundancy on the layer2 network by Sa...
High Speed Fiber Services and Challenges to the Core Network by Seiichi Kawamura
MyIX Updates
Prof. Danny Raz, Director, Bell Labs Israel, Nokia
Game Changing Multilayer Networking - TNC 2017
MyIX Updates by Raja Mohan
Experience of Implementing IPTV in an ISP Network by Thong Hawk Yen
IPv6 Support at NEC CEs
IPv6 deployment in Telekom Malaysia, PTC17
Software Defined RAN
How Data Center Traffic is Changing Your Network by KC Lim
WINS: Peering and IXPs
SP Routing Innovation with Segment Routing, VXLAN and EVPN - Ismail Ali
Five Trends Enabled by 5G that will Change Networking Forever
SDN-Based Enterprise Connectivity Service
Colt inter-provider SDN NNIs and APIs
5G is more than a new radio - network slicing
100Gbps Core Network Deployment in an African Network - Mark Tinka
Design and deployment of optical white box
vCPE Challenges and Ways Forward
Ad

Similar to The Path to a Programmable Network (20)

PDF
SDN in the Management Plane: OpenConfig and Streaming Telemetry
PDF
Model-driven Network Management
PDF
Kick starting Network Automation
PDF
OpenConfig: collaborating to enable programmable network management
PDF
Model-driven Network Automation
PDF
An open management plane (2015 Open Networking Summit)
PDF
Network Automation Journey, A systems engineer NetOps perspective
PDF
Open management interfaces for NFV
PPT
Cumulus networks - Overcoming traditional network limitations with open source
PDF
Introduction to Data Models & Cisco's NextGen Device Level APIs: an overview
PPTX
IoT System Management ppt SNMP simple network
PDF
Andy Davidson Automation Presentation from UKNOF 31
PPTX
SDN Demystified, by Dean Pemberton [APNIC 38]
PDF
Bringing SDN to the Management Plane
PPTX
DEVNET-1166 Open SDN Controller APIs
PPTX
IoT sysstem management.pptx for btech students
PPTX
Dynamic Service Configuration and Automated Network Configuration with NETCON...
PDF
SDN/OpenFlow #lspe
PDF
Devops For Networking Steven Armstrong Armstrong Steven
PPTX
FlowER Erlang Openflow Controller
SDN in the Management Plane: OpenConfig and Streaming Telemetry
Model-driven Network Management
Kick starting Network Automation
OpenConfig: collaborating to enable programmable network management
Model-driven Network Automation
An open management plane (2015 Open Networking Summit)
Network Automation Journey, A systems engineer NetOps perspective
Open management interfaces for NFV
Cumulus networks - Overcoming traditional network limitations with open source
Introduction to Data Models & Cisco's NextGen Device Level APIs: an overview
IoT System Management ppt SNMP simple network
Andy Davidson Automation Presentation from UKNOF 31
SDN Demystified, by Dean Pemberton [APNIC 38]
Bringing SDN to the Management Plane
DEVNET-1166 Open SDN Controller APIs
IoT sysstem management.pptx for btech students
Dynamic Service Configuration and Automated Network Configuration with NETCON...
SDN/OpenFlow #lspe
Devops For Networking Steven Armstrong Armstrong Steven
FlowER Erlang Openflow Controller
Ad

More from MyNOG (20)

PDF
MEASURING THE HEALTH AND RESILIENCE OF THE INTERNET: MALAYSIA
PDF
Malaysia’s Emerging Trends in Data Center: Identifying Tomorrow’s Hotspots
PDF
SHADOWSERVER: INTERNET CRITICAL SECURITY AS A PUBLIC SERVICE
PDF
Building a Connected Future: The Power of Interconnection
PDF
COHERENT OPTICAL TRANSCEIVERS – CURRENT CAPABILITIES AND FUTURE POSSIBILITIES
PDF
Strategies for Seamless Recovery in a Dynamic Data Landscape
PDF
SRv6: DEPLOYMENT & USECASES by Aditya Kaul
PDF
Peering Personal MyNOG-10
PDF
Embedded CDNs in 2023
PDF
Edge virtualisation for Carrier Networks
PDF
Equinix: New Markets, New Frontiers
PDF
Securing the Onion: 5G Cloud Native Infrastructure
PDF
Hierarchical Network Controller
PDF
Aether: The First Open Source 5G/LTE Connected Edge Cloud Platform
PDF
Cleaning up your RPKI invalids
PDF
Introducing Peering LAN 2.0 at DE-CIX
PDF
Load balancing and Service in Kubernetes
PDF
Cloud SDN: BGP Peering and RPKI
PDF
SDM – A New (Subsea) Cable Paradigm
PDF
AI in Networking: Transforming Network Operations with Juniper Mist AIDE
MEASURING THE HEALTH AND RESILIENCE OF THE INTERNET: MALAYSIA
Malaysia’s Emerging Trends in Data Center: Identifying Tomorrow’s Hotspots
SHADOWSERVER: INTERNET CRITICAL SECURITY AS A PUBLIC SERVICE
Building a Connected Future: The Power of Interconnection
COHERENT OPTICAL TRANSCEIVERS – CURRENT CAPABILITIES AND FUTURE POSSIBILITIES
Strategies for Seamless Recovery in a Dynamic Data Landscape
SRv6: DEPLOYMENT & USECASES by Aditya Kaul
Peering Personal MyNOG-10
Embedded CDNs in 2023
Edge virtualisation for Carrier Networks
Equinix: New Markets, New Frontiers
Securing the Onion: 5G Cloud Native Infrastructure
Hierarchical Network Controller
Aether: The First Open Source 5G/LTE Connected Edge Cloud Platform
Cleaning up your RPKI invalids
Introducing Peering LAN 2.0 at DE-CIX
Load balancing and Service in Kubernetes
Cloud SDN: BGP Peering and RPKI
SDM – A New (Subsea) Cable Paradigm
AI in Networking: Transforming Network Operations with Juniper Mist AIDE

Recently uploaded (20)

PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PDF
Sims 4 Historia para lo sims 4 para jugar
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PPTX
E -tech empowerment technologies PowerPoint
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PPTX
Digital Literacy And Online Safety on internet
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PDF
The Internet -By the Numbers, Sri Lanka Edition
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PPTX
Internet___Basics___Styled_ presentation
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
Sims 4 Historia para lo sims 4 para jugar
WebRTC in SignalWire - troubleshooting media negotiation
E -tech empowerment technologies PowerPoint
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
Module 1 - Cyber Law and Ethics 101.pptx
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Paper PDF World Game (s) Great Redesign.pdf
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
Slides PDF The World Game (s) Eco Economic Epochs.pdf
An introduction to the IFRS (ISSB) Stndards.pdf
Unit-1 introduction to cyber security discuss about how to secure a system
Digital Literacy And Online Safety on internet
introduction about ICD -10 & ICD-11 ppt.pptx
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
The Internet -By the Numbers, Sri Lanka Edition
522797556-Unit-2-Temperature-measurement-1-1.pptx
Job_Card_System_Styled_lorem_ipsum_.pptx
Internet___Basics___Styled_ presentation

The Path to a Programmable Network

  • 1. www.opengear.com© Copyright 2019 Opengear, Inc. 1 The Path to a Programmable Network Open Telemetry and Model-Driven Configuration David Leonard 4-Jul-2019 MyNOG-8, Kuala Lumpur
  • 2. © Copyright 2019 Opengear, Inc. www.opengear.com 2
  • 3. Overview © Copyright 2019 Opengear, Inc. www.opengear.com 3 • Motivation • Exciting news from the world of software development • Strategies for automation • Standards • Demo / teaser
  • 4. © Copyright 2019 Opengear, Inc. www.opengear.com 4 How it starts
  • 5. © Copyright 2019 Opengear, Inc. www.opengear.com 5 configure
  • 6. © Copyright 2019 Opengear, Inc. www.opengear.com 6 configure configure configure
  • 7. © Copyright 2019 Opengear, Inc. www.opengear.com 7 configure configure configure configureconfigure configure configure configure configure
  • 8. © Copyright 2019 Opengear, Inc. www.opengear.com 8 configure configure configure configureconfigure configure configure configure configure
  • 9. © Copyright 2019 Opengear, Inc. www.opengear.com 9 What have we wrought?
  • 10. Trouble with configuring via the CLI © Copyright 2019 Opengear, Inc. www.opengear.com 10 • Configs applied and maintained by hand • Vendor-specific syntax, ever-changing • Inconsistent configurations, unexplained special cases • Configurations are forgotten; until... reactive break-fix model • Workarounds: brute force, diligence, hard work, RANCID • Fragile scrapers break on upgrades • Human-oriented interfaces are for humans
  • 11. © Copyright 2019 Opengear, Inc. www.opengear.com 11 Manual control Controlled by software
  • 12. © Copyright 2019 Opengear, Inc. www.opengear.com 12 Combining the reliability of software with the low cost of network changes
  • 13. Exciting news from the world of software © Copyright 2019 Opengear, Inc. www.opengear.com 13 • Agile practices – Lighter but more intense teamwork • git + pull requests – collaborative text editing, focused review • CI/CD + tests + sandboxes – safety nets are safer • DevOps – the best tools and practices adopted by operations
  • 14. © Copyright 2019 Opengear, Inc. www.opengear.com 14 programmer
  • 15. © Copyright 2019 Opengear, Inc. www.opengear.com 15 configure configure configure configureconfigure configure configure configure configure 1:100
  • 16. © Copyright 2019 Opengear, Inc. www.opengear.com 16 program program program configure configure configure 1:100
  • 17. © Copyright 2019 Opengear, Inc. www.opengear.com 17 program program configure configure configure configure configure configure configure program 1:1000
  • 18. © Copyright 2019 Opengear, Inc. www.opengear.com 18 Strategies
  • 19. Pre-conditions for automation © Copyright 2019 Opengear, Inc. www.opengear.com 19 • Inventory: do you have good detail of all devices? • Requirements: business's expectation of function level; now & plans • Standards: which model/vocabulary to use in automation • Telemetry: feedback channels • Automation: control channels; tooling • Trust: get experience, confidently predict automation's behaviour • other: Budget, Stakeholders, Suppliers
  • 20. © Copyright 2019 Opengear, Inc. www.opengear.com 20 Provisioning Monitoring Security … Requirements ? ? ? ? Automation ? ? ? ? Telemetry ? ? ? ? Inventory ? ? ? ? Standards ? ? ? ? Suppliers ? ? ? ? Partners ? ? ? ? Budget ? ? ? ? Trust ? ? ? ?
  • 21. © Copyright 2019 Opengear, Inc. www.opengear.com 21 Standards
  • 22. IETF NETCONF © Copyright 2019 Opengear, Inc. www.opengear.com 22 • 2006 RPC-based protocol for configuring network devices • "SNMP done right" • Replaces CLI-based programmatic interfaces (perl/expect over SSH) • Installs, manipulates configuration • Can validate config before activation • Atomic commit/transaction across multiple devices • Structured message and errors (XML/JSON)
  • 23. NETCONF: XML over SSH © Copyright 2019 Opengear, Inc. www.opengear.com 23 $ ssh -oHostKeyAlgorithms=+ssh-dss root@ios-xe-mgmt.cisco.com -p 10000 -s netconf S: <hello> <capabilities> … </capabilities> </hello> ]]>]]> C: <hello> <capabilities> … </capabilities> </hello>
  • 24. NETCONF: XML over SSH (continued) © Copyright 2019 Opengear, Inc. www.opengear.com 24 C: <rpc> <get-config> <source><running/></source> </get-config> </rpc> S: <rpc-reply> <data> <interfaces><interface> <name>eth0</name> <enabled>true<… </interfaces> </data> </rpc-reply> ]]>]]>
  • 25. NETCONF landscape © Copyright 2019 Opengear, Inc. www.opengear.com 25 • YANG – the modeling language for NETCONF – like MIBs' ASN.1 notation – IETF provides some basic models, eg RFC8343 "ietf-interfaces" • NETCONF – the client-server protocol – NETCONF: sends XML over SSH – RESTCONF: sends XML or JSON over HTTP • OpenConfig – the community – a group of carriers and vendors sharing their YANG models – more than just "vendor MIBs" (called native models)
  • 26. Where to get YANG models © Copyright 2019 Opengear, Inc. www.opengear.com 26 • yangcatalog.org – https://github.com/YangModels/yang (yangcatalog.org) • openconfig.org – https://github.com/openconfig/public • https://github.com/Juniper/yang
  • 27. © Copyright 2019 Opengear, Inc. www.opengear.com 27 Demo – Getting Started
  • 28. © Copyright 2019 Opengear, Inc. www.opengear.com 28
  • 29. © Copyright 2019 Opengear, Inc. www.opengear.com 29 Summary
  • 30. © Copyright 2019 Opengear, Inc. www.opengear.com 30
  • 31. © Copyright 2019 Opengear, Inc. www.opengear.com 31 Suggested approach: • Get familiar with the OpenConfig models, eg BGP. Many examples available showing YANG/NX-OS CLI https://developer.cisco.com/docs/openconfig-yang-release-9-2x/#!ocni-bgp/ocni-bgp • Try simple templated deployment (interfaces) http://karneliuk.com/2018/07/openconfig-w-o-and-w-ansible-for-arista-eos- cisco-ios-xr-and-nokia-sr-os-part-1-interfaces/ • Try same using YDK or NCClient, in Python
  • 32. Additional thoughts © Copyright 2019 Opengear, Inc. www.opengear.com 33 • The divide-and-conquer NETCONF strategy reflects what we’ve seen at network operators and in large scale networks • The “surgical” approach to configuration updates is – Faster and less disruptive – Allows for shared control of network devices (multi-tenant) • Alternate approach is to distribute "complete" configuration files via tools like Ansible, possibly generated from YANG models – Reliable, whole-device 'restore' • Ultimate end game is an Intent Based Network?
  • 33. © Copyright 2019 Opengear, Inc. www.opengear.com 34