8412 Commits

Author SHA1 Message Date
Jenkins
dc02dc4b1c Merge "Fix duplicate dhcp edge name error" 2015-09-07 14:52:17 +00:00
Jenkins
5fb5df4853 Merge "Fix dhcp service edge select/delete conflict" 2015-09-07 14:51:38 +00:00
Salvatore Orlando
5a66d17fc7 Bump version to 7.0.0
This will align vmware-nsx release scheme with openstack/neutron

Change-Id: I79de0d1a57e506d41d262f0c41a428efb1fed31e
2015-09-07 02:27:28 -07:00
linb
0dcb113c36 Fix duplicate dhcp edge name error
When we detaching subnet from one dhcp edge and deploying a new dhcp edge
for the subnet, there is a chance that we would use a duplicate name for
the new dhcp edge and it would lead to duplicate name error at the
backend. Since the edge name is just a tag that we can easily read and
it would not be used in plugin, the patch fixed the problem by using a
randomly unique edge name.

Change-Id: Ia764ec8c7b54e78ed36f827df4e3025d6e309062
Fixes-bug: #1508633
2015-09-07 10:43:37 +08:00
linb
ad711e5c4b Fix dhcp service edge select/delete conflict
When we delete a subnet from dhcp service edge, we would delete the
edge if this is the last network on the edge. there is a chance here
another creating subnet select the edge for dhcp service. Overlap problem
may happen under this condition. The patch fixed the problem by
ensure nsx-edge-pool lock on create_dhcp_edge_service,
update_dhcp_edge_server and delete_dhcp_edge_service.
Fixes-bug: #1505087

Change-Id: I28b0c28b917a3d98daf9449193ce53e383d15aaa
2015-09-07 10:30:16 +08:00
Jenkins
34aecc4ea0 Merge "Use synchronous call when updating VDR interfaces" 2015-09-06 13:07:18 +00:00
Kobi Samoray
882903f15d Use synchronous call when updating VDR interfaces
While performing an asynchronous call here, we lose track of the results
of the operation.

Change-Id: Ic66944e661550c5e3021ac8b940264d2d7ab6df9
2015-09-06 15:48:30 +03:00
Jenkins
c875bf439b Merge "Handle VDR connected to subnet while not the DGW" 2015-09-06 12:38:42 +00:00
Jenkins
8375abffd9 Merge "Fix dirty DB entries left on deleting vdr with GW" 2015-09-06 12:09:58 +00:00
Jenkins
af18b4ed70 Merge "Fix subnet use vdr dhcp edge for dhcp service" 2015-09-06 12:09:42 +00:00
Jenkins
933bd27dcd Merge "NSXv: ensure that member update are atomic across API workers" 2015-09-06 12:09:24 +00:00
linb
58e92df85f Fix dirty DB entries left on deleting vdr with GW
Neutron allows deleting a router with gw set. For distributed router's
gw, we actually nees a plr and a internal virtualwire to support
implementation. When deleting a distributed router, we needs to verify
and clear all these components.

Change-Id: I7088a90acf1635ea0dbc20bbc6835835df24b07e
Fixes-bug: #1505008
2015-09-06 11:25:28 +00:00
linb
cacf38b3d1 Fix subnet use vdr dhcp edge for dhcp service
VDR dhcp edge is exclusivly for vdr and in concurrency environment,
there is a chance that subnet would use this edge for dhcp service
and lead to errors.
Fixes-bug: #1502401

Change-Id: I66f5e291d760543a38281b9b17783fa6c1ee974b
2015-09-06 11:13:32 +00:00
Kobi Samoray
d027291ebc Fix logging message on VIP update
Logging was broken in updata VIP operation

Change-Id: Iec45cd01c9e810956ddd7c16c1e26517da4ce77a
2015-09-06 11:45:20 +03:00
Gary Kotton
02a1e70263 NSXv: ensure that member update are atomic across API workers
The backend may have raices due to the opertaions occuring in parallel.

Change-Id: Icd52de72e7a4075586b4873ceaffc5c06f828d59
2015-09-06 01:43:06 -07:00
Kobi Samoray
4a5f3e47a1 Handle VDR connected to subnet while not the DGW
When a VDR is attached to a network, but not as a default gateway, it will not
receive metadata requests and therefore should not be attached to the VDR
dedicated DHCP server.

