This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: Ibbeca0d1cf23b3184ce1745b9bfac8fbd3f0b50d
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I6d8f5d9b24f1ebfca5eb10a7b479a2c0e3952fb4
Story: #2002586
Task: #24294
In jsonmodels, the metaclass for models was changed. Therefore, a model
is no longer a type. Checks of the form type(x) == type fail, and are
replaced with inspect.isclass(x).
Change-Id: Ib8de32e47db8b44735c95b552835ce85b24e2b88
Closes-Bug: #1753244
When a floating IP is updated, it may be updated before the fixed port
is added to NB api (Due to Neutron's ordering, which is random from our
point of view). Therefore, take the Neutron port from the Neurton DB,
where it should already exist.
Change-Id: Id11a1ad399b107ce8a2ae0469e42c0208d590204
Closes-Bug: #1747423
Fix warning: dragonflow/tests/unit/test_app_base.py:216: SyntaxWarning: name
'_lport_index' is used prior to global declaration
Change-Id: Ifba4ccf6fcc2dcfb2e6b5fe505fc1a0be48f7ce6
In some part in the code we import objects. In the Openstack style guidelines
they recommend to import only modules. [1]: "Do not import objects, only modules".
[1] https://docs.openstack.org/hacking/0.10.3/
Change-Id: I646dd8a926047d63c12aa0802ce80977817b503b
The fields that the indexes are translated into were not shown.
Added the actual fields that the index names refer to.
Also fixed an issue with jsonschema parser usage.
Change-Id: I39340f4575d5508b90b92a814c6135c9aee6445e
Partial-Bug: #1734146
The pubsub creates different problems, and every external app
specifically disables it before getting the nb_api instance.
We should hide this behaviour inside the get_instance method.
Also, I called the argument is_external_app as in the future we may want
to add more behavioural differences between the cases.
Change-Id: I25a55737351f8fe14bddafa7c78e60fe096db43e
Detect the source port when a packet with a floating port source IP
arrives from br-ex.
Change-Id: Ia417212a48c68614877d97a749e5dcae8b6e88c8
Related-Bug: #1740739
The method _get_ips_in_logical_port returned a set with all lport's IPs.
This method is not security-groups specific, and therefore can sit in
LogicalPort for other apps and libraries to reuse.
Change-Id: Id10092eab9c7b9558d12d066ffac73edabd6d894
Related-Bug: #1740739
The test fails due to a changed behaviour in Neutron until the issue is
resolved, the test is disabled.
Change-Id: Idbb466419d3efd10c80afb194fb50f7eb48bf8f1
This patch enable extensions:
- H204: Use assert(Not)Equal to check for equality.
- H205: Use assert(Greater|Less)(Equal) for comparison.
Change-Id: I55240cc648385554dd67dc62d6749cef6c59dd70
The script did not use the sudo command correctly, thus not really
enabling the IPv6 support.
Also, Moved the commands to the common script rather than having it
duplicated in all the scripts.
Change-Id: I66e84d76d905584635d42997f41eaef9d0263d3c
Use the ACTION and STEP variables instead of $1 and $2.
Move code into functions for better readability.
Change-Id: If096c5536657fbe29e05d2bdb82c3c1347fe9bcc
All our eventlets and cli apps should call the
eventlet_utils.monkey_patch()
It is now in all tests and eventlets, but missing from the cli apps.
This will also prevent the issue in bug #1744558. Currently the issue
does not exist in the cli apps because they exit very quickly, but if
they will be delayed and the subscriber mechanism will finish its
initialization, they will get stuck too.
The problem resides in the urllib3 HTTPResponse code that is used by the
etcd3gw library. The client is stuck waiting for data on a socket and is
not closed even when we call the close() method.
Change-Id: I37889dcb232f3c1557f241f82ade41520eb2de4e
Co-Authored-By: Omer Anson <omer.anson@toganetworks.com>
Closes-Bug: #1744558