268 Commits

Author SHA1 Message Date
asarfaty
b03c5f23fe NSX|P: Add deletion of certificates to devstack cleanup
Change-Id: Ie2917aeeaae4b65b32f367f8de79720e167fa228
2021-03-16 08:26:30 +00:00
asarfaty
1c4d261c60 NSX|P: Add log about Qos in devstack cleanup
Change-Id: I246db6211961d7e08bcb0030255ef00dc0d60639
2021-03-10 07:09:10 +02:00
asarfaty
c06410362f NSX|P: Fix devstack cleanup for fwaas
Change-Id: Ibe21d84729785294611199a6fe900b86e8896391
2021-03-09 09:01:50 +00:00
asarfaty
b1503dd5b0 NSX|P devstack cleanup fix
- Delete segment dhcp static bindings
- Delete octavia llowed cidrs GW policy, group & service
- Delete Qos profiles

Change-Id: I524c1b3e5445ba9006017146c9797020e30c8e8a
2021-03-07 11:00:24 +02:00
asarfaty
35dd9d1878 NSX|P: add static routes deletion to devstack cleanup
Change-Id: I75152f3fcd0853b5068c2db142f068e28ada0baa
2021-02-21 12:30:11 +02:00
asarfaty
53aab18c11 NSX|P: Fix devstack cleanup
Change-Id: I2a45ad31c3bc2f8292756c90d5f001cdc801687d
2020-12-21 09:51:58 +02:00
asarfaty
343bb2f3f9 NSX|P: Fix devstack cleanup
Change-Id: I75391ba8edb5365c780959304d0c404bef90f6bc
2020-12-15 16:26:46 +00:00
Kobi Samoray
6c99ff9992 NSXV: replace requests with httplib2
nsxv_cleanup fails due to requests issue, replace with httplib2

Change-Id: Ib5ed173ff039423ed85f23243b8416a07c860b7e
2020-12-10 10:26:01 +02:00
Ghanshyam Mann
a3b61c2d27 Use the networking-l2gw project new location
networking-l2gw and networking-l2gw-tempest-plugin are
imported to new location now and supposed to be retired from
openstack/namespace[1].

-https://review.opendev.org/#/c/744110/

Change-Id: I902ea79cdd3a8e56540ab44a7bd2f986f5d18bca
2020-09-08 07:34:08 +02:00
asarfaty
1c9e123b80 Stop getting upstream master neutron-fwaas
As neutron-fwaas is no longer maintained, get it from pypi instead of Git.
Also update neutron projects in requirements to latested released versions

Change-Id: I866d0b6f57f7b34ccc8bc998b8df729103497f6c
2020-06-21 10:10:43 +02:00
asarfaty
e11c8b86a3 NSX|V: Skip unsupported tempest tests
Change-Id: Ic821faad07bb4bf3bc2596ddd7e5328e9c70a03f
2020-03-23 06:54:27 +02:00
asarfaty
e68b87b176 NSX|P: Support policy DHCP
IPv4 support for Policy DHCP depending on the NSX version & on config.
Including devstack support for configuration & cleanup, and admin utilility
for migration from MP implementation to Policy one.

IPv6 support will follow in a future patch.

Change-Id: I01bfb5bd530c63ca8b635bbebcac47659187077e
2020-02-13 07:26:35 +00:00
Terry Wilson
ca7fbe6b55 Update for removal of agent tempest tests
Change-Id: Ie941b299b2c9aac7fe7b70f33794356f0c36f7b3
2020-02-03 09:57:45 +00:00
asarfaty
f9dc12ef39 NSX|P: devstack cleanup router interfaces
Change-Id: I79c19ebff4c9003930516527f45226277f862ae5
2020-01-16 14:09:51 +02:00
asarfaty
95f05a2097 NSX|V3: Fix devstack cleanup for tier0 ports
In case using the cleantup with a newutron_db, tier0 logical ports
were not deleted, becasue the tier0 routers could not be found in
the neutron DB.

Change-Id: I78e6641f2d94331a081bae218a99bbc2973f2540
2019-12-19 18:38:14 +02:00
Kobi Samoray
133a69ae90 Python3 support - use correct pip
Use pip3 while python3 is in use

Change-Id: I5d1eb2249b881aefdf1130bd9af00dea9d699bea
2019-11-12 12:53:02 +02:00
Adit Sarfaty
cceaa376b9 NSX|P: Fix devstack cleanup to use the default domain
The policy plugin do not use per-tenant domain any more, so
it should delete objects from the default domain instead.

Change-Id: Ia93d9e1c888105305db880e8166c98a3d2fcad9f
2019-09-08 11:54:19 +03:00
Adit Sarfaty
07409838f0 Update octavia-lib requirements
To match what the Octavia project is using, and not to pull it from git
automatically

