Advertisement
Guest User

ml2conf

a guest
Mar 5th, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.73 KB | None | 0 0
  1. --- ml2_conf.ini for compute note ---
  2.  
  3. [ml2]
  4. # (ListOpt) List of network type driver entrypoints to be loaded from
  5. # the neutron.ml2.type_drivers namespace.
  6. #
  7. type_drivers = flat,gre
  8. # Example: type_drivers = flat,vlan,gre,vxlan
  9.  
  10. # (ListOpt) Ordered list of network_types to allocate as tenant
  11. # networks. The default value 'local' is useful for single-box testing
  12. # but provides no connectivity between hosts.
  13. #
  14. tenant_network_types = gre
  15. # Example: tenant_network_types = vlan,gre,vxlan
  16.  
  17. # (ListOpt) Ordered list of networking mechanism driver entrypoints
  18. # to be loaded from the neutron.ml2.mechanism_drivers namespace.
  19. mechanism_drivers = openvswitch
  20. # Example: mechanism_drivers = openvswitch,mlnx
  21. # Example: mechanism_drivers = arista
  22. # Example: mechanism_drivers = cisco,logger
  23. # Example: mechanism_drivers = openvswitch,brocade
  24. # Example: mechanism_drivers = linuxbridge,brocade
  25.  
  26. # (ListOpt) Ordered list of extension driver entrypoints
  27. # to be loaded from the neutron.ml2.extension_drivers namespace.
  28. # extension_drivers =
  29. # Example: extension_drivers = anewextensiondriver
  30.  
  31. [ml2_type_flat]
  32. # (ListOpt) List of physical_network names with which flat networks
  33. # can be created. Use * to allow flat networks with arbitrary
  34. # physical_network names.
  35. #
  36. # flat_networks =
  37. # Example:flat_networks = physnet1,physnet2
  38. # Example:flat_networks = *
  39.  
  40. [ml2_type_vlan]
  41. # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
  42. # specifying physical_network names usable for VLAN provider and
  43. # tenant networks, as well as ranges of VLAN tags on each
  44. # physical_network available for allocation as tenant networks.
  45. #
  46. # network_vlan_ranges =
  47. # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
  48.  
  49. [ml2_type_gre]
  50. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
  51. tunnel_id_ranges = 1:1000
  52.  
  53. [ml2_type_vxlan]
  54. # (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
  55. # ranges of VXLAN VNI IDs that are available for tenant network allocation.
  56. #
  57. # vni_ranges =
  58.  
  59. # (StrOpt) Multicast group for the VXLAN interface. When configured, will
  60. # enable sending all broadcast traffic to this multicast group. When left
  61. # unconfigured, will disable multicast VXLAN mode.
  62. #
  63. # vxlan_group =
  64. # Example: vxlan_group = 239.1.1.1
  65.  
  66. [securitygroup]
  67. # Controls if neutron security group is enabled or not.
  68. # It should be false when you use nova security group.
  69. enable_security_group = True
  70.  
  71. # Use ipset to speed-up the iptables security groups. Enabling ipset support
  72. # requires that ipset is installed on L2 agent node.
  73. enable_ipset = True
  74. firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  75.  
  76. [ovs]
  77. # local_ip = 192.168.3.2
  78. local_ip = 192.168.1.18
  79. enable_tunneling = True
  80.  
  81. [agent]
  82. tunnel_types = gre
  83.  
  84.  
  85. --- ml2conf.ini for network node ---
  86.  
  87. [ml2]
  88. # (ListOpt) List of network type driver entrypoints to be loaded from
  89. # the neutron.ml2.type_drivers namespace.
  90. #
  91. type_drivers = flat,gre
  92. # Example: type_drivers = flat,vlan,gre,vxlan
  93.  
  94. # (ListOpt) Ordered list of network_types to allocate as tenant
  95. # networks. The default value 'local' is useful for single-box testing
  96. # but provides no connectivity between hosts.
  97. #
  98. tenant_network_types = gre
  99. # Example: tenant_network_types = vlan,gre,vxlan
  100.  
  101. # (ListOpt) Ordered list of networking mechanism driver entrypoints
  102. # to be loaded from the neutron.ml2.mechanism_drivers namespace.
  103. mechanism_drivers = openvswitch
  104. # Example: mechanism_drivers = openvswitch,mlnx
  105. # Example: mechanism_drivers = arista
  106. # Example: mechanism_drivers = cisco,logger
  107. # Example: mechanism_drivers = openvswitch,brocade
  108. # Example: mechanism_drivers = linuxbridge,brocade
  109.  
  110. # (ListOpt) Ordered list of extension driver entrypoints
  111. # to be loaded from the neutron.ml2.extension_drivers namespace.
  112. # extension_drivers =
  113. # Example: extension_drivers = anewextensiondriver
  114.  
  115. [ml2_type_flat]
  116. # (ListOpt) List of physical_network names with which flat networks
  117. # can be created. Use * to allow flat networks with arbitrary
  118. # physical_network names.
  119. #
  120. flat_networks = external
  121. # Example:flat_networks = physnet1,physnet2
  122. # Example:flat_networks = *
  123.  
  124. [ml2_type_vlan]
  125. # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
  126. # specifying physical_network names usable for VLAN provider and
  127. # tenant networks, as well as ranges of VLAN tags on each
  128. # physical_network available for allocation as tenant networks.
  129. #
  130. # network_vlan_ranges =
  131. # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
  132.  
  133. [ml2_type_gre]
  134. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
  135. tunnel_id_ranges = 1:1000
  136.  
  137. [ml2_type_vxlan]
  138. # (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
  139. # ranges of VXLAN VNI IDs that are available for tenant network allocation.
  140. #
  141. # vni_ranges =
  142.  
  143. # (StrOpt) Multicast group for the VXLAN interface. When configured, will
  144. # enable sending all broadcast traffic to this multicast group. When left
  145. # unconfigured, will disable multicast VXLAN mode.
  146. #
  147. # vxlan_group =
  148. # Example: vxlan_group = 239.1.1.1
  149.  
  150. [securitygroup]
  151. # Controls if neutron security group is enabled or not.
  152. # It should be false when you use nova security group.
  153. enable_security_group = True
  154.  
  155. # Use ipset to speed-up the iptables security groups. Enabling ipset support
  156. # requires that ipset is installed on L2 agent node.
  157. enable_ipset = True
  158. firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  159.  
  160. [ovs]
  161. local_ip = 192.168.1.13
  162. enable_tunneling = True
  163. bridge_mappings = external:br-ex
  164.  
  165. [agent]
  166. tunnel_types = gre
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement