Network Automation Flashcards

1
Q

Disadvantages of Manual Configuration of Network Hardware Using CLIs

A
  • Lots of Typing
  • Prone to Errors
  • Inconsistencies
  • Infeasible for large networks; scaling can be slow
  • Multi-vendor Environments with Different Syntaxes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Python Scripts for Configuration of Network Hardware

A
  • Automates set up
  • Code can easily be reused
  • One scripts won’t account for different syntaxes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Phases of Automation

A

Provisioning: Initial configuration of new hardware. Automated through
- Plugging in a console cable and running a script
- Detecting DHCP requests and firing automatic network configuration

Configuration Management: Ensures configurations remain constant

Lifecycle Management: Data collection, monitoring, application of patches/updates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Ansible

A

Open-source Automation Tool
- Agentless: No client software to be installed on nodes, it runs commands over SSH
- Playbooks: Define tasks in YML
- Idempotent: Changes only made if necessary, only runs necessary commands, wont update device with correct config
- Push-based Model: Devices cannot request config, Ansible must SSH and provide it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Ansible Components

A

Inventory: A list of managed nodes
Playbooks: YAML files that define tasks to be executed on managed nodes
Roles: Reusable units of tasks and configs shareable across multiple playbooks
Modules: Predefined units of code that perform specific tasks. Modules exist for vendor specific devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Playbooks Version Control

A

Provides change history of network configuration
Allows for auditing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Intent-based Automation

A

Defines high-level network policies and behaviours using intent.
Translates business intent to realisable configuration
- Automates provisioning, optimisation and troubleshooting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

NETCONF

A

Protocol for managing network devices through programmatic interface
- Uses SSH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

YANG

A

Modelling language that describes network objects and configurations in an XML tree format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

RESTCONFIG

A

A programmatic interface for accessing data defined in YANG using concept defined in NETCONF
- HTTP based method for switch configuration using data from YANG

How well did you know this?
1
Not at all
2
3
4
5
Perfectly