diff options
author | Huang Haibin <haibin.huang@intel.com> | 2018-07-10 19:22:34 +0800 |
---|---|---|
committer | Huang Haibin <haibin.huang@intel.com> | 2018-07-25 15:39:11 +0800 |
commit | 0d3e9ace323660381350a884b08ed92aa2290dbd (patch) | |
tree | f5893c82318261da9527714956870cafad85b263 /pike/vagrant/Vagrantfile | |
parent | 1ef4d132b8e9bd99ac88fe4bd1a023c97ca58ad9 (diff) |
Add Openstack Pike plugin framework
Add Pike framework and one function extension
Add Vagrant for test
Change-Id: I045ac1f1a920b509a69d7a72f8e60fb108102839
Issue-ID: MULTICLOUD-276
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'pike/vagrant/Vagrantfile')
-rw-r--r-- | pike/vagrant/Vagrantfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pike/vagrant/Vagrantfile b/pike/vagrant/Vagrantfile new file mode 100644 index 00000000..666f307b --- /dev/null +++ b/pike/vagrant/Vagrantfile @@ -0,0 +1,23 @@ +# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! + +Vagrant.configure("2") do |config| + + config.vm.box = "bento/ubuntu-16.04" + + config.vm.provider :virtualbox do |vb| + vb.customize ["modifyvm", :id, "--memory", 9192] + vb.customize ["modifyvm", :id, "--cpus", 4] + vb.customize ["modifyvm", :id, "--nicpromisc3", "allow-all"] + vb.customize "post-boot",["controlvm", :id, "setlinkstate1", "on"] + end + + config.vm.define "onap" do |config| + config.vm.hostname = "onap" + config.vm.synced_folder "../..", "/openstack" + config.vm.network "private_network", ip: "192.168.0.30" + config.vm.network :private_network, ip: "192.168.1.30" + config.vm.provision "shell", path: "piprepo.sh", privileged: false + config.vm.provision "shell", path: "test/test_multicloud.sh", privileged: false + end + +end |