summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/Vagrantfile
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-11-08 07:28:28 -0800
committerVictor Morales <victor.morales@intel.com>2017-11-08 07:36:16 -0800
commit4ab71c18e0c7ab0ce299a8708488ab84a97aea82 (patch)
tree45e83c3d83e9d5dc46c27c5c2aa9e8c9a1e18a23 /bootstrap/vagrant-onap/Vagrantfile
parent6dbd7da003f938e2dbd73944624e8679027c35ca (diff)
Add OpenStack support
This change allows the provisioning of an All-in-One OpenStack deployment through ansible-kolla project. Given that it uses System D this adds an exception to use Ubuntu Xenial release. Change-Id: I57973a1b5cc331654fbabf7932ddcfef817afedf Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-329
Diffstat (limited to 'bootstrap/vagrant-onap/Vagrantfile')
-rw-r--r--bootstrap/vagrant-onap/Vagrantfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/bootstrap/vagrant-onap/Vagrantfile b/bootstrap/vagrant-onap/Vagrantfile
index 4242919f7..a0f3a1926 100644
--- a/bootstrap/vagrant-onap/Vagrantfile
+++ b/bootstrap/vagrant-onap/Vagrantfile
@@ -231,6 +231,16 @@ nodes = [
:ram => 4 * 1024,
:groups => ["individual"],
:args => ['vvp'],
+ },
+ {
+ :name => "openstack",
+ :ips => ['10.252.3.3', "192.168.53.3"],
+ :macs => [],
+ :cpus => 2,
+ :cpu => "50",
+ :ram => 8 * 1024,
+ :groups => ["individual"],
+ :args => ['openstack'],
}
]
@@ -374,6 +384,9 @@ Vagrant.configure("2") do |config|
# Set Box type
nodeconfig.vm.box = box[provider]
+ if "openstack" == node[:name]
+ nodeconfig.vm.box = "ubuntu/xenial64"
+ end
# Set Node name
nodeconfig.vm.hostname = node[:name]