Commit Graph

10466 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
0ac1ed1ced Updated from global requirements
Change-Id: I2b2084af26c1280872903103d3916501a2287d8e
2017-03-02 11:57:34 +00:00
Anna Khmelnitsky
a93abf957d NSX|V3: Use client cert provider in nsxlib config
With certificate provider, client cert data will be loaded
from DB for each new NSX connection and then immediately deleted.
For client cert storage=none, the behavior does not change.

Also adding 2 temporary fixing to allow the broken unittests to pass:
1. Disable some certificate tests
2. IPAM driver fix:
Commit I22b8f1f537f905f4b82ce9e50d6fcc5bf2210f9f broke our ipam code
since it assumes an ipan subnet has a subnet_manager object.
This patch adds a dummy one just to avoid crashing

Change-Id: I459650eb69fd870cd4c65fb5a337821de15e14b3
2017-03-02 11:53:05 +02:00
Jenkins
07b0fb5bca Merge "NSX|V: remove leftover code from md_proxy" 2017-03-01 11:18:25 +00:00
OpenStack Proposal Bot
e8b1cbc8a2 Updated from global requirements
Change-Id: I2c2da9aa3e5ebddc9c012778733269e306e613c4
2017-03-01 04:18:33 +00:00
Adit Sarfaty
ed7402a726 NSX|V: remove leftover code from md_proxy
The md_proxy class doesn't have self.context anymore.
Removing a leftover code using it.

Change-Id: Ia856ce8c3d07317307f905f53dd2a554c4931d5c
2017-02-28 08:14:10 +02:00
Jenkins
44ec54fbfd Merge "Fix admin utils unit-tests" 2017-02-27 17:57:29 +00:00
OpenStack Proposal Bot
4b822b3f5f Updated from global requirements
Change-Id: Ic831591d0e0a15ff1d7ad61d54b6f18744be81cb
2017-02-27 16:55:32 +00:00
Gary Kotton
1ff585d6be NSX|V: move migration to correct folder
Commit c615e8ce0e misplaced the vnic
migration in ocata and not pike.

Change-Id: I6a81bdece567681e68d0ded21387586173ec9bcf
2017-02-27 14:52:54 +00:00
Adit Sarfaty
cc6fc9e4d3 Fix admin utils unit-tests
The unit tests shouldn't wait for spawn jobs

Change-Id: I894bcfc6f5be5129e6948ee0a0d90b672a86d10c
2017-02-27 14:47:16 +00:00
Gary Kotton
43ade466ac Fix DB breakages
Commit 88e99f6f2814bb38e7a608e5bffb5b0a6f4776c3 broke the plugin.

Change-Id: Idba5f71eccf41a22fe85e2533c0d33898d0c7964
2017-02-27 13:24:12 +00:00
Jenkins
7b9aade9fc Merge "NSX-V3: Add support for dhcp-opts extensions for ports" 2017-02-27 11:41:36 +00:00
Jenkins
d2cd4fea7a Merge "NSX|V: add support for VLAN trunk with VLAN network" 2017-02-27 11:21:37 +00:00
Jenkins
10ac6bbfce Merge "DVS: Add support for 'direct' vnic types" 2017-02-27 11:21:31 +00:00
Jenkins
e8b9fcb83a Merge "Fix LBAAS L7 policy upgrade" 2017-02-27 11:21:25 +00:00
Adit Sarfaty
7937ca4503 NSX-V3: Add support for dhcp-opts extensions for ports
When using the native dhcp metadata, this extension had no affect on the backend.
Now the extra options will be added to the static dhcp bindings.
In case of option121 (classless-static-route) the value should be 'network,next_hop'
and it will be added to the option121 routes.

Change-Id: I26ab4905323173f5b60c54c62bb32896a1521621
Depends-On: I1221526a8b4bfd23c4e34742997ba18499c193c9
2017-02-27 10:28:25 +00:00
Adit Sarfaty
9a6ededac7 NSX|V: delete old pending-create edges
While cleaning all error edges, now also clean edges which are pending-create
for over an hour.
Those could be really stuck on the backend, or created by a process that died
before creation ended.

