Files
cookbook-openstack-network/recipes/fwaas.rb
Jan Klare 2ec770de11 refactoring final step
* added new logic to render plugin templates
* refactored recipe names to be more consistence
* moved version up to 13.0.0 for mitaka release
* removed suse as supported platform
* added verisionbumb for refactored os-identity and common
* adapted optimized endpoint logic
* added endpoint attributes to fit new endpoint logic
* adapted the specs (unit tests) to work again
* refactored attributes throughout all recipes that were connected to the
  attributes used for the neutron.conf.erb template to adapt the new template
  attribute syntax
* removed some attributes that were set to non default values, since the
  defaults from neutron cloud and should be used instead
* moved all attributes form attributes/default.rb that were used in
  neutron.conf.erb to attributes/neutron_conf.rb
* refactored attributes to fit new template logic
* refactored recipes/default.rb to fit new template logic
* removed all attributes set to default values in attribtues/default and
  template
* replaced static plugin logic and templates with new config logic, following
  the same principles as for neutron.conf
* renamed recipes to fit attributes and actual service names
* added recipes for ml2_core_plugin, ml2_openvswitch and ml2_linuxbridge as well
  as a recipe for the creation of all plugin configs (plugin_conf) like plugin.ini

Change-Id: I9cc1b5cc069987ac83e064322c2291772505ff5f
Implements: blueprint cookbook-refactoring
Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Depends-On: I3262b2e6f792f37c32a446e6567790b82bdd4613
2016-02-08 10:44:13 +01:00

25 lines
1.3 KiB
Ruby

# TODO(jklare) : check why the package is installed and if the configuration
# works at all (if so, this needs refactoring parallel to the lbaas and vpnaas
# recipes and attributes)
# ---- moved from templates/default/services/neutron-fwaas/fwaas_driver.ini.erb----
# <%= node["openstack"]["network"]["custom_template_banner"] %>
# [fwaas]
# driver = <%= node['openstack']['network']['fwaas']['driver'] %>
# enabled = <%= node['openstack']['network']['fwaas']['enabled'] %>
# ---- moved from templates/default/services/neutron-fwaas/fwaas_driver.ini.erb----
# ---- moved from recipes/l3_agent----
# As the fwaas package will be installed anyway, configure its config-file attributes following environment.
# template node['openstack']['network']['fwaas']['config_file'] do
# source 'services/neutron-fwaas/fwaas_driver.ini.erb'
# user node['openstack']['network']['platform']['user']
# group node['openstack']['network']['platform']['group']
# mode 00640
# # Only restart vpn agent to avoid synchronization problem, when vpn agent is enabled.
# if node['openstack']['network']['enable_vpn']
# notifies :restart, 'service[neutron-vpn-agent]', :delayed
# else
# notifies :restart, 'service[neutron-l3-agent]', :immediately
# end
# end
# ---- moved from recipes/l3_agent----