5. • zapis imperatywny vs. deklaratywny
• odpowiada na pytanie: co? nie: jak?
• peer review
• druga para oczu
• automatyzacja
• dostarczania zmian, alternatywa: nocne okna
• testowania - testy jednostkowe, testy funkcjonalne
• CI pipelines - propagowanie zmian na środowiska
• dobre praktyki programistyczne
• feature branches
• FMEA, Post-mortems
11. IOS
ios_command – Run commands on remote devices running Cisco IOS
ios_config – Manage Cisco IOS configuration sections
ios_facts – Collect facts from remote devices running Cisco IOS
ios_l2_interface – Manage Layer-2 interface on Cisco IOS devices.
ios_l3_interface – Manage Layer-3 interfaces on Cisco IOS network devices.
ios_ping – Tests reachability using ping from Cisco IOS network devices
ios_static_route – Manage static IP routes on Cisco IOS network devices
ios_vlan – Manage VLANs on IOS network devices
ios_vrf – Manage the collection of VRF definitions on Cisco IOS devices
12. JunOS
junos_command – Run arbitrary commands on an Juniper JUNOS device
junos_config – Manage configuration on devices running Juniper JUNOS
junos_facts – Collect facts from remote devices running Juniper Junos
junos_l2_interface – Manage Layer-2 interface on Juniper JUNOS network devices
junos_l3_interface – Manage L3 interfaces on Juniper JUNOS network devices
junos_package – Installs packages on remote devices running Junos
junos_static_route – Manage static IP routes on Juniper JUNOS network devices
junos_vlan – Manage VLANs on Juniper JUNOS network devices
junos_vrf – Manage the VRF definitions on Juniper JUNOS devices
13. EOS
eos_command – Run arbitrary commands on an Arista EOS device
eos_config – Manage Arista EOS configuration sections
eos_facts – Collect facts from remote devices running Arista EOS
eos_l2_interface – Manage L2 interfaces on Arista EOS network devices.
eos_l3_interface – Manage L3 interfaces on Arista EOS network devices.
eos_static_route – Manage static IP routes on Arista EOS network devices
eos_system – Manage the system attributes on Arista EOS devices
eos_vlan – Manage VLANs on Arista EOS network devices
eos_vrf – Manage VRFs on Arista EOS network devices
14. NetConf
netconf_config – netconf device configuration
netconf_get – Fetch configuration/state data from NETCONF enabled network devices.
netconf_rpc – Execute operations on NETCONF enabled network devices.
19. inventories/
production/
hosts # inventory file for production servers
group_vars/
group1.yml # here we assign variables to particular groups
group2.yml
host_vars/
hostname1.yml # here we assign variables to particular systems
hostname2.yml
staging/
hosts # inventory file for staging environment
group_vars/
group1.yml # here we assign variables to particular groups
group2.yml
host_vars/
stagehost1.yml # here we assign variables to particular systems
stagehost2.yml
20.
21. • Stały rozwój
• Rozszerzalny
• Integracja dzięki API
• Duża społeczność
• Otwarty kod
• Ustandaryzowany zapis
• Kod jako dokumentacja projektowa
• Czemu by nie spróbować?