Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / network_data.yaml
1 # List of networks, used for j2 templating of enabled networks
2 #
3 # Supported values:
4 #
5 # name: Name of the network (mandatory)
6 # name_lower: lowercase version of name used for filenames
7 #             (optional, defaults to name.lower())
8 # enabled: Is the network enabled (optional, defaults to true)
9 # vlan: vlan for the network (optional)
10 # vip: Enable creation of a virtual IP on this network
11 # ip_subnet: IP/CIDR, e.g. '192.168.24.0/24' or '2001:db8:fd00:1000::/64'
12 #            (optional, may use parameter defaults instead)
13 # allocation_pools: IP range list e.g. [{'start':'10.0.0.4', 'end':'10.0.0.250'}]
14 # gateway_ip: gateway for the network (optional, may use parameter defaults)
15 # ipv6_subnet: Optional, sets default IPv6 subnet if IPv4 is already defined.
16 # ipv6_allocation_pools: Set default IPv6 allocation pools if IPv4 allocation pools
17 #                        are already defined.
18 # ipv6_gateway: Set an IPv6 gateway if IPv4 gateway already defined.
19 # ipv6: If ip_subnet not defined, this specifies that the network is IPv6-only.
20 # NOTE: IP-related values set parameter defaults in templates, may be overridden,
21 # either by operators, or e.g in environments/network-isolation-v6.yaml where we
22 # set some default IPv6 addresses.
23 # compat_name: for existing stack you may need to override the default
24 #              transformation for the resource's name.
25 #
26 # Example:
27 # - name Example
28 #   vip: false
29 #   ip_subnet: '10.0.2.0/24'
30 #   allocation_pools: [{'start': '10.0.2.4', 'end': '10.0.2.250'}]
31 #   gateway_ip: '10.0.2.254'
32 #
33 # To support backward compatility, two versions of the network definitions will
34 # be created, network/<network>.yaml and network/<network>_v6.yaml. Only
35 # one of these files may be used in the deployment at a time, since the
36 # parameters used for configuration are the same in both files. In the
37 # future, this behavior may be changed to create only one file for custom
38 # networks. You may specify IPv6 addresses for ip_subnet, allocation_pools,
39 # and gateway_ip if no IPv4 addresses are used for a custom network, or set
40 # ipv6: true, and the network/<network>.yaml file will be configured as IPv6.
41 #
42 # For configuring both IPv4 and IPv6 on the same interface, use two separate
43 # networks, and then assign both IPs in the custom NIC configuration templates.
44
45 - name: External
46   vip: true
47   name_lower: external
48   ip_subnet: '10.0.0.0/24'
49   allocation_pools: [{'start': '10.0.0.4', 'end': '10.0.0.250'}]
50   gateway_ip: '10.0.0.1'
51   ipv6_subnet: '2001:db8:fd00:1000::/64'
52   ipv6_allocation_pools: [{'start': '2001:db8:fd00:1000::10', 'end': '2001:db8:fd00:1000:ffff:ffff:ffff:fffe'}]
53   gateway_ipv6: '2001:db8:fd00:1000::1'
54 - name: InternalApi
55   name_lower: internal_api
56   vip: true
57   ip_subnet: '172.16.2.0/24'
58   allocation_pools: [{'start': '172.16.2.4', 'end': '172.16.2.250'}]
59   ipv6_subnet: 'fd00:fd00:fd00:2000::/64'
60   ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:2000::10', 'end': 'fd00:fd00:fd00:2000:ffff:ffff:ffff:fffe'}]
61   compat_name: Internal
62 - name: Storage
63   vip: true
64   name_lower: storage
65   ip_subnet: '172.16.1.0/24'
66   allocation_pools: [{'start': '172.16.1.4', 'end': '172.16.1.250'}]
67   ipv6_subnet: 'fd00:fd00:fd00:3000::/64'
68   ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:3000::10', 'end': 'fd00:fd00:fd00:3000:ffff:ffff:ffff:fffe'}]
69 - name: StorageMgmt
70   name_lower: storage_mgmt
71   vip: true
72   ip_subnet: '172.16.3.0/24'
73   allocation_pools: [{'start': '172.16.3.4', 'end': '172.16.3.250'}]
74   ipv6_subnet: 'fd00:fd00:fd00:4000::/64'
75   ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:4000::10', 'end': 'fd00:fd00:fd00:4000:ffff:ffff:ffff:fffe'}]
76 - name: Tenant
77   vip: false  # Tenant network does not use VIPs
78   name_lower: tenant
79   ip_subnet: '172.16.0.0/24'
80   allocation_pools: [{'start': '172.16.0.4', 'end': '172.16.0.250'}]
81   ipv6_subnet: 'fd00:fd00:fd00:5000::/64'
82   ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:5000::10', 'end': 'fd00:fd00:fd00:5000:ffff:ffff:ffff:fffe'}]
83 - name: Management
84   # Management network is enabled by default for backwards-compatibility, but
85   # is not included in any roles by default. Add to role definitions to use.
86   enabled: true
87   vip: false  # Management network does not use VIPs
88   name_lower: management
89   ip_subnet: '10.0.1.0/24'
90   allocation_pools: [{'start': '10.0.1.4', 'end': '10.0.1.250'}]
91   ipv6_subnet: 'fd00:fd00:fd00:6000::/64'
92   ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:6000::10', 'end': 'fd00:fd00:fd00:6000:ffff:ffff:ffff:fffe'}]