Commit Graph

36 Commits

Author SHA1 Message Date
Ghanshyam Mann 6ed93f8448 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: I9da248ee774c038c99bf452898ac8658aa337aad
2024-02-24 11:41:53 -08:00
Zuul 9345afd23d Merge "Update master for stable/zed" 2023-01-04 19:02:02 +00:00
OpenStack Release Bot cce5bb5d80 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: I5308e80d926050e3acb89ae3e94c7b43559891c2
2022-11-02 16:18:37 +00:00
wangjiaqi07 60fe998bea remove unicode from code
Change-Id: Idd33e63c54e091bf390a9160a101c4baf6b464bc
2022-08-25 11:29:38 +08:00
Hervé Beraud ce073e0a3c Fix formatting of release list
Change-Id: Ia0bcb14588eaba8d9f979454f4563a9fd0b4231c
2022-05-27 14:03:51 +02:00
OpenStack Release Bot f4e599a26c Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

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

Sem-Ver: feature
Change-Id: I7437f51a6c7b2bb53831974e80a41ad9dcb83182
2021-05-05 15:31:42 +00:00
OpenStack Release Bot 87daba47d6 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

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

Change-Id: Iedf3cb71a2554faae75e0fe40bcdc889476cf4b5
Sem-Ver: feature
2020-10-30 15:50:22 +00:00
Andreas Jaeger e662da0d57 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

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.

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: I13e5de067ad381d058060bc5e297a0360804e119
2020-06-03 20:27:18 +02:00
OpenStack Release Bot 2651fa4816 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: Iec01c94830aca14be91950577b392d35aef7181c
Sem-Ver: feature
2020-05-26 17:13:16 +00:00
Andreas Jaeger 4363f45062 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
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Cleanup releasenotes/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine
- Update to hacking 3.0 for Sphinx 3 support, fix problems found

Change-Id: Id7cab423584af9280da54f12a29daa1f60a3ca35
2020-04-17 16:47:33 +02:00
OpenStack Release Bot b349b74752 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: I250f35b72a7da321ac0b45c353327b3f23af4dbe
Sem-Ver: feature
2019-10-21 14:16:58 +00:00
OpenStack Release Bot 58b742dcc4 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: I16e51ea2576870d711fe9beeee09d131844ee9a5
Sem-Ver: feature
2019-04-18 14:55:57 +00:00
Jaganathan Palanisamy 83ab4a196f Adding pci address in SRIOV config
This change is to store pci address in SRIOV config.
In Nova PCI passthrough whitelist automation, Planning to
use SRIOV config to find the already used pci addresses.

Change-Id: Ifecc341ce652c638f06b540df4bf17aa6674db02
2019-03-19 00:35:07 -04:00
Juan Antonio Osorio Robles fc9fbd4461 Enable setting domain parameter for interfaces
This enables the setting of a static domain that will be used to aid DNS
queries.

Change-Id: I284691444b2f10cc831d4b3148d41100f6c7796d
2019-02-15 19:49:52 +01:00
Dan Sneddon 35832347e1 Add Policy Based Routing Support to os-net-config
Add support for routing tables and rules, as well as a
property to specify a routing table for each route to
the impl_ifcfg implementation.

This change adds a new top-level object in the
network_config with type "route_table" to specify
which route table IDs and names should be added to
the /etc/iproute2/rt_table file.

This change adds a "table" property to routes for each
interface type, that allows the selection of which
routing table to apply the route to.

This change also adds a "rules" property to each
interface type, which can be used to specify a list
of rules. Each rule contains a rule string and an
optional comment, both of which will be added to the
/etc/sysconfig/network-scripts/rule-<iface> file.

This change includes tests and changes to the schema
for validation.

Note that this change was based on the abandoned patch
https://review.openstack.org/#/c/575712
and was recreated when that patch diverged too far
from master branch.

Change-Id: I6906d3b6923845af177faba6579fa255a2195bec
Closes-bug: #1783297
2019-01-24 09:57:25 -08:00
Zuul bd6777321c Merge "Apply IP/netmask/route/MTU changes without bouncing interfaces." 2018-11-09 10:33:38 +00:00
Dan Sneddon c9bf347a23 Apply IP/netmask/route/MTU changes without bouncing interfaces.
Modifications to impl_ifcfg.py to support making changes to IP
address, MTU, and routes live, rather than running ifdown/ifup on the
interface. Bouncing the interface is very disruptive, especially with
bridges where all the child interfaces are also bounced.

If only the IP address, netmask, MTU, routes, and/or boot status are
changed, the file will be written and 'ip' or 'ip route' commands
will be run to apply the new config on the fly. If any commands fail,
the interface will be restarted instead.

Closes-bug: 1795129
Change-Id: I75239fd3f273a88feb80f09a67aa5a947d64ac30
2018-11-06 16:05:43 -08:00
Bob Fournier 25c70ea076 Retry ovs-appctl command
The ovs-appctl command may fail when setting an interface as a
slave interface in a bond and the primary has not come up yet
from a preceding ifup call.  Retry the ovs-appctl and log an
error if the command still fails.

Change-Id: I3f04a5d6c3a6dc324a2978fdecd2a77df0bf1ba0
Closes-Bug: 1797955
2018-10-18 17:17:39 -04:00
Harald Jensås acf646383b Allow list_of_routes to be [] in config
This changes the schema validation to allow an empty
list of routes to be specified in the configuration.

Closes-Bug: #1792992
Change-Id: I808cdd9c352f3e0dd0b75b8b8b738b97d82da7c1
2018-10-05 06:24:09 +00:00
Bob Fournier 2495c9ddaa Restart ivs/nvfswitch after config file is updated
This change - https://review.openstack.org/#/c/561609/, removed the
restart of ivs/nvfswitch to avoid network interruptions. However,
when a change is made to the config file then ivs/nvfswitch must be
restarted in order to pick up the change.

Closes-Bug: #1794182
Change-Id: I8f879072799cef29c09ddc74bd71069dd168ec88
2018-09-24 16:35:11 -04:00
OpenStack Release Bot 453723251e Update reno for stable/rocky
Change-Id: I553c61fd0e60bd6c8602fc752cf7106303224b5b
2018-08-24 14:41:49 +00:00
Bob Fournier 8250d67a23 Add check for OVS for objects that require it
OpenvSwitch is not required for os-net-config to run.  However, some
objects (OvsBond, OvsBridge etc.) rely on OVS being installed.  This
adds a check for the existence of OVS before creating objects that
require it. If not installed, an exception will be raised.

Change-Id: Ic3d5c00f0ae9e4f8169d418802d6be840ce5c2e1
2018-07-17 01:12:53 -04:00
Harald Jensås 206615288a Route object - add support for neutrons Route schema.
Adds support to use ``destination`` and ``nexthop`` as keys in the
``Routes`` objects in addition to ``ip_netmask`` and ``next_hop``.

Neutron Route objects use ``destination`` and ``nexthop``. Supporting
the same schema enables the possiblity to passing a neutron route
directly to os-net-config.

Change-Id: Ifc5aad7a154c33488a7613c8ee038c92ee6cb1a7
Related: blueprint tripleo-routed-networks-templates
2018-07-09 15:00:59 +02:00
Michael Henkel 40ce571209 vlan and linux_bond members for contrail vrouter
Currently the contrail vrouter interface member interface can
only be of type interface. vlan and linux_bond are needed,

Change-Id: I3e7cf56b0c237a8b791fedbeb255beb60ce3d7c6
2018-07-02 12:35:06 +00:00
Zuul 2a2fde8335 Merge "Adding the class and mac approach as dpdk-devargs in mellanox ConnectX-3" 2018-03-07 16:21:53 +00:00
OpenStack Release Bot c22cbb674b Update reno for stable/queens
Change-Id: I27108a30670a0f5eeaea2ceb79e5c7947b50f4fc
2018-03-03 11:39:56 +00:00
waleed mousa aeaa6fe62b Adding the class and mac approach as dpdk-devargs in mellanox ConnectX-3
Some NICs (i.e. Mellanox ConnectX-3) have only one PCI address
associated with multiple ports. Using a PCI address as dpdk-devargs
in OvsDpdkPort won't work. Instead, class and mac approach is used
dpdk-devargs="class=eth,mac=<MAC>"
see this http://docs.openvswitch.org/en/latest/howto/dpdk/

Change-Id: I29de6e82a0897ee46953a1e6a966e9c5790068c9
2018-02-25 04:54:35 -05:00
Karthik S 9e785a4ce0 Add network objects sriov_vf and sriov_pf
sriov_pf: configure numvfs of the device, create and enable
sriov_numvfs service for the persistence of the numvfs
configuration across reboots.
sriov_vf: configure the ifcfgs for the Vfs

Change-Id: I0e55d1556328fcb90b66c898c534b76e41ca9618
Implements: blueprint sriov-vfs-as-network-interface
2018-02-16 00:55:52 -05:00
Karthik S 35eada4d8d Revert "Update reno for stable/queens"
This reverts commit 214701aa21.

Change-Id: Icebf525d53e851b2cbc87f288b264dc0d2c6dfd2
2018-02-16 05:29:41 +00:00
OpenStack Release Bot 214701aa21 Update reno for stable/queens
Change-Id: I03c92816b9ad8284f89b9ee56bfa7d34da1687ac
2018-02-14 13:43:48 +00:00
Emilien Macchi 594f1e41d6 Modify reno structure for future stable branches
Change-Id: I5e38a2114c923491fde005953e860a8056b14149
2018-01-30 01:26:51 +00:00
Doug Hellmann 123ddf0df4 properly escape the release notes text
Escape the list entries as blocks of text so the YAML parser
understands how to process them.

Change-Id: Icd334175270ab1f5f26ea2526fe560165b11559e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-01-29 17:01:26 +00:00
Ian Wienand 0b7f528b96 Add releasenotes configuration
Add releasenotes build config for job

Change-Id: Ibcfd80fd2bdd8e576ab20630401fcc5c0a471b9f
2018-01-29 16:32:01 +11:00
Zuul 0d80458bb7 Merge "Only log that mapping file is in use if it's actually true" 2018-01-06 06:45:04 +00:00
James Slagle e4397c3424 Use INFO log level for getting nics
Getting the ordered, active, and available nics has been traditionally
one of the parts of os-net-config that can cause issues due to either
user error or bugs. There are helpful log messages to log what is going
on in the logic, but it's all hidden behind the DEBUG log level.

These messages should be INFO instead of DEBUG. It's much more user
friendly when there are issues instead of having to rerun with --debug.

Change-Id: I7d9fd87bcbba87ecef4fedcb2b6e8dd48c3e610e
Closes-Bug: #1737196
2017-12-08 14:35:11 -05:00
James Slagle 3de7c2fa00 Only log that mapping file is in use if it's actually true
os-net-config always logs the message "Using mapping file at:
/etc/os-net-config/mapping.yaml" even if the file does not exist, in
which case it's not actually being used at all. Move the log message to
only be shown if the mapping file actually exists and is used.

In the case where no mapping file is used, also log a message indicating
such.

Change-Id: Iea46e215d531e0fed5839c28c116417db464d52d
Closes-Bug: #1737191
2017-12-08 10:35:00 -05:00