OpenStack Networking (Neutron)
Go to file
Sahid Orentino Ferdjaoui 609ebd9504 test: fix docstring validation function
For some reason in Python even if using getattr with None and as
default value a string for the type __doc__ will return None.

>>> type(getattr(None, "__doc__", ""))
<class 'NoneType'>

The error reported was:

ft1.1: neutron.tests.functional.db.test_migrations.TestModelsMigrationsMySQL.test_branchestesttools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 182, in func
    return f(self, *args, **kwargs)
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/db/test_migrations.py", line 302, in test_branches
    find_migration_exceptions()
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/db/test_migrations.py", line 253, in find_migration_exceptions
    if len(explanation) < 1:
TypeError: object of type 'NoneType' has no len()

Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com>
Change-Id: I7c03bac9c6e8dd074325f511e555c10fec8e77fc
2022-11-07 13:21:00 +01:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
devstack Make path for tcpdump release-specific 2022-09-16 11:07:30 +02:00
doc Update documentation link for openSUSE index. 2022-11-04 13:59:58 +08:00
etc Implement experimental features framework 2022-06-30 17:59:49 -05:00
neutron test: fix docstring validation function 2022-11-07 13:21:00 +01:00
playbooks Add new role "prepare_functional_tests_logs" 2022-09-09 08:28:35 +00:00
rally-jobs [ci] Fix several rally task arguments 2020-05-06 14:56:27 +03:00
releasenotes Merge "Since OVN 20.06, config is stored in "Chassis.other_config"" 2022-10-11 16:56:17 +00:00
roles [Functional] Prepare test logs archive only if logs are available 2022-09-14 14:32:34 +00:00
tools [ovn migration] Use ecsda ssh key instead of rsa 2022-10-03 09:38:06 +02:00
vagrant/ovn Fix local neutron folder path in ovn/sparse/Vagrantfile 2020-11-03 17:02:34 +01:00
zuul.d Merge "Add new oslo master CI jobs to the periodic queue" 2022-11-01 01:21:29 +00:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Add etc/neutron/*.sample files to be ignored by git 2019-12-12 12:38:24 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Merge "Fix misplaced comparison constant warnings" 2022-10-06 23:07:21 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
CONTRIBUTING.rst [Community goal] Add contributor and PTL guide 2020-03-03 04:43:26 +01:00
HACKING.rst Follow up for replacing assertItemsEqual 2021-06-03 16:04:07 +00:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
README.rst Doc: make the contributor guide more visible 2022-07-14 13:08:56 +02:00
TESTING.rst Remove reference to 'all-plugin' tox environment 2022-10-07 15:55:37 +02:00
bindep.txt Drop vzctl dep from bindep package list 2022-04-12 16:40:09 +05:30
plugin.spec Add OVN migration OSP 16.2 option 2021-01-24 17:18:55 +02:00
requirements.txt Neutron needs oslo.config >= 9 2022-09-17 14:06:48 +02:00
setup.cfg Remove xenapi from neutron ml2 config opts 2022-10-19 09:57:04 +02:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Follow-up: Move linters dependencies to tox.ini 2021-01-07 04:26:07 +09:00
tox.ini Add dsvm-functional-gate tox environment 2022-09-07 12:19:05 +02:00

README.rst

OpenStack Neutron

image

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:

If you would like to contribute to Neutron, please read the file CONTRIBUTING.rst or see the Neutron contributor guide:

https://docs.openstack.org/neutron/latest/contributor/contributing.html

Get in touch via email. Use [Neutron] in your subject.