Change-Id: Id26d92822896f698095b77c156ed62fcbdf2a76d
2019-08-13 09:40:18 +03:00
Salvatore Orlando
84437e7afc [devstack] Skip ovs_cleanup for vmware_nsx plugins
This step is unnecessary and will trigger issues with ovsdb
connectivity from stein onwards

Change-Id: I626c462c2e5702c384c4e3324fd942d3ebf34506
2019-06-04 15:19:58 -07:00
Salvatore Orlando
33d8a172df [devstack] Fix recursion issue in _ovsdb_connection
Change-Id: Idd4074513e9a55bf0abe9b915b18f096d5e2d1d6
2019-06-04 15:18:03 -07:00
Kobi Samoray
08ea8cc6b1 Devstack: install_neutron_projects bugs
- pip warns as the ownership of the cache dir is incorrect and advises
using -H flag

- Fix neutron install
- Replace openstack.org with opendev.org

Change-Id: Ia186c17a61303eda024bd1f71f079e6391088d3d
2019-06-04 10:26:16 +03:00
Boden R
5362c65416 update bandit, hacking and flake8 requirements
This patch bumps the hacking, bandit and flake8 requirements to match
suit with similar work (ex [1]). It also updates the code to fix a few
new pep8 errors as well as adds a local tox target for
requirements-check-dev.

[1] https://review.opendev.org/#/c/658245/

Change-Id: I6caeb52dc1a5842338ec989a742ae5989608e0da
2019-05-31 08:42:37 -06:00
Kobi Samoray
2a6ccc98c5 Devstack - use Neutron branch for related projects
Use Neutron's branch while fetching neutron-related projects

Change-Id: I672b18d1dd852a1d616ca5af74e9bf6773d2bb71
2019-05-29 05:32:16 +00:00
Adit Sarfaty
d753ec6945 Remove neutron-lbaas support & dependencies
Commit Ia4f4b335295c0e6add79fe0db5dd31b4327fdb54 removed all the
neutron-lbaas code from the master (Train) branch

Change-Id: I9035f6238773aad0591436c856550b7a5e01e687
2019-05-19 11:16:45 +03:00
Adit Sarfaty
5b591457c0 NSX|P: Create/delete tier1 locale-service upon router create/delete
The NSX backend needs each logical router to have a locale-service
entry, which should also be deleted before the router is deleted.

Change-Id: If64c1b67c19906105b07c6facedf5d07ac36176d
2019-05-16 05:29:24 +00:00
Kobi Samoray
e98a41d8d2 NSXP: LBaaS/Octavia support
Change-Id: I2bd7b01f921243d65f68ec328173e949607e7842
2019-04-01 14:41:02 +03:00
Salvatore Orlando
afaa5ac6cb Add octavia-lib to vmware-nsx managed libraries
As octavia-lib is now a requirement for octavia, the function
for installing neutron projects needs to manage it as well

Change-Id: Ic8950887dc16f6a097ed4e07823c5808d6348be6
2019-03-16 00:59:57 -07:00
Zuul
8426b63a4c Merge "remove external_network_bridge option" 2019-03-13 18:21:41 +00:00
ghanshyam
dd10d159f1 Remove usage of tempest test_l3_agent_scheduler
Tempest test 'test_l3_agent_scheduler' is going to be
removed from Tempest  - https://review.openstack.org/#/c/640767/

Same test exist in neutron-tempest-plugin[1], which can be used
if required.

[1] http://git.openstack.org/cgit/openstack/neutron-tempest-plugin/tree/neutron_tempest_plugin/api/admin/test_l3_agent_scheduler.py

Change-Id: I89488cafe0c901d8d5ad1dfea74c87f63e0d59ec
2019-03-07 04:48:24 +00:00
Boden R
10ef24f259 remove external_network_bridge option
The external_network_bridge option is deprecated/legacy and being
removed from neutron (see depends patch). This patch removes the
external_network_bridge option iniset from our devstack scripts.

Depends-On: I07474713206c218710544ad98c08caaa37dbf53a
Change-Id: I0fdac5d6b7108a7bdd7ef271843b1349979ae8d8
2019-03-05 07:34:08 -07:00
Adit Sarfaty
a9cc62c3df NSX|P: Add TZ configs to devstack code
And remove unused dhcp relay config

Change-Id: Ib1861cb64eb81f43cf9b6b32e6552185e3f70bcb
2019-03-05 05:54:36 +00:00
Adit Sarfaty
00d7a83efd Devstack: Delete old project before deciding how to get the new code
Change-Id: I7e34931dc7155a36475328d3e45d2759e2f36baf
2019-01-31 10:08:52 +02:00
Zuul
71ff7272f4 Merge "NSX|V3+P: reuse common devstack code" 2019-01-29 09:43:28 +00:00
Adit Sarfaty
cf5cdad0b5 NSX|V3+P: reuse common devstack code
Change-Id: I00980a442d05cade9644fd3bffcec5ebf10455da
2019-01-27 15:13:01 +02:00
Adit Sarfaty
e509b30e5e Devstack: Fix failed of ml2 directory creation
Create an empty ml2 config, becasue the neutron code might not exist yet

Change-Id: Ifa4b38c6d652765b33b3b6c10c680f5eceabdf28
2019-01-27 09:00:38 +02:00
shutingm
04001fb66f Devstack: Fix failed of ml2 directory creation
In the install phase there is no neutron/plugin directory, needs
to create it with the right ownership, and use '-p' to create the rest of the path.
Improve patch:https://review.openstack.org/#/c/631963/

Change-Id: Ib68d248ca166369e2d63605a04de0266bda9a226
2019-01-24 11:28:47 +02:00
Adit Sarfaty
ac63f207d6 Devstack: Fix ml2 config file creation for FWaaS-V2
Moving the creation to the install phase as post-install might be
to late, depending on the initialization order

Change-Id: I632b0cfa4eadd215466bd327f484a0e6e3c184b6
2019-01-20 11:33:48 +02:00
Adit Sarfaty
6867b051e2 NSX|P: DHCP & MD Proxy devstack cleanup
And some other cleanup fixes

Change-Id: I7fd26ee8320b4a3b863b42adff8dc756b31d8272
2019-01-08 11:19:51 +02:00
Adit Sarfaty
74f3831027 NSX|P: QoS support
Change-Id: I719c1adfa94676b5e8b3a7b60f8d9d034d54eeb3
2019-01-07 13:07:23 +02:00
Anna Khmelnitsky
d1bf1f324e NSX|P: Consume nsxlib folderization patch
Change-Id: I24e2099b8c13c61218ca3c7582961a8620cfca28
2019-01-06 07:48:27 +00:00
Anna Khmelnitsky
f40c196bbf NSX|P: Initial dhcp support
Policy does not support dhcp for infra segments yet, so support is
done on manager via passthough API. Same appliance is assumed.

Not covered here (will come as follow up):
- subnet update
- nsx cleanup

Change-Id: I9a64524edd80b1830c5b3dba2c63c087fe46a169
Depends-on: I47a1ec1994808f9ed8ebb00bbcc2bbe0a497a146
2018-12-31 13:37:31 -08:00
Zuul
8fba16050d Merge "Devstack: Create ml2 config file for FWaaS-V2" 2018-12-30 07:47:57 +00:00
Adit Sarfaty
b628d1f34f Devstack: Create ml2 config file for FWaaS-V2
FWaaS V2 expects the ml2 config to exist, even though it is not in use for
the vmware-nsx plugins.
This patch adds this file from teh sample file when stacking with FWaaS v2

Change-Id: I198bfa55319dc622c0a3872f818fe022b622fef7
2018-12-27 12:25:33 +02:00
Adit Sarfaty
1f8ac3e9f6 NSX|P add port security support
Adding segment profiles to the backend port Including mac learning support,
port security & spoofguard.
In addition - adding the exclude port tag for ports without port security

Change-Id: Ief4a3989316f7b7097c5be6145aae169cde87e8e
2018-12-26 08:38:28 +02:00
Adit Sarfaty
4831350452 NSX|P: Remove tier1 router service in cleanup
Change-Id: I23d3919d56d6cdb7a5693e14e2db2fdafd1d92bb
2018-12-24 13:22:04 +00:00
Adit Sarfaty
8374f93bbc NSX|P Fix router interface removal
And enable the CI test that was blocked with this issue

Depends-on: Ib0ab3baacc65437aa1d822a133bdec2ebf566bd5
Change-Id: I96c6eee726c7da3fa63b7c0da6141a1285581c12
2018-12-24 10:43:24 +00:00
Adit Sarfaty
90eb5eed7e Revert "NSX|V: Disable some CI tests that fails often with timeout"
This reverts commit c07c3d7e5cc36ef0f3ed2f2c068f45165f0fcae4.

Change-Id: If8a2a3a6eb3876a5399e47eab1172cd889e4faf0
2018-12-22 18:02:48 +00:00
Adit Sarfaty
c07c3d7e5c NSX|V: Disable some CI tests that fails often with timeout
Change-Id: Iffeab7b649ab29a1b73f30744036629892f7fb31
2018-12-20 12:19:35 +02:00
Adit Sarfaty
582e6bab48 NSX|P Add SG rules groups cleanup
Fixing the ID of the rules remote/local NSX groups,
and adding devstck cleanup for those.

In addition, this patch adds try clauses around all cleanup actions,
to make sure the cleanup runs through even if some actions fail.

Change-Id: I9c0d70ceb174dcf8e00ac209e1eedc4afc833cc8
2018-12-19 11:30:04 +00:00
Adit Sarfaty
46bcd38717 Policy plugin floating IPs support
Including unit test & CI tests for routers & floating IPs,
and necessary routing related fixes.

Change-Id: If4f38e6081f1b68369102a1e9839feac8b33530e
2018-12-11 12:41:58 +02:00