SlideShare a Scribd company logo
1 of 21
v
Automating Networking!
Do I Have to Start at Ground Zero?
Gerard Chami - Technical Support Engineer
Me!
2
Gerard Chami
Technical Support Engineer
gchami@cumulusnetworks.com
Twitter: @gerardchami
github: https://github.com/gchami
What is Cumulus Linux?
3
BIOS and PXE
Industry Standard Server
SERVER OS
NETWORK OS
Boot Loader and
Industry Standard Switch
cumulusnetworks.com
UserSpaceArchitecture– Cumulus Linux Operating System as a Platform
4
Switch
Driver
switchd
CPU, RAM, Flash, etc.
Routing Tables
ARP
Table
Bridge
Table
Ethernet
Interfaces
LinuxKernel
Automation Monitoring
Third Party/Customer Applications
Network Orchestration
Routing
Suite
Bridging VXLAN
Switch Silicon
Front Panel Ports
cumulusnetworks.com
But Why should we care?
Your choice of a network OS!
Provides Hardware Choice
Build and Automate on a Linux OS
Oh and its just Linux!
Treat my switch as a server!
Cumulus Networks
▪ Infrastructure as code
▪ Enforcement from central
location
▪ Easy change control
Configuration ManagementHot Swap the Whole Switch
▪ With automation the whole
switch can be replaced
and provisioned
▪ High capacity, fine-grained
failure domain
▪ Weeks and months now
take seconds
▪ Pods of equipment can be
stamped out in multiple
locations
Rapid Provisioning
6
NetDevOps: The 90’s called, they want their frosted tips back!
OBM OBM OBM
7
Where do we start?
cumulusnetworks.com
The Obvious (or is it?)
Git!….Check out our Github for examples!
https://github.com/CumulusNetworks
Cumulus Workbench - See this in action!
Puppet Forge - Cumulus Linux Modules + Debian
modules
Cumulus VX - Play, Test, Develop and deploy on the free
virtual machines
NetDevOps - We will get there!
cumulusnetworks.com
Bringing it all together!
Task 1: Installing and booting a Network OS
Task 2: Installing Puppet Agent
cumulusnetworks.com
ONIE – Open Network Install Environment
Modern, efficient installer
Network OS installer
• Discovery, transfer, and execution
• Implemented through Linux kernel with BusyBox (OpenWRT-
like)
Industry support
Enables open network hardware ecosystem
Open source
Well-documented
• http://www.onie.org/
10
cumulusnetworks.com
Zero Touch Provisioning
Automation option at first Cumulus Linux boot
Request DHCP lease on management network
If option 239 and URL in response, then:
• Request contents of script at URL
• Parse script for CUMULUS-AUTOPROVISIONING
• Execute script locally on switch as root (unless previously successfully
run)
Supported languages
Bash
Perl
Python
Ruby
11
If eth0 is set to DHCP, Zero Touch Provisioning can be
triggered (unless previously successful run) when:
• Switch boots up
• eth0 is brought down and up
cumulusnetworks.com
ONIE and ZTP Interaction
12
DHCP Request with ONIE Option
DHCP Address with URL for OS Image
DHCP Request with ZTP Option
DHCP Address with ZTP script URL
Pull Puppet Scripts
OS BootedOS Booted
Baseline Configuration AppliedBaseline Configuration Applied
Device Specific Configuration AppliedDevice Specific Configuration Applied
cumulusnetworks.com
Bringing it all together!
Task 1 => Installing and booting a Network OS
Task 2 => Installing Puppet Agent
Task 3 => Now What????
cumulusnetworks.com
What are we automating!?!
Our desired state - Without touching the switch!
15
Install the OS
ZTP Provisioning
Install Puppet agent
Configure MOTD
Configure PTM
Configure interfaces
Configure SVI
Deploy OSPF
Deploy Bridges
Modules can be your friends
cumuluslinux/cumulus_interfaces
cumuluslinux/cumulus_interface_policy
cumuluslinux/cumulus_license
cumuluslinux/cumulus_ports
16
Cumulus Networks
Demo Time
17
18
Install the OS
ZTP Provisioning
Install Puppet agent
Configure MOTD
Configure PTM
Configure interfaces
Configure SVI
Deploy OSPF
Deploy Bridges
Our desired state - Without touching the switch!
Cumulus Networks 19
Cumulus VX
Want to learn networking?
No Cumulus Switches? No Problem!
Cumulus Networks
Questions
20
© 2014 Cumulus Networks. Cumulus Networks, the Cumulus Networks Logo, and Cumulus Linux are trademarks or registered trademarks of Cumulus Networks, Inc. or its affiliates
in the U.S. and other countries. Other names may be trademarks of their respective owners. The registered trademark Linux® is used pursuant to a sublicense from LMI, the
exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.
Thank You!
21

