aboutsummaryrefslogtreecommitdiffstats
path: root/Vagrantfile
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-05-03 00:37:18 -0700
committerVictor Morales <victor.morales@intel.com>2018-05-03 00:37:18 -0700
commit1d88c96c47c15d06b4a85f4b579e51df84a052b3 (patch)
tree490d95a3f0fc494795f8251b9c9fe9be70dc14e3 /Vagrantfile
parent9659e8fceedd5b8b0b75456c4b30f1d1848baffb (diff)
General improvements
This script contains several changes to improve the code: - The OOM configuration file for deploying ONAP services has been changed to enable more services. - Expose the proxy configuration process for docker. - Remove All-in-One scenario from the options and documentation Change-Id: I7e089f846148fc3ee2ba3572628b7175a677d324 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-478
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile26
1 files changed, 4 insertions, 22 deletions
diff --git a/Vagrantfile b/Vagrantfile
index d9a9542..f10e8b0 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -54,17 +54,6 @@ nodes = [
]
},
{
- :name => "all-in-one",
- :ips => ['10.252.1.3', "192.168.51.3"],
- :macs => [],
- :cpus => 2,
- :cpu => "50",
- :ram => 12 * 1024,
- :groups => ["all-in-one"],
- :flavor => 'm1.xlarge',
- :args => ['mr', 'sdc', 'aai', 'mso', 'robot', 'vid', 'sdnc', 'portal', 'dcae', 'policy', 'appc', 'vfc', 'ccsdk', 'multicloud', 'vnfsdk', 'vpp', 'msb'],
- },
- {
:name => "appc",
:ips => ['10.252.0.14', "192.168.50.14"],
:macs => [],
@@ -174,10 +163,10 @@ nodes = [
:macs => [],
:cpus => 16,
:cpu => "50",
- :ram => 64 * 1024,
+ :ram => 70 * 1024,
:groups => ["individual"],
:args => ["oom"],
- :hd => { :virtualbox => "61440", :libvirt => "60G", },
+ :hd => { :virtualbox => "163840", :libvirt => "160G", },
:fwds => [
{ :guest => 8880, :host => 8880, :guest_ip => '192.168.50.21' },
{ :guest => 8989, :host => 8989, :guest_ip => '192.168.50.21' },
@@ -333,7 +322,7 @@ requested_machine = ARGV[1]
deploy_mode = ENV.fetch('DEPLOY_MODE', 'individual')
if requested_machine != nil
- if requested_machine.include?("all-in-one") || requested_machine.include?("testing")
+ if requested_machine.include?("testing")
deploy_mode = requested_machine
end
end
@@ -345,15 +334,8 @@ end
puts "[INFO] Deploy Mode: #{deploy_mode}"
-# In case of all-in-one or testing clean the nodes list
+# In case of testing clean the nodes list
case deploy_mode
- when 'all-in-one'
- nodes.select! do |node|
- if node[:name].include?("all-in-one")
- true if node[:name]
- end
- end
-
when 'individual'
nodes.select! do |node|
if node[:groups][0].include?("individual")