Skip to content

Instantly share code, notes, and snippets.

@jovial
Created August 8, 2024 08:38
Show Gist options
  • Save jovial/939f6436884fcc512e63c2ef407ec47a to your computer and use it in GitHub Desktop.
Save jovial/939f6436884fcc512e63c2ef407ec47a to your computer and use it in GitHub Desktop.
Dual bond
# etc/kayobe/inventory/group_vars/compute/network-interfaces
provision_ctl_net_bond_slaves:
- "ens2f0np0"
- "ens2f1np1"
hs_bond_B_bond_slaves:
- "ens5f0np0"
- "ens5f1np1"
# etc/kayobe/compute.yml
compute_extra_network_interfaces:
- hs_bond_B
#etc/kayobe/inventory/group_vars/overcloud/network-interfaces
# Overcloud provisioning network IP information.
provision_ctl_net_interface: "bond0"
provision_ctl_net_bond_mode: "802.3ad"
provision_ctl_net_bond_xmit_hash_policy: "layer3+4"
hs_bond_B_interface: "bond1"
hs_bond_B_bond_mode: "802.3ad"
hs_bond_B_bond_xmit_hash_policy: "layer3+4"
hs_bond_B_bond_slaves:
# Internal network IP information.
internal_net_interface: "{{ provision_ctl_net_interface }}.{{ internal_net_vlan }}"
# Storage network IP information.
storage_net_interface: "{{ provision_ctl_net_interface }}.{{ storage_net_vlan }}"
# Tenant/Tunnel IP information.
tenant_tunnel_net_interface: "{{ hs_bond_B_interface }}.{{ tenant_tunnel_net_vlan }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment