Add sample network data files for network-data-v2

A new directory 'network-data-samples' is added with
sample network data in network-data-v2 format.

Change-Id: I85ab942f0103a8fa2345b637956f9fa5a17aa3aa
This commit is contained in:
Harald Jensås 2020-12-02 23:31:02 +01:00
parent bf17c1d97f
commit 1787da1443
11 changed files with 544 additions and 0 deletions

View File

@ -0,0 +1,56 @@
- name: Storage
name_lower: storage
vip: true
vlan: 30
mtu: 1500
subnets:
storage_subnet:
ipv6_subnet: fd00:fd00:fd00:3000::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:3000::10
end: fd00:fd00:fd00:3000:ffff:ffff:ffff:fffe
- name: StorageMgmt
name_lower: storage_mgmt
vip: true
vlan: 40
mtu: 1500
subnets:
storage_mgmt_subnet:
ipv6_subnet: fd00:fd00:fd00:4000::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:4000::10
end: fd00:fd00:fd00:4000:ffff:ffff:ffff:fffe
- name: InternalApi
name_lower: internal_api
vip: true
vlan: 20
mtu: 1500
subnets:
internal_api_subnet:
ipv6_subnet: fd00:fd00:fd00:2000::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:2000::10
end: fd00:fd00:fd00:2000:ffff:ffff:ffff:fffe
- name: Tenant
vip: false # Tenant network does not use VIPs
name_lower: tenant
vlan: 50
mtu: 1500
subnets:
tenant_subnet:
ipv6_subnet: fd00:fd00:fd00:5000::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:5000::10
end: fd00:fd00:fd00:5000:ffff:ffff:ffff:fffe
- name: External
name_lower: external
vip: true
vlan: 10
mtu: 1500
subnets:
external_subnet:
ipv6_subnet: 2001:db8:fd00:1000::/64
ipv6_allocation_pools:
- start: 2001:db8:fd00:1000::10
end: 2001:db8:fd00:1000:ffff:ffff:ffff:fffe
gateway_ipv6: 2001:db8:fd00:1000::1

View File

@ -0,0 +1,56 @@
- name: Storage
name_lower: storage
vip: true
vlan: 30
mtu: 1500
subnets:
storage_subnet:
ip_subnet: 172.16.1.0/24
allocation_pools:
- start: 172.16.1.4
end: 172.16.1.250
- name: StorageMgmt
name_lower: storage_mgmt
vip: true
vlan: 40
mtu: 1500
subnets:
storage_mgmt_subnet:
ip_subnet: 172.16.3.0/24
allocation_pools:
- start: 172.16.3.4
end: 172.16.3.250
- name: InternalApi
name_lower: internal_api
vip: true
vlan: 20
mtu: 1500
subnets:
internal_api_subnet:
ip_subnet: 172.16.2.0/24
allocation_pools:
- start: 172.16.2.4
end: 172.16.2.250
- name: Tenant
vip: false # Tenant network does not use VIPs
name_lower: tenant
vlan: 50
mtu: 1500
subnets:
tenant_subnet:
ip_subnet: 172.16.0.0/24
allocation_pools:
- start: 172.16.0.4
end: 172.16.0.250
- name: External
name_lower: external
vip: true
vlan: 10
mtu: 1500
subnets:
external_subnet:
ip_subnet: 10.0.0.0/24
allocation_pools:
- start: 10.0.0.4
end': 10.0.0.250
gateway_ip: 10.0.0.1

View File

@ -0,0 +1,22 @@
- name: StorageNFS
name_lower: storage_nfs
vip: true
vlan: 70
mtu: 1500
subnets:
storage_nfs_subnet:
ipv6_subnet: 'fd00:fd00:fd00:7000::/64'
# This network is shared by the overcloud deployment and a Neutron
# provider network that is set up post-deployment for consumers like Nova
# VMs to use to mount shares. The allocation pool specified here is used
# for the overcloud deployment for interfaces on the ControllerStorageNfs
# role nodes and for the VIP where the Ganesha service itself is exposed.
# With a default three-controller node deployment, only four IPs are
# actually needed for this allocation pool.
# When you adapt this file for your own deployment you can of course
# adjust the allocation pool -- just make sure to leave a good-sized range
# outside the allocation pool specified here for use in the allocation pool
# for the overcloud Neutron StorageNFS provider network's subnet definition.
ipv6_allocation_pools:
- start: fd00:fd00:fd00:7000::4
end: fd00:fd00:fd00:7000::fffe