More Related Content

What's hot

Control-with-Ansible-Tower
Control-with-Ansible-TowerControl-with-Ansible-Tower
Control-with-Ansible-Tower
Mark Costin
 
Windows Configuration Management: Managing Packages, Services, & Power Shell-...
Windows Configuration Management: Managing Packages, Services, & Power Shell-...Windows Configuration Management: Managing Packages, Services, & Power Shell-...
Windows Configuration Management: Managing Packages, Services, & Power Shell-...
Puppet
 

What's hot (20)

Control-with-Ansible-Tower
Control-with-Ansible-TowerControl-with-Ansible-Tower
Control-with-Ansible-Tower
 
Infrastructure and Compliance Delight with Chef Automate
Infrastructure and Compliance Delight with Chef AutomateInfrastructure and Compliance Delight with Chef Automate
Infrastructure and Compliance Delight with Chef Automate
 
DevOpsDays Singapore - Continuous Auditing with Compliance as Code
DevOpsDays Singapore - Continuous Auditing with Compliance as CodeDevOpsDays Singapore - Continuous Auditing with Compliance as Code
DevOpsDays Singapore - Continuous Auditing with Compliance as Code
 
Windows Configuration Management: Managing Packages, Services, & Power Shell-...
Windows Configuration Management: Managing Packages, Services, & Power Shell-...Windows Configuration Management: Managing Packages, Services, & Power Shell-...
Windows Configuration Management: Managing Packages, Services, & Power Shell-...
 
Introduction to Puppet Enterprise 2016.4
Introduction to Puppet Enterprise 2016.4Introduction to Puppet Enterprise 2016.4
Introduction to Puppet Enterprise 2016.4
 
Chef Automate Workflow Demo
Chef Automate Workflow DemoChef Automate Workflow Demo
Chef Automate Workflow Demo
 
WinOps Conf 2016 - Michael Greene - Release Pipelines
WinOps Conf 2016 - Michael Greene - Release PipelinesWinOps Conf 2016 - Michael Greene - Release Pipelines
WinOps Conf 2016 - Michael Greene - Release Pipelines
 
SaltConf14 - Brendan Burns, Google - Management at Google Scale
SaltConf14 - Brendan Burns, Google - Management at Google ScaleSaltConf14 - Brendan Burns, Google - Management at Google Scale
SaltConf14 - Brendan Burns, Google - Management at Google Scale
 
Puppet overview
Puppet overviewPuppet overview
Puppet overview
 
Nike popup compliance workshop
Nike popup compliance workshopNike popup compliance workshop
Nike popup compliance workshop
 
What's New in Puppet Enterprise 2016.5
What's New in Puppet Enterprise 2016.5What's New in Puppet Enterprise 2016.5
What's New in Puppet Enterprise 2016.5
 
What's New in Puppet Enterprise 2016.4
What's New in Puppet Enterprise 2016.4What's New in Puppet Enterprise 2016.4
What's New in Puppet Enterprise 2016.4
 
Controlled Evolution with Puppet and AWS
Controlled Evolution with Puppet and AWSControlled Evolution with Puppet and AWS
Controlled Evolution with Puppet and AWS
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
 
WinOps Conf 2016 - Jeffrey Snover - The DevOpsification of Windows Server
WinOps Conf 2016 - Jeffrey Snover - The DevOpsification of Windows ServerWinOps Conf 2016 - Jeffrey Snover - The DevOpsification of Windows Server
WinOps Conf 2016 - Jeffrey Snover - The DevOpsification of Windows Server
 
