current state merlin

This commit is contained in:
Egon Rijpkema 2018-02-22 16:32:40 +01:00
parent 7a41ca4187
commit 6a6ebd0c60
3 changed files with 5 additions and 8 deletions

6
merlin
View File

@ -1,9 +1,9 @@
[nova-compute] [nova-compute]
merlin-managementnode002 physical_interface_mappings=provider:enp5s0f1 overlay_ip=172.23.43.102 merlin-managementnode002 physical_interface_mappings=provider:enp5s0f1 overlay_ip=172.23.43.102
merlin-managementnode003 physical_interface_mappings=provider:enp5s0f1 overlay_ip=172.23.43.103 merlin-managementnode003 physical_interface_mappings=provider:enp5s0f1 overlay_ip=172.23.43.103
merlin-node001 physical_interface_mappings=provider:enp130s0f1 overlay_ip=172.23.43.1 merlin-node001 physical_interface_mappings=provider:enp130s0f0 overlay_ip=172.23.43.1
merlin-node003 physical_interface_mappings=provider:enp130s0f1 overlay_ip=172.23.43.3 merlin-node003 physical_interface_mappings=provider:enp130s0f0 overlay_ip=172.23.43.3
merlin-node002 physical_interface_mappings=provider:enp130s0f1 overlay_ip=172.23.43.2 merlin-node002 physical_interface_mappings=provider:enp130s0f0 overlay_ip=172.23.43.2
[databases] [databases]
merlin-managementnode001 merlin-managementnode001

View File

@ -16,10 +16,7 @@
command: docker exec -i keystone.service bash -c "source /root/admin-openrc.sh && {{ item }}" command: docker exec -i keystone.service bash -c "source /root/admin-openrc.sh && {{ item }}"
with_items: with_items:
- openstack network create --share --external --provider-physical-network provider --provider-network-type flat provider - openstack network create --share --external --provider-physical-network provider --provider-network-type flat provider
- > - openstack network set --external provider
openstack subnet create --network provider
--allocation-pool start={{ allocation_pool['start'] }},end={{ allocation_pool['end'] }}
--dns-nameserver {{ dns_nameserver }} --gateway {{ gateway }} --subnet-range {{ subnet_range }} providersub
- openstack flavor create --id 0 --vcpus 1 --ram 64 --disk 1 m1.nano - openstack flavor create --id 0 --vcpus 1 --ram 64 --disk 1 m1.nano
- openstack keypair create --public-key /root/id_rsa.pub adminkey - openstack keypair create --public-key /root/id_rsa.pub adminkey

View File

@ -12,4 +12,4 @@
- include: nova-compute.yml - include: nova-compute.yml
- include: horizon.yml - include: horizon.yml
- include: heat.yml - include: heat.yml
- include: post-install.yml #- include: post-install.yml