《扩展 CML:改造失落之城.pdf》由会员分享,可在线阅读,更多相关《扩展 CML:改造失落之城.pdf(25页珍藏版)》请在三个皮匠报告上搜索。
1、#CiscoLive#CiscoLiveQuinn Snyder|Technical Advocate,Cisco Learning and CertificationsqsnyderDEVNET-3008Terraforming the Lost CityExtending CML 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveEnter your personal notes hereCisco Webex App Questions?Use Cisco Webex App to cha
2、t with the speaker after the sessionFind this session in the Cisco Live Mobile AppClick“Join the Discussion”Install the Webex App or go directly to the Webex spaceEnter messages/questions in the Webex spaceHowWebex spaces will be moderated by the speaker until June 9,2023.12343https:/ 2023 Cisco and
3、/or its affiliates.All rights reserved.Cisco PublicDEVNET-3008Agenda 2023 Cisco and/or its affiliates.All rights reserved.Cisco PublicIntroductionCurrent state of pipelinesAbstracting complexity with OTS appsTools of the tradeDemoConclusionDEVNET-30084The current state of pipelines 2023 Cisco and/or
4、 its affiliates.All rights reserved.Cisco Public#CiscoLiveThe Progression of Network Automation(so far)APIs(Postman)SDKs(Python,Go)CI/CDPipelineSourceControlIaC Tools(Ansible,TF)DEVNET-30086 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveInfrastructure as Code(IaC)What/Wh
5、y/HowAutomate the provisioning and management of the technology stackTranslate manual tasks into reusable,robust,distributable codeRely on practices that have been successfully used for years in software development(version control,automated testing,release tagging,continuous delivery,etc.)Benefits:
6、much higher delivery speed;significant reliability boostDEVNET-30087 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveThe Infrastructure as Code journeyThis is very non-trivial to createDEVNET-30088UserCodeInfrastructureSourceControlPipelineEngineCloudFabrics 2023 Cisco and
7、/or its affiliates.All rights reserved.Cisco Public#CiscoLiveTypical pipeline functionsLinting of source codeDeploy to test/dev/QA environmentValidation of test environment functionalityDeploy to production environmentValidation of production environmentDEVNET-30089 2023 Cisco and/or its affiliates.
8、All rights reserved.Cisco Public#CiscoLiveThats a lot of YAML-wrapped-bashDEVNET-300810Abstracting complexity with OTS apps 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveWhat does this abstraction provide?Prebuilt apps perform actions using driver from IaC filesCommon“bo
9、iler plate”services(linting,validation)can be handled by appIntegrates using open methods(webhooks,access tokens)to connect SCM to app and build server-BUT Typical OTS platforms require specific tooling/code/etc;loss of flexibilityDEVNET-300812 2023 Cisco and/or its affiliates.All rights reserved.Ci
10、sco Public#CiscoLiveOur YAML-bash becomesCodeSourceControlDEVNET-300813Tools of the trade 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveTerraformOpen-source infrastructure provisioning toolCommercial support from HashiCorpDeclarative and idempotentImmutable infrastructur
11、e conceptCan manage a wide range of systems:VMs,network devices,cloud instances,etc.Agentless,single binary fileZero server-side dependenciesDEVNET-300815 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveAtlantis(runatlantis.io)Open-source tool to automate Terraform workflo
12、ws using SCM PRsConnects to SCM using webhooks,comments results of plan,apply,import into PRRuns locally(Go binary or Docker container);no commit of credentials to SCMAll history logged,full collaboration and visibility amongst teamsDEVNET-300816 2023 Cisco and/or its affiliates.All rights reserved.
13、Cisco Public#CiscoLiveCML2IYKYKAPI-driven VNF topology builder and simulation softwareIncludes support for Ansible,TerraformSandboxen available on DevNetYoure already using it to study,why not study more with it?DEVNET-300817DemoBringing it all together 2023 Cisco and/or its affiliates.All rights re
14、served.Cisco Public#CiscoLiveIn conclusionhttps:/ code is nextdoorContains sample code,scripts,etc to help bootstrap your Atlantis installIncludes README with cross-links to other software as appropriateDEVNET-300820 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveFill out
15、 your session surveys!Attendees who fill out a minimum of four session surveys and the overall event survey will get Cisco Live-branded socks(while supplies last)!These points help you get on the leaderboard and increase your chances of winning daily and grand prizesAttendees will also earn 100 poin
16、ts in the Cisco Live Challenge for every survey completed.DEVNET-300821 2023 Cisco and/or its affiliates.All rights reserved.Cisco PublicContinue your educationVisit the Cisco Showcase for related demosBook your one-on-oneMeet the Engineer meetingAttend the interactive education with DevNet,Capture
17、the Flag,and Walk-in LabsVisit the On-Demand Library for more sessions at www.CiscoL you#CiscoLive 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLive24Gamify your Cisco Live experience!Get points Get points for attending this session!for attending this session!Open the Cisco Events App.Click on Cisco Live Challenge in the side menu.Click on View Your Badges at the top.Click the+at the bottom of the screen and scan the QR code:How:123424 2023 Cisco and/or its affiliates.All rights reserved.Cisco PublicDEVNET-3008#CiscoLive