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
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
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
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
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
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
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
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
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
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
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
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
This changes the schema validation to allow an empty
list of routes to be specified in the configuration.
Closes-Bug: #1792992
Change-Id: I808cdd9c352f3e0dd0b75b8b8b738b97d82da7c1
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
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
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
Currently the contrail vrouter interface member interface can
only be of type interface. vlan and linux_bond are needed,
Change-Id: I3e7cf56b0c237a8b791fedbeb255beb60ce3d7c6
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
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
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>
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
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