Skip to content

Commit

Permalink
Add networks and network mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
jingvar committed Jun 24, 2021
1 parent 6d17c41 commit fe9c5d5
Showing 1 changed file with 90 additions and 24 deletions.
114 changes: 90 additions & 24 deletions etc/kayobe/networks.yml
Expand Up @@ -8,31 +8,31 @@

# Name of the network used for admin access to the overcloud
#admin_oc_net_name:
admin_oc_net_name: aio
#admin_oc_net_name: aio

# Name of the network used by the seed to manage the bare metal overcloud
# hosts via their out-of-band management controllers.
#oob_oc_net_name:
oob_oc_net_name: aio
oob_oc_net_name: mgmt

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

# 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: aio
oob_wl_net_name: mgmt

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

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

# List of names of networks used to provide external network access via
# Neutron.
Expand All @@ -41,55 +41,116 @@ internal_net_name: aio
# containing one item, external_net_name.
#external_net_names:
external_net_names:
- aio
- external

# Name of the network used to expose the public OpenStack API endpoints.
#public_net_name:
public_net_name: aio
public_net_name: public

# Name of the network used by Neutron to carry tenant overlay network traffic.
#tunnel_net_name:
tunnel_net_name: aio
tunnel_net_name: tunnel

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

# Name of the network used to carry storage management traffic.
#storage_mgmt_net_name:
storage_mgmt_net_name: aio
storage_mgmt_net_name: storage_mgmt

# Name of the network used to carry swift storage data traffic.
#swift_storage_net_name:
swift_storage_net_name: aio
#swift_storage_net_name: aio

# Name of the network used to carry swift storage replication traffic.
#swift_storage_replication_net_name:
swift_storage_replication_net_name: aio
#swift_storage_replication_net_name: aio

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

# Name of the network used to perform cleaning on the bare metal workload
# hosts
#cleaning_net_name:
cleaning_net_name: aio
cleaning_net_name: provision_wl

###############################################################################
# Network definitions.

# All-in-one network.
aio_cidr: 192.168.33.0/24
aio_allocation_pool_start: 192.168.33.3
aio_allocation_pool_end: 192.168.33.30
aio_neutron_allocation_pool_start: 192.168.33.31
aio_neutron_allocation_pool_end: 192.168.33.127
aio_inspection_allocation_pool_start: 192.168.33.128
aio_inspection_allocation_pool_end: 192.168.33.254
aio_vip_address: 192.168.33.2
aio_mtu: 1450
#aio_cidr: 192.168.33.0/24
#aio_allocation_pool_start: 192.168.33.3
#aio_allocation_pool_end: 192.168.33.30
#aio_neutron_allocation_pool_start: 192.168.33.31
#aio_neutron_allocation_pool_end: 192.168.33.127
#aio_inspection_allocation_pool_start: 192.168.33.128
#aio_inspection_allocation_pool_end: 192.168.33.254
#aio_vip_address: 192.168.33.2
#aio_mtu: 1450
mgmt_cidr: 192.168.35.0/24
mgmt_mtu: 1450
# Native VLAN
mgmt_physical_network: mgmt

#admin_cidr: 192.168.34.0/24
#admin_mtu: 1450
#admin_vlan: 100
#admin_physical_network: provision

provision_oc_cidr: 192.168.33.0/24
provision_oc_mtu: 1450
provision_oc_inspection_allocation_pool_start: 192.168.33.128
provision_oc_inspection_allocation_pool_end: 192.168.33.254
# Native VLAN
provision_oc_physical_network: provision

provision_wl_cidr: 192.168.36.0/24
provision_wl_mtu: 1450
provision_wl_inspection_allocation_pool_start: 192.168.36.128
provision_wl_inspection_allocation_pool_end: 192.168.36.254
provision_wl_neutron_allocation_pool_start: 192.168.36.2
provision_wl_neutron_allocation_pool_end: 192.168.36.127
# Native VLAN
provision_wl_physical_network: cloud

internal_cidr: 192.168.37.0/24
internal_mtu: 1450
internal_allocation_pool_start: 192.168.37.3
internal_allocation_pool_end: 192.168.37.254
internal_vip_address: 192.168.37.2
internal_vlan: 101
internal_physical_network: cloud

external_cidr: 192.168.38.0/24
external_mtu: 1450
external_vlan: 102
external_physical_network: cloud

public_cidr: 192.168.39.0/24
public_mtu: 1450
public_allocation_pool_start: 192.168.39.3
public_allocation_pool_end: 192.168.39.254
public_vip_address: 192.168.39.2
public_vlan: 103
public_physical_network: cloud

tunnel_cidr: 192.168.40.0/24
tunnel_mtu: 1450
tunnel_vlan: 104
tunnel_physical_network: cloud

storage_cidr: 192.168.41.0/24
storage_mtu: 1450
storage_vlan: 105
storage_physical_network: cloud

storage_mgmt_cidr: 192.168.42.0/24
storage_mgmt_mtu: 1450
storage_mgmt_vlan: 106
storage_mgmt_physical_network: cloud

###############################################################################
# Network virtual patch link configuration.
Expand All @@ -115,6 +176,11 @@ aio_mtu: 1450
# 'name' items. These tables will be added to /etc/iproute2/rt_tables.
#network_route_tables:

###############################################################################
# MichaelRigart interfaces configuration.

interfaces_pause_time: 5

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes

0 comments on commit fe9c5d5

Please sign in to comment.