---
###############################################################################
# Network role to network name mappings.

# Name of the network used for admin access to the overcloud
admin_oc_net_name: "{{ provision_oc_net_name }}"

# Name of the network used by the overcloud hosts to manage the bare metal
# compute hosts via their out-of-band management controllers.
oob_oc_net_name: 'oob_oc_net'

# Name of the network used by the seed to provision the bare metal overcloud
# hosts.
provision_oc_net_name: 'provision_oc_net'

# Name of the network used by the overcloud hosts to manage the bare metal
# compute hosts via their out-of-band management controllers.
oob_wl_net_name: 'oob_wl_net'

# Name of the network used by the overcloud hosts to provision the bare metal
# workload hosts.
provision_wl_net_name: 'provision_wl_net'

# Name of the network used to expose the internal OpenStack API endpoints.
internal_net_name: 'internal_net'

# List of names of networks used to provide external network access via
# Neutron.
# Deprecated name: external_net_name
# If external_net_name is defined, external_net_names will default to a list
# containing one item, external_net_name.
external_net_names: >
  {{ [external_net_name]
     if external_net_name is defined else
     ['external_net'] }}

# Name of the network used to expose the public OpenStack API endpoints.
public_net_name: >
  {{ external_net_names[0]
     if external_net_names | length > 0 else
     None }}

# Name of the network used by Neutron to carry tenant overlay network traffic.
tunnel_net_name: "{{ internal_net_name }}"

# Name of the network used to carry storage data traffic.
storage_net_name: 'storage_net'

# Name of the network used to carry storage management traffic.
storage_mgmt_net_name: 'storage_mgmt_net'

# Name of the network used to carry ceph storage data traffic.
ceph_storage_net_name: "{{ storage_net_name }}"

# Name of the network used to carry ceph storage management traffic.
ceph_storage_mgmt_net_name: "{{ storage_mgmt_net_name }}"

# Name of the network used to carry swift storage data traffic.
swift_storage_net_name: "{{ storage_net_name }}"

# Name of the network used to carry swift storage replication traffic.
swift_storage_replication_net_name: "{{ storage_mgmt_net_name }}"

# Name of the network used to perform hardware introspection on the bare metal
# workload hosts.
inspection_net_name: 'inspection_net'

# Name of the network used to perform cleaning on the bare metal workload
# hosts
cleaning_net_name: "{{ provision_wl_net_name }}"

###############################################################################
# Network interface naming conventions.

# Suffix for Open vSwitch bridge names.
network_bridge_suffix_ovs: '-ovs'

# Prefix for virtual patch interface names.
network_patch_prefix: 'p-'

# Suffix for virtual patch link interface names when connected towards the
# physical interface.
network_patch_suffix_phy: '-phy'

# Suffix for virtual patch link interface names when connected towards the
# OVS bridge.
network_patch_suffix_ovs: '-ovs'

###############################################################################
# Network routing table configuration.

# List of IP routing tables. Each item should be a dict containing 'id' and
# 'name' items. These tables will be added to /etc/iproute2/rt_tables.
network_route_tables: []
