Additional actions will be added with nsxlib support
Depends-on: I10a3f691b33e37e1cd8ec8094f4bfa89d7a96f35
Change-Id: I92fff433646202a0245c1cef9630173fe245a296
If the tenant tries to use a network he is not allowed to, the router
action should fail with the NotFound reason.
Change-Id: I6eb32636f8e188f2abc7df22cc1732966f968538
The NSX-V plugin unit tests copied multiple upstream tests in order to
disable the subnet dhcp for the tests to pass.
This patch uses a decorator instead so that new changes in those
upstream tests will not fail the plugin tests.
Change-Id: Iebf88179252b1d7fa9271baf43e34a20eeea8cb9
No need to patch neutron.objects.rbac_db.RbacNeutronDbObjectMixin
directly as the QoSPolicy OVO can be patched instead to remove the
dependency on neutron for the said. This patch does just that.
Change-Id: I530694c2fbb6d8394394bb6c889484b086ef7e04
Ensure that the swicth security profile does not have any
security features on it when port security is disabled.
Change-Id: Ib3aa7f3b960d3a03d1c9eb24ce376b311abd9324
Due to neutron-lbaas commit c672b0d5 the listner property, used
for backward compatibility, is not populated anymore in the pool
object passed to the driver.
This patch ensures that upon pool creation a listener, if set,
is always correctly retrieved.
Change-Id: Ia09e56ad11cba9cd22b22c117923e683042b00b5
In some circumstances virtual_server_ids in the function handling
member creation for the LBaaS driver can be None, triggering an
exception when checking if a given virtual server id is in the
list.
This patch ensures the variable is always a list.
Change-Id: Ia496649c909130906df66c114ac301b6f5af25cf
All of the functionality of CommonDbMixin is now available in
neutron-lib and there's no need to inherit from CommonDbMixin anymore.
This patch removes usage of neutron.db.common_db.
Change-Id: I912b2c081357867c20de36b4491b429fe3c9e7d9
The _get_collection_query of CommonDbMixin is available via the
model_query module in neutron-lib. This patch switches over to
neutron-lib's implementation rather than using it from neutron's
CommonDbMixin
Change-Id: Iab35080ac9f1ad49e4d8dabf44980a9c4d32bac2
The common_db_mixin will module eventually be removed from neutron as
its functionality is available via neutron-lib. This patch switches
uses of _apply_filters_to_query() over to apply_filters() from
neutron-lib's model_query module.
Change-Id: Ia8f69dcb0896f6383bae87164f8b165fb98772d1
The model_query module is in neutron-lib and the CommonDBMixin will
eventually be removed. This patch swiches use of the _model_query
method over to query_with_hooks from neutron-lib.
Change-Id: I5f626c4aef1fba38c42a17c14861645f8c5d2129
Using session context for the port creation caused conflict with IP
allocation for the metadata port.
Use of a new admin context resolves this issue.
Change-Id: Ic65b70ffd80be07aae4b668b4b8af09a915ab747
Co-Authored-By: Salvatore Orlando <sorlando@vmware.com>
Adding the infrastracture for the policy plugin admin utils with one
example utility to list the security groups, networks & routers.
Depend-on: I10a3f691b33e37e1cd8ec8094f4bfa89d7a96f35
Change-Id: I8094b241255537a1668837ed4ca1dad8094dcc41
Commit If276a7613c156f8c826967c9c8cbd6f2a8d32674 added unsupported tests
which are now skipped by the different plugins
Change-Id: If0e98cd533c83999a67e7905d8d0ec7d903c0d70
NSX vpn services are reused by vpnaas services. Now the NSX service will
be deleted if no vpnaas service uses it.
Change-Id: I09c79cca1560ad091a8b09a4ad65f052c6bf808b
Complete the support for port operations
+ enabling hte relevant tempest tests
Depends-on: Ib5d26e8b22a9a167151fb17e087e8b561ea74783
Change-Id: Ia31e2180b880b29608dab42b4c810ae68547c24b
PLR distributed routers edges and logical switches were considered as orphaned.
This patch adds the logic to validate those as well.
Change-Id: I4a77e34b6b345364d074160ebec80db965068265
The LB VIP should be advertised by the Tier1 router only if it is on the
external network.
To do that, the global advertise vp flag will not be set, and instead a rule with a
filter to advertise only the VIPs on the external network is added.
In addition, an admin utility is added to update already existing routers with
loadbalancers.
Since VPNaaS also uses the router advertisement rules, its code was also updated so
that each application will handle only its own rules.
Change-Id: Ibfac0406a8c3009c323828cc42c96012e70cb0a9
Commit Ia769dadf69781ba511a19c52998949b668963a19 changed a unittests
which was originally overriden by the plugin unitests to use dhcp
disabled subnet.
This patch makes the same change in the local unit test
Change-Id: I0794c2fe2bdb2ec1215cc11652f15da62f8daf9d
Supporting provider networks including:
- Creating a base plugin for T & P plugins (separate from V)
- Moving some nsx-T code to the common plugin after stripping
it from v3 specific code
- Reusing the nsx-T DB table for keeping the provider network
configurations
- Support for vlan transparent
- Support for update network action
Also adding unit tests for provider networks and enabing tempest
tests for networks
Change-Id: I505ef65f2ee6bfba78dadff62c4c06463ebffff0
The commands used by constraints need at least tox 2.0.
Update to reflect reality, which should help with local running of
constraints targets.
Change-Id: I301278dd742037fd4a1ca498ace8e3a4e299bf56
The neutron.db._model_query modules was rehomed into neutron-lib and
also shimmed in neutron with https://review.openstack.org/#/c/591852/
This patch switches the imports over to use neutron-libs model_query
rather than neutrons.
Change-Id: I2e460e3cb93309e2539f94658d60c4ffca572e50
Add NSX VS to NSX LBS also if NSX load balancer bindings are
found in the database. This alone indeed does not imply the virtual
server is already associated with the load balancer as the bindings
could have been created when a member for another pool was added.
In order to avoid wasteful NSX round-trips this patch moves the check
for VS-LBS association after the addition of the member to the pool.
This allows for executing the check only for the first member of
a given pool.
Change-Id: I239f4c6bcf07279c523ba861abfe27e8029015c6
This patch switches some of the direct reference that use
neutron.object.* modules over to use neutron-libs object registry
mechanism. The remaining reference to neutron objects will be addressed
after some additional work is done in neutron/neutron-lib to prep them.
Change-Id: Ie54b3d89d7029ab58498fd212736ed50977ccfc1