View File

@ -0,0 +1,24 @@
- name: StorageNFS
name_lower: storage_nfs
vip: true
vlan: 70
mtu: 1500
subnets:
storage_nfs_subnet:
ip_subnet: 172.17.0.0/20
# This network is shared by the overcloud deployment and a Neutron
# provider network that is set up post-deployment for consumers like Nova
# VMs to use to mount shares. The allocation pool specified here is used
# for the overcloud deployment for interfaces on the ControllerStorageNfs
# role nodes and for the VIP where the Ganesha service itself is exposed.
# With a default three-controller node deployment, only four IPs are
# actually needed for this allocation pool.
# When you adapt this file for your own deployment you can of course
# change the /20 CIDR and adjust the allocation pool -- just make sure to
# leave a good-sized range outside the allocation pool specified here for
# use in the allocation pool for the overcloud Neutron StorageNFS
# provider network's subnet definition.
allocation_pools:
- start: 172.17.0.4
end: 172.17.0.250

View File

@ -0,0 +1,90 @@
- name: Storage
name_lower: storage
vip: true
vlan: 30
mtu: 1500
subnets:
storage_subnet:
ipv6_subnet: fd00:fd00:fd00:3000::/64
ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:3000::10', 'end': 'fd00:fd00:fd00:3000:ffff:ffff:ffff:fffe'}]
routes_ipv6: [{'destination':'fd00:fd00:fd00:3004::/64', 'nexthop':'fd00:fd00:fd00:3000::1'}]
- name: StorageLeaf2
name_lower: storage2
vip: false
vlan: 31
mtu: 1500
subnets:
storage2_subnet:
ipv6_subnet: fd00:fd00:fd00:3004::/64
ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:3004::10', 'end': 'fd00:fd00:fd00:3004:ffff:ffff:ffff:fffe'}]
routes_ipv6: [{'destination':'fd00:fd00:fd00:3000::/64', 'nexthop':'fd00:fd00:fd00:3004::1'}]
- name: StorageMgmt
name_lower: storage_mgmt
vip: true
vlan: 40
mtu: 1500
subnets:
storage_mgmt_subnet:
ipv6_subnet: fd00:fd00:fd00:4000::/64
ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:4000::10', 'end': 'fd00:fd00:fd00:4000:ffff:ffff:ffff:fffe'}]
routes_ipv6: [{'destination':'fd00:fd00:fd00:4004::/64', 'nexthop':'fd00:fd00:fd00:4000::1'}]
- name: StorageMgmtLeaf2
name_lower: storage_mgmt2
vip: false
vlan: 41
mtu: 1500
subnets:
storage_mgmt2_subnet:
ipv6_subnet: 'fd00:fd00:fd00:4004::/64'
ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:4004::10', 'end': 'fd00:fd00:fd00:4004:ffff:ffff:ffff:fffe'}]
routes_ipv6: [{'destination':'fd00:fd00:fd00:4000::/64', 'nexthop':'fd00:fd00:fd00:4004::1'}]
- name: InternalApi
name_lower: internal_api
vip: true
vlan: 20
mtu: 1500
subnets:
internal_api_subnet:
ipv6_subnet: 'fd00:fd00:fd00:2000::/64'
ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:2000::10', 'end': 'fd00:fd00:fd00:2000:ffff:ffff:ffff:fffe'}]
routes_ipv6: [{'destination':'fd00:fd00:fd00:2004::/64', 'nexthop':'fd00:fd00:fd00:2000::1'}]
- name: InternalApiLeaf2
name_lower: internal_api2
vip: false
vlan: 21
mtu: 1500
subnets:
internal_api2_subnet:
ipv6_subnet: 'fd00:fd00:fd00:2004::/64'
ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:2004::10', 'end': 'fd00:fd00:fd00:2004:ffff:ffff:ffff:fffe'}]
routes_ipv6: [{'destination':'fd00:fd00:fd00:2000::/64', 'nexthop':'fd00:fd00:fd00:2004::1'}]
- name: Tenant
name_lower: tenant
vip: false # Tenant networks do not use VIPs
vlan: 50
mtu: 1500
subnets:
tenant_subnet:
ipv6_subnet: 'fd00:fd00:fd00:5000::/64'
ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:5000::10', 'end': 'fd00:fd00:fd00:5000:ffff:ffff:ffff:fffe'}]
routes_ipv6: [{'destination':'fd00:fd00:fd00:5004::/64', 'nexthop':'fd00:fd00:fd00:5000::1'}]
- name: TenantLeaf2
name_lower: tenant2
vip: false # Tenant networks do not use VIPs
vlan: 51
mtu: 1500
subnets:
tenant2_subnet:
ipv6_subnet: 'fd00:fd00:fd00:5004::/64'
ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:5004::10', 'end': 'fd00:fd00:fd00:5004:ffff:ffff:ffff:fffe'}]
routes_ipv6: [{'destination':'fd00:fd00:fd00:5000::/64', 'nexthop':'fd00:fd00:fd00:5004::1'}]
- name: External
name_lower: external
vip: true
vlan: 10
mtu: 1500
subnets:
external_subnet:
ipv6_subnet: '2001:db8:fd00:1000::/64'
ipv6_allocation_pools: [{'start': '2001:db8:fd00:1000::10', 'end': '2001:db8:fd00:1000:ffff:ffff:ffff:fffe'}]
gateway_ipv6: '2001:db8:fd00:1000::1'