Ansible Tower | Docker | Cisco ACI
Ansible Tower | Docker | Cisco ACIAnsible Tower | Docker | Cisco ACI
Ansible Tower | Docker | Cisco ACI
 
Chef Workflow Demo
Chef Workflow DemoChef Workflow Demo
Chef Workflow Demo
 
Splunk: Forward me the REST of those shells
Splunk: Forward me the REST of those shellsSplunk: Forward me the REST of those shells
Splunk: Forward me the REST of those shells
 
Continuous integration
Continuous integrationContinuous integration
Continuous integration
 
Packer, Terraform, Ansible avec Azure
Packer, Terraform, Ansible avec AzurePacker, Terraform, Ansible avec Azure
Packer, Terraform, Ansible avec Azure
 

Similar to Automating Networking! Do I Have to Start at Ground Zero?

ONIE / Cumulus Networks Webinar
ONIE / Cumulus Networks WebinarONIE / Cumulus Networks Webinar
ONIE / Cumulus Networks Webinar
Cumulus Networks
 
ccna 1 chapter 2 v5.0 exam answers 2014
ccna 1 chapter 2 v5.0 exam answers 2014ccna 1 chapter 2 v5.0 exam answers 2014
ccna 1 chapter 2 v5.0 exam answers 2014
Đồng Quốc Vương
 
Puppet Camp Charlotte 2015: Manage Your Switches Like Servers
Puppet Camp Charlotte 2015: Manage Your Switches Like ServersPuppet Camp Charlotte 2015: Manage Your Switches Like Servers
Puppet Camp Charlotte 2015: Manage Your Switches Like Servers
Puppet
 
What_s_New_in_OpenShift_Container_Platform_4.6.pdf
What_s_New_in_OpenShift_Container_Platform_4.6.pdfWhat_s_New_in_OpenShift_Container_Platform_4.6.pdf
What_s_New_in_OpenShift_Container_Platform_4.6.pdf
chalermpany
 

Similar to Automating Networking! Do I Have to Start at Ground Zero? (20)

The Switch as a Server - PuppetConf 2014
The Switch as a Server - PuppetConf 2014The Switch as a Server - PuppetConf 2014
The Switch as a Server - PuppetConf 2014
 
Switch as a Server - PuppetConf 2014 - Leslie Carr
Switch as a Server - PuppetConf 2014 - Leslie CarrSwitch as a Server - PuppetConf 2014 - Leslie Carr
Switch as a Server - PuppetConf 2014 - Leslie Carr
 
ONIE / Cumulus Networks Webinar
ONIE / Cumulus Networks WebinarONIE / Cumulus Networks Webinar
ONIE / Cumulus Networks Webinar
 
ONIE LinuxCon 2015
ONIE LinuxCon 2015ONIE LinuxCon 2015
ONIE LinuxCon 2015
 
OSDC 2014: Nat Morris - Open Network Install Environment
OSDC 2014: Nat Morris - Open Network Install EnvironmentOSDC 2014: Nat Morris - Open Network Install Environment
OSDC 2014: Nat Morris - Open Network Install Environment
 
OSDC 2014 ONIE by Nat Morris
OSDC 2014 ONIE by Nat MorrisOSDC 2014 ONIE by Nat Morris
OSDC 2014 ONIE by Nat Morris
 
ONIE: Open Network Install Environment @ OSDC 2014 Netways, Berlin
ONIE: Open Network Install Environment @ OSDC 2014 Netways, BerlinONIE: Open Network Install Environment @ OSDC 2014 Netways, Berlin
ONIE: Open Network Install Environment @ OSDC 2014 Netways, Berlin
 
ccna 1 chapter 2 v5.0 exam answers 2014
ccna 1 chapter 2 v5.0 exam answers 2014ccna 1 chapter 2 v5.0 exam answers 2014
ccna 1 chapter 2 v5.0 exam answers 2014
 
