This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathVagrantfile
49 lines (45 loc) · 1.93 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# -*- mode: ruby -*-
# vi: set ft=ruby :
# ge-0/0/0.0 defaults to NAT for SSH + management connectivity
# over Vagrant's forwarded ports. This should configure ge-0/0/1.0
# through ge-0/0/7.0 on VirtualBox.
######### WARNING: testing only! #########
######### WARNING: testing only! #########
######### WARNING: testing only! #########
#
# this Vagrantfile can and will wreak havoc on your VBox setup, so please
# use the Vagrant boxes at https://atlas.hashicorp.com/juniper unless you're
# attempting to extend this plugin (and can lose your VBox network config)
# TODO: launch VMs from something other than travis to CI all features
#
# Note: VMware can't name interfaces, but also supports 10 interfaces
# (through ge-0/0/9.0), so you should adjust accordingly to test
#
# Note: interface descriptions in Junos don't work yet, but you woud set them
# here with 'description:'.
Vagrant.configure(2) do |config|
config.vm.box = "juniper/ffp-12.1X47-D15.4-packetmode"
config.vm.hostname = 'vagrant-junos-test'
config.vm.network "private_network",
ip: "192.168.33.10",
netmask: "255.255.252.0",
virtualbox__intnet: "teststatic"
config.vm.network "private_network",
type: "dhcp",
virtualbox__intnet: "testdhcp"
config.vm.network "private_network",
ip: "192.168.34.10",
virtualbox__intnet: "teststatic2"
config.vm.network "private_network",
type: "dhcp",
virtualbox__intnet: "testdhcp2"
config.vm.network "private_network",
ip: "192.168.35.10",
virtualbox__intnet: "teststatic3"
config.vm.network "private_network",
type: "dhcp",
virtualbox__intnet: "testdhcp3"
config.vm.network "private_network",
ip: "192.168.36.10",
virtualbox__intnet: "teststatic4"
end