Commit Graph

55 Commits

Author SHA1 Message Date
Lance Albertson 70fda6ae3a Updates for rocky
- Replace git.openstack.org with opendev.org
- Update some documentation
- Move README.md to README.rst for better rendering
- Drop obsolete bootstrap.sh script

Change-Id: Ia621986157956cb8f03fabd00741959bd2879aff
2019-12-06 11:27:39 -08:00
Roger Luethi f03e5c65fa
remove unmaintained vpnaas from all recipes and attributes
The vpnaas agent has been removed for the OpenStack Queens release.

Virtual Private Network-as-a-Service (VPNaaS) scenario
(for Rocky, no vpnaas docs found for Queens)
https://docs.openstack.org/neutron/rocky/admin/vpnaas-scenario.html

missing release note (or doc) on vpn-agent change in queens
https://bugs.launchpad.net/neutron/+bug/1751069

vpnaas agent is removed since Queens and configuration changed
https://bugs.launchpad.net/openstack-ansible/+bug/1781148

Change-Id: Idf74445445683058cd992e95df87724579e70433
2018-10-25 11:46:35 +00:00
Samuel Cassiba c874aec833 Rename openstack-chef-repo references to openstack-chef
Change-Id: I9ab98a6892994e6795fd9beefdeac42f0267a3d6
2018-08-06 21:50:02 -07:00
Jan Klare b52090f002 add new Chef OpenStack Team Logo to README
Change-Id: Ie9c7400297e2cc48b508e2e8066a893299ba7844
2017-05-29 10:53:08 +02:00
Flavio Percoco 94372fdd4f Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/9e885dfd8c164742287f8b1a7c424cdb

Change-Id: Ieb1fbd1f376f7149f7ea35d0648cc6e01da24398
2016-11-26 11:56:41 +01:00
Christoph Albers d1fe020bd6 use_cookbook-openstackclient/identity_v3
- Now use cookbook-openstackclient to create endpoints role service and
  user
- added domain creation and access granting
- added values to work with identity_v3
- rewrote specs to work again
- updated readme
- updated neutron-package dependencies for debian

Change-Id: I2d404a424bd79a6e9b282304e21591fa33a48981
Depends-On: I0f8955f05de9b33711c54b9a198f45018cceb8e1
2016-09-30 14:19:49 +02:00
Samuel Cassiba 77060a6212 Style and lint fixes to support newer ChefDK
Change-Id: Ie45076f0ee36e880c9a6080f2b330982e40c282c
2016-07-06 11:56:17 -07:00
Jan Klare 05638d06d7 update the README after refactoring and align it with other cookbooks
Change-Id: I6ba2d2279c6494d45092a8e94fd2e0a924cbbccf
2016-04-28 16:40:23 -05:00
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
Song Li 08bd03d011 Support installing hyperv mech_driver in Neutron cookbook
Hyperv mech_driver has been moved out of neutron core code, and it
became a stand alone package. Current network cookbook did not
install the hyperv mech_driver, so add the logic in hyperv recipe
to intall the hyperv mech_driver when the hyperv is configured in
mechanism_drivers of environment.

Currently there is no package for hyperv mech_driver in all linux
distribution, as the hyperv mech_driver code has been moved out of
neutron code. So here names the package networking-hyperv by
default, overwrite the package name when other users generate the
packages themselves.

Change-Id: I0d27f41e2dc068fc0dd2a67fef5999a006f685dd
Closes-Bug: 1475151
2015-07-28 02:21:08 -04:00
Jan Klare ae7a80fcd4 move from bundler to chefdk
- deprecated Gemfile
- updated TESTING and README
- updated Rakefile to use chef exec instead of bundle exec
- replaced Runner by SoloRunner in specs

Change-Id: Ic99092a33eeaa57dc7083c892bca729735bebdf7
2015-04-29 10:21:23 +02:00
wenchma 2a1a38b542 Update the deprecated group/name to Kilo release
For Kilo release, there are many deprecated group/name in conf files of openstack,
so we need to change the deprecated group/name to new group/name.

blueprint conf-section-update-for-kilo
Closes-bug: #1436170

Change-Id: Ibdd35e55ab79bc684782182d3e4341e672f04401
2015-04-22 17:53:49 +08:00
Mark Vanderwiel 0712addc7a Remove api-paste.ini as it provided by package
Since we have no attribute overrides for api-paste.ini, no
need to have a template resource for it.  Until we need to
have some attribute, removing this will take away burden of
keeping in sync with base openstack code.

Change-Id: I918b3dfc3d17fe122300d32d678addbf828df771
Related-Bug: #1433152
2015-04-02 16:08:45 -05:00
Akash V Gunjal 275aeccc50 Add custom interface_driver to lbaas_agent.ini template with the help of
a new attribute

A new attribute will be added which can used to set the custom
interface_driver in case if the plugin is neither ovs nor linuxbridge.
An additional attribute is added to set the ovs_use_veth value present
in case of ovs plugin to 'True' or 'False'.

Change-Id: Iba95c216ca46b9ed0927758b9645525ca7d5e3c9
Closes-Bug: #1429189
2015-03-12 11:48:40 +05:30
lzklibj 409abee58c Enable Distributed Virtual Router
blueprint enable-dvr-chef-cookbook

Change-Id: I5521cf73fb3eecabc2a63eb9b32f62073ad2bd57
2015-03-06 05:20:15 -08:00
Hong Hui Xiao e4766fb2b6 Allow customize l3 agent HA parameters
Parameterize l3_ha, max_l3_agents_per_router,
ha_vrrp_advert_int setting, so that user can deploy
 a topology with neutron l3 agent HA enabled.

Change-Id: Iab159efcc30349e6481c944a5afb16293fbb0826
Closes-Bug: #1417913
2015-02-11 09:47:10 +08:00
Hong Hui Xiao e99affcf6a Allow customize dhcp_agents_per_network
Parameterize dhcp_agents_per_network setting, so that
user can deploy a topology with multiple dhcp agent
working.

Change-Id: I22d584f077e7cbc64bdf53522166352a512e84a5
Closes-Bug: #1414908
2015-02-09 13:06:49 +08:00
Mark Vanderwiel d1dc9a8532 Make network dbsync command timeout to be an optional parameter
The default dbsync command timeout value 3600 seconds may be too small
when there are large data in network database.
Make timeout to be optional to fix this problem.

Change-Id: Ifd8983b37ef74825949ff634e7f95a2d6c9f7866
Related-Bug: #1389111
2015-01-16 10:51:29 -06:00
leejian0612 de6ca4a702 Multi driver support to VPN agent
Add multi driver support to the recipe of vpn_agent,
by changing vpn_device_driver option from string to list.
And add a new option named vpn_device_driver_packages to
install package dependencies according vpn_device_driver.

DocImpact
Closes-Bug: #1386067
Closes-Bug: #1386070
Change-Id: If84827e421a2d94b5ae802a65b3d906670e28e90
2014-11-04 09:47:09 +08:00
jun xie 2fe862cd0e Add 2 attributes and make nova_url use right scheme
This commit adds nova_ca_certificates_file and
nova_api_insecure so that they can be configured.
It also makes the nova_url use the right scheme.

Change-Id: I00a9f900e2d722529808e10e946beae8f374c4fa
Closes-Bug: #1383701
2014-10-22 12:05:42 -05:00
Mark Vanderwiel d78d61f42d Cleanup cookbook contact info
* Consistent email across cookbooks
* Add Contributor.md to help out new folks
* Fix broken link in Testing.md
* Readme tweaks

Change-Id: I518825f4d280148df982ab07a996f87d70b75174
Partial-Bug: #1342735
2014-10-14 10:09:46 -05:00
Jenkins 478f0a103c Merge "Enable Neutron VPN as Service" 2014-09-22 19:25:23 +00:00
jun xie bd28d5ff57 Add some authtoken related attributes
This change adds some attributes into the cookbook so
that they are configurable. It mainly includes:
cafile, memcached_servers, memcache_security_strategy,
memcache_secret_key, insecure and hash_algorithms.

Change-Id: Ic48bd7193815185f1c065c1bd689d67de325cd8e
Closes-Bug: #1371421
2014-09-22 23:37:51 +08:00
Xu Han Peng 1dd7be7ee4 Enable Neutron VPN as Service
Add a recipe, related attribute/template, and unit tests to
to install, configure and start VPN service.
Stop L3 agent if VPN is enabled.

Change-Id: I63322e3c43e38444163371636cbab2c3bbdeaacf
Implements: Blueprint neutron-vpnaas-enablement
2014-09-19 11:10:13 +08:00
ericzhou 54ea878fea Allow namespaces to be removable.
When network namespaces are used for dhcp and l3, we need to allow
router_delete_namespaces and dhcp_delete_namespaces to be overridden so
that the namespaces can be deleted.

Change-Id: I8255f0a43ffd1100f971470208103503e9dd8229
Closes-Bug: #1336613
2014-07-08 11:28:12 +08:00
Ionuț Arțăriși f8078e88aa use new python_packages attributes from -common
*_python_packages attributes are being moved to -common in order to
remove the duplication from all the cookbooks which are using them

Change-Id: Id3c8a262f8ce177da71201f765afaa0e2c890e0e
Implements: blueprint move-python-db-client-attrs-to-common
2014-07-02 14:28:12 +02:00
Mark Vanderwiel 16c85da754 Allow misc options for neutron.conf
Add support like alreayd exists for openrc, keystone and nova.conf.

Change-Id: I9efc9ebe4801d13f434a8d17057b9f49b072c527
Closes-Bug: #1321010
2014-05-20 09:32:35 -05:00
Andy McCrae 1bc2708cbe Allow policy.json file to be specified
The policy.json file was removed in 853fa9fcc6
this will allow you to specify an attribute to point to a location of a
policy.json file to be used.

By default this is nil and the packaged policy.json file will be used,
but if required this can be overridden.

Change-Id: I2d21211e24e64d7046cf3782400310eb1bff4500
Implements: blueprint remote-policy
2014-05-02 17:55:10 +01:00
Darren Birkett f6d3dc60e2 Allow binding locally to different IP than endpoint IP
Sometimes you want the actual endpoint IP to be a load balanced IP, but
the bind IP to be a local IP (different per node).

This change allows that by using attributes from the [network-api-bind]
namespace.

Implements blueprint increase-ip-binding-flexibility

Change-Id: I4e134a5dc24ace58a7b9cb2705e66a7b17fd2554
2014-04-24 14:37:37 +01:00
Chris Dearborn 8dad8b8125 Increase IP binding flexibility changes
Changes have been made to the common cookbook so that if a
bind_interface is specified for an endpoint, then the IP is looked up
for that endpoint using address_for, and if no bind_interface is
specified then the value of the host attribute of the endpoint is used
instead.

This change set removes code around the network API endpoint that
implements this exact behavior, which is no longer needed since it is
now provided by the common cookbook.  This change set also replaces
direct calls to address_for by the OVS and LinuxBridge code with
endpoints.  This allows the user to either specify an interface or an
IP to bind to using the standard endpoint library for these two
plugins.

This change is dependent on change: https://review.openstack.org/83859

blueprint increase-ip-binding-flexibility

Change-Id: Ie0aa07ab511c4ccbe9686da4dfb05934f9708b9a
2014-03-28 14:58:34 -04:00
ericzhou e558c101fd Use the library method auth_uri_transform
Use the library method auth_uri_transform and remove the authtoken
configuration from api-paste.ini.

Change-Id: I46d10bf9b3707c16c3d2ddc84171968ecc4e46a1
Imlements: blueprint move-keystone-authtoken-move-auth-uri-logic
2014-03-19 21:11:23 +08:00
gengjh f923580086 Add new template for ml2 plugin.
Add new template for ml2 plugin since the vxlan depends on this
plugin.

Implements: blueprint neutron-ml2
Change-Id: Ie7307bebb0b9882d79d92b34aaf8e402d36af63c
2014-03-11 19:15:53 +08:00
Jenkins aea4378ed3 Merge "Add new attributes in linuxbridge plugin templates" 2014-03-09 22:19:02 +00:00
gengjh 782cf9b24b Add new attributes in linuxbridge plugin templates
Add new attributes in linuxbridge plugin templates to support vxlan.

Implements: blueprint neutron-ml2
Change-Id: I8b65488d04acd7e3ec865f89b3c1363387cae8ed
2014-03-07 15:41:44 +08:00
Ionuț Arțăriși 16af8e9949 fix lbaas package list for SUSE
haproxy is already a dependency of the openstack-neutron-lbaas-agent
package

Change-Id: I1d209b91dd0e34ab5cff1e15a8553431c3b03556
2014-02-28 14:01:01 +01:00
gengjh 2543667cb0 Update the neutron.conf.erb according to the latest ver from upstream.
- Move the database section into neutron.conf from plugins
- Make the service_provider attribute configurable

Implements: blueprint neutron-ml2
Change-Id: Ia9e932a490e5c13ba49aa8358356e2fa640b845c
2014-02-27 16:15:33 +08:00
Stephan Renatus 01f1de708a Make service_plugins configurable
So far, the service_plugins configuration setting of neutron server has
been used exclusivly for the loadbalancer plugin.  However, in different
usage contexts it can be used for more.  Therefore, this change makes
the service_plugins setting configurable.

This change deprecates node["openstack"]["network"]["neutron_loadbalancer"].
To use the loadbalancer as a service plugin, please add

  neutron.plugins.services.agent_loadbalancer.plugin.LoadBalancerPlugin

to node['openstack']['network']['service_plugins']

Change-Id: I6f1cf72f7bbb9625dbace778189f938841bfbe2b
2014-02-20 09:42:10 +01:00
Mark Vanderwiel 7e978954a8 Add client recipe for network
Add an explicit recipe for installing client
only packages.
Tests are also included.
Bumped minor version for this new feature.

