Saltstack Official Linux Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

network_openvswitch_dpdk.sls 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. linux:
  2. system:
  3. enabled: true
  4. domain: local
  5. name: linux
  6. network:
  7. enabled: true
  8. hostname: test01
  9. fqdn: test01.local
  10. network_manager: false
  11. bridge: openvswitch
  12. dpdk:
  13. enabled: true
  14. driver: uio
  15. openvswitch:
  16. pmd_cpu_mask: "0x6"
  17. dpdk_socket_mem: "1024"
  18. dpdk_lcore_mask: "0x400"
  19. memory_channels: "2"
  20. vhost_socket_dir:
  21. name: "openvswitch-vhost"
  22. path: "/run/openvswitch-vhost"
  23. interface:
  24. eth0:
  25. enabled: true
  26. type: eth
  27. proto: manual
  28. ovs_bridge: br-prv
  29. dpdk0:
  30. name: enp5s0f1
  31. pci: "0000:05:00.1"
  32. driver: igb_uio
  33. bond: dpdkbond0
  34. enabled: true
  35. type: dpdk_ovs_port
  36. dpdk1:
  37. name: enp5s0f2
  38. pci: "0000:05:00.2"
  39. driver: igb_uio
  40. bond: dpdkbond0
  41. enabled: true
  42. type: dpdk_ovs_port
  43. dpdk2:
  44. name: enp6s0f1
  45. pci: "0000:06:00.1"
  46. driver: igb_uio
  47. bond: dpdkbond1
  48. enabled: true
  49. type: dpdk_ovs_port
  50. dpdk3:
  51. name: enp6s0f2
  52. pci: "0000:06:00.2"
  53. driver: igb_uio
  54. bond: dpdkbond1
  55. enabled: true
  56. type: dpdk_ovs_port
  57. dpdkbond0:
  58. enabled: true
  59. bridge: br-prv
  60. type: dpdk_ovs_bond
  61. mode: active-backup
  62. dpdkbond1:
  63. enabled: true
  64. bridge: br-mesh
  65. type: dpdk_ovs_bond
  66. mode: balance-slb
  67. br-prv:
  68. enabled: true
  69. type: dpdk_ovs_bridge
  70. br-mesh:
  71. tag: 1302
  72. enabled: true
  73. type: dpdk_ovs_bridge
  74. address: 1.2.3.4
  75. netmask: 255.255.255.252
  76. dummy0:
  77. enabled: true
  78. name: dummy0
  79. proto: manual
  80. ovs_port_type: OVSIntPort
  81. type: ovs_port
  82. ovs_bridge: br-prv
  83. bridge: br-prv