Commit Graph

13 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 70442c5efb Fix defenition of multiple static routes for network
Current logic was relying on iteration inside the template. However,
since config_template module was used to deliver network configuration
it was merging sections having same name together.

While this behaviour is correct one for config_template as all sections
must be unique from ConfigParser perspective and in order to apply
overrides properly, it was not suiting the way how routes should be
defined in networkd configuration.

To workaround the issue we place routes separately under <network>.d
directory, which should be supported by systemd [1]

[1] https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html

Closes-Bug: #2045819
Change-Id: I01aa44dcdc85e32d18dd52bcd4878a9017fb6ead
2023-12-09 05:24:57 +00:00
Dmitriy Rabotyagov 18b36137dc Ensure filename is always defined for network/netdev
Right now we define resulting filename in the loop itself, which limits
ability to predict expected filename for another loop where list might
get filtered.

So to get more expected behaviour between tasks we always add filename
to the elements in vars.

Change-Id: I579980ea3a5e9349d25885530c979649cb6dcb81
2023-12-08 17:51:16 +00:00
OpenStack Release Bot 0fbdc22ada Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: Id41efe5e712e9df3b670efd5b3ab8cdfd20fc609
2022-12-13 13:05:36 +00:00
Andreas Jaeger b7400315fa Use newer openstackdocstheme and reno versions
The sync from https://review.opendev.org/733244 updated to
openstackdocstheme 2.2.1 and reno 3.1.0 versions.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I11211f345869d24e82552844a6f8d57db1103aa1
2020-06-03 18:57:45 +02:00
OpenStack Release Bot 241bbcd219 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: I20ff07ff845a51fe310c6607ba6a6217ce33bf99
Sem-Ver: feature
2020-06-01 13:07:40 +00:00
Andreas Jaeger e99e15b793 Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now Victoria (master) requirements but has
not branched for Ussuri yet, it uses the new version.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Change-Id: Id7d1efab938389929e6375bf8570f6c210234876
2020-05-20 17:24:39 +00:00
Andreas Jaeger 4c762573ec Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine

Change-Id: I4b40d9570a2214f245d439693daecced49f97dc5
2020-04-25 16:00:47 +02:00
OpenStack Release Bot b54ddfbbd0 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I4a11615814940cbf30384586b9a59f57333e1a49
Sem-Ver: feature
2019-10-22 18:52:20 +00:00
melissaml fc954bcb01 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ic0196a84e18c6d7fe2e4df40d9b15c3c76aae436
2019-05-10 18:48:48 +08:00
OpenStack Release Bot d593b315f1 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I6851dd47c528bdb8ad36955d58c78a8d4e45bb90
Sem-Ver: feature
2019-04-08 09:13:56 +00:00
OpenStack Release Bot 60bba0a23b Update reno for stable/rocky
Change-Id: I7ffcb2738ace270d771712d55e48fc4f4479a04e
2018-08-10 16:44:17 +00:00
Logan V cebf3b3482
Add base role tests
Depends-On: https://review.openstack.org/#/c/554402/
Change-Id: I3b270cc65aedaf9ef7375289b0ff7373b2c8d705
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-03-21 00:18:24 -05:00
Kevin Carter dd82b31ee2
first commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-03-13 23:09:48 -05:00