Advertisement
avoliveira

Network

Jul 17th, 2020
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. # Bond 1 Storage Group - Linux Bond
  2. - type: linux_bond
  3. name: bond1
  4. mtu: 9000
  5. bonding_options: "mode=802.3ad lacp_rate=slow updelay=1000 miimon=100"
  6. use_dhcp: false
  7. dns_servers:
  8. get_param: DnsServers
  9. domain:
  10. get_param: DnsSearchDomains
  11. members:
  12. - type: interface
  13. name: nic3
  14. mtu: 9000
  15. use_dhcp: false
  16. primary: true
  17. - type: interface
  18. name: nic4
  19. mtu: 9000
  20. use_dhcp: false
  21. - type: vlan
  22. mtu: 9000
  23. device: bond1
  24. vlan_id:
  25. get_param: StorageNetworkVlanID
  26. addresses:
  27. - ip_netmask:
  28. get_param: StorageIpSubnet
  29. - type: vlan
  30. mtu: 9000
  31. device: bond1
  32. vlan_id:
  33. get_param: StorageNFSNetworkVlanID
  34. addresses:
  35. - ip_netmask:
  36. get_param: StorageNFSIpSubnet
  37.  
  38. # Bond 2 Tenant / Floating - Data Group OVS
  39. - type: ovs_bridge
  40. name: bridge_name
  41. mtu: 9000
  42. use_dhcp: false
  43. dns_servers:
  44. get_param: DnsServers
  45. domain:
  46. get_param: DnsSearchDomains
  47. members:
  48. - type: linux_bond
  49. name: bond2
  50. mtu: 9000
  51. bonding_options: "mode=802.3ad lacp_rate=slow updelay=1000 miimon=100"
  52. members:
  53. - type: interface
  54. name: nic5
  55. mtu: 9000
  56. use_dhcp: false
  57. primary: true
  58. - type: interface
  59. name: nic6
  60. mtu: 9000
  61. use_dhcp: false
  62. - type: vlan
  63. mtu: 9000
  64. device: bond2
  65. vlan_id:
  66. get_param: TenantNetworkVlanID
  67. addresses:
  68. - ip_netmask:
  69. get_param: TenantIpSubnet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement