12362 Commits

Author SHA1 Message Date
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
Zuul
3a5fe8043b Merge "NSX|P Add SG rules groups cleanup" 2018-12-20 08:31:20 +00:00
Zuul
1fe777c29d Merge "NSX|P: Add router advertisement & static routes" 2018-12-20 08:31:18 +00:00
Zuul
47439b2878 Merge "NSX|P: Policy plugin use passthrough api" 2018-12-20 08:31:17 +00:00
Zuul
f04743bed0 Merge "test/prep lower-constraints with py36" 2018-12-19 15:12:13 +00: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
28c1c21b7b NSX|P: Add router advertisement & static routes
Support router advertisment and setting static routes for the
policy plugin.

Change-Id: Ifb68b62ef3088ce602735cbc93200bbf8906a77b
2018-12-19 09:50:22 +00:00
Adit Sarfaty
0fc5c7a5a3 NSX|P: Policy plugin use passthrough api
Adding a configuration flag (True by default) to allow the
passthrough api usage.
Using this plag for the nsxpolicy initialization and for calling
the specific apis.

Change-Id: Ie574d56af6258726f774d623e5cce25aa5f20ead
2018-12-19 08:36:28 +00:00
Zuul
77a9571925 Merge "use payloads for ROUTER_INTERFACE BEFORE_DELETE events" 2018-12-18 20:12:16 +00:00
Zuul
798ba3bb52 Merge "NSX|T: DR only Neutron logical router" 2018-12-18 17:24:38 +00:00
Boden R
a97ef41278 test/prep lower-constraints with py36
This patch tests that the lower constraints job works with py36 as per
[1]. See [2] for the forthcoming change this patch addresses.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2018-December/001026.html
[2] I082160a29b51bd578d159a13cea4d511c1228e3e

Change-Id: I5e121d6325d93d83dc35a181b6063404b88dee1a
2018-12-18 10:03:38 -07:00
Zuul
502bc3ad65 Merge "LBaaS: Session persistence for NSX-v3" 2018-12-18 14:40:29 +00:00
Salvatore Orlando
2e010fd9b2 LBaaS: Session persistence for NSX-v3
Implement pool session persistence in the NSX-v3 driver.
This patch does also a certain amount of refactoring to ensure
still a single call is made for updating the NSX virtual server.

Persitence profile deletion happens via a deferred function as
the virtual server must be updated first to not use anymore
the persistence profile.

Updating a pool from cookie-based to source-ip based session
persistence is currently not allowed and will result in a driver
error.

Change-Id: Id9fc4e664c5a212a411b4d4eda688bad5c74e869
2018-12-18 12:35:22 +00:00
Boden R
3b5c08f12f use get_updatable_fields from neutron-lib
The get_updatable_fields function is now in neutron-lib. This patch
uses it rather than neutron's version of the function.

Change-Id: I155711e8b5fbd00833d8b59abf963a37dfb82b34
2018-12-18 10:58:00 +00:00
Adit Sarfaty
eb8218c4ea Fix qosqueue unit tests
Commit I7a34291cb7abbe288e7dda329b2d1ef2c3e7890f moced some policy.d
definitions out of neutron.
The qosqueue do not load the relevant policy files, and normally policy
rules are not tested in teh plugin unit tests, so this patch will remove
the tests that depend on those rules.
[Note that qosqueue is not longer used except for the MH plugin anyway]

Change-Id: Id8e61066db520852a80b416ea57389e58a800533
2018-12-18 09:41:55 +02:00
Michal Kelner Mishali
f641808399 NSX|T: DR only Neutron logical router
Ensure that if a neutron router does not provide any service
which requires an edge appliance - no SR is created.
If a service is being removed - the SR will also be removed.

Change-Id: Ia1b24900acc5526e732c414682fa906c34860653
Signed-off-by: Michal Kelner Mishali <mkelnermishal@vmware.com>
2018-12-17 11:13:35 +02:00
Boden R
d2652a7b7e fix lower constraints
This patch adjusts the lower constraints and requirements to ensure
the lower-constraints job passes.

Change-Id: I99121a93c56f53cfe13ce519e66af9139a1678f3
2018-12-16 09:19:28 -07:00
Zuul
b21cb20b77 Merge "NSX|P: Initial availability zone support" 2018-12-13 20:09:09 +00:00
Zuul
d136ae0453 Merge "TVD: Add missing VPN driver api" 2018-12-13 09:32:08 +00:00
Anna Khmelnitsky
e9c4ca538c NSX|P: Initial availability zone support
Create a base class for V3 and P AZs.

Change-Id: Icb735a9d79e258179a2678a4db06eb401cf4cd59
2018-12-12 15:42:29 -08:00
Adit Sarfaty
ab49850cff TVD: Add missing VPN driver api
Change-Id: I8718aca1696dcce7744b5a828c7852185c6645bb
2018-12-12 10:56:11 +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
Zuul
32dd3390c0 Merge "NSX|P: Fix router interface segment id" 2018-12-11 07:42:03 +00:00
Zuul
d7c6466204 Merge "Policy plugin: Add devstack/admin-utils for client auth" 2018-12-11 07:42:02 +00:00
Zuul
76dd562439 Merge "NSX|P: Initialize segment profiles" 2018-12-11 00:39:09 +00:00
Zuul
ca167b118b Merge "NSX|P: Add router interfaces NAT rules" 2018-12-11 00:39:08 +00:00
Adit Sarfaty
60ba0dd23b NSX|P: Fix router interface segment id
When setting a segment as a router interface, the plugin should
use the real segment id.
_get_network_nsx_id returns the realized id on the nsx manager which is wrong.

Change-Id: Id0e435cda0d43607f6000f14d8ac9621ec9d64e4
2018-12-10 14:19:09 +02:00
Zuul
234cbbec23 Merge "Update devel info: mailing list" 2018-12-10 09:17:30 +00:00
Zuul
d69a235f4a Merge "NSX|V3: FWaaS translate 0.0.0.0 to Any ip" 2018-12-10 09:17:29 +00:00
Zuul
cc362f549e Merge "NSX|V Fix AdminUtils get apis to use the right context" 2018-12-10 09:17:28 +00:00
Adit Sarfaty
57776776d4 Policy plugin: Add devstack/admin-utils for client auth
Adding devstack support for policy plugin with certificate and the certificate
admin utilis which are needed for the devstack support.

Change-Id: I5c9d23c7f0a83cbf4cb71fed4da488bafa230be4
2018-12-09 13:15:55 +02:00
Adit Sarfaty
403e952af6 NSX|P: Add router interfaces NAT rules
Change-Id: I6459fb776457b20ca2142debfca208eca11f80f1
2018-12-09 10:38:04 +00:00
melissaml
aef4473fef Update devel info: mailing list
The new openstack-discuss mailing list is going to replace few
mailing lists, including openstack-dev.

Change-Id: I8a10d76c327c51e2ee2047b37f670fe5339c9724
2018-12-07 22:00:06 +08:00
Adit Sarfaty
4182115912 NSX|V3: FWaaS translate 0.0.0.0 to Any ip
FWaaS driver used to fail in case 0.0.0.0/x was set a the rule source
or destination, as the backend NSX does not support it.
This patch changes the behavior - the 0.0.0.0/x ips will be ignored,
and the rule will be create with ANY source/dest instead.

Change-Id: I1aa4331a965e9b7deacfbef510aa60f8c17046a3
2018-12-06 15:41:09 +00:00
Zuul
944402c8c5 Merge "Change openstack-dev to openstack-discuss" 2018-12-06 09:49:23 +00:00
Zuul
2dd72a8481 Merge "bump neutron-lib to 1.21.0" 2018-12-06 09:49:22 +00:00
Adit Sarfaty
1a6592a01a NSX|P: Initialize segment profiles
Initialize the segment profiles that will later be used to create
segment ports.

Change-Id: I4e3079b20f896607826c0811a7024048338a0aa6
Depends-on: I6a4fd4df680bd3efef39060a92b88bef11ce2a20
2018-12-06 07:24:00 +00:00
Boden R
6fc0aebf6f bump neutron-lib to 1.21.0
This patch bumps the neutron-lib version to 1.21.0 in both the
requirements and lower-constraints.

Change-Id: Iafa91811c0fae3f1eaf44f71d4fa317522335d2b
2018-12-05 09:52:28 -07:00
Adit Sarfaty
39c48c2d41 NSX|V use context reader for router driver
When adding a router GW during hte router creation, in some cases
the wrong router driver is retrived, causing errors.
Using the context reader solves this problem.

Change-Id: I109e2dfd09be3b1ecd8edc237d74c8747f28e7e8
2018-12-04 16:32:33 +02:00
Adit Sarfaty
460f590fd0 NSX|V Fix AdminUtils get apis to use the right context
Change-Id: I799a5e2ea5d282be7713048e080139f8343fef0d
2018-12-04 11:29:45 +02:00
melissaml
d2388b9fbc Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I5903e21d4baf9d15b7437c8fbd10337c5b176e8b
2018-12-04 17:18:23 +08:00
Zuul
c657b0db27 Merge "TVD Octavia: Fix stats_getter parameters list" 2018-12-03 07:46:34 +00:00
Zuul
8d4be05360 Merge "NSX|V New admin utility to list existing NSX policies" 2018-12-02 09:39:41 +00:00
Adit Sarfaty
5e5af50640 NSX|V New admin utility to list existing NSX policies
The use needs to configure nsx-policies using their IDs, which are hard
to find in the VC. The new admin utility will make this easier.

Change-Id: I8869272ff02389193ba546833b52734cf4b71ff2
2018-11-29 07:22:17 +00:00
Adit Sarfaty
dfdd4be647 TVD Octavia: Fix stats_getter parameters list
The parameters list of this method should match the list of the
same method for the V/T drivers.

Change-Id: I115140adb5190e3e391ccf5dc354ed2dcac0be88
2018-11-29 05:57:04 +00:00
Kobi Samoray
19a30117a0 NSXv: avoid changing of LBaaS port states
Changing the state of LBaaS ports have no effect as this is not supported
by NSXv backend.

Change-Id: Ibd050a36ef12171a55f5dbdd430382d8fd560c33
2018-11-29 05:36:09 +00:00
Adit Sarfaty
183b86b1f0 NSX|P: Basic router interface & GW support
Additional actions will be added with nsxlib support

Depends-on: I10a3f691b33e37e1cd8ec8094f4bfa89d7a96f35
Change-Id: I92fff433646202a0245c1cef9630173fe245a296
2018-11-28 14:46:29 +00:00
Adit Sarfaty
5e4a33e3d5 TVD LBaaS: fix operational status api
Change-Id: I210b73d33d615be84eb74e87d45989b0bc8df593
2018-11-28 10:28:36 +00:00
Zuul
5164f6b7b3 Merge "stop using _apply_filters_to_query" 2018-11-27 13:16:08 +00:00