[CORD-2608]
Create scenarios suitable for kubespray and helm
Change-Id: I07b19cfc00165046f8fbe6807f2d8add28398cbd
diff --git a/scenarios/controlkube/Vagrantfile b/scenarios/controlkube/Vagrantfile
index 3686e76..a52e989 100644
--- a/scenarios/controlkube/Vagrantfile
+++ b/scenarios/controlkube/Vagrantfile
@@ -26,12 +26,19 @@
v.cpus = settings['head_vm_cpu']
end
h.vm.network "private_network", # management network, eth1
- ip: "0.1.1.0", # unused IP address (setting required)
+ ip: "0.1.0.0", # not used, ignore
auto_config: false,
virtualbox__intnet: settings['vm_management_network_name'],
libvirt__network_name: settings['vm_management_network_name'],
libvirt__forward_mode: "none",
libvirt__dhcp_enabled: false
+ h.vm.network "private_network", # public network, eth2
+ ip: "0.2.0.0", # not used, ignore
+ auto_config: false,
+ virtualbox__intnet: settings['vm_public_network_name'],
+ libvirt__network_name: settings['vm_public_network_name'],
+ libvirt__forward_mode: "none",
+ libvirt__dhcp_enabled: false
end
config.vm.define "compute1" do |c|
@@ -46,12 +53,19 @@
v.cpus = settings['compute_vm_cpu']
end
c.vm.network "private_network", # management network, eth1
- ip: "0.1.1.0", # unused IP address (setting required)
+ ip: "0.1.0.0",
auto_config: false,
virtualbox__intnet: settings['vm_management_network_name'],
libvirt__network_name: settings['vm_management_network_name'],
libvirt__forward_mode: "none",
libvirt__dhcp_enabled: false
+ c.vm.network "private_network", # public network, eth2
+ ip: "0.2.0.0", # not used, ignore
+ auto_config: false,
+ virtualbox__intnet: settings['vm_public_network_name'],
+ libvirt__network_name: settings['vm_public_network_name'],
+ libvirt__forward_mode: "none",
+ libvirt__dhcp_enabled: false
end
config.vm.define "compute2" do |c|
@@ -66,12 +80,19 @@
v.cpus = settings['compute_vm_cpu']
end
c.vm.network "private_network", # management network, eth1
- ip: "0.1.1.0", # unused IP address (setting required)
+ ip: "0.1.0.0",
auto_config: false,
virtualbox__intnet: settings['vm_management_network_name'],
libvirt__network_name: settings['vm_management_network_name'],
libvirt__forward_mode: "none",
libvirt__dhcp_enabled: false
+ c.vm.network "private_network", # public network, eth2
+ ip: "0.2.0.0", # not used, ignore
+ auto_config: false,
+ virtualbox__intnet: settings['vm_public_network_name'],
+ libvirt__network_name: settings['vm_public_network_name'],
+ libvirt__forward_mode: "none",
+ libvirt__dhcp_enabled: false
end
end