19
www.networktocode.com Network to Code – Confidential ITSM-Driven Enterprise Network Operations Jason Edelman [email protected] @jedelman8 Feb 27, 2019 | iNOG | Dublin

ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

ITSM-Driven Enterprise Network Operations

Jason Edelman

[email protected]

@jedelman8

Feb 27, 2019 | iNOG | Dublin

Page 2: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Tonight

•Who am I?

•Network Operations

•Demo

Page 3: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Who am I?

• Name => Jason Edelman

• Work => Network to Code

• Do => Network Automation

• Work with => Clients on their automation journey

• Was Network Engineer => CCIE (I think)

• From => New York

Page 4: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Traditional Network Operations

Page 5: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Scaling Network Operations

Page 6: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Getting Started with Network Automation

• backups.py• vlans.py• MySQL• Saved on HDD• …

Stuck with the CLI

• get_neighbors.py• vlan_check.py• Custom web app in PHP• YAML Data• Git (all push)• …

Some ad-hoc scripting

More ad-hoc scripting

Page 7: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Getting Started with Network Automation (cont’d)

1. 1-2 network engineers attend training or use prior programming experience

2. Ad-hoc Python scripts

3. The same engineers start exploring web frameworks and front-end programming

4. Ad-hoc Ansible Playbooks

5. Dedicated Ansible server with local playbooks

6. Continued specialized Python scripts

7. Continued front-end development

Common Approach

1. Disparate scripts

2. No version control

3. No peer review

4. No platform

5. Tool sprawl

6. You get so far down the path it’s hard to change, so instead you pivot, and “buy” multiple tools to solve the problem

7. Limited database integration

Issues

Page 8: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Common Manual Workflow

Open Change Request

Complete MOP Execute Show

CommandsExecute Show

CommandsMake

Change

Compare Show

Commands

• Who opens the change?• Is enough detailed in the ticket?

• Is there even a MOP?• Is the MOP completed correctly

the first time?• Is the MOP reviewed?

• Do you really issue all commands in the MOP?

• Do you store them any where?• Are they attached back to the CR?

• Do you really issue all commands in the MOP?

• Do you store them any where?• Are they attached back to the CR?

• Is this done by you?

• Do you use a Linux diff?

• Manual or Automated Change?

Page 9: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Common Manual Workflow

Open Change Request

Complete MOP Execute Show

CommandsExecute Show

CommandsMake

Change

Compare Show

Commands

• Who opens the change?• Is enough detailed in the ticket?

• Is there even a MOP?• Is the MOP completed correctly

the first time?• Is the MOP reviewed?

• Do you really issue all commands in the MOP?

• Do you store them any where?• Are they attached back to the CR?

• Do you really issue all commands in the MOP?

• Do you store them any where?• Are they attached back to the CR?

• Is this done by you?

• Do you use a Linux diff?

• Manual or Automated Change?

Can we start automation by automating this?

Page 10: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

CI/CD Pipeline for Network Operations

Proxy / Orchestrator API*

Lab/Test Infrastructure

IPAMCMDBNMS

Test Tools

Don’t we really want this though?

Page 11: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Get Started.

Or you never will.

Page 12: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

ITSM & CI/CD Network Automation Workflows

Demo Review

Page 13: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

ITSM & Chat Driven Network Automation

Added Bonus

Page 14: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

ITSM & Chat Driven Network Automation

Page 15: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

ITSM & Chat Driven Network Automation

1

2

3

Three ways to consume the same workflow

Page 16: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Automating Common Workflows

Open ServiceNow

Change Request

Execute Show Commands

Execute Show Commands

Make Change

Compare Show

Commands

• It requires all data needed

• They will always be executed• It’s automated

• You define it• It’ll always happen

• Pre-build the execution engine for safe, pre-approved, common changes

• They will always be executed• It’s automated

Attach Results to

Ticket

Good starting point. Absolutely.

Page 17: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Self Service Network Automation

Proxy / Orchestrator API*

IPAMCMDBNMS

Test Tools

Lab/Test Infrastructure

Page 18: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

Infra as Code Network Automation

Proxy / Orchestrator API*

IPAMCMDBNMS

Test Tools

Lab/Test Infrastructure

Page 19: ITSM-Driven Enterprise Network Operations · scripting More ad-hoc . ... ServiceNow Change Request Execute Show Commands Execute Show Commands Make Change Compare Show Commands •It

www.networktocode.com Network to Code – Confidential

DEMO TIME