Advertisement
Guest User

Untitled

a guest
Jan 20th, 2016
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.19 KB | None | 0 0
  1. [ml2]
  2. tenant_network_types = vxlan
  3. extension_drivers = port_security
  4. type_drivers = local,flat,vlan,gre,vxlan
  5. mechanism_drivers = opendaylight,logger
  6. # (ListOpt) List of network type driver entrypoints to be loaded from
  7. # the neutron.ml2.type_drivers namespace.
  8. #
  9. # type_drivers = local,flat,vlan,gre,vxlan,geneve
  10. # Example: type_drivers = flat,vlan,gre,vxlan,geneve
  11.  
  12. # (ListOpt) Ordered list of network_types to allocate as tenant
  13. # networks. The default value 'local' is useful for single-box testing
  14. # but provides no connectivity between hosts.
  15. #
  16. # tenant_network_types = local
  17. # Example: tenant_network_types = vlan,gre,vxlan,geneve
  18.  
  19.  
  20. # (ListOpt) Ordered list of networking mechanism driver entrypoints
  21. # to be loaded from the neutron.ml2.mechanism_drivers namespace.
  22. # mechanism_drivers =
  23. # Example: mechanism_drivers = openvswitch,mlnx
  24. # Example: mechanism_drivers = arista
  25. # Example: mechanism_drivers = openvswitch,cisco_nexus,logger
  26. # Example: mechanism_drivers = openvswitch,brocade
  27. # Example: mechanism_drivers = linuxbridge,brocade
  28.  
  29. # (ListOpt) Ordered list of extension driver entrypoints
  30. # to be loaded from the neutron.ml2.extension_drivers namespace.
  31. # extension_drivers =
  32. # Example: extension_drivers = anewextensiondriver
  33.  
  34. # =========== items for MTU selection and advertisement =============
  35. # (IntOpt) Path MTU. The maximum permissible size of an unfragmented
  36. # packet travelling from and to addresses where encapsulated Neutron
  37. # traffic is sent. Drivers calculate maximum viable MTU for
  38. # validating tenant requests based on this value (typically,
  39. # path_mtu - max encap header size). If <=0, the path MTU is
  40. # indeterminate and no calculation takes place.
  41. # path_mtu = 0
  42.  
  43. # (IntOpt) Segment MTU. The maximum permissible size of an
  44. # unfragmented packet travelling a L2 network segment. If <=0,
  45. # the segment MTU is indeterminate and no calculation takes place.
  46. # segment_mtu = 0
  47.  
  48. # (ListOpt) Physical network MTUs. List of mappings of physical
  49. # network to MTU value. The format of the mapping is
  50. # <physnet>:<mtu val>. This mapping allows specifying a
  51. # physical network MTU value that differs from the default
  52. # segment_mtu value.
  53. # physical_network_mtus =
  54. # Example: physical_network_mtus = physnet1:1550, physnet2:1500
  55. # ======== end of items for MTU selection and advertisement =========
  56.  
  57. # (StrOpt) Default network type for external networks when no provider
  58. # attributes are specified. By default it is None, which means that if
  59. # provider attributes are not specified while creating external networks
  60. # then they will have the same type as tenant networks.
  61. # Allowed values for external_network_type config option depend on the
  62. # network type values configured in type_drivers config option.
  63. # external_network_type =
  64. # Example: external_network_type = local
  65.  
  66. [ml2_type_flat]
  67. # (ListOpt) List of physical_network names with which flat networks
  68. # can be created. Use * to allow flat networks with arbitrary
  69. # physical_network names.
  70. #
  71. # flat_networks =
  72. # Example:flat_networks = physnet1,physnet2
  73. # Example:flat_networks = *
  74.  
  75. [ml2_type_vlan]
  76. # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
  77. # specifying physical_network names usable for VLAN provider and
  78. # tenant networks, as well as ranges of VLAN tags on each
  79. # physical_network available for allocation as tenant networks.
  80. #
  81. # network_vlan_ranges =
  82. # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
  83.  
  84. [ml2_type_gre]
  85. tunnel_id_ranges = 1:1000
  86. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
  87. # tunnel_id_ranges =
  88.  
  89. [ml2_type_vxlan]
  90. vni_ranges = 1001:2000
  91. # (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
  92. # ranges of VXLAN VNI IDs that are available for tenant network allocation.
  93. #
  94. # vni_ranges =
  95.  
  96. # (StrOpt) Multicast group for the VXLAN interface. When configured, will
  97. # enable sending all broadcast traffic to this multicast group. When left
  98. # unconfigured, will disable multicast VXLAN mode.
  99. #
  100. # vxlan_group =
  101. # Example: vxlan_group = 239.1.1.1
  102.  
  103. [ml2_type_geneve]
  104. # (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
  105. # ranges of Geneve VNI IDs that are available for tenant network allocation.
  106. #
  107. # vni_ranges =
  108. # (IntOpt) Geneve encapsulation header size is dynamic, this
  109. # value is used to calculate the maximum MTU for the driver.
  110. # this is the sum of the sizes of the outer ETH+IP+UDP+GENEVE
  111. # header sizes.
  112. # The default size for this field is 50, which is the size of the
  113. # Geneve header without any additional option headers
  114. #
  115. # max_header_size =
  116. # Example: max_header_size = 50 (Geneve headers with no additional options)
  117.  
  118. [securitygroup]
  119. firewall_driver = neutron.agent.not.a.real.FirewallDriver
  120. # Controls if neutron security group is enabled or not.
  121. # It should be false when you use nova security group.
  122. # enable_security_group = True
  123.  
  124. # Use ipset to speed-up the iptables security groups. Enabling ipset support
  125. # requires that ipset is installed on L2 agent node.
  126. # enable_ipset = True
  127.  
  128. [ml2_odl]
  129. password = admin
  130. username = admin
  131. url = http://192.168.0.134:8080/controller/nb/v2/neutron
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement