enable automated setup of physical infrastructure
[integration/packaging/ansible-opendaylight.git] / roles / common / vars / main.yml
1 # common variables
2 ---
3 # network infrastructure
4 ## lab network resources
5 # lab_http_proxy:
6 # lab_https_proxy:
7 # infrastructure_server:
8 # registry_ip_address:
9 # docker_registry_port:
10 # docker_registry:
11
12
13 ## network configuration of host machines
14 mgmt_iface: eno3
15 data_iface: eno4
16 management_bridge: br_mgmt
17 data_bridge: br_data
18 test_netmask: 16
19 management_interface: "{{ mgmt_iface }}"
20 data_interface: "{{ data_iface }}"
21 management_subnet_prefix: "10.129"
22 mgmt_ip_prefix: "10.129"
23 management_subnet_netmask: "16"
24 data_subnet_prefix: "10.130"
25 data_ip_prefix: "10.130"
26 data_subnet_netmask: "16"
27
28 # IP address of the Linux bridge on the physical host
29 mgmt_ip: "{{ mgmt_ip_prefix }}.{{ rackpos }}.1/{{ test_netmask }}"
30 data_ip: "{{ data_ip_prefix }}.{{ rackpos }}.1/{{ test_netmask }}"
31
32 # lab/default IP addresses of physical hosts
33 mgmt_lab_ip_prefix: "10.11.26"
34 data_lab_ip_prefix: "10.11.126"
35 lab_netmask: 22
36 # position and rackpos are an integer "index" of physical machines
37 position: "{{ rackpos }}"
38 # default IP addresses for lab machine interfaces
39 mgmt_lab_ip: "{{ mgmt_lab_ip_prefix }}.{{ rackpos }}/{{ lab_netmask }}"
40 data_lab_ip: "{{ data_lab_ip_prefix }}.{{ rackpos }}/{{ lab_netmask }}"
41
42 # node operating system defaults
43 # Variables for emulated framework containers
44 ## container configuration
45 docker_systemd_version: "v0.1"
46 compute_image: "s3p/compute"
47 compute_version: "v0.5s"
48 measure_image: "s3p/measure"
49 measure_version: "v0.1.1"
50 service_image: "s3p/service"
51 service_version: "v0.4sc"
52 control_node_image: "{{ docker_registry }}/{{ service_image }}:{{ service_version }}"
53
54 ## cluster configuration
55 ### the service_host ip should be conform to infrastructure routing
56 #### service_host_phys_host is the host_index for the physical server
57 service_host_phys_host: "20"
58 service_host_container_index: "2"
59 service_host_mgmt_ip: "{{ management_subnet_prefix }}.{{ service_host_phys_host }}.{{ service_host_container_index }}"
60 control_node_container_name: "service-node"
61
62 # network parameters for service and compute nodes
63 lab_no_proxy: "localhost,10.0.0.0/8,192.168.0.0/16,172.17.0.0/16,127.0.0.1,127.0.0.0/8,{{ service_host_mgmt_ip }}"
64
65 # OpenStack framework config
66 use_odl_network: "True"