Advertisement
Guest User

Untitled

a guest
May 5th, 2015
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.82 KB | None | 0 0
  1. [root@nethost ~]# cat /etc/neutron/plugins/ml2/ml2_conf.ini
  2. [ml2]
  3. # (ListOpt) List of network type driver entrypoints to be loaded from
  4. # the neutron.ml2.type_drivers namespace.
  5. #
  6. # type_drivers = local,flat,vlan,gre,vxlan
  7. # Example: type_drivers = flat,vlan,gre,vxlan
  8.  
  9. # (ListOpt) Ordered list of network_types to allocate as tenant
  10. # networks. The default value 'local' is useful for single-box testing
  11. # but provides no connectivity between hosts.
  12. #
  13. # tenant_network_types = local
  14. # Example: tenant_network_types = vlan,gre,vxlan
  15.  
  16. # (ListOpt) Ordered list of networking mechanism driver entrypoints
  17. # to be loaded from the neutron.ml2.mechanism_drivers namespace.
  18. # mechanism_drivers =
  19. # Example: mechanism_drivers = openvswitch,mlnx
  20. # Example: mechanism_drivers = arista
  21. # Example: mechanism_drivers = cisco,logger
  22. # Example: mechanism_drivers = openvswitch,brocade
  23. # Example: mechanism_drivers = linuxbridge,brocade
  24.  
  25. # (ListOpt) Ordered list of extension driver entrypoints
  26. # to be loaded from the neutron.ml2.extension_drivers namespace.
  27. # extension_drivers =
  28. # Example: extension_drivers = anewextensiondriver
  29.  
  30. type_drivers = flat,vlan
  31. tenant_network_types = vlan
  32. mechanism_drivers = openvswitch,l2population
  33.  
  34.  
  35.  
  36.  
  37.  
  38. [ml2_type_flat]
  39. # (ListOpt) List of physical_network names with which flat networks
  40. # can be created. Use * to allow flat networks with arbitrary
  41. # physical_network names.
  42. #
  43. # flat_networks =
  44. # Example:flat_networks = physnet1,physnet2
  45. # Example:flat_networks = *
  46.  
  47. flat_networks = external
  48.  
  49.  
  50. [ml2_type_vlan]
  51. # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
  52. # specifying physical_network names usable for VLAN provider and
  53. # tenant networks, as well as ranges of VLAN tags on each
  54. # physical_network available for allocation as tenant networks.
  55. #
  56. # network_vlan_ranges =
  57. # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
  58. network_vlan_ranges = vlan:2001:2001
  59.  
  60.  
  61. [ml2_type_gre]
  62. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
  63. # tunnel_id_ranges =
  64. tunnel_id_ranges = 1:1000
  65.  
  66.  
  67. [ml2_type_vxlan]
  68. # (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
  69. # ranges of VXLAN VNI IDs that are available for tenant network allocation.
  70. #
  71. # vni_ranges =
  72.  
  73. # (StrOpt) Multicast group for the VXLAN interface. When configured, will
  74. # enable sending all broadcast traffic to this multicast group. When left
  75. # unconfigured, will disable multicast VXLAN mode.
  76. #
  77. # vxlan_group =
  78. # Example: vxlan_group = 239.1.1.1
  79.  
  80. [securitygroup]
  81. # Controls if neutron security group is enabled or not.
  82. # It should be false when you use nova security group.
  83. # enable_security_group = True
  84.  
  85. enable_security_group = True
  86. enable_ipset = True
  87. firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  88.  
  89.  
  90.  
  91. # Use ipset to speed-up the iptables security groups. Enabling ipset support
  92. # requires that ipset is installed on L2 agent node.
  93. # enable_ipset = True
  94. #
  95.  
  96. [ovs]
  97.  
  98. local_ip = 10.0.0.2
  99. #enable_tunneling = True
  100. #bridge_mappings = vlan:br-int,external:br-ex
  101. #bridge_mappings = external:br-ex
  102. integration_bridge = br-int
  103.  
  104. bridge_mappings = vlan:br-vlan,external:br-ex
  105.  
  106.  
  107.  
  108.  
  109.  
  110. [agent]
  111. l2population = True
  112. #tunnel_types = gre
  113.  
  114.  
  115.  
  116. ==============
  117.  
  118.  
  119. [root@study-node1 ~]# cat /etc/neutron/plugins/ml2/ml2_conf.ini
  120. [ml2]
  121. # (ListOpt) List of network type driver entrypoints to be loaded from
  122. # the neutron.ml2.type_drivers namespace.
  123. #
  124. # type_drivers = local,flat,vlan,gre,vxlan
  125. # Example: type_drivers = flat,vlan,gre,vxlan
  126.  
  127. # (ListOpt) Ordered list of network_types to allocate as tenant
  128. # networks. The default value 'local' is useful for single-box testing
  129. # but provides no connectivity between hosts.
  130. #
  131. # tenant_network_types = local
  132. # Example: tenant_network_types = vlan,gre,vxlan
  133.  
  134. # (ListOpt) Ordered list of networking mechanism driver entrypoints
  135. # to be loaded from the neutron.ml2.mechanism_drivers namespace.
  136. # mechanism_drivers =
  137. # Example: mechanism_drivers = openvswitch,mlnx
  138. # Example: mechanism_drivers = arista
  139. # Example: mechanism_drivers = cisco,logger
  140. # Example: mechanism_drivers = openvswitch,brocade
  141. # Example: mechanism_drivers = linuxbridge,brocade
  142.  
  143. # (ListOpt) Ordered list of extension driver entrypoints
  144. # to be loaded from the neutron.ml2.extension_drivers namespace.
  145. # extension_drivers =
  146. # Example: extension_drivers = anewextensiondriver
  147.  
  148. type_drivers = flat,vlan
  149. tenant_network_types = vlan
  150. mechanism_drivers = openvswitch,l2population
  151.  
  152.  
  153. [ml2_type_flat]
  154. # (ListOpt) List of physical_network names with which flat networks
  155. # can be created. Use * to allow flat networks with arbitrary
  156. # physical_network names.
  157. #
  158. # flat_networks =
  159. # Example:flat_networks = physnet1,physnet2
  160. # Example:flat_networks = *
  161. flat_networks = external
  162.  
  163.  
  164. [ml2_type_vlan]
  165. # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
  166. # specifying physical_network names usable for VLAN provider and
  167. # tenant networks, as well as ranges of VLAN tags on each
  168. # physical_network available for allocation as tenant networks.
  169. #
  170. # network_vlan_ranges =
  171. # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
  172. network_vlan_ranges = vlan:2001:2001
  173.  
  174.  
  175. [ml2_type_gre]
  176. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
  177. # tunnel_id_ranges =
  178. tunnel_id_ranges =
  179.  
  180. [ml2_type_vxlan]
  181. # (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
  182. # ranges of VXLAN VNI IDs that are available for tenant network allocation.
  183. #
  184. # vni_ranges =
  185.  
  186. # (StrOpt) Multicast group for the VXLAN interface. When configured, will
  187. # enable sending all broadcast traffic to this multicast group. When left
  188. # unconfigured, will disable multicast VXLAN mode.
  189. #
  190. # vxlan_group =
  191. # Example: vxlan_group = 239.1.1.1
  192.  
  193. [securitygroup]
  194. enable_security_group = True
  195. enable_ipset = True
  196. firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  197. # Controls if neutron security group is enabled or not.
  198. # It should be false when you use nova security group.
  199. # enable_security_group = True
  200.  
  201.  
  202. [ovs]
  203. local_ip = 10.0.0.31
  204. #enable_tunneling = True
  205. #bridge_mappings = vlan:br-int,external:br-ex
  206. #bridge_mappings = vlan:br-int,external:br-ex
  207. #enable_tunneling = True
  208. #bridge_mappings = vlan:br-int,external:br-ex
  209. #bridge_mappings = external:br-ex
  210. bridge_mappings = vlan:br-vlan,external:br-ex
  211.  
  212. integration_bridge = br-int
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219. [agent]
  220. l2population = True
  221. #tunnel_types = gre
  222.  
  223. # Use ipset to speed-up the iptables security groups. Enabling ipset support
  224. # requires that ipset is installed on L2 agent node.
  225. # enable_ipset = True
  226. ================
  227.  
  228.  
  229. [root@study-controller ~]# cat /etc/neutron/plugins/ml2/ml2_conf.ini
  230. [ml2]
  231. # (ListOpt) List of network type driver entrypoints to be loaded from
  232. # the neutron.ml2.type_drivers namespace.
  233. #
  234. # type_drivers = local,flat,vlan,gre,vxlan
  235. # Example: type_drivers = flat,vlan,gre,vxlan
  236.  
  237. # (ListOpt) Ordered list of network_types to allocate as tenant
  238. # networks. The default value 'local' is useful for single-box testing
  239. # but provides no connectivity between hosts.
  240. #
  241. # tenant_network_types = local
  242. # Example: tenant_network_types = vlan,gre,vxlan
  243.  
  244. # (ListOpt) Ordered list of networking mechanism driver entrypoints
  245. # to be loaded from the neutron.ml2.mechanism_drivers namespace.
  246. # mechanism_drivers =
  247. # Example: mechanism_drivers = openvswitch,mlnx
  248. # Example: mechanism_drivers = arista
  249. # Example: mechanism_drivers = cisco,logger
  250. # Example: mechanism_drivers = openvswitch,brocade
  251. # Example: mechanism_drivers = linuxbridge,brocade
  252.  
  253. # (ListOpt) Ordered list of extension driver entrypoints
  254. # to be loaded from the neutron.ml2.extension_drivers namespace.
  255. # extension_drivers =
  256. # Example: extension_drivers = anewextensiondriver
  257.  
  258. type_drivers = flat,vlan,gre
  259. tenant_network_types = vlan
  260. mechanism_drivers = openvswitch,l2population
  261.  
  262.  
  263.  
  264.  
  265. [ml2_type_flat]
  266. # (ListOpt) List of physical_network names with which flat networks
  267. # can be created. Use * to allow flat networks with arbitrary
  268. # physical_network names.
  269. #
  270. # flat_networks =
  271. # Example:flat_networks = physnet1,physnet2
  272. # Example:flat_networks = *
  273.  
  274. flat_networks = external
  275.  
  276.  
  277. [ml2_type_vlan]
  278. # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
  279. # specifying physical_network names usable for VLAN provider and
  280. # tenant networks, as well as ranges of VLAN tags on each
  281. # physical_network available for allocation as tenant networks.
  282. #
  283. # network_vlan_ranges =
  284. # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
  285.  
  286. network_vlan_ranges = vlan:2001:2001
  287.  
  288. [ml2_type_gre]
  289. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
  290. # tunnel_id_ranges =
  291. #tunnel_id_ranges = 1:1000
  292.  
  293.  
  294. [ml2_type_vxlan]
  295. # (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
  296. # ranges of VXLAN VNI IDs that are available for tenant network allocation.
  297. #
  298. # vni_ranges =
  299.  
  300. # (StrOpt) Multicast group for the VXLAN interface. When configured, will
  301. # enable sending all broadcast traffic to this multicast group. When left
  302. # unconfigured, will disable multicast VXLAN mode.
  303. #
  304. # vxlan_group =
  305. # Example: vxlan_group = 239.1.1.1
  306.  
  307. [securitygroup]
  308. # Controls if neutron security group is enabled or not.
  309. # It should be false when you use nova security group.
  310. # enable_security_group = True
  311.  
  312. enable_security_group = True
  313. enable_ipset = True
  314. firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  315.  
  316.  
  317.  
  318. # Use ipset to speed-up the iptables security groups. Enabling ipset support
  319. # requires that ipset is installed on L2 agent node.
  320. # enable_ipset = True
  321. #
  322.  
  323. [ovs]
  324.  
  325.  
  326. local_ip = 10.0.0.11
  327. #enable_tunneling = True
  328. bridge_mappings = vlan:br-vlan,external:br-ex
  329. #bridge_mappings = external:br-ex
  330. #integration_bridge = br-int
  331. #
  332.  
  333.  
  334. [agent]
  335. #tunnel_types = gre
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement