summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/Vagrantfile
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-11-08 17:11:18 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-08 17:11:18 +0000
commit0752b7967768461e769bba56eb601490d63e75c8 (patch)
tree88d3189b5d0a3e660dc1283bba41755a5aee5041 /bootstrap/vagrant-onap/Vagrantfile
parent540a49a6ff7f4189d25dfd186b9875d691c31380 (diff)
parent4ab71c18e0c7ab0ce299a8708488ab84a97aea82 (diff)
Merge "Add OpenStack support"
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]