Milestone 6 Provisioning with Ansible - absentee-neptune/SYS-480 GitHub Wiki

All coding was done with Visual Studio Code

BLUEX-LAN Networking

Utility Functions

  • Create utility.ps1 file
  • Create a function to create a new Virtual Switch on vCenter called BLUE8-LAN
  • Create another function to create a new Virtual Port Group on BLUE8-LAN called BLUE8-LAN

Here is my file: utility.ps1

Deploying fw-blue8

  • Create a cloner.json file to create set data configurations for cloning a VM
  • Update the cloner.ps1 file to use the configuration file when cloning a VM
  • Using the configuration file, deploy a new vyOS VM called fw-blue8

fw-blueX Networking

More Utility Functions

  • Within the utility.ps1 file, create another function to change Network Adapter 2 of fw-blue8 to BLUE8-LAN
    • Check to make sure Network Adapter 1 is connected to 480-WAN
    • Make sure to remove Network Adapter 3 first as it is not needed
    • Also, to use the function make sure the VM is OFF
    • Here is my file: utility.ps1
  • Within the utility.ps1 file, create another function to display the IP Address of fw-blue8
    • Also, to use the function, make sure the VM is ON
    • Here is my file: utility.ps1

vyOS Configuration with Ansible

  • On a terminal in xubuntu-wan, install Ansible, SSH, and Python
    • sudo apt install ansible sshpass python3-paramiko
  • Create an Ansible Playbook to deploy Network configurations for fw-blue8

vyOS DHCP Configuration with Ansible


Milestone Completion

Milestone 6 - BLUEX Networking Demo
Milestone 6 - fw-blueX Networking Demo
Milestone 6 - vyOS Ansible Playbook Demo
Milestone 6 - vyOS DHCP Config Demo