aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/Vagrantfile
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-08-31 17:28:10 -0500
committerVictor Morales <victor.morales@intel.com>2017-08-31 17:28:10 -0500
commit000de533553068dae03f9e83bd285b9059b63ca3 (patch)
tree0c319b44e83af263a621cfe3a1cc9f8f567fb7b4 /bootstrap/vagrant-onap/Vagrantfile
parenta3949e28940263815eb2793e7cae602d70a29290 (diff)
Add MultCloud/MultiVIM support
These changes allows to provide MultiCloud support. Change-Id: Ic420817df1471077f71290a926fd7e509c052d75 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-53
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 5eb22d71f..ff3590882 100644
--- a/bootstrap/vagrant-onap/Vagrantfile
+++ b/bootstrap/vagrant-onap/Vagrantfile
@@ -352,6 +352,19 @@ Vagrant.configure("2") do |config|
end
end
+ config.vm.define :multicloud do |multicloud|
+ multicloud.vm.hostname = 'multicloud'
+ multicloud.vm.network :private_network, ip: '192.168.50.16'
+ multicloud.vm.provider "openstack" do |v|
+ v.server_name = 'multicloud'
+ end
+ multicloud.vm.provision 'shell' do |s|
+ s.path = 'vagrant_utils/postinstall.sh'
+ s.args = ['multicloud']
+ s.env = conf
+ end
+ end
+
when 'testing'
config.vm.define :testing do |testing|