Advertisement
Guest User

GRE configuration

a guest
Aug 7th, 2013
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  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:quantum@10.128.2.11/ovs_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. tenant_network_type = gre
  34. # Example: tenant_network_type = gre
  35.  
  36. # (ListOpt) Comma-separated list of
  37. # <physical_network>[:<vlan_min>:<vlan_max>] tuples enumerating ranges
  38. # of VLAN IDs on named physical networks that are available for
  39. # allocation. All physical networks listed are available for flat and
  40. # VLAN provider network creation. Specified ranges of VLAN IDs are
  41. # available for tenant network allocation if tenant_network_type is
  42. # 'vlan'. If empty, only gre and local networks may be created.
  43. #
  44. # Default: network_vlan_ranges =
  45. # Example: network_vlan_ranges = physnet1:1000:2999
  46.  
  47. # (BoolOpt) Set to True in the server and the agents to enable support
  48. # for GRE networks. Requires kernel support for OVS patch ports and
  49. # GRE tunneling.
  50. #
  51. enable_tunneling = False
  52.  
  53. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples
  54. # enumerating ranges of GRE tunnel IDs that are available for tenant
  55. # network allocation if tenant_network_type is 'gre'.
  56. #
  57. # Default: tunnel_id_ranges =
  58. tunnel_id_ranges = 1:1000
  59.  
  60. # Do not change this parameter unless you have a good reason to.
  61. # This is the name of the OVS integration bridge. There is one per hypervisor.
  62. # The integration bridge acts as a virtual "patch bay". All VM VIFs are
  63. # attached to this bridge and then "patched" according to their network
  64. # connectivity.
  65. #
  66. integration_bridge = br-int
  67.  
  68. # Only used for the agent if tunnel_id_ranges (above) is not empty for
  69. # the server. In most cases, the default value should be fine.
  70. #
  71. # Default: tunnel_bridge = br-tun
  72.  
  73. # Peer patch port in integration bridge for tunnel bridge
  74. # int_peer_patch_port = patch-tun
  75.  
  76. # Peer patch port in tunnel bridge for integration bridge
  77. # tun_peer_patch_port = patch-int
  78.  
  79. # Uncomment this line for the agent if tunnel_id_ranges (above) is not
  80. # empty for the server. Set local-ip to be the local IP address of
  81. # this hypervisor.
  82. #
  83. local_ip = 10.128.2.12
  84.  
  85. # (ListOpt) Comma-separated list of <physical_network>:<bridge> tuples
  86. # mapping physical network names to the agent's node-specific OVS
  87. # bridge names to be used for flat and VLAN networks. The length of
  88. # bridge names should be no more than 11. Each bridge must
  89. # exist, and should have a physical network interface configured as a
  90. # port. All physical networks listed in network_vlan_ranges on the
  91. # server should have mappings to appropriate bridges on each agent.
  92. #
  93. # Default bridge_mappings =
  94. # Example: bridge_mappings = physnet1:br-eth1
  95.  
  96. [AGENT]
  97. # Agent's polling interval in seconds
  98. polling_interval = 2
  99.  
  100. [SECURITYGROUP]
  101. # Firewall driver for realizing quantum security group function
  102. # firewall_driver = quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement