Guest User

ovs_quantum_plugin.ini

a guest
Sep 25th, 2013
35
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [DATABASE]
  2. # This line MUST be changed to actually run the plugin.
  3. # Example:
  4. # sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
  5. # Replace 127.0.0.1 above with the IP address of the database used by the
  6. # main quantum server. (Leave it as is if the database runs on this host.)
  7. sql_connection = mysql://quantum:xxx@10.0.0.1/quantum
  8. # Database reconnection retry times - in event connectivity is lost
  9. # set to -1 implies an infinite retry count
  10. # sql_max_retries = 10
  11. # Database reconnection interval in seconds - if the initial connection to the
  12. # database fails
  13. reconnect_interval = 2
  14. # Enable the use of eventlet's db_pool for MySQL. The flags sql_min_pool_size,
  15. # sql_max_pool_size and sql_idle_timeout are relevant only if this is enabled.
  16. # sql_dbpool_enable = False
  17. # Minimum number of SQL connections to keep open in a pool
  18. # sql_min_pool_size = 1
  19. # Maximum number of SQL connections to keep open in a pool
  20. # sql_max_pool_size = 5
  21. # Timeout in seconds before idle sql connections are reaped
  22. # sql_idle_timeout = 3600
  23.  
  24. [OVS]
  25. # (StrOpt) Type of network to allocate for tenant networks. The
  26. # default value 'local' is useful only for single-box testing and
  27. # provides no connectivity between hosts. You MUST either change this
  28. # to 'vlan' and configure network_vlan_ranges below or change this to
  29. # 'gre' and configure tunnel_id_ranges below in order for tenant
  30. # networks to provide connectivity between hosts. Set to 'none' to
  31. # disable creation of tenant networks.
  32. #
  33. # Default: tenant_network_type = local
  34. # Example: tenant_network_type = gre
  35. tenant_network_type = gre
  36.  
  37. # (ListOpt) Comma-separated list of
  38. # <physical_network>[:<vlan_min>:<vlan_max>] tuples enumerating ranges
  39. # of VLAN IDs on named physical networks that are available for
  40. # allocation. All physical networks listed are available for flat and
  41. # VLAN provider network creation. Specified ranges of VLAN IDs are
  42. # available for tenant network allocation if tenant_network_type is
  43. # 'vlan'. If empty, only gre and local networks may be created.
  44. #
  45. # Default: network_vlan_ranges =
  46. # Example: network_vlan_ranges = physnet1:1000:2999
  47.  
  48. # (BoolOpt) Set to True in the server and the agents to enable support
  49. # for GRE networks. Requires kernel support for OVS patch ports and
  50. # GRE tunneling.
  51. #
  52. # Default: enable_tunneling = False
  53. enable_tunneling = True
  54.  
  55. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples
  56. # enumerating ranges of GRE tunnel IDs that are available for tenant
  57. # network allocation if tenant_network_type is 'gre'.
  58. #
  59. # Default: tunnel_id_ranges =
  60. # Example: tunnel_id_ranges = 1:1000
  61. tunnel_id_ranges = 1:1000
  62.  
  63. # Do not change this parameter unless you have a good reason to.
  64. # This is the name of the OVS integration bridge. There is one per hypervisor.
  65. # The integration bridge acts as a virtual "patch bay". All VM VIFs are
  66. # attached to this bridge and then "patched" according to their network
  67. # connectivity.
  68. #
  69. # Default: integration_bridge = br-int
  70. integration_bridge = br-int
  71.  
  72. # Only used for the agent if tunnel_id_ranges (above) is not empty for
  73. # the server. In most cases, the default value should be fine.
  74. #
  75. # Default: tunnel_bridge = br-tun
  76. tunnel_bridge = br-tun
  77.  
  78. # Peer patch port in integration bridge for tunnel bridge
  79. # int_peer_patch_port = patch-tun
  80.  
  81. # Peer patch port in tunnel bridge for integration bridge
  82. # tun_peer_patch_port = patch-int
  83.  
  84. # Uncomment this line for the agent if tunnel_id_ranges (above) is not
  85. # empty for the server. Set local-ip to be the local IP address of
  86. # this hypervisor.
  87. #
  88. # Default: local_ip =
  89. local_ip = 10.0.0.2
  90.  
  91. # (ListOpt) Comma-separated list of <physical_network>:<bridge> tuples
  92. # mapping physical network names to the agent's node-specific OVS
  93. # bridge names to be used for flat and VLAN networks. The length of
  94. # bridge names should be no more than 11. Each bridge must
  95. # exist, and should have a physical network interface configured as a
  96. # port. All physical networks listed in network_vlan_ranges on the
  97. # server should have mappings to appropriate bridges on each agent.
  98. #
  99. # Default: bridge_mappings =
  100. # Example: bridge_mappings = physnet1:br-eth1
  101.  
  102. [AGENT]
  103. # Agent's polling interval in seconds
  104. polling_interval = 2
  105.  
  106. [SECURITYGROUP]
  107. # Firewall driver for realizing quantum security group function
  108. # firewall_driver = quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  109. firewall_driver = quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  110.  
  111. #-----------------------------------------------------------------------------
  112. # Sample Configurations.
  113. #-----------------------------------------------------------------------------
  114. #
  115. # 1. With VLANs on eth1.
  116. # [DATABASE]
  117. # sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
  118. # [OVS]
  119. # network_vlan_ranges = default:2000:3999
  120. # tunnel_id_ranges =
  121. # integration_bridge = br-int
  122. # bridge_mappings = default:br-eth1
  123. # [AGENT]
  124. # Add the following setting, if you want to log to a file
  125. #
  126. # 2. With tunneling.
  127. # [DATABASE]
  128. # sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
  129. # [OVS]
  130. # network_vlan_ranges =
  131. # tunnel_id_ranges = 1:1000
  132. # integration_bridge = br-int
  133. # tunnel_bridge = br-tun
  134. # local_ip = 10.0.0.3
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×