Guest User

Untitled

a guest
Oct 16th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.88 KB | None | 0 0
  1. [root@cmwo-controller neutron]# cat ./plugins/openvswitch/ovs_neutron_plugin.ini
  2.  
  3. # This file autogenerated by Chef
  4. # Do not edit, changes will be overwritten
  5.  
  6. [OVS]
  7. # (StrOpt) Type of network to allocate for tenant networks. The
  8. # default value 'local' is useful only for single-box testing and
  9. # provides no connectivity between hosts. You MUST either change this
  10. # to 'vlan' and configure network_vlan_ranges below or change this to
  11. # 'gre' and configure tunnel_id_ranges below in order for tenant
  12. # networks to provide connectivity between hosts. Set to 'none' to
  13. # disable creation of tenant networks.
  14. #
  15. # Default: tenant_network_type = local
  16. # Example: tenant_network_type = gre
  17. tenant_network_type = gre
  18.  
  19. # (ListOpt) Comma-separated list of
  20. # <physical_network>[:<vlan_min>:<vlan_max>] tuples enumerating ranges
  21. # of VLAN IDs on named physical networks that are available for
  22. # allocation. All physical networks listed are available for flat and
  23. # VLAN provider network creation. Specified ranges of VLAN IDs are
  24. # available for tenant network allocation if tenant_network_type is
  25. # 'vlan'. If empty, only gre and local networks may be created.
  26. #
  27. # Default: network_vlan_ranges =
  28. # Example: network_vlan_ranges = physnet1:1000:2999
  29. network_vlan_ranges = default:1:4094
  30.  
  31. # (BoolOpt) Set to True in the server and the agents to enable support
  32. # for GRE or VXLAN networks. Requires kernel support for OVS patch ports and
  33. # GRE or VXLAN tunneling.
  34. #
  35. # Default: enable_tunneling = False
  36. enable_tunneling = True
  37.  
  38. # (StrOpt) The type of tunnel network, if any, supported by the plugin. If
  39. # this is set, it will cause tunneling to be enabled. If this is not set and
  40. # the option enable_tunneling is set, this will default to 'gre'.
  41. # 'gre' or 'vxlan'
  42. tunnel_type = gre
  43.  
  44. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples
  45. # enumerating ranges of GRE tunnel IDs that are available for tenant
  46. # network allocation if tenant_network_type is 'gre'.
  47. #
  48. # Default: tunnel_id_ranges =
  49. # Example: tunnel_id_ranges = 1:1000
  50. tunnel_id_ranges = 1:1000
  51.  
  52. # Do not change this parameter unless you have a good reason to.
  53. # This is the name of the OVS integration bridge. There is one per hypervisor.
  54. # The integration bridge acts as a virtual "patch bay". All VM VIFs are
  55. # attached to this bridge and then "patched" according to their network
  56. # connectivity.
  57. #
  58. # Default: integration_bridge = br-int
  59. integration_bridge = br-int
  60.  
  61. # Only used for the agent if tunnel_id_ranges (above) is not empty for
  62. # the server. In most cases, the default value should be fine.
  63. #
  64. # Default: tunnel_bridge = br-tun
  65. tunnel_bridge = br-tun
  66.  
  67. # Peer patch port in integration bridge for tunnel bridge
  68. # Default: int_peer_patch_port = patch-tun
  69.  
  70. # Peer patch port in tunnel bridge for integration bridge
  71. # Default: tun_peer_patch_port = patch-int
  72.  
  73. # Uncomment this line for the agent if tunnel_id_ranges (above) is not
  74. # empty for the server. Set local-ip to be the local IP address of
  75. # this hypervisor.
  76. local_ip = 192.168.1.162
  77.  
  78. # (ListOpt) Comma-separated list of <physical_network>:<bridge> tuples
  79. # mapping physical network names to the agent's node-specific OVS
  80. # bridge names to be used for flat and VLAN networks. The length of
  81. # bridge names should be no more than 11. Each bridge must
  82. # exist, and should have a physical network interface configured as a
  83. # port. All physical networks listed in network_vlan_ranges on the
  84. # server should have mappings to appropriate bridges on each agent.
  85. #
  86. # Default: bridge_mappings =
  87. # Example: bridge_mappings = physnet1:br-eth1
  88. bridge_mappings = default:br-eth1
  89.  
  90. [AGENT]
  91. # Agent's polling interval in seconds
  92. polling_interval = 2
  93.  
  94. # (IntOpt) This is the MTU size of veth interfaces.
  95. # Do not change unless you have a good reason to.
  96. # The default MTU size of veth interfaces is 1500.
  97. # Example: veth_mtu = 1504
  98. veth_mtu = 1500
  99.  
  100. [SECURITYGROUP]
  101. # Firewall driver for realizing neutron security group function
  102. # Default: firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  103. firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  104.  
  105. # Controls if neutron security group is enabled or not.
  106. # It should be false when you use nova security group.
  107. enable_security_group = True
  108.  
  109. #-----------------------------------------------------------------------------
  110. # Sample Configurations.
  111. #-----------------------------------------------------------------------------
  112. #
  113. # 1. With VLANs on eth1.
  114. # [OVS]
  115. # network_vlan_ranges = default:2000:3999
  116. # tunnel_id_ranges =
  117. # integration_bridge = br-int
  118. # bridge_mappings = default:br-eth1
  119. # [AGENT]
  120. # Add the following setting, if you want to log to a file
  121. #
  122. # 2. With tunneling.
  123. # [OVS]
  124. # network_vlan_ranges =
  125. # tunnel_id_ranges = 1:1000
  126. # integration_bridge = br-int
  127. # tunnel_bridge = br-tun
  128. # local_ip = 10.0.0.3
  129. [root@cmwo-controller neutron]#
Advertisement
Add Comment
Please, Sign In to add comment