OpenStack Networking (Neutron)
c5d8fd6329
Recent changes in some versions of iproute2 CLI output (v4.18), have invalidated the regular expression used to parse the "ip link" output. To solve this problem and avoid future ones, pyroute2 is used to retrieve the virtual functions information and set the VF attributes (spoofcheck, min_tx_rate, max_tx_rate and link_state). pyroute2 extended the "ip link" support to retrieve this information, adding "ext_mask=1" in the get command. If no virtual functions are present in this particular network interface, the added method, "get_link_vfs", will return an empty list. The set commands can return a "InterfaceOperationNotSupported" in case the operation is not supported. For min_tx_rate, if the driver does not support to set a minimum bandwidth, an "InvalidArgument" (from a pyroute2.NetlinkError(22)) exception will be raised. Change-Id: I680da4f64bd114f1caecaaeedbf8a4b1915a0849 Closes-Bug: #1878042 |
||
---|---|---|
api-ref | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
playbooks | ||
rally-jobs | ||
releasenotes | ||
roles | ||
tools | ||
vagrant/ovn | ||
zuul.d | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.stestr.conf | ||
babel.cfg | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
lower-constraints.txt | ||
plugin.spec | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
TESTING.rst | ||
tox.ini |
OpenStack Neutron
Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).
To learn more about neutron:
- Documentation: https://docs.openstack.org/neutron/latest/
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
- Source: https://opendev.org/openstack/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute, please read the CONTRIBUTING.rst file.