Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # CIDR definition of networks to labels used in the rest of the configuration
- cidr_networks:
- container: 10.13.0.0/24
- tunnel: 10.13.30.0/24
- storage: 10.13.20.0/24
- # (optional) IPs to exclude from container auto-ip assignments
- used_ips:
- - "10.13.0.1,10.13.0.10,10.13.0.11,10.13.0.12,10.13.0.13"
- - "10.13.10.1,10.13.10.10,10.13.10.11,10.13.10.12,10.13.10.13"
- - "10.13.20.1,10.13.20.10,10.13.20.11,10.13.20.12,10.13.20.13"
- - "10.13.30.1,10.13.30.10,10.13.30.11,10.13.30.12,10.13.30.13"
- # Deployment definition
- global_overrides:
- internal_lb_vip_address: 10.13.0.11
- external_lb_vip_address: 10.13.0.11
- 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
- # # Uncomment the next line if using swift with a storage network.
- # # - swift_proxy
- 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: "1:1"
- #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"
- # galera, memcache, rabbitmq, utility
- shared-infra_hosts:
- infra1:
- ip: 10.13.0.11
- # repository (apt cache, python packages, etc)
- repo-infra_hosts:
- infra1:
- ip: 10.13.0.11
- # NOTE: this is called 'image_hosts', 'orchestration_hosts' and 'compute-infra_hosts' in documentation examples
- # Not a bug (check this link: https://bugs.launchpad.net/openstack-ansible/+bug/1703621)
- # glance
- # nova api, conductor, etc services
- # heat, horizon
- os-infra_hosts:
- infra1:
- ip: 10.13.0.11
- # keystone
- identity_hosts:
- infra1:
- ip: 10.13.0.11
- # neutron server, agents (L3, etc)
- network_hosts:
- infra1:
- ip: 10.13.0.11
- # nova hypervisors
- compute_hosts:
- compute1:
- ip: 10.13.0.13
- # cinder api services
- storage-infra_hosts:
- infra1:
- ip: 10.13.0.11
- # cinder storage host (LVM-backed)
- storage_hosts:
- storage1:
- ip: 10.13.0.12
- container_vars:
- cinder_storage_availability_zone: cinderAZ_1
- cinder_default_availability_zone: cinderAZ_1
- cinder_backends:
- lvm:
- volume_backend_name: LVM_iSCSI
- volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
- volume_group: cinder-volumes
- iscsi_ip_address: "10.13.30.12"
- limit_container_types: cinder_volume
- log_hosts:
- infra1:
- ip: 10.13.0.11
- # load balancer
- haproxy_hosts:
- infra1:
- ip: 10.13.0.11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement