16
Network as Code Amanda Galligan – Infrastructure Services WORKDAY CONFIDENTIAL

Network as Code

Embed Size (px)

Citation preview

Page 1: Network as Code

Network as Code

Amanda Galligan – Infrastructure Services

WORKDAY CONFIDENTIAL

Page 2: Network as Code

Agenda

WORKDAY CONFIDENTIAL

•  A lofty goal.. •  Network Automation.. Could we do better? •  Workday automation path to enlightenment ..

•  Why NETCONF..? •  Why YANG..?

•  Service model – Rack provisioning – Walk through •  Adopting development best practices •  Source Control example for Network Validation tests

•  Continuous Integration workflow

•  A quick demo

Page 3: Network as Code

A lofty goal.. Infrastructure as code?

WORKDAY CONFIDENTIAL

Page 4: Network as Code

Network Automation.. Could we do better?

WORKDAY CONFIDENTIAL

Page 5: Network as Code

Workday automation path to enlightenment ..

WORKDAY CONFIDENTIAL

1. pExpect and paramiko scripts to perform large scale simple changes

2. Ansible templates mass

device configuration consistency

3. Automation of datacenter

expansion levering vendor zero touch provisioning tools and centralized inventory source

4. Single network wide interface to all network devices

5. NETCONF/YANG based

abstractions coupled with CI pipeline delivery.

6. Self service API leveraging fully tested abstraction layer

Page 6: Network as Code

Why NETCONF..?

WORKDAY CONFIDENTIAL

RFC6241 Network Configuration Protocol Ability to make configuration changes across multiple devices simultaneously based on abstracted requirements ACID principal - Atomicity, Consistency, Isolation, Durability

Page 7: Network as Code

Why NETCONF..?

WORKDAY CONFIDENTIAL

Page 8: Network as Code

Why NETCONF..?

WORKDAY CONFIDENTIAL

Page 9: Network as Code

Why NETCONF..?

WORKDAY CONFIDENTIAL

Page 10: Network as Code

Why NETCONF..?

WORKDAY CONFIDENTIAL

Page 11: Network as Code

Why YANG..?

WORKDAY CONFIDENTIAL

RFC6020 – Data modeling language Decouple the device specific configuration from desired configuration state YANG enforces conventions and structure Build on device-models by creating service-models

Page 12: Network as Code

Adopting development best practices

WORKDAY CONFIDENTIAL

Page 13: Network as Code

Source Control example for Network Validation tests

WORKDAY CONFIDENTIAL

Page 14: Network as Code

Network Element Driver – Unsupported items?

Page 15: Network as Code

Continuous Integration workflow

WORKDAY CONFIDENTIAL

Page 16: Network as Code

Network automation is not about boiling the ocean

WORKDAY CONFIDENTIAL