View File

@ -0,0 +1,98 @@
- name: Storage
name_lower: storage
vip: true
vlan: 30
mtu: 1500
subnets:
storage_subnet:
ip_subnet: 172.16.16.0/24
gateway_ip: 172.16.16.1
routes: [{'destination':'172.16.16.0/20', 'nexthop':'172.16.16.1'}]
allocation_pools: [{'start': '172.16.16.4', 'end': '172.16.16.250'}]
- name: StorageLeaf2
name_lower: storage2
vip: false
vlan: 31
mtu: 1500
subnets:
storage2_subnet:
ip_subnet: 172.16.17.0/24
gateway_ip: 172.16.17.1
routes: [{'destination':'172.16.16.0/20', 'nexthop':'172.16.17.1'}]
allocation_pools: [{'start': '172.16.17.4', 'end': '172.16.17.250'}]
- name: StorageMgmt
name_lower: storage_mgmt
vip: true
vlan: 40
mtu: 1500
subnets:
storage_mgmt_subnet:
ip_subnet: 172.16.48.0/24
gateway_ip: 172.16.48.1
routes: [{'destination':'172.16.48.0/20', 'nexthop':'172.16.48.1'}]
allocation_pools: [{'start': '172.16.48.4', 'end': '172.16.48.250'}]
- name: StorageMgmtLeaf2
name_lower: storage_mgmt2
vip: false
vlan: 41
mtu: 1500
subnets:
storage_mgmt2_subnet:
ip_subnet: 172.16.49.0/24
gateway_ip: 172.16.49.1
routes: [{'destination':'172.16.48.0/20', 'nexthop':'172.16.49.1'}]
allocation_pools: [{'start': '172.16.49.4', 'end': '172.16.49.250'}]
- name: InternalApi
name_lower: internal_api
vip: true
vlan: 20
mtu: 1500
subnets:
internal_api_subnet:
ip_subnet: 172.16.32.0/24
gateway_ip: 172.16.32.1
routes: [{'destination':'172.16.32.0/20', 'nexthop':'172.16.32.1'}]
allocation_pools: [{'start': '172.16.32.4', 'end': '172.16.32.250'}]
- name: InternalApiLeaf2
name_lower: internal_api2
vip: false
vlan: 21
mtu: 1500
subnets:
internal_api2_subnet:
ip_subnet: 172.16.33.0/24
gateway_ip: 172.16.33.1
routes: [{'destination':'172.16.32.0/20', 'nexthop':'172.16.33.1'}]
allocation_pools: [{'start': '172.16.33.4', 'end': '172.16.33.250'}]
- name: Tenant
name_lower: tenant
vip: false # Tenant networks do not use VIPs
vlan: 50
mtu: 1500
subnets:
tenant_subnet:
ip_subnet: 172.16.0.0/24
gateway_ip: 172.16.0.1
routes: [{'destination':'172.16.0.0/20', 'nexthop':'172.16.0.1'}]
allocation_pools: [{'start': '172.16.0.4', 'end': '172.16.0.250'}]
- name: TenantLeaf2
name_lower: tenant2
vip: false # Tenant networks do not use VIPs
vlan: 51
mtu: 1500
subnets:
tenant2_subnet:
ip_subnet: 172.16.1.0/24
gateway_ip: 172.16.1.1
routes: [{'destination':'172.16.0.0/20', 'nexthop':'172.16.1.1'}]
allocation_pools: [{'start': '172.16.1.4', 'end': '172.16.1.250'}]
- name: External
name_lower: external
vip: true
vlan: 10
mtu: 1500
subnets:
external_subnet:
ip_subnet: 10.0.0.0/24
allocation_pools: [{'start': '10.0.0.4', 'end': '10.0.0.250'}]
gateway_ip: 10.0.0.1

View File

@ -0,0 +1,12 @@
- name: Management
name_lower: management
vip: false # Management network does not use VIPs
vlan: 60
mtu: 1500
subnets:
management_subnet:
ipv6_subnet: fd00:fd00:fd00:6000::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:6000::10
end: fd00:fd00:fd00:6000:ffff:ffff:ffff:fffe
gateway_ipv6: fd00:fd00:fd00:6000::1

View File

@ -0,0 +1,12 @@
- name: Management
name_lower: management
vip: false # Management network does not use VIPs
vlan: 60
mtu: 1500
subnets:
management_subnet:
ip_subnet: 10.0.1.0/24
allocation_pools:
- start: 10.0.1.4
end: 10.0.1.250
gateway_ip: 10.0.1.1

View File

@ -0,0 +1,6 @@
# Empty file with no networks defined
#
# This file should be used if no composable networks (no network-isolation) is
# required.
#
[]

View File

@ -0,0 +1,84 @@
- name: Storage
name_lower: storage
vip: true
vlan: 30
mtu: 1500
subnets:
storage_subnet:
ipv6_subnet: fd00:fd00:fd00:3000::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:3000::10
end: fd00:fd00:fd00:3000:ffff:ffff:ffff:fffe
gateway_ipv6: fd00:fd00:fd00:3000::1
storage2_subnet:
ipv6_subnet: fd00:fd00:fd00:3004::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:3004::10
end: fd00:fd00:fd00:3004:ffff:ffff:ffff:fffe
gateway_ipv6: fd00:fd00:fd00:3004::1
- name: StorageMgmt
name_lower: storage_mgmt
vip: true
vlan: 40
mtu: 1500
subnets:
storage_mgmt_subnet:
ipv6_subnet: fd00:fd00:fd00:4000::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:4000::10
end: fd00:fd00:fd00:4000:ffff:ffff:ffff:fffe
gateway_ipv6: fd00:fd00:fd00:4000::1
storage_mgmt2_subnet:
ipv6_subnet: fd00:fd00:fd00:4004::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:4004::1
end: fd00:fd00:fd00:4004:ffff:ffff:ffff:fffe
gateway_ipv6: fd00:fd00:fd00:4004::1
- name: InternalApi
name_lower: internal_api
vip: true
vlan: 20
mtu: 1500
subnets:
internal_api_subnet:
ipv6_subnet: fd00:fd00:fd00:2000::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:2000::10
end: fd00:fd00:fd00:2000:ffff:ffff:ffff:fffe
gateway_ipv6: fd00:fd00:fd00:2000::1
internal_api2_subnet:
ipv6_subnet: fd00:fd00:fd00:2004::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:2004::10
end: fd00:fd00:fd00:2004:ffff:ffff:ffff:fffe
gateway_ipv6: fd00:fd00:fd00:2004::1
- name: Tenant
name_lower: tenant
vip: false # Tenant networks do not use VIPs
vlan: 50
mtu: 1500
subnets:
tenant_subnet:
ipv6_subnet: fd00:fd00:fd00:5000::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:5000::10
end: fd00:fd00:fd00:5000:ffff:ffff:ffff:fffe
gateway_ipv6: fd00:fd00:fd00:5000::1
tenant2_subnet:
ipv6_subnet: fd00:fd00:fd00:5004::/64
ipv6_allocation_pools:
- start: fd00:fd00:fd00:5004::10
end: fd00:fd00:fd00:5004:ffff:ffff:ffff:fffe
gateway_ipv6: fd00:fd00:fd00:5004::1
- name: External
name_lower: external
vip: true
vlan: 10
mtu: 1500
subnets:
external_subnet:
ipv6_subnet: 2001:db8:fd00:1000::/64
ipv6_allocation_pools:
- start: 2001:db8:fd00:1000::10
end: 2001:db8:fd00:1000:ffff:ffff:ffff:fffe
gateway_ipv6: 2001:db8:fd00:1000::1