Puppet Camp Charlotte 2015: Manage Your Switches Like Servers
Puppet Camp Charlotte 2015: Manage Your Switches Like ServersPuppet Camp Charlotte 2015: Manage Your Switches Like Servers
Puppet Camp Charlotte 2015: Manage Your Switches Like Servers
 
Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Hardware accelerated switching with Linux @ SWLUG Talks May 2014Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Hardware accelerated switching with Linux @ SWLUG Talks May 2014
 
Automação do físico ao NetSecDevOps
Automação do físico ao NetSecDevOpsAutomação do físico ao NetSecDevOps
Automação do físico ao NetSecDevOps
 
PLNOG16: ZTP – Zero Touch Provisioning in use, Marek Plaza
PLNOG16: ZTP – Zero Touch Provisioning in use, Marek PlazaPLNOG16: ZTP – Zero Touch Provisioning in use, Marek Plaza
PLNOG16: ZTP – Zero Touch Provisioning in use, Marek Plaza
 
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
 
Automation day red hat ansible
   Automation day red hat ansible    Automation day red hat ansible
Automation day red hat ansible
 
Webinar: Agile Network Deployment
Webinar: Agile Network DeploymentWebinar: Agile Network Deployment
Webinar: Agile Network Deployment
 
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStackAutomated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
 
What_s_New_in_OpenShift_Container_Platform_4.6.pdf
What_s_New_in_OpenShift_Container_Platform_4.6.pdfWhat_s_New_in_OpenShift_Container_Platform_4.6.pdf
What_s_New_in_OpenShift_Container_Platform_4.6.pdf
 
Ltsp
LtspLtsp
Ltsp
 
Manage your switches like servers
Manage your switches like serversManage your switches like servers
Manage your switches like servers
 
Open Networking for Your OpenStack
Open Networking for Your OpenStackOpen Networking for Your OpenStack
Open Networking for Your OpenStack
 

More from Puppet

Puppet camp2021 testing modules and controlrepo
Puppet camp2021 testing modules and controlrepoPuppet camp2021 testing modules and controlrepo
Puppet camp2021 testing modules and controlrepo
Puppet
 
2021 04-15 operational verification (with notes)
2021 04-15 operational verification (with notes)2021 04-15 operational verification (with notes)
2021 04-15 operational verification (with notes)
Puppet
 
Enforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automationEnforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automation
Puppet
 

More from Puppet (20)

Puppet camp2021 testing modules and controlrepo
Puppet camp2021 testing modules and controlrepoPuppet camp2021 testing modules and controlrepo
Puppet camp2021 testing modules and controlrepo
 
Puppetcamp r10kyaml
Puppetcamp r10kyamlPuppetcamp r10kyaml
Puppetcamp r10kyaml
 
2021 04-15 operational verification (with notes)
2021 04-15 operational verification (with notes)2021 04-15 operational verification (with notes)
2021 04-15 operational verification (with notes)
 
Puppet camp vscode
Puppet camp vscodePuppet camp vscode
Puppet camp vscode
 
Modules of the twenties
Modules of the twentiesModules of the twenties
Modules of the twenties
 
Applying Roles and Profiles method to compliance code
Applying Roles and Profiles method to compliance codeApplying Roles and Profiles method to compliance code
Applying Roles and Profiles method to compliance code
 
KGI compliance as-code approach
KGI compliance as-code approachKGI compliance as-code approach
KGI compliance as-code approach
 
Enforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automationEnforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automation
 
Keynote: Puppet camp compliance
Keynote: Puppet camp complianceKeynote: Puppet camp compliance
Keynote: Puppet camp compliance
 
Automating it management with Puppet + ServiceNow
Automating it management with Puppet + ServiceNowAutomating it management with Puppet + ServiceNow
Automating it management with Puppet + ServiceNow
 
Puppet: The best way to harden Windows
Puppet: The best way to harden WindowsPuppet: The best way to harden Windows
Puppet: The best way to harden Windows
 
Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020
 
Accelerating azure adoption with puppet
Accelerating azure adoption with puppetAccelerating azure adoption with puppet
Accelerating azure adoption with puppet
 
Puppet catalog Diff; Raphael Pinson
Puppet catalog Diff; Raphael PinsonPuppet catalog Diff; Raphael Pinson
Puppet catalog Diff; Raphael Pinson
 