Change-Id: I3707b469842002c7721ecfa144062293e1d198ac
2015-09-05 09:11:56 +00:00
Jenkins
5ae9a333ef Merge "NsxV3: Add test-list for tempest" 2015-09-05 05:45:13 +00:00
Amey Bhide
9df6a020ad NsxV3: Add test-list for tempest
Generated this test-list from tempest. Commented out tests
that are expected to fail due to missing feature integration.
We will uncomment those once security group, L3 patches are merged.

Change-Id: I622a788a3d5fe8394c2daafaab31a84dfc5a3825
2015-09-03 17:53:17 +00:00
OpenStack Proposal Bot
639215ee97 Updated from global requirements
Change-Id: I8fe63a5a9f38b982630dab1538f99f88cfb8b621
2015-09-02 23:50:42 +00:00
Amey Bhide
3fec496e9e Fix a typo in comments in nsx.ini
Change-Id: Ia46201b7457305a47ec3b7310154f237871f2e9c
2015-09-02 18:56:00 +00:00
Jenkins
33a832357e Merge "Fix NSX-v test and update logic for v6 subnets" 2015-09-02 18:02:39 +00:00
Salvatore Orlando
f8431bcf8b Fix NSX-v test and update logic for v6 subnets
This patch fixes NSX-v unit tests to deal with some recent changes
in neutron concerning tests for subnets with prefix delegation (pd).

Also, the logic for creating v6 subnets is updated in order to take
into account pd subnets, and ensuring the CIDR's IP version is
correctly verified.

Change-Id: Iaa428417a816f0436cc637797cbd220059518962
2015-09-02 09:04:56 -07:00
Jenkins
b1a047d3bd Merge "Updated from global requirements" 2015-09-01 06:09:38 +00:00
Jenkins
f6efd51734 Merge "Stop doing any magic cloning of neutron during CI" 2015-09-01 06:09:04 +00:00
OpenStack Proposal Bot
44cc0b51df Updated from global requirements
Change-Id: I04ce75925d6420475d097322103835441eff0b92
2015-08-31 19:09:14 +00:00
Jenkins
3cc33e583d Merge "Add support for dhcp extra opt to nsx v3 plugin" 2015-08-31 16:11:42 +00:00
Jenkins
fc7fcd711a Merge "Add Model-migrations-sync test" 2015-08-29 00:23:34 +00:00
Amey Bhide
2942517a7d Fix a typo in comments true -> True
Fallout of df460ec6dd221219033a5cc81607b1d07cb06b90

Change-Id: Id3caf1c944789fe055eeb7826de82d49de8732e1
2015-08-28 16:07:47 -07:00
Jenkins
be454f7f57 Merge "Add support to NSXv3 driver to verify certs" 2015-08-28 23:06:37 +00:00
Aaron Rosen
2a169c3a53 Stop doing any magic cloning of neutron during CI
Hopefully this will allow the Zuul "Depends-On" thing to work better.
Adopting the solution developed by Doug Wiegley for LBaaS:
c61f920f2a54fd829ee37484b3743ab77b909847 and then shamelessly stolen
from armando-migliaccio here: If358edd5cf34fd63b508dc089615bf19d59ee334

Change-Id: I69c53bb2098b30927726e03c6c492a2fb58d4cc2
2015-08-28 15:20:37 -07:00
Boden R
f410fe157a Add support for dhcp extra opt to nsx v3 plugin
In addition to dhcp extra opt support, this
commit also enables the dhcp extra opts
unit tests for the nsx v3 plugin.

Change-Id: If9e51fe93bd62fa27abdf6349ddd053fc6e1d325
2015-08-28 15:21:01 -06:00
Abhishek Raut
4fe873d545 Add Model-migrations-sync test
Add test which checks whether database models and alembic migration
scripts are in sync.

Change-Id: I64f2f468c7d6cf6ecb21172781b8126478003f28
Related-bug: #1470678
2015-08-28 17:31:19 +00:00
linb
9c371a965a Fix dhcp bindings missing problems
When adding interface on vdr or update subnet, we would update the
present dhcp edge's static bindings by DB query. But we lose some static
bindings since not elevate the query right to admin right.