View File

@ -0,0 +1,84 @@
- name: Storage
name_lower: storage
vip: true
vlan: 30
mtu: 1500
subnets:
storage_subnet:
ip_subnet: 172.16.16.0/24
gateway_ip: 172.16.16.1
allocation_pools:
- start: 172.16.16.4
end: 172.16.16.250
storage2_subnet:
ip_subnet: 172.16.17.0/24
gateway_ip: 172.16.17.1
allocation_pools:
- start: 172.16.17.4
end: 172.16.17.250
- name: StorageMgmt
name_lower: storage_mgmt
vip: true
vlan: 40
mtu: 1500
subnets:
storage_mgmt_subnet:
ip_subnet: 172.16.48.0/24
gateway_ip: 172.16.48.1
allocation_pools:
- start: 172.16.48.4
end: 172.16.48.250
storage_mgmt2_subnet:
ip_subnet: 172.16.49.0/24
gateway_ip: 172.16.49.1
allocation_pools:
- start: 172.16.49.4
end': 172.16.49.250
- name: InternalApi
name_lower: internal_api
vip: true
vlan: 20
mtu: 1500
subnets:
internal_api_subnet:
ip_subnet: 172.16.32.0/24
gateway_ip: 172.16.32.1
allocation_pools:
- start: 172.16.32.4
end: 172.16.32.250
internal_api2_subnet:
ip_subnet: 172.16.33.0/24
gateway_ip: 172.16.33.1
allocation_pools:
- start: 172.16.33.4
end: 172.16.33.250
- name: Tenant
name_lower: tenant
vip: false # Tenant networks do not use VIPs
vlan: 50
mtu: 1500
subnets:
tenant_subnet:
ip_subnet: 172.16.0.0/24
gateway_ip: 172.16.0.1
allocation_pools:
- start: 172.16.0.4
end: 172.16.0.250
tenant2_subnet:
ip_subnet: 172.16.1.0/24
gateway_ip: 172.16.1.1
allocation_pools:
- start: 172.16.1.4
end: 172.16.1.250
- name: External
name_lower: external
vip: true
vlan: 10
mtu: 1500
subnets:
external_subnet:
ip_subnet: 10.0.0.0/24
allocation_pools:
- start: 10.0.0.4
end: 10.0.0.250
gateway_ip: 10.0.0.1