summaryrefslogtreecommitdiffstats
path: root/tools/files/heat-public-net-deployment-intel-pod17.yaml
blob: 5ddfd906db7e08f45a198a65b89876b54134d0e4 (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
heat_template_version: ocata

parameters:
  network_name:
    type: string
    default: public

  physical_network_name:
    type: string
    default: public

  physical_network_interface:
    type: string
    default: external

  subnet_name:
    type: string
    default: public

  subnet_cidr:
    type: string
    default: 10.10.175.0/24

  subnet_gateway:
    type: string
    default: 10.10.175.20

  subnet_pool_start:
    type: string
    default: 10.10.175.29

  subnet_pool_end:
    type: string
    default: 10.10.175.99

resources:
  public_net:
    type: OS::Neutron::ProviderNet
    properties:
      admin_state_up: true
      name:
        get_param: network_name
      network_type: flat
      physical_network:
        get_param: physical_network_interface
      port_security_enabled: true
      router_external: true
      shared: true

  private_subnet:
    type: OS::Neutron::Subnet
    properties:
      name:
        get_param: subnet_name
      network:
        get_resource: public_net
      cidr:
        get_param: subnet_cidr
      gateway_ip:
        get_param: subnet_gateway
      enable_dhcp: true
      allocation_pools:
        - start:
            get_param: subnet_pool_start
          end:
            get_param: subnet_pool_end
      dns_nameservers:
        - 8.8.8.8
        - 8.8.4.4