Adventures in Network Automation
  • About Pete Crocker
  • Posts

Posts

October 27, 2020

Creating a Fortinet VM for Libvirt/vagrant

I needed to replicate a production Fortinet firewall environment to do some testing. I could have done this in GNS3/EVE-NG or some other virtual enviornment, but I find that Vagrant/Libvirt gives me the most usability when trying to reuse a setup over time, such as for automated testing. So with that goal in mind, I needed to create a vagrant box of Fortinet’s FortiVM firewall, but specifically for use with libvirt.
August 29, 2020

Prometheus node_exporter on Ubiquiti EdgeOS Router configured via ansible

My home router is a Ubiquiti EdgeMAX router running EdgeOS 2.0.6. I chose it because wanted a router that could run sflow for testing purposes. I recently came across someone successfully installing Prometheus node_exporter on EdgeOS, so I gave it a try. Since I’d already ansible-automated the install of node_exporter on a switch running Cumulus Linux, I wrote a new playbook with only minor modifications for EdgeOS and it worked perfectly.
August 28, 2020

Hugo, Gitlab and Pipelines

I’ve decided to try and document the useful workflows and code I’ll generate during my upcoming new job. Here’s how I went about automating the creation of these blog pages and publishing of this blog to a directory on my web server. I’ll first focus on the process and code, then at the bottom of this page will be descriptions about why I’ve chosen these tools and specific workflow. Tools Hugo: A open-source static site generator Ananke: The Hugo theme used for the blog GitLab: SCM (Source Code Management) tool/site including CI pipelines VS Code: My preferred code editing platform GitKraken: A GUI for git because I’m lazy sometimes Workflow Init a repo It’s easiest to setup a git repository first, then proceed with all the remaining steps by creating the files in the repo directory.
  • ««
  • «
  • 1
  • 2
  • 3
  • 4
  • »
  • »»
© Adventures in Network Automation 2022