Skip to content

CodexLink/Configuring-a-DHCP-Dependent-and-HSRP-Redundant-Network-with-Network-Programmability-RESTCONF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevOps (CPE 028) Final Case Study

A Final Case Study of DevOps - Application of Network Automation and Programmability, also known as: Configuring a DHCP-Dependent and Redundant Network with Network Programmability (RESTCONF)

Run in Postman

Introduction

This repository (case study) contains the resources needed to accomplish a laboratory activity that utilizes the capabilities of RESTCONF on Cisco Devices equipped with IOS-XE software. This repository also contains the generated outputs produced from the script.

Host Requirements

When attempting to do this case study, please consider the following:

  • Based on the configuration on topology, this requires 16GBs of RAM or more, for worst case scenario.
  • The simulation software used is GNS 3.
  • The CPU of the host is an Intel Core i5-10300H @ 2.50Ghz, please consider this as it may throttle your host machine if attempted and have the lower spec than the provided.

This case study requires extensive amount of memory. Please adjust accordingly.

Repository Context

Each folder in this repository contains use-case and its context were categorized.

  • media/ — Contains images that is related to this case study.
  • pre-configs/ — Contains the configuration before the case study execution of the devices.
  • project — Contains the GNS 3 project-file except the dynamips and virtualbox files. Stored for proof of work. Note that this may not work as intended since GNS 3 is very reliant on the current configurations of your VirtualBox or VMware. I advise against using this if you don't want to expect potential conflicts based on my configuration. But who knows?
  • restconf/ — Contains json queries incorporated on a particular configuration and endpoint. Run in Postman indicated from the top allows you to access the collections that I published in Postman, which contains the context of this folder. It's way easier than copy-pasting the commands from this folder.
  • results/ — Contains the produced results from running the run-tests.sh

Final Case Study Context

The following context provides more information about the case study.

Background / Scenario

As a final requirement for the DevOps (CPE 028), you will be required to configure a topology with RESTCONF under one territory that heavily relies on DHCP servers for addressing, with redundancy added for both DHCP and HSRP, incorporated from one another; and also OSPF as an alternative for IP routing. Default and static configuration are prohibited from this activity.

Topology (Initial)

Network Topology, Initial

Topology (Fully-Working, No Labels)

Network Topology, Fully-Working

Devices in Topology

The topology has the following devices and its configuration:

  • 3x CSR1000v VM — Configuration: 2.5GB of RAM, 3x Paravirtualized Network Drivers (virtio-net)
  • 3x DEVASC-VM — SideA and SideB ClientN: 512 MB of RAM, Admin Client: 2048 MB, can be lowered.
  • 3x Ethernet Switch — With VLANs limited to N of devices connected.

Pre-configuration

To be documented later. Right after the generation of documentation in Google Docs.

RESTCONF Overview

To be documented later. Right after the generation of documentation in Google Docs.

Generation of Test Cases

To be documented later. Right after the generation of documentation in Google Docs.

Resources

This section contains anything you need from (unprepared) demo to documentation, container and so much more. Links are provided without masking to ensure that these do not redirect to potentially dangerous websites.

! These resources are publicized because I know that this is going to be used for activities which I do not agree despite the case study is labelled to be documented in laboratory activity format. But I herby publish it in a way that it may help people instead.

Credits

These are the links that helped me throughout the development of the case study. Will fix later under APA format.

About

DevOps Final Case Study: Application of Network Automation and Programmability

Topics

Resources

License

Stars

Watchers

Forks

Languages