Change-Id: If07937636f2312e86ae71d7345053ef72b28e2aa
2017-02-27 09:41:10 +00:00
Anna Khmelnitsky
ae9f003345 NSX-V: Improve DHCP edge firewall rules
This improves change I7ae50f6fc9754bd2de4c2744494a5a7335c6f364
to work faster for version 6.3.2 onwards

Change-Id: I22205b2074ec399d2283ea94bc8db25f1e57f32d
2017-02-27 08:37:30 +00:00
Shih-Hao Li
e7183e0b11 NSXv3: Rename parent_tag to traffic_tag
In vmware-nsxlib 0.7.2, parent_tag has been renamed to traffic_tag
in LogicalPort class. So change the plugin code accordingly.

Change-Id: Ie5b3cd544aa41d397b8f0b3dcafee8189a30589c
2017-02-27 08:30:09 +00:00
Adit Sarfaty
da52f38849 Fix LBAAS L7 policy upgrade
The previous upgrade file created the nsx binding table only in the neutron
lbaas table exists.
This patch created a new upgrade file which creates the table if it doesn't
exist, and adds the foreign key constraints only if the neutron-lbaas table
exists.

This bug appeared in some unittest cases.

Change-Id: Ia23cda570e2012ad2dcdc07fbcc7bcc7629f3c7b
2017-02-27 08:03:05 +02:00
Jenkins
aa637fefef Merge "NSX|V: Add support for 'direct' vnic types" 2017-02-26 15:33:02 +00:00
Jenkins
be846e617c Merge "Enhanced unittests for admin utils" 2017-02-26 15:32:56 +00:00
Jenkins
c537c77911 Merge "AdminUtils NSX|V: Fix rotuer recreate utility" 2017-02-26 15:04:06 +00:00
Jenkins
4407e06bbe Merge "NSX|V: Support changing the position of LBAAS L7 policy" 2017-02-26 15:03:28 +00:00
Adit Sarfaty
d289824e2f Enhanced unittests for admin utils
Run the admin utilities tests after creating ome basic
neutron objects, and additng parameters to the calls.

Change-Id: Id98c5baaacfa4cde2badeaf9ce7d40b0eb474655
2017-02-26 13:37:10 +02:00
Adit Sarfaty
ad03066423 AdminUtils NSX|V: Fix rotuer recreate utility
The router-recreate utility failed because:
1) getting the router availability zone was done incorrectly
2) L3 code for setting the gateway needed a core-plugin

Change-Id: I03e4f782e467ce0e5d31a2b5f55d602642934c94
2017-02-26 13:35:30 +02:00
Jenkins
eca105777f Merge "Switch to oslo_log" 2017-02-26 10:56:43 +00:00
Jenkins
9511de3c46 Merge "[dvs] Enable vlan-transparent extension" 2017-02-26 10:53:24 +00:00
Adit Sarfaty
fc6d3b2ed4 NSX|V: Support changing the position of LBAAS L7 policy
The neutron lbaas api support reordering the l7 policies.
This patch adds this support to the vmware-nsx plugin

Change-Id: I595a8cd16c46eb881b176e09ad452b3c9d371b3e
2017-02-26 10:34:41 +00:00
Gary Kotton
78fb99ba2f DVS: Add support for 'direct' vnic types
Add support for 'direct; vnic types. 'normal' is the default.

Change-Id: I952f2172b8068cd545abc98fe4086a787794174b
2017-02-26 06:03:19 +02:00
Ken'ichi Ohmichi
899cf3918a Don't use Tempest internal methods
All changed methods are clearly internal methods of Tempest, and the
Tempest commit 64e6b4457c748f74bfb4fbf3860ab65b65ae9beb has removed
the internal methods and now the gate issue happens.
This patch makes this project to use better ones instead.

Change-Id: I89283365517eea73d931f574e047b8af45e2b9f8
Related-Bug: #1667824
2017-02-24 16:10:47 -08:00
Jenkins
68875c180a Merge "[Tempest]: Added Provider Security Group cases for nsxv." 2017-02-24 18:32:03 +00:00
Jenkins
d957f3084f Merge "[Tempest]: Adding of Allowed address pair scenario cases." 2017-02-24 17:43:52 +00:00
Gary Kotton
a856341b73 NSX|V: add support for VLAN trunk with VLAN network
Completes the VLAN trunk support

