Compare commits
No commits in common. "f47d85baa81530da5f7e3f569f42cbfe7594f4ad" and "e24cec4d8cef22c9999dac026a41168ea738cae5" have entirely different histories.
f47d85baa8
...
e24cec4d8c
3 changed files with 9 additions and 59 deletions
|
@ -1,8 +1,3 @@
|
||||||
# Vagrant-Devstack
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
vagrant up --provider=libvirt
|
|
||||||
|
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
|
|
5
vagrant--devstack/Vagrantfile
vendored
5
vagrant--devstack/Vagrantfile
vendored
|
@ -29,10 +29,7 @@ Vagrant.configure('2') do |config|
|
||||||
end
|
end
|
||||||
machine.vm.network 'forwarded_port', guest: 80, host: 1080, host_ip: '127.0.0.1'
|
machine.vm.network 'forwarded_port', guest: 80, host: 1080, host_ip: '127.0.0.1'
|
||||||
# machine.vm.network "public_network", bridge: 'dummy0', auto_config: false
|
# machine.vm.network "public_network", bridge: 'dummy0', auto_config: false
|
||||||
# machine.vm.network "public_network", dev: "br25", type: "bridge", auto_config: false
|
machine.vm.network "public_network", dev: "br25", type: "bridge", auto_config: false
|
||||||
machine.vm.network "private_network", ip: "192.168.56.21", name: "vagrant0"
|
|
||||||
machine.vm.network "private_network", ip: "192.168.57.21", name: "vagrant1"
|
|
||||||
machine.vm.network "private_network", ip: "192.168.58.21", name: "vagrant2"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provision 'shell', name: 'provision/base', path: 'provision/base.sh', privileged: true
|
config.vm.provision 'shell', name: 'provision/base', path: 'provision/base.sh', privileged: true
|
||||||
|
|
|
@ -40,58 +40,16 @@ cd devstack || exit 1
|
||||||
##
|
##
|
||||||
cat > local.conf <<-MARK
|
cat > local.conf <<-MARK
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
|
HOST_IP=172.16.0.1
|
||||||
## Pull changes from upstream on next run on stack.sh
|
FLAT_INTERFACE=br25
|
||||||
RECLONE=True
|
|
||||||
|
|
||||||
HOST_IP=192.168.56.21
|
|
||||||
SERVICE_HOST=192.168.56.21
|
|
||||||
MYSQL_HOST=192.168.56.21
|
|
||||||
RABBIT_HOST=192.168.56.21
|
|
||||||
GLANCE_HOSTPORT=192.168.56.21:9292
|
|
||||||
|
|
||||||
ADMIN_PASSWORD=adminsecret
|
|
||||||
DATABASE_PASSWORD=databasesecret
|
|
||||||
RABBIT_PASSWORD=rabbitsecret
|
|
||||||
SERVICE_PASSWORD=servicesecret
|
|
||||||
|
|
||||||
## Do not use Nova-Network
|
|
||||||
disable_service n-net
|
|
||||||
|
|
||||||
## Enable Neutron
|
|
||||||
ENABLED_SERVICES+=,q-svc,q-dhcp,q-meta,neutron
|
|
||||||
|
|
||||||
## Neutron options
|
|
||||||
Q_USE_SECGROUP=True
|
|
||||||
FLOATING_RANGE="192.168.56.0/24"
|
|
||||||
FIXED_RANGE="10.0.0.0/24"
|
|
||||||
Q_FLOATING_ALLOCATION_POOL=start=192.168.56.240,end=192.168.56.254
|
|
||||||
PUBLIC_NETWORK_GATEWAY="192.168.56.1"
|
|
||||||
PUBLIC_INTERFACE=eth1
|
PUBLIC_INTERFACE=eth1
|
||||||
|
FLOATING_RANGE=172.16.0.128/25
|
||||||
|
FIXED_RANGE=10.11.12.0/24
|
||||||
|
|
||||||
## Open vSwitch provider networking configuration
|
ADMIN_PASSWORD=admin1pass
|
||||||
Q_USE_PROVIDERNET_FOR_PUBLIC=True
|
DATABASE_PASSWORD=database2pass
|
||||||
OVS_PHYSICAL_BRIDGE=br-ex
|
RABBIT_PASSWORD=rabbit3pass
|
||||||
PUBLIC_BRIDGE=br-ex
|
SERVICE_PASSWORD=service4pass
|
||||||
OVS_BRIDGE_MAPPINGS=public:br-ex
|
|
||||||
|
|
||||||
## Additionnal SM added
|
|
||||||
GIT_BASE=$(GIT_BASE:-https://opendev.org)
|
|
||||||
# FIXME: broken because of mysql
|
|
||||||
# enable_plugin tacker https://opendev.org/openstack/tacker master
|
|
||||||
|
|
||||||
## Enable heat plugin
|
|
||||||
ENABLED_SERVICES+=,h-eng,h-api,h-api-cfn,h-api-cw
|
|
||||||
enable_plugin heat https://opendev.org/openstack/heat master
|
|
||||||
|
|
||||||
## Disable tempest
|
|
||||||
disable_service tempest
|
|
||||||
|
|
||||||
## Enable mistral
|
|
||||||
enable_plugin mistral https://opendev.org/openstack/mistral
|
|
||||||
|
|
||||||
## Enable designate
|
|
||||||
enable_plugin designate https://opendev.org/openstack/designate
|
|
||||||
MARK
|
MARK
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
Loading…
Add table
Reference in a new issue