0.03
Repository is archived
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
A Vagrant plugin for Junos guests, e.g. Firefly Perimeter
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6.9
~> 10.4.2
~> 2.14
 Project Readme

Build StatusGem VersionCode ClimateDependency Status

This is a Vagrant 1.7+ plugin that adds a Junos guest to Vagrant, allowing for OS detection and initial configuration

NOTE: This plugin requires Vagrant 1.7+,

Features

  • Detect vSRX guest instances automatically, or via Vagrantfile. The default boxes on Juniper's Atlas site have config.vm.guest explicitly set to Junos.
  • Set the hostname via Vagrantfile - config.vm.hostname
  • Support Vagrantfile SSH settings - config.ssh.private_key_path, etc.
  • Network configuration of ge-0/0/1.0 through ge-0/0/9.0 (dhcp or static)
  • TBD: anything you request via issues

Usage

Install using standard Vagrant 1.7+ plugin installation methods. The fastest way to get started is to use the standard Vagrant Cloud images:

$ vagrant plugin install vagrant-junos
...
... (create a Vagrant environment in a directory):
$ vagrant init juniper/ffp-12.1X46-D20.5
...
$ vagrant up

Quick Start

TODO: Add docs on Vagrantfile settings

Configuration

TODO: Add docs on Vagrantfile settings, and Ruby snippets

Development

To work on the vagrant-junos plugin, clone this repository out, and use Bundler to get the dependencies:

$ bundle

Once you have the dependencies, verify the unit tests pass with rake:

$ bundle exec rake

If those pass, you're ready to start developing the plugin. You can test the plugin without installing it into your Vagrant environment by just creating a Vagrantfile in the top level of this directory (it is gitignored) and add the following line to your Vagrantfile

Vagrant.require_plugin "vagrant-junos"

Use bundler to execute Vagrant:

$ bundle exec vagrant up juniper/ffp-12.1X46-D20.5

Notes

Other than installing this plugin, the next recommended step is to check out the boxes at Juniper's Atlas site.