Guest User

Untitled

a guest
Aug 23rd, 2014
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.25 KB | None | 0 0
  1. ## controller node
  2. ### neutron.conf
  3. [DEFAULT]
  4.  
  5. debug=false
  6. verbose=false
  7.  
  8. auth_strategy = keystone
  9. notify_nova_on_port_status_changes = True
  10. notify_nova_on_port_data_changes = True
  11.  
  12. nova_url = http://192.168.183.7:8774/v2
  13. nova_admin_username = nova
  14. nova_admin_tenant_id = 0d3836e58b58460381f372e1dde1cfd6
  15. nova_admin_password = 5c56443d4c
  16. nova_admin_auth_url = http://192.168.183.7:35357/v2.0
  17.  
  18. rpc_backend = neutron.openstack.common.rpc.impl_kombu
  19. rabbit_hosts=192.168.183.7:5672
  20.  
  21. #core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
  22. core_plugin = ml2
  23. service_plugins = router
  24. lock_path = /var/lib/neutron/lock
  25.  
  26. bind_host = 192.168.183.9
  27. api_paste_config = /etc/neutron/api-paste.ini
  28. agent_down_time = 75
  29. [quotas]
  30.  
  31. [agent]
  32. root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
  33. report_interval = 5
  34.  
  35. [keystone_authtoken]
  36. auth_host = 192.168.183.7
  37. auth_port = 35357
  38. auth_protocol = http
  39. auth_uri=http://192.168.183.7:35357/v2.0
  40. admin_tenant_name = service
  41. admin_user = neutron
  42. admin_password = a8f434bcac
  43.  
  44. [database]
  45. connection = mysql://neutron:[email protected]/ovs_neutron
  46.  
  47. ### ml2.conf
  48. [ml2]
  49. type_drivers = vlan
  50. tenant_network_types = vlan
  51. mechanism_drivers =openvswitch
  52. [ml2_type_flat]
  53. [ml2_type_vlan]
  54. network_vlan_ranges =physnet1:2000:2800
  55. [ml2_type_gre]
  56. [ml2_type_vxlan]
  57. [securitygroup]
  58. enable_security_group = True
  59. firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  60.  
  61. ### nova.conf
  62. [DEFAULT]
  63.  
  64. debug=false
  65. verbose=false
  66.  
  67.  
  68. vnc_enabled = true
  69.  
  70. enabled_apis=ec2,osapi_compute
  71. metadata_listen=192.168.183.9
  72. osapi_compute_listen=192.168.183.9
  73. ec2_listen=192.168.183.9
  74. novncproxy_host = 192.168.183.9
  75. glance_api_servers=192.168.183.7:9292
  76.  
  77. api_paste_config=/etc/nova/api-paste.ini
  78.  
  79. rootwrap_config=/etc/nova/rootwrap.conf
  80.  
  81. neutron_metadata_proxy_shared_secret = meta_pass
  82. service_neutron_metadata_proxy = true
  83.  
  84. network_api_class=nova.network.neutronv2.api.API
  85. neutron_url=http://192.168.183.7:9696
  86. neutron_auth_strategy=keystone
  87. neutron_admin_tenant_name=service
  88. neutron_admin_username=neutron
  89. neutron_admin_password=a8f434bcac
  90. neutron_admin_auth_url=http://192.168.183.7:35357/v2.0
  91.  
  92.  
  93. linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
  94. firewall_driver = nova.virt.firewall.NoopFirewallDriver
  95. libvirt_vir_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
  96. vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver
  97.  
  98. security_group_api = neutron
  99. glusterfs_mount_point_base=/var/lib/cinder/mnt
  100.  
  101.  
  102. rpc_backend = nova.openstack.common.rpc.impl_kombu
  103. rabbit_hosts=192.168.183.7:5672
  104.  
  105. rabbit_retry_interval=1
  106. rabbit_retry_backoff=2
  107. rabbit_max_retries=0
  108.  
  109.  
  110. use_usb_tablet=true
  111. live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE
  112. auth_strategy=keystone
  113.  
  114. img_handlers="guestfs,loop"
  115. allow_resize_to_same_host=True
  116. allow_migrate_to_same_host=True
  117. instances_shared_storage=True
  118.  
  119.  
  120. [libvirt]
  121. inject_password=true
  122. inject_key = True
  123. inject_partition = -1
  124.  
  125. [hyperv]
  126. [zookeeper]
  127. [osapi_v3]
  128. [conductor]
  129. [keymgr]
  130. [cells]
  131.  
  132. [database]
  133. connection = mysql://nova:[email protected]/nova
  134.  
  135. [image_file_url]
  136. [baremetal]
  137. [rpc_notifier2]
  138. [matchmaker_redis]
  139. [ssl]
  140. [trusted_computing]
  141. [upgrade_levels]
  142. [matchmaker_ring]
  143. [vmware]
  144. [spice]
  145.  
  146. [keystone_authtoken]
  147. auth_host = 192.168.183.7
  148. auth_port = 35357
  149. auth_protocal = http
  150. auth_uri = http://192.168.183.7:35357/v2.0
  151. admin_user = nova
  152. admin_tenant_name = service
  153. admin_password = 5c56443d4c
  154.  
  155. ## network node
  156.  
  157. [DEFAULT]
  158.  
  159. debug=false
  160. verbose=false
  161.  
  162. auth_strategy = keystone
  163. notify_nova_on_port_status_changes = True
  164. notify_nova_on_port_data_changes = True
  165.  
  166. nova_url = http://192.168.183.7:8774/v2
  167. nova_admin_username = nova
  168. nova_admin_tenant_id = 0d3836e58b58460381f372e1dde1cfd6
  169. nova_admin_password = 5c56443d4c
  170. nova_admin_auth_url = http://192.168.183.7:35357/v2.0
  171.  
  172. rpc_backend = neutron.openstack.common.rpc.impl_kombu
  173. rabbit_hosts=192.168.183.7:5672
  174.  
  175. #core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
  176. core_plugin = ml2
  177. service_plugins = router
  178. lock_path = /var/lib/neutron/lock
  179.  
  180. bind_host = 192.168.183.9
  181. api_paste_config = /etc/neutron/api-paste.ini
  182. agent_down_time = 75
  183. [quotas]
  184.  
  185. [agent]
  186. root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
  187. report_interval = 5
  188.  
  189. [keystone_authtoken]
  190. auth_host = 192.168.183.7
  191. auth_port = 35357
  192. auth_protocol = http
  193. auth_uri=http://192.168.183.7:35357/v2.0
  194. admin_tenant_name = service
  195. admin_user = neutron
  196. admin_password = a8f434bcac
  197.  
  198. [database]
  199. connection = mysql://neutron:[email protected]/ovs_neutron
  200.  
  201. # compute node
  202. ## neutron.conf
  203.  
  204. [DEFAULT]
  205.  
  206. debug=false
  207. verbose=false
  208.  
  209. auth_strategy = keystone
  210. notify_nova_on_port_status_changes = True
  211. notify_nova_on_port_data_changes = True
  212.  
  213. nova_url = http://192.168.183.7:8774/v2
  214. nova_admin_username = nova
  215. nova_admin_tenant_id = 0d3836e58b58460381f372e1dde1cfd6
  216. nova_admin_password = 5c56443d4c
  217. nova_admin_auth_url = http://192.168.183.7:35357/v2.0
  218.  
  219. rpc_backend = neutron.openstack.common.rpc.impl_kombu
  220. rabbit_hosts=192.168.183.7:5672
  221.  
  222. #core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
  223. core_plugin = ml2
  224. service_plugins = router
  225. lock_path = /var/lib/neutron/lock
  226.  
  227. bind_host = 192.168.183.9
  228. api_paste_config = /etc/neutron/api-paste.ini
  229. agent_down_time = 75
  230. [quotas]
  231.  
  232. [agent]
  233. root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
  234. report_interval = 5
  235.  
  236. [keystone_authtoken]
  237. auth_host = 192.168.183.7
  238. auth_port = 35357
  239. auth_protocol = http
  240. auth_uri=http://192.168.183.7:35357/v2.0
  241. admin_tenant_name = service
  242. admin_user = neutron
  243. admin_password = a8f434bcac
  244.  
  245. [database]
  246. connection = mysql://neutron:[email protected]/ovs_neutron
  247.  
  248. ## ml2.conf
  249. [ml2]
  250. type_drivers = vlan
  251. tenant_network_types = vlan
  252. mechanism_drivers =openvswitch
  253. [ml2_type_flat]
  254. [ml2_type_vlan]
  255. network_vlan_ranges =physnet1:2000:2800
  256. [ml2_type_gre]
  257. [ml2_type_vxlan]
  258. [securitygroup]
  259. enable_security_group = True
  260. firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  261.  
  262. ## nova.conf
  263.  
  264. [DEFAULT]
  265. debug=false
  266. notification_driver = ceilometer.compute.nova_notifier
  267. notification_driver = nova.openstack.common.notifier.rpc_notifier
  268. verbose=True
  269.  
  270. glance_api_servers=192.168.183.7:9292
  271.  
  272. vnc_enabled = true
  273. vncserver_listen = 0.0.0.0
  274. vncserver_proxyclient_address = 192.168.183.31
  275. novncproxy_base_url = http://192.168.183.7:6080/vnc_auto.html
  276.  
  277. auth_strategy = keystone
  278. api_paste_config=/etc/nova/api-paste.ini
  279.  
  280. #libvirt_vir_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
  281. vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
  282.  
  283. firewall_driver = nova.virt.firewall.NoopFirewallDriver
  284.  
  285. neutron_metadata_proxy_shared_secret = meta_pass
  286. service_neutron_metadata_proxy = true
  287.  
  288. network_api_class=nova.network.neutronv2.api.API
  289. neutron_url=http://192.168.183.7:9696
  290. neutron_auth_strategy=keystone
  291. neutron_admin_tenant_name=service
  292. neutron_admin_username=neutron
  293. neutron_admin_password=a8f434bcac
  294. neutron_admin_auth_url=http://192.168.183.7:35357/v2.0
  295. #linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
  296.  
  297. rpc_backend = nova.openstack.common.rpc.impl_kombu
  298. rabbit_hosts=192.168.183.7:5672
  299.  
  300. connection_type=libvirt
  301. compute_driver=libvirt.LibvirtDriver
  302. libvirt_type=kvm
  303.  
  304. use_usb_tablet=true
  305. force_config_drive=true
  306. live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE
  307.  
  308. nova_url = http://192.168.183.7:8774/v2
  309. vif_plugging_timeout = 0
  310. vif_plugging_is_fatal = False
  311. instances_path = /var/lib/nova/instances
  312. instance_usage_audit = True
  313. instance_usage_audit_period = hour
  314. notify_on_state_change = vm_and_task_state
  315.  
  316. [libvirt]
  317. inject_password = true
  318. [hyperv]
  319. [zookeeper]
  320. [osapi_v3]
  321. [conductor]
  322. [keymgr]
  323. [cells]
  324. [database]
  325. connection = mysql://nova:[email protected]/nova
  326. [image_file_url]
  327. [baremetal]
  328. [rpc_notifier2]
  329. [matchmaker_redis]
  330. [ssl]
  331. [trusted_computing]
  332. [upgrade_levels]
  333. [matchmaker_ring]
  334. [vmware]
  335. [spice]
  336. [keystone_authtoken]
  337. auth_host = 192.168.183.7
  338. auth_protocol = http
  339. auth_port = 35357
  340. auth_uri = http://192.168.183.7:35357/v2.0
  341. admin_user = nova
  342. admin_tenant_name = service
  343. admin_password = 5c56443d4c
Advertisement
Add Comment
Please, Sign In to add comment