Change-Id: Ied8a299428486938d2006badf572c1308ccf1269
2017-02-24 07:38:04 -08:00
Jenkins
d1b36414f5 Merge "AdminUtils NSXv3: Fix SG admin utils and their documantation" 2017-02-23 13:32:25 +00:00
Adit Sarfaty
7062d76b42 AdminUtil NSX|v Fix constants import
TrivialFix

Change-Id: I98bf1ca2aef90981cad4f49141f324195b25c423
2017-02-23 10:44:45 +02:00
Rajiv Kumar
80fcf24d02 Switch to oslo_log
vmware-nsx is currently using python logging module to
implement logging functionality.

This patch made a switch to oslo.log(logging for openstack projects)

Reference:-
http://docs.openstack.org/developer/oslo.log

Change-Id: Ibdb4f6ea0abc56cb98bdc57547bc3b4370f9875b
2017-02-23 10:34:53 +02:00
Adit Sarfaty
4f929e8fdb AdminUtils NSXv3: Fix SG admin utils and their documantation
The nsxv3 security groups documentation was wrong.
In addition, fixed some function calls.

Change-Id: I38a0013775c848ff41fb0771a2114730e1d59cbe
2017-02-23 06:56:32 +00:00
Giridhar Jayavelu
cc2dfe2aa4 [dvs] Enable vlan-transparent extension
This patch allows guest vlan tagging with
VMware DVS which is required functionality for many
NFV functions.

Change-Id: I588617e6f87afb2397d37a330e656117209630de
2017-02-22 19:00:19 -08:00
Jenkins
35ebca02d2 Merge "NSX|V: remove skipped transparent vlan test" 2017-02-22 21:02:59 +00:00
Jenkins
583476a894 Merge "NSXv| Fix path comparison in lbaas L7 rules" 2017-02-22 20:02:32 +00:00
Gary Kotton
c615e8ce0e NSX|V: Add support for 'direct' vnic types
The NSX|V will support a direct vnic type iff this port meets the
following criteria:
1. no security groups
2. no port security
3. is on a VLAN/FLAT network

The reason for this is that the direct is only support via the DVS
and there is no support for security groups and port security.

Change-Id: Iff4cc72e724d40feff2b26fc4f24596cae3a749a
2017-02-22 06:48:11 -08:00
Gary Kotton
a2db62e61f NSX|V: remove skipped transparent vlan test
VXLAN now supports transparent VLANs

Change-Id: I7d2074fb4b9c30329b228f42c686d63efc001475
2017-02-22 05:22:55 -08:00
Gary Kotton
0eb081afa9 Fix typo in unit test
atach => attach

Change-Id: Icb99fb7fdae8518cfdaa42761278c9e2642a2627
2017-02-22 04:55:06 -08:00
Jenkins
a2bf45ad60 Merge "Refactor DvsManager code" 2017-02-22 11:58:11 +00:00
Adit Sarfaty
c0efa97944 NSXv| Fix path comparison in lbaas L7 rules
Use the requested compare type for L7 path rules

Change-Id: I8e21f41b14c02adf6a4ade15533b6ad420e85b05
2017-02-22 13:53:59 +02:00
Roey Chen
abb76b430a NSX|V: serialize rule creation
Ensure that rules creation under load does not cause exceptions on
the NSX

Change-Id: I349b2f221fe9b7ecda09cb9f56d43ae3d7f1b39e
2017-02-21 20:08:54 +00:00
Roey Chen
d8e8a44820 NSX-MH: Remove failing unit tests
This patch removes two unittests:
test_add_neutron_nsx_port_mapping_handle_duplicate_constraint
test_add_neutron_nsx_port_mapping_raise_on_duplicate_constraint

Change-Id: Idb8354523e3ff6c22c25a34cc57b4189417dfed8
2017-02-21 19:19:59 +00:00
Jenkins
15d45dc98c Merge "NSX-V3| Qos without RPC notifications" 2017-02-20 14:00:49 +00:00
Jenkins
54a8fdf0e8 Merge "AdminUtil|NSXv: Add az & db status to edges utils" 2017-02-19 14:07:27 +00:00
Jenkins
2c2407fe31 Merge "NSX|V remove plugins vdn_scope member" 2017-02-19 14:02:01 +00:00