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
calledBLUE8-LAN
Here is my file: utility.ps1
Deploying fw-blue8
- Create a
cloner.json
file to create set data configurations for cloning a VM- Here is my file: cloner.json
- Update the
cloner.ps1
file to use the configuration file when cloning a VM- Here is my file: cloner.ps1
- Using the configuration file, deploy a new
vyOS
VM calledfw-blue8
fw-blueX Networking
More Utility Functions
- Within the
utility.ps1
file, create another function to change Network Adapter 2 offw-blue8
toBLUE8-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
- Check to make sure Network Adapter 1 is connected to
- Within the
utility.ps1
file, create another function to display the IP Address offw-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 Pythonsudo apt install ansible sshpass python3-paramiko
- Create an Ansible Playbook to deploy Network configurations for
fw-blue8
- Following files were used:
vyOS DHCP Configuration with Ansible
- Create an Ansible Playbook to deploy DHCP configurations for
fw-blue8
- Following files were used:
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