diff --git a/docs/installation b/docs/installation new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/src/deploy/openstack_user_config_test.yml b/src/deploy/openstack_user_config_test.yml new file mode 100644 index 0000000000000000000000000000000000000000..ba1aa06262799834ac2166b79dce848b528ecfa6 --- /dev/null +++ b/src/deploy/openstack_user_config_test.yml @@ -0,0 +1,119 @@ +cidr_networks: + container: 10.0.1.0/24 + tunnel: 10.0.10.0/24 + storage: 10.0.2.0/24 + +used_ips: + - "10.0.1.1,10.0.1.20" # red de management + - "10.0.2.1,10.0.2.20" # red de storage + - "10.0.10.1,10.0.10.20" # red de vxlan + + +global_overrides: + internal_lb_vip_address: 10.0.1.12 + external_lb_vip_address: 10.0.1.12 + tunnel_bridge: "br-vxlan" + management_bridge: "br-mgmt" + + provider_networks: + - network: + group_binds: + - all_containers + - hosts + type: "raw" + container_bridge: "br-mgmt" + container_interface: "eth1" + container_type: "veth" + ip_from_q: "container" + is_container_address: true + is_ssh_address: true + - network: + group_binds: + - glance_api + - cinder_api + - cinder_volume + - nova_compute + type: "raw" + container_bridge: "br-storage" + container_type: "veth" + container_interface: "eth2" + container_mtu: "9000" + ip_from_q: "storage" + - network: + group_binds: + - neutron_linuxbridge_agent + container_bridge: "br-vxlan" + container_type: "veth" + container_interface: "eth10" + container_mtu: "9000" + ip_from_q: "tunnel" + type: "vxlan" + range: "1:1000" + net_name: "vxlan" + - network: + group_binds: + - neutron_linuxbridge_agent + container_bridge: "br-vlan" + container_type: "veth" + container_interface: "eth11" + type: "vlan" + range: "101:200,301:400" + net_name: "vlan" + - network: + group_binds: + - neutron_linuxbridge_agent + container_bridge: "br-vlan" + container_type: "veth" + container_interface: "eth12" + host_bind_override: "eth12" + type: "flat" + net_name: "flat" + +shared-infra_hosts: + infra1: + ip: 10.0.1.11 + +repo-infra_hosts: + infra1: + ip: 10.0.1.11 + +haproxy_hosts: + infra2: + ip: 10.0.1.12 + +os-infra_hosts: + infra1: + ip: 10.0.1.11 + +identity_hosts: + infra1: + ip: 10.0.1.11 + +network_hosts: + infra1: + ip: 10.0.1.11 + +compute_hosts: + infra1: + ip: 10.0.1.11 + +storage-infra_hosts: + infra1: + ip: 10.0.1.11 + +storage_hosts: + infra1: + ip: 10.0.1.11 + + container_vars: + cinder_backends: + lvm: + volume_backend_name: LVM + volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver + volume_group: cinder-volumes + iscsi_ip_address: "10.0.2.11" + +log_hosts: + infra1: + ip: 10.0.1.11 + diff --git a/src/deploy/opestack_user_config_prod.yml b/src/deploy/opestack_user_config_prod.yml new file mode 100644 index 0000000000000000000000000000000000000000..7e77e635742f7980992675f1cf7e659626e4e2e3 --- /dev/null +++ b/src/deploy/opestack_user_config_prod.yml @@ -0,0 +1,162 @@ +--- +cidr_networks: + container: 10.0.1.0/24 + tunnel: 10.0.10.0/24 + storage: 10.0.2.0/24 + +used_ips: + - "10.0.1.1,10.0.1.20" # red de management + - "10.0.2.1,10.0.2.20" # red de storage + - "10.0.10.1,10.0.10.20" # red de vxlan + + +global_overrides: + internal_lb_vip_address: 10.0.1.15 + # + # The below domain name must resolve to an IP address + # in the CIDR specified in haproxy_keepalived_external_vip_cidr. + # If using different protocols (https/http) for the public/internal + # endpoints the two addresses must be different. + # + external_lb_vip_address: 192.168.60.160 + tunnel_bridge: "br-vxlan" + management_bridge: "br-mgmt" + + provider_networks: + - network: + group_binds: + - all_containers + - hosts + type: "raw" + container_bridge: "br-mgmt" + container_interface: "eth1" + container_type: "veth" + ip_from_q: "container" + is_container_address: true + is_ssh_address: true + - network: + group_binds: + - glance_api + - cinder_api + - cinder_volume + - nova_compute + type: "raw" + container_bridge: "br-storage" + container_type: "veth" + container_interface: "eth2" + container_mtu: "9000" + ip_from_q: "storage" + - network: + group_binds: + - neutron_linuxbridge_agent + container_bridge: "br-vxlan" + container_type: "veth" + container_interface: "eth10" + container_mtu: "9000" + ip_from_q: "tunnel" + type: "vxlan" + range: "1:1000" + net_name: "vxlan" + - network: + group_binds: + - neutron_linuxbridge_agent + container_bridge: "br-vlan" + container_type: "veth" + container_interface: "eth11" + type: "vlan" + range: "101:200,301:400" + net_name: "vlan" + - network: + group_binds: + - neutron_linuxbridge_agent + container_bridge: "br-vlan" + container_type: "veth" + container_interface: "eth12" + host_bind_override: "eth12" + type: "flat" + net_name: "flat" + +### +### Infrastructure +### + +# galera, memcache, rabbitmq, utility +shared-infra_hosts: + infra1: + ip: 10.0.1.11 + +# repository (apt cache, python packages, etc) +repo-infra_hosts: + infra1: + ip: 10.0.1.11 + +# load balancer +# Ideally the load balancer should not use the Infrastructure hosts. +# Dedicated hardware is best for improved performance and security. +haproxy_hosts: + infra2: + ip: 10.0.1.15 + +# rsyslog server +log_hosts: + infra1: + ip: 10.0.1.11 + + +### +### OpenStack +### + +# keystone +identity_hosts: + infra1: + ip: 10.0.1.11 + +# cinder api services +storage-infra_hosts: + infra1: + ip: 10.0.1.11 + +# glance +image_hosts: + infra1: + ip: 10.0.1.11 + +# nova api, conductor, etc services +compute-infra_hosts: + infra1: + ip: 10.0.1.11 + +# heat +orchestration_hosts: + infra1: + ip: 10.0.1.11 + +# horizon +dashboard_hosts: + infra1: + ip: 10.0.1.11 + +# neutron server, agents (L3, etc) +network_hosts: + infra1: + ip: 10.0.1.11 + +# nova hypervisors +compute_hosts: + compute1: + ip: 10.0.1.12 + +# cinder volume hosts +storage_hosts: + infra1: + ip: 10.0.1.11 + container_vars: + cinder_backends: + lvm: + volume_backend_name: LVM + volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver + volume_group: cinder-volumes + iscsi_ip_address: "10.0.2.13" + +