Change-Id: Ic23262c48913c9fbda0cc1295908692590ea9ef6
Fixes-bug: #1502401
2015-08-28 16:59:53 +00:00
linb
924eecd968 Fix some routes disappeared on TLR
This happens when mixing metadata and routing. The patch fix the problem
by integrating static, routing and metadata routes whenever update TLR routes

Change-Id: I20e3edb53df6eea24fc3c5670d40a747db5cefed
Fixes-bug: #1500817
2015-08-28 16:03:02 +00:00
Jenkins
6067b28d7d Merge "Nsxv: Fix db out of sync with backend" 2015-08-28 16:01:22 +00:00
linb
427c726d3a Nsxv: Fix db out of sync with backend
When creating a router, sometimes db process succeed but edge failed
at the backend. The patch add exception handle for creating router
and delete the router db if failed at the backend.

Change-Id: I81d683b201d44abeb6049b3b91139f2f898f1777
Fixes-bug: #1497869
2015-08-28 15:18:34 +00:00
Salvatore Orlando
d57eb68630 Fix comment concerning metadata agentless mode
agentless metadata mode works only in NSX-mh 4.1 - nsx.ini
incorrectly states is supported from 4.2 onwards.

Change-Id: I315665ffdd3f36205dba9e02a3a9dfaca12d0faf
2015-08-28 15:16:19 +00:00
Gary Kotton
fe5acd6213 NSXv: validate that router is not None
Check that the value returned is not None and then check the
type

Change-Id: Ib95f18d329de8c46ce5a5547b7b4dab459d3f419
Fixes-Bug: #1500037
2015-08-28 14:01:38 +00:00
Jenkins
b9a69d335a Merge "LBaaS: allow configuration of SOURCE_IP LB method" 2015-08-28 09:14:37 +00:00
Jenkins
eb6f5bca10 Merge "Correct the version checking for rp_filters" 2015-08-28 09:14:31 +00:00
linb
6cb790c15f Fix fip problems for provider router
When tenant creates fip associated with a provider router
(exclusive/distributed), nsxv plugin would report "Router not found"
error due to not elevating context.
Fixes-bug: #1500128

Change-Id: I61b9c4344c712d16b1f4510305224ff4ca7ed7ae
2015-08-28 05:55:59 +00:00
Kobi Samoray
33763d6f06 LBaaS: allow configuration of SOURCE_IP LB method
LBaaS was not configuring the pool appropriately when specifying SOURCE_IP
as LB method.

Change-Id: I2f356cfac79945284bce7e910e722aca59ab66af
2015-08-28 05:34:05 +00:00
Kobi Samoray
b0425e634b Correct the version checking for rp_filters
rp_filter configuration differs between NSXv 6.1.x and 6.2.
As future versions' behaivor is same as 6.2, version checking should change
accordingly.

Change-Id: Id6afcc17deee4fd9741b1cd245bd24918380b73e
2015-08-28 05:33:44 +00:00
linb
67c2b82875 Remove router_type for distributed router
It makes people confused that distributed router is exclusive/shared router.
This patch disable router_type configuration when creating router and remove
router_type when displaying distributed router.
Fixes-bug: #1499248

Change-Id: Ie427dc5fae118567e45b48953e24afbceed6f754
2015-08-28 05:16:39 +00:00
Jenkins
d5e254d4b5 Merge "Updated from global requirements" 2015-08-28 03:09:19 +00:00
Jenkins
b6c4b34bd1 Merge "LBaaS: up state update for members in ERROR state" 2015-08-28 02:18:12 +00:00
OpenStack Proposal Bot
053fd0f0ff Updated from global requirements
Change-Id: Idf082ef32d2c9128e47bd8fb90cac7d7592c1d40
2015-08-27 23:27:07 +00:00
Amey Bhide
df460ec6dd Add support to NSXv3 driver to verify certs
NSXv3 driver was missing certification verification. This patch
add cert verification

DocImpact
Closes-Bug: #1488692

Change-Id: I8892103225b62ccc526e91e688f01f4150b42cc6
2015-08-27 15:11:11 -07:00
Kobi Samoray
1ff79abb02 LBaaS: up state update for members in ERROR state
Members with ERROR state should not have their status updated.

Change-Id: I0c0ef2f6706b01f07efd1c397adc69b3df7f25d6
2015-08-19 20:40:47 +03:00
Jenkins
e05d7c454c Merge "NSXv: prevent host route creation" 2015-08-19 11:17:59 +00:00