ServiceNow and Puppet- better together, Kevin Reeuwijk
ServiceNow and Puppet- better together, Kevin ReeuwijkServiceNow and Puppet- better together, Kevin Reeuwijk
ServiceNow and Puppet- better together, Kevin Reeuwijk
 
Take control of your dev ops dumping ground
Take control of your  dev ops dumping groundTake control of your  dev ops dumping ground
Take control of your dev ops dumping ground
 
100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy Software100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy Software
 
Puppet User Group
Puppet User GroupPuppet User Group
Puppet User Group
 
Continuous Compliance and DevSecOps
Continuous Compliance and DevSecOpsContinuous Compliance and DevSecOps
Continuous Compliance and DevSecOps
 
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick MaludyThe Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

Automating Networking! Do I Have to Start at Ground Zero?

  • 1. v Automating Networking! Do I Have to Start at Ground Zero? Gerard Chami - Technical Support Engineer
  • 2. Me! 2 Gerard Chami Technical Support Engineer gchami@cumulusnetworks.com Twitter: @gerardchami github: https://github.com/gchami
  • 3. What is Cumulus Linux? 3 BIOS and PXE Industry Standard Server SERVER OS NETWORK OS Boot Loader and Industry Standard Switch
  • 4. cumulusnetworks.com UserSpaceArchitecture– Cumulus Linux Operating System as a Platform 4 Switch Driver switchd CPU, RAM, Flash, etc. Routing Tables ARP Table Bridge Table Ethernet Interfaces LinuxKernel Automation Monitoring Third Party/Customer Applications Network Orchestration Routing Suite Bridging VXLAN Switch Silicon Front Panel Ports
  • 5. cumulusnetworks.com But Why should we care? Your choice of a network OS! Provides Hardware Choice Build and Automate on a Linux OS Oh and its just Linux! Treat my switch as a server!
  • 6. Cumulus Networks ▪ Infrastructure as code ▪ Enforcement from central location ▪ Easy change control Configuration ManagementHot Swap the Whole Switch ▪ With automation the whole switch can be replaced and provisioned ▪ High capacity, fine-grained failure domain ▪ Weeks and months now take seconds ▪ Pods of equipment can be stamped out in multiple locations Rapid Provisioning 6 NetDevOps: The 90’s called, they want their frosted tips back! OBM OBM OBM
  • 7. 7 Where do we start?
  • 8. cumulusnetworks.com The Obvious (or is it?) Git!….Check out our Github for examples! https://github.com/CumulusNetworks Cumulus Workbench - See this in action! Puppet Forge - Cumulus Linux Modules + Debian modules Cumulus VX - Play, Test, Develop and deploy on the free virtual machines NetDevOps - We will get there!
  • 9. cumulusnetworks.com Bringing it all together! Task 1: Installing and booting a Network OS Task 2: Installing Puppet Agent
  • 10. cumulusnetworks.com ONIE – Open Network Install Environment Modern, efficient installer Network OS installer • Discovery, transfer, and execution • Implemented through Linux kernel with BusyBox (OpenWRT- like) Industry support Enables open network hardware ecosystem Open source Well-documented • http://www.onie.org/ 10
  • 11. cumulusnetworks.com Zero Touch Provisioning Automation option at first Cumulus Linux boot Request DHCP lease on management network If option 239 and URL in response, then: • Request contents of script at URL • Parse script for CUMULUS-AUTOPROVISIONING • Execute script locally on switch as root (unless previously successfully run) Supported languages Bash Perl Python Ruby 11 If eth0 is set to DHCP, Zero Touch Provisioning can be triggered (unless previously successful run) when: • Switch boots up • eth0 is brought down and up
  • 12. cumulusnetworks.com ONIE and ZTP Interaction 12 DHCP Request with ONIE Option DHCP Address with URL for OS Image DHCP Request with ZTP Option DHCP Address with ZTP script URL Pull Puppet Scripts OS BootedOS Booted Baseline Configuration AppliedBaseline Configuration Applied Device Specific Configuration AppliedDevice Specific Configuration Applied
  • 13. cumulusnetworks.com Bringing it all together! Task 1 => Installing and booting a Network OS Task 2 => Installing Puppet Agent Task 3 => Now What????
  • 15. Our desired state - Without touching the switch! 15 Install the OS ZTP Provisioning Install Puppet agent Configure MOTD Configure PTM Configure interfaces Configure SVI Deploy OSPF Deploy Bridges
  • 16. Modules can be your friends cumuluslinux/cumulus_interfaces cumuluslinux/cumulus_interface_policy cumuluslinux/cumulus_license cumuluslinux/cumulus_ports 16
  • 18. 18 Install the OS ZTP Provisioning Install Puppet agent Configure MOTD Configure PTM Configure interfaces Configure SVI Deploy OSPF Deploy Bridges Our desired state - Without touching the switch!
  • 19. Cumulus Networks 19 Cumulus VX Want to learn networking? No Cumulus Switches? No Problem!
  • 21. © 2014 Cumulus Networks. Cumulus Networks, the Cumulus Networks Logo, and Cumulus Linux are trademarks or registered trademarks of Cumulus Networks, Inc. or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners. The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis. Thank You! 21

