Created
July 10, 2018 07:14
-
-
Save yankcrime/4e4eef2073257b76c988a4b35f3bb8a4 to your computer and use it in GitHub Desktop.
inventory/group_vars/controllers/network-interfaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
############################################################################### | |
# Network interface definitions for the controller group. | |
# Controllers have four physical Ethernet interfaces: | |
# ens785f0 & ens785f1: 1G, unused. | |
# eno1 & eno2: 10G, bonded. | |
# We create VLAN subinterfaces on the bond interface for the required VLANs. | |
# IPMI/power management network interface. | |
# Tagged VLAN on the 10GbE network. | |
ipmi_power_interface: "{{ undercloud_prov_interface }}.{{ ipmi_power_vlan }}" | |
# Undercloud provisioning network interface. | |
# This is the native VLAN on the bonded 10GbE network. | |
undercloud_prov_interface: "bond0" | |
# VLAN-tagged LAG 10GbE network bond mode. | |
undercloud_prov_bond_mode: "802.3ad" | |
# VLAN-tagged LAG 10GbE network bond slaves. | |
undercloud_prov_bond_slaves: | |
- "eno1" | |
- "eno2" | |
undercloud_prov_bond_updelay: 200 | |
undercloud_prov_bond_downdelay: 200 | |
undercloud_prov_bond_xmit_hash_policy: "layer3+4" | |
undercloud_prov_bond_lacp_rate: 1 | |
# Overcloud provisioning network interface. | |
# Tagged VLAN on the bonded 10GbE network. | |
overcloud_prov_interface: "{{ undercloud_prov_interface }}.{{ overcloud_prov_vlan }}" | |
# Internal network interface. | |
# Tagged VLAN on the bonded 10GbE network. | |
internal_interface: "{{ undercloud_prov_interface }}.{{ internal_vlan }}" | |
# Internal network static IP routes. | |
internal_routes: | |
# Add a route from the internal API network to the public API network. | |
- cidr: "{{ public_cidr }}" | |
gateway: "10.105.0.1" | |
# Storage network interface. | |
# Tagged VLAN on the bonded 10GbE network. | |
storage_interface: "{{ undercloud_prov_interface }}.{{ storage_vlan }}" | |
# DevOps/admin network interface. | |
# Tagged VLAN on the bonded 10GbE network. | |
admin_interface: "{{ undercloud_prov_interface }}.{{ admin_vlan }}" | |
############################################################################### | |
# Dummy variable to allow Ansible to accept this file. | |
workaround_ansible_issue_8743: yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment