Advertisement
Guest User

Untitled

a guest
Jun 4th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.03 KB | None | 0 0
  1. cat /etc/neutron/plugin.ini
  2. [ml2]
  3. type_drivers = vlan
  4. tenant_network_types = vlan
  5. mechanism_drivers = openvswitch
  6.  
  7. [ml2_type_vlan]
  8. network_vlan_ranges = int-net:200:255
  9.  
  10. [ovs]
  11. bridge_mappings = int-net:br-eth1
  12. integration_bridge = br-int
  13.  
  14. [securitygroup]
  15. enable_security_group = True
  16. firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  17.  
  18.  
  19. cat /etc/neutron/neutron.conf
  20. [DEFAULT]
  21. #debug = True
  22. debug = False
  23.  
  24. #verbose = True
  25. verbose = True
  26.  
  27. log_dir =/var/log/neutron
  28.  
  29. # Neutron plugin provider module
  30. core_plugin = ml2
  31.  
  32. # Advanced service modules
  33. service_plugins = router,metering
  34.  
  35. # Paste configuration file
  36. api_paste_config = /etc/neutron/api-paste.ini
  37.  
  38. # The strategy to be used for auth.
  39. auth_strategy = keystone
  40.  
  41. rpc_backend=neutron.openstack.common.rpc.impl_kombu
  42. rpc_response_timeout = 600
  43. control_exchange = neutron
  44. rabbit_hosts=10.2.6.59:5672,10.2.6.51:5672
  45. rabbit_password = guest
  46. rabbit_userid = guest
  47. rabbit_max_retries = 0
  48. rabbit_retry_interval = 10
  49. rabbit_ha_queues = true
  50.  
  51. notification_driver = neutron.openstack.common.notifier.rpc_notifier
  52. notification_topics=notifications
  53.  
  54. [keystone_authtoken]
  55. identity_uri = http://10.2.6.70:35357
  56. auth_uri = http://10.2.6.70:5000
  57. admin_tenant_name = services
  58. admin_user = neutron
  59. admin_password = pass
  60. signing_dir = /tmp/neutron-keystone-signing
  61.  
  62. cat /etc/nova/nova.conf
  63. [DEFAULT]
  64. #verbose=False
  65. verbose=True
  66.  
  67. debug=False
  68. #debug=True
  69.  
  70. auth_strategy=keystone
  71.  
  72. notification_driver=nova.openstack.common.notifier.rpc_notifier,ceilometer.compute.nova_notifier
  73. notify_on_state_change=vm_and_task_state
  74.  
  75. api_paste_config=/etc/nova/api-paste.ini
  76.  
  77. ##################################
  78. # RPC
  79. ##################################
  80. rpc_backend=nova.openstack.common.rpc.impl_kombu
  81. rabbit_hosts=10.2.6.59:5672,10.2.6.51:5672
  82. rabbit_userid=pass
  83. rabbit_password=pass
  84. rabbit_max_retries=0
  85. rabbit_ha_queues=true
  86. rabbit_use_ssl=false
  87. rabbit_virtual_host = /
  88.  
  89. ######################################
  90. # Options defined in nova.image.glance
  91. ######################################
  92.  
  93. glance_api_servers=10.2.6.70:9292
  94.  
  95. ##################################
  96. # MIGRATIONS && RESIZE & SNAPSHOTS
  97. ##################################
  98.  
  99. # Allow migrate machine to the same host. Useful when testing in single-host environments.
  100. allow_migrate_to_same_host=True
  101. # Allow destination machine to match source for resize. Useful when testing in single-host environments.
  102. allow_resize_to_same_host=True
  103.  
  104. ##################################
  105. # AVAILABILITY ZONES
  106. ##################################
  107. #
  108. # Options defined in nova.availability_zones
  109. #
  110.  
  111. # The availability_zone to show internal services under
  112. # (string value)
  113. #internal_service_availability_zone=internal
  114.  
  115. # Default compute node availability_zone (string value)
  116. #default_availability_zone=nova
  117.  
  118.  
  119.  
  120. ###################################
  121. # nova.openstack.common.memorycache
  122. ###################################
  123.  
  124. # Memcached servers or None for in process cache. (list value)
  125. #memcached_servers=localhost:11211
  126.  
  127. ##################################
  128. # NETWORKING
  129. ##################################
  130.  
  131. dhcp_domain=openstack.local
  132.  
  133. #NETWORKING NEUTRON
  134.  
  135. network_api_class=nova.network.neutronv2.api.API
  136. security_group_api=neutron
  137. linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
  138. firewall_driver = nova.virt.firewall.NoopFirewallDriver
  139.  
  140. service_neutron_metadata_proxy=True
  141. neutron_region_name=RegionOne
  142. neutron_auth_strategy=keystone
  143. neutron_admin_username=neutron
  144. neutron_admin_auth_url=http://10.2.6.70:35357/v2.0
  145. neutron_admin_password=pass
  146. neutron_admin_tenant_name=services
  147. neutron_url=http://10.2.6.70:9696
  148. neutron_metadata_proxy_shared_secret=pass
  149.  
  150.  
  151. ##################################
  152. # APIS & META
  153. ##################################
  154.  
  155. metadata_host=10.2.6.70
  156.  
  157. ##################################
  158. # AUDIT & METERING
  159. ##################################
  160.  
  161. # Generate periodic compute.instance.exists notifications
  162. # (boolean value)
  163. instance_usage_audit=True
  164.  
  165. # Time period to generate instance usages for. Time period
  166. # must be hour, day, month or year (string value)
  167. instance_usage_audit_period=hour
  168.  
  169. ##################################
  170. # VNC SECTION
  171. ##################################
  172.  
  173. #novncproxy_host=0.0.0.0
  174. #novncproxy_port=6080
  175.  
  176. vnc_enabled=True
  177. vncserver_listen=0.0.0.0
  178. vncserver_proxyclient_address=10.2.6.53
  179. novncproxy_base_url=http://10.2.6.70:6080/vnc_auto.html
  180.  
  181. ##################################
  182. ## SPICE SECTION
  183. ###################################
  184.  
  185. #spicehtml5proxy_host=0.0.0.0
  186. #spicehtml5proxy_poru=6082
  187.  
  188. [spice]
  189. html5proxy_base_url=http://10.2.6.70:6082/spice_auto.html
  190. server_listen=0.0.0.0
  191. server_proxyclient_address=10.2.6.53
  192. enabled=false
  193.  
  194.  
  195. ##################################
  196. # AUTHORIZATION
  197. ##################################
  198.  
  199. [keystone_authtoken]
  200. identity_uri=http://10.2.6.70:35357
  201. auth_uri = http://10.2.6.70:5000
  202. admin_tenant_name=services
  203. admin_password=pass
  204. admin_user=nova
  205. signing_dir=/tmp/nova-signing-nova
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement