aboutsummaryrefslogtreecommitdiffstats
path: root/etc/infra/infra_deploy_multi.yaml.sample
blob: aa27b735a90010bef566784a6a11e34ea54efe42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
nodes:
  - name: Deployment and Controller node number 1 VM
    openstack_node: controller
    hostname: control-01
    interfaces:
      - network: management
        ip: 192.168.1.10
        netmask: 255.255.255.0
      - network: traffic
        ip: 192.20.1.10
        netmask: 255.255.255.0
    user: ubuntu
    password: password
    image: /tmp/image_cntrl_1.img
    disk: 13000
    ram: 9000
    vcpus: 4

  - name: Controller node number 2 VM
    openstack_node: controller
    hostname: control-02
    interfaces:
      - network: management
        ip: 192.168.1.11
        netmask: 255.255.255.0
      - network: traffic
        ip: 192.20.1.11
        netmask: 255.255.255.0
    user: ubuntu
    password: password
    image: /tmp/image_cntrl_2.img
    disk: 11000
    ram: 6000
    vcpus: 2

  - name: Compute node number 1 VM
    openstack_node: compute
    hostname: compute-01
    interfaces:
      - network: management
        ip: 192.168.1.12
        netmask: 255.255.255.0
      - network: traffic
        ip: 192.20.1.12
        netmask: 255.255.255.0
    user: ubuntu
    password: password
    image: /tmp/image_comp_1.img
    disk: 30000
    ram: 16000
    vcpus: 12

  - name: Compute node number 2 VM
    openstack_node: compute
    hostname: compute-02
    interfaces:
      - network: management
        ip: 192.168.1.13
        netmask: 255.255.255.0
      - network: traffic
        ip: 192.20.1.13
        netmask: 255.255.255.0
    user: ubuntu
    password: password
    image: /tmp/image_comp_2.img
    disk: 12000
    ram: 6000
    vcpus: 4

  - name: Jump host
    hostname: yardstickvm
    interfaces:
      - network: management
        ip: 192.168.1.14
        netmask: 255.255.255.0
      - network: traffic
        ip: 192.20.1.14
        netmask: 255.255.255.0
    user: ubuntu
    password: password
    image: /tmp/image_yardstick.img
    disk: 28000
    ram: 12000
    vcpus: 4

networks:
  - name: management
    default_gateway: True
    host_ip: 192.168.1.1
    netmask: 255.255.255.0

  - name: traffic
    default_gateway: False  # This parameter is not mandatory, default value: False
    host_ip: 192.20.1.1
    netmask: 255.255.255.0
    dhcp_ip_start: 192.20.1.200
    dhcp_ip_stop: 192.20.1.250