Upload
others
View
20
Download
0
Embed Size (px)
Citation preview
NetworkProgramming&Automation
JasonEdelman
CCIE15394
Twitter:@jedelman8
Blog:jedelman.com
WhyNetworkAutomation?
Really?
TypesNetworkAutomationDeviceCompliance
DataCollection
Reporting
ConfigurationManagement
GettingStartedWhatareouroptions?
NativeProgramming
OpenSourceTools
CommercialTools
Thinkstothinkabout:
Support
Control
Extensibility
Onemorething...
BetheAutomatorandnottheAutomated
LiveDemosTonight,wewillseethreemini-demos:
AutomatedCableVerificationofJunosvMXDevicesusingAnsible
PushingBGPconfigurationleveragingabasicOpenConfigBGPmodeltoIOS-XRvwithAnsible
QuicklookintoRESTCONFonCiscoIOS-XEonCSR1000V
Takeadvantageofvirtualnetworkappliances
BeforetheDemos
Whataretheseterms,tech,andtools?
AnsibleOpensourcetoolbyRedHat
Lowestbarriertoentryforautomation
Greatfornetworkandsystemsautomation
SupportsIOS,XR,Junos,Cumulus,EOS,andmoreoutofthebox
OpenConfigOpenConfigWorkingGroup(WG)-Workinggroupdevelopingvendorneutraldatamodels.HereisthesampleBGPmodelbeingusedinthedemo:
<config><bgpxmlns="http://openconfig.net/yang/bgp"nc:operation=create><global><config><as>65512</as><router-id>100.1.1.1</router-id></config></global></bgp></config>
Unfortunately,thereisonlyonedevicecurrentlyOC-BGPthatispubliclyavailable(IOS-XR).Othervendorsand/orplatformsshouldsupportitsoon.Tonight'sdemowilluseIOS-XRv
PostmanChromeplug-inforworkingwithwebbased(HTTP)APIs,i.e.RESTAPI
It'llbeeasiertoseeinaction!
DemoTime
ReferencesSlidesandplaybooksforthispresentationincludingtheOCBGPAnsiblemodule:
https://github.com/networktocode/inog9
TutorialsonNetworktoCode-http://networktocode.com/products/labs/tutorials/
Courses(Public&Private)-http://networktocode.com/products/training/
NetworkAutomationBook-MattOswalt,ScottLowe,andJasonEdelman
SlackTeamdedicatedtoNetworkAutomation-selfsignupslack.networktocode.com
Channelsinclude#ansible,#napalm,#netmiko,#trigger,#nsotforopensourceprojects(justtonameafew).Vendorchannelstoo.
1000+membersandgrowing
Andremember,BetheAutomator.. .nottheautomated