aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/noheat/infra-openstack/vagrant/Vagrantfile
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2020-06-23 16:44:05 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-07-30 09:03:35 +0000
commitfec769788199c2182b8f65f1040960d781dc5610 (patch)
tree6bb42ce7eed5680df31f4b89ceeb1a7cbd15c39b /deployment/noheat/infra-openstack/vagrant/Vagrantfile
parent7a58f1ffb1572122e76346156050f0b8c1c35c00 (diff)
Add separate NICs to access OpenStack virtual machines
Dedicated network interface is recommended for accessing OpenStack guest instances [1]. With current Vagrant-based environment "eth2" interface is expected to be assigned as additional NIC (with "eth0" for Vagrant host network and "eth1" for Ansible management network). [1] https://docs.openstack.org/devstack/latest/networking.html Issue-ID: INT-1601 Change-Id: I3798f94db476eef77d02e6f8f7e078fc4b4e7622 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'deployment/noheat/infra-openstack/vagrant/Vagrantfile')
-rw-r--r--deployment/noheat/infra-openstack/vagrant/Vagrantfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/deployment/noheat/infra-openstack/vagrant/Vagrantfile b/deployment/noheat/infra-openstack/vagrant/Vagrantfile
index c3b5d9819..618a71b49 100644
--- a/deployment/noheat/infra-openstack/vagrant/Vagrantfile
+++ b/deployment/noheat/infra-openstack/vagrant/Vagrantfile
@@ -20,6 +20,7 @@ operation = {
name: 'operator',
hostname: 'operator',
ip: '172.17.5.254',
+ ip_os: '172.24.4.254',
cpus: vm_cpu,
memory: vm_memory,
disk: vm_disk
@@ -28,6 +29,7 @@ devstack = {
name: 'devstack',
hostname: 'devstack',
ip: '172.17.5.200',
+ ip_os: '172.24.4.2',
cpus: vm_cpus,
memory: vm_memory_os,
disk: vm_disk
@@ -94,6 +96,7 @@ Vagrant.configure("2") do |config|
end
config.vm.network :private_network, ip: machine[:ip]
+ config.vm.network :private_network, ip: machine[:ip_os]
if machine[:name] == 'devstack'
config.vm.network "forwarded_port", guest: 80, host: 8080