Change-Id: I2e2faa481a2048dc7210132293704730df8f12c8
Addresses: blueprint add-client-recipes
2014-02-14 14:10:39 -06:00
Mark Vanderwiel 61e24b607e Remove unneeded and redundant rhel setup scripts
3 scripts called in rhel/centos/fedora case
- neutron-dhcp-setup
- neutron-l3-setup
- neturon-node-setup (openvswitch)

They set config options that are already handled, for example:
messaging - rpc_backend and qpid_hostname.
keystone - auth_url, admin_username, admin_password, admin_tenant_name.
Testing confirmed no differences in etc/neutron config tree.

Addresses: blueprint centos-rhel-for-network

Change-Id: I56f8482d95908d41e0b33552017166a4e1105177
2014-01-30 10:49:33 -06:00
Hugh Saunders 2df29de194 Remove Berksfile.lock from dev branches
blueprint remove-berksfile-lock-from-dev-branches

Change-Id: I5648bc0fb5824823283149dd47f1727cc6b75f19
2014-01-20 17:30:22 +00:00
Matt Ray 0a3e03b14b Filling out initial rubocop support for metadata.rb and the Gemfile.
https://blueprints.launchpad.net/openstack-chef/+spec/lint-and-unit-testing-for-havana
Removing tailor, cleaning up metadata and Gemfile and adding TESTING.md. Will
remove the .rubocop-todo.yml once the rest of the Rubocop support is filled out

* updating chefspec to 3.1.4 (for chefspec coverage)

Addresses: blueprint rubocop-for-network
Change-Id: I9c9c5b48f3e1174b1e7ec7b5451a6ad9fd82b5e0
2014-01-09 16:27:35 -06:00
Chen Zhiwei 4a42085e72 Add db2 support to neutron on redhat platform
Add a new attribute
default["openstack"]["network"]["platform"]["db2_python_packages"]
and add install DB python packages block in common recipe

Change-Id: If38891ba734f0ba67b413175ddc9bde351248a46
Implements: blueprint db2-support
2013-12-18 07:13:27 -05:00
gengjh 0f7feef177 Upgrade to Havana release
Also upgrade gems:
- berkshelf, ~> 2.0.10
- chefspec, ~> 3.0.2
- foodcritic, ~> 3.0.3
And update the DEPRECATION keywords

Change-Id: I203124c42cccd0c96b40518bc71006b731b2edee
2013-12-17 18:03:55 +08:00
gengjh 6cda0639c3 Support neutron configuration
Since in OpenStack Havana release the Quantum project was renamed to the
Neutron, for the cookbooks we also need do the same things to support
the Neutron. I do the %s/Quantum/Neutron/g in all the files under
cookbook-openstack-netwrok. It will effect other cookbooks:
openstack-compute, openstack-ops-database which should be covered in
others patches.

Implemented: blueprint neutron-support

Change-Id: I59f3f2d8dfad678f70b97d4cbc4e10dfa163e9b2
2013-12-13 22:37:04 +08:00
salmanbaset e7cbfba908 Adding qpid support to quantum
Moving all qpid parameters under default["openstack"]["network"]["mq"]["qpid"]
so that other qpid options can be added under it. Rabbit parameters
will be brought under "mq" eventually. MQ is selected through
default["openstack"]["network"]["mq"]["service_type"]. Default is
"rabbitmq".

Implements: blueprint qpid-activemq-support
Change-Id: I7ac232c52d4fcf72764c63562f58f58c1088ef65
2013-11-30 00:48:04 +08:00
Ionuț Arțăriși ee8e02b3e0 use Strainer for test runs
also removed old run_tests.bash script and added tailor requirement
needed by our default Strainerfile

Change-Id: I5e835cde469c0933d31dcdd68d55543cd87fa80f
2013-07-24 14:30:52 +02:00
John Dewey 11af293c06 Removed the db recipe
The db recipe have been removed. It is up to the operator to
setup the database, users, and grants before deploying openstack.
It has been moved to the `openstack-db` recipe in the
`openstack-ops-database` wrapper cookbook.  Also, remove database
from Berksfile, and pointed berksfile to metadata, like our other
cookbooks.

Change-Id: I79ec1639e950c0016552efe98c1381257c7ab5eb
2013-07-04 10:08:01 -07:00
Jenkins fe526124c2 Merge "SUSE support" 2013-07-01 17:27:41 +00:00
Jay Pipes 0770f25770 Another unicode character
Change-Id: I6077e6867a3d63f824d3122a07b20fd81467da4a
2013-06-29 14:11:52 -04:00
Jay Pipes 10228e5a89 Remove unicode from README
Preventing the upload of this cookbook properly.

Change-Id: I4b05ac1193c009ff40cdb4f790332cd83555926d
2013-06-29 13:55:56 -04:00