Editor's Notes

  1. Up until now their has not been a hardware agnostic Network operating system. Cumulus Networks is here to change that. Beyond that we see incredible power in allowing the same sort of choice in applications as we've previously highlighted in hardware. Cumulus Linux is Debian based Linux distribution. Wheezy distribution. This allows customers to draw from the existing ecosystems of Linux tool sets. This is an overview of the applications you can run on a Linux network OS. For example there is a very good routing stack called Quagga. We’ve taken Quagga, added additional features where required, fixed scaling issues and generaly hardened this routing stack. Like a good Linux systems we’ve up streamed all these improvements back to the Linux community at large. But in the interest of choice, if you prefer the routing capability of a different routing stack….for example Bird, you are free to use this as well. You have the choice to tune our Network Operating Stack to your requirements with our without our help. Propreietary vendors and several Linux based hardware vendors Many of the other network vendors claim to be interoperable with Linux tools….take puppet as an example. But, their Puppet agent is not the standard full featured current release from Puppet, it’s a vendor spefic agent tied to a specific puppet version that allows for limited functionality dictated by the networking vendor. This a proof point that highlight the difference between a Linux based OS and native At Cumulus Linux we are enablers not gate keepers.
  2. Once you understand the power of choice and solutions brought about by Cumulus Linux, the next step is to integrate Cumulus Linux into brownfield and greenfield architectures. IP Fabrics are the most flexible network architectures when it comes to high capacity, scale and evolution. Enables Scale-out architecture Easy to configure and troubleshoot Easy to add new racks Standard OSPF/BGP – helps with interoperability Can be used as an underlay in conjunction with Network Virtualization Overlays Network Virtualization Overlays add additional flexibility Flexible Virtual Network Scalable, Multi-tenant Integrated with Cloud Orchestration tools Yet, they need a simple migration path coexistent with their existing network architecture CL2.5 brings the flexibility of L2MLAG network architectures CL2.5 brings the flexibility of L2MLAG network architectures. Customers can now drop in a networking hardware running Cumulus Linux in existing environments and migrate at their pace and based on the needs to Modern DC networks. FHRP, Improved Linux-bridging and ifupdown2 integration for required L2 fabrics, L2 scale
  3. Starting with that “loading dock to production” model, let’s begin with the first piece of software that is encountered - ONIE Cumulus supported platforms are pre loaded with ONIE, this an open source boot loader originally built by Cumulus engineers This can be considered PXE on steroids, it was built to be flexible enough for a number of management environments. If you’re familiar with OpenWRT, ONIE is very much a stripped down but fully functional Linux OS The code base was recently adopted by the Open Compute Project and has extensive documentation
  4. All traditional network operating systems have some level of automated initial configuration fetching. This is usually limited towards pushing a well crafted configuration file Cumulus Linux takes a different approach, similar to a post kickstart script or fai helper script This implementation closely follows the ONIE model: fetching a script over the management interface and executing Cumulus Linux offers several common scripting languages – pre installed, all of which are available for ZTP script to be written against Just as with ONIE, state is preserved. If the ZTP script fails or doesn’t complete, it will be fetched on the next system boot.