Commit Graph

52 Commits

Author SHA1 Message Date
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
asarfaty 38dce1f068 NSX|P: Fix devstack doc regarding MD Proxy config
Change-Id: I120188ae944c18b3c022b707ab08fa034da03676
2020-01-06 15:10:01 +00:00
Kobi Samoray 24e93461d0 Octavia driver: agent implementation
The driver is loaded, then terminated whenever a request is issued.
This behavior causes termination of the Octavia listener which is
responsible to the processing of the driver status updates and
statistics processing.
The following change implements an agent which will execute the
listener.

Change-Id: I566aaa65df4ba7455577a539aa9eebb6cc36a099
2019-09-28 14:01:00 +03:00
Zuul d2a0caeb60 Merge "NSXP: Trunk support" 2019-09-01 11:21:08 +00:00
Kobi Samoray ac93fa1b8d NSXP: Trunk support
Implementation of trunk driver for NSX-P

Change-Id: I3a86037520a8399b526a83188540c098f92f2d57
2019-08-11 16:57:27 +03:00
Adit Sarfaty 61f4d2727c Improve devstack doc
Change-Id: I3b806d37e69bfedf3e5b04cf7d6c37b03abd171b
2019-08-08 15:27:20 +00:00
Adit Sarfaty 55b0cf16e8 NSX|P: VPNaaS driver
Change-Id: I3dae7c34527f7f65f37cf03e699007141865a090
2019-06-05 12:53:32 -07: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
Boden R 4dfb2ecd50 cleanup openstack git refs and lower constraints
This patch:
- Updates git.openstack based URLs to use opendev.
- Cleans up the lower-constraints.txt file to only include what we
really need.

Change-Id: I3eecd97c313c33c820ca2be8f01f6848244cd52a
2019-04-30 07:16:41 -06:00
Zuul e730b80738 Merge "Fix devstack documentation for Octavia" 2019-04-22 12:03:46 +00:00
Adit Sarfaty 7550c3098d Fix devstack doc FWaaS v2 sections
Change-Id: Ie8106b971e72d4d328a0c59414c0b55bf0541a58
2019-04-22 08:44:52 +03:00
Kobi Samoray 5a4ef0f69b Fix devstack documentation for Octavia
Devstack documentation suggests using noop driver for Octavia
networking.

Change-Id: I6531a4fd2a38013194fd083dca3bfb60505707ab
2019-04-21 15:59:07 +03:00
Kobi Samoray 4f413ab2a9 Octavia: add o-da to required service list
Update documentation as Octavia now requires the driver agent to
operate.

Change-Id: I1a798fdf1478bf808bffc39e7b0e389f7ec7db15
2019-04-08 11:53:42 +03:00
Kobi Samoray e98a41d8d2 NSXP: LBaaS/Octavia support
Change-Id: I2bd7b01f921243d65f68ec328173e949607e7842
2019-04-01 14:41:02 +03:00
Adit Sarfaty d55e6c3503 NSX|P FWaaS V2 support
Adding FWaaS support for the Policy plugin, implementing hte NSX gateway policy

Depends-on: I97bcbd99fcced02592a6e5f10d0d43a3e99efbe6
Change-Id: I486a6f4ab766233942008b5677722fb14b8553d7
2019-03-13 11:59:15 +02:00
Adit Sarfaty f36d7ce7b4 NSX|V+V3: support octavia delete cascade
Implement the loadbalancer delete cascade for NSX-V3, and NSX-V
The NSX-V implementation is the naive one, and should be improved in
the future.

Change-Id: Ia055d06790fc841fa41ab13d08334424a560b940
2019-02-14 10:56:54 +02:00
Zuul 90dda43b04 Merge "Octavia driver: various fixes" 2019-02-13 06:27:09 +00:00
Adit Sarfaty a36a1dba74 NSX|V: FWaaS-V2 driver
This patch adds a driver for FWaaS V2 support in the NSX-V plugin.
It supports setting firewall rules per router interface port on the router
edge firewall.

In addition, the FWaaS TVD driver will now support NSX-V as well.

The driver code is a combination of the NSX-V3 FWaas-V2 code, and the old
NSX-V FWaaS-V1 code that is being deleted.

Change-Id: Iacc7eaff0c70b68156516008cf0277c154edd76b
2019-02-11 09:09:44 +00:00
Adit Sarfaty abc6a9450d Octavia driver: various fixes
- Fix devstck doc to enable the python client for octavia
- Support health monitor expected codes
- fix error handling on failure to create loadbalancer
- add logging for status updates
- remove extra logging for statistics updates (which overload the logs)
- Fix error handling in case lb service creation failed
- Fix driver pool translation to include the loadbalancer in the listener

Change-Id: If7d554a92d9df62ffb55e882a575da63221ee8ec
2019-02-11 07:05:54 +00:00
Adit Sarfaty df47dde1cc Remove FWaaS V1 code
FWaaS is about to be removed from neutron, and should be removed from
vmware_nsx as well.

Change-Id: I6e621e63896dc6a6e6bbacc464c79319fce1f92d
2019-02-05 06:21:45 +00:00
Adit Sarfaty e8306c813c Update Octavia doc to use noop network driver
Change-Id: Ic5034717f7d1f0506b410625ccc0490aca06c3f8
2019-01-13 10:38:27 +02:00
Adit Sarfaty 74f3831027 NSX|P: QoS support
Change-Id: I719c1adfa94676b5e8b3a7b60f8d9d034d54eeb3
2019-01-07 13:07:23 +02:00
Adit Sarfaty ed7f735d9c Fix Octavia devstack instructions
Change-Id: I06cf1246a7573ff7f23fdb8df21bca732d1d8fa8
2019-01-02 08:43:54 +02:00
Adit Sarfaty 30f3d4a31d Fix devstack docs for advanced services
Change-Id: Icce27bcfda465f95c9a4bca16ea3e69e4bf0def0
2018-11-22 15:00:15 +02:00
Kobi Samoray 83d9b3abdd NSX|V+V3: Octavia driver
Implementing the Octavia support for NSX-V & NSX-T.
Follow up patches will handle the TVD plugin, Status updates,
and migration.

Since Octavia is not (yet?) in the requirements, using a hack to allow unittests
to be skipped.

Co-Authored-by: Adit Sarfaty <asarfaty@vmware.com>
Change-Id: Iadb24e7eadcab658faf3e646cc528c2a8a6976e5
2018-10-02 11:19:55 +03:00
Zuul 9d99f0f06d Merge "NSX|V3: VPN connection status update" 2018-08-27 08:43:00 +00:00
Adit Sarfaty e3f103f269 NSX|V3: VPN connection status update
The VPNaaS plugin expects the driver to update the connection status
from a separate process/thread/agent.
When the user requests a connection/list, the status is retrived from the VPNaaS DB,
without calling the driver.

To avoid adding a process to actively query and update all connections statuses, this
patch creates a new VPNaaS plugin, to be used instead of hte default one.
This plugin (vmware_nsx_vpnaas) will issue a get-statuses call to the driver,
update the current statuses in the DB, and call the original plugin.

Change-Id: Ib750bfb8f0c8ad12265fa71506182ff5d7e8030a
2018-08-20 14:21:24 +03:00
Adit Sarfaty bb0ea37a57 NSX|V3: LBaaS operating status support
The LBaaS V2 plugin expects the driver to update the LB objects operating
status from a separate process/thread.
When the user requests the LB status (or just the LB object itself with GET),
the operating status is retrived from the LBaaS DB, without calling the driver.

To avoid adding a process to actively query and update all objects statuses,
this patch creates a new LBaaSV2 plugin, to be used instead of the default one.
This plugin (vmware_nsx_lbaasv2) will issue a get-statuses call to the driver,
update the current statuses in the DB, and call the original plugin.

Depends-on: I71a56b87144aad743795ad1295ec636b17429035
Change-Id: I3c4e75d92a1bacdb14292a8db727deb4923a85d9
2018-08-20 11:13:30 +00:00
Matthew Edmonds 042b6a6600 Clarify NSX-V vs. NSX-T
NSX-T is the common name, not "Transformers" or "v3". This makes that
change throughout the docs and conf help. It also fixes a broken link
to the NSX-T pubs.

This change does not rename conf groups and options that use "v3".
That should be considered for a follow-on effort (with appropriate
deprecation).

Change-Id: I466f60e4476cedc439e17cba39a333a3853a32d9
2018-07-10 09:41:33 -04:00
Adit Sarfaty 28700a0117 Integrate with FWaaS plugable driver
FWaaS-v2 configuration & pathes changed.
This patch updates the import actions and devstack instructions.

Change-Id: Ib3d216c818d0477b3cb6cbe6c4fae10bec94fad9
Depends-On: I4ebd24f1b13eb823c4d63452fd37cace5bcf5481
2018-05-21 07:27:44 +00:00
Adit Sarfaty ea43183892 Fix vmware_nsx documentation
Fix documentation warnings

Change-Id: Icf2c01c6b4814b69221de4ad432d092164205b28
2018-04-18 05:04:46 +00:00
Adit Sarfaty db005d3221 TVD IPAM support
Adding an IPAM driver for the TVD plugin which will redirect the
requests to the V/T driver.

Change-Id: Iea48c7de053b0e7545fdae2a8e38c7b489d61409
2018-02-21 12:38:56 +02:00
Adit Sarfaty c6c155c1aa TVD: Add service plugins to separate list results
Adding service plugins for QoS, VPNaaS and L2Gateway
and updating the BGP plugin
to prevent users from getting objects belonging to a different
plugin

Change-Id: I3545c3acefaf50ca6937a0b7a65c131c569317cd
2018-02-20 10:34:18 +02:00
Adit Sarfaty 4530377c60 TVD: FWaaS plugins
Adding FWaaS v1/v2 plugins to be used with the TVD core plugin.
The plugins will make sure to separate the v/t returned lists
using the same solution that was introduced for the LBass, now as a
general class decorator.

Change-Id: I5f01b8cf093d5ef3b340dce2d12fc41031dd12e9
2018-01-23 10:18:21 +02:00
Adit Sarfaty e9b4d3484a TVD: Add VPNaaS wrapper driver
Change-Id: I39746cf7dc251ad8a6cc632e2c2627c80a41564a
2018-01-10 13:11:49 +02:00
Adit Sarfaty b993b7f4c0 NSX|V3: VPNaaS support
New support for VPNaaS on NSX-V3 2.2
Creating a vpn service per neutron service,
and ike/ipsec/dpd policies + endpoints + connection per neutron connection

Change-Id: Iad3778c1d826ae67f1b602625f5be0fe2f4c8fe3
2018-01-04 14:38:20 +00:00
Adit Sarfaty 5517d697c1 TVD: Update devstack doc with different services
Change-Id: Iaf6fb4227df7c919d6bd757a8b47d1c96b289758
2017-12-24 13:12:22 +00:00
Adit Sarfaty 84d8217f60 Fix devstask doc for service plugins
Using Q_SERVICE_PLUGIN_CLASSES insead of the neutron service_plugin
allows using multiple plugins at once

Change-Id: Idd9a0a05eb4dab0ed6c5612335e4a28ac80808e3
2017-11-08 09:01:29 +02:00
Adit Sarfaty afdb9ea7ac NSX|V3 refactor fwaas to support plugin rules
For DHCP relay support, and possibly other features, there is a need to
add specific allow rules to the router firewall between the FWaas v1/v2
rules, and the default drop rule.
This patch set the structure to do that, without actually adding new rules.
In case of FWaaS v2 the additional rules are per router interface.

Change-Id: I63d754495f56ec9081d84dcea6fb688ee1c41dbd
2017-10-04 18:19:17 +00:00
Adit Sarfaty 32e95f47b5 NSX|v3: FWaaS v2 support
FWaaS V2 support in NSX-v3.
Support different firewall group per router interface port for
igress/egress.
limitation: cannot support egress rules with source ip, or ingress
rules with destination ips.

Depends-on: I2a37be5518bfc8124ffca2ab05f684d8c1c3d673
Change-Id: I3ed70fa48d078bed15f30e855b73bdfb11d11c6e
2017-09-18 07:42:30 +00:00
Tong Liu 1401b25294 Add NSXv3 LBaaS driver config for devstack
Change-Id: Iba8e52a6b7e789c93f8af2618b492bc00cac4a6e
2017-08-25 11:05:47 -07:00
Zhenmei 53d1bd0e2f NSXv: Support ipsec VPNaaS on nsxv driver
Change-Id: Id3fd4da7e4dd4cac4eb2e32024c0d8242b85a0bb
Co-Authored-By: Roey Chen <roeyc@vmware.com>
2017-07-11 06:03:19 -07:00
Adit Sarfaty 754e0e7561 NSX|V3: FWaaS-v1 support
Adding FW rules to protect the traffic north-south behind a T1 router.
This will be done only if a firewall was attached to the router.
This includes:
- FWaaS rules
- Drop all default rule

When the firewall is deleted or the router removed from it,
a default allow all rule will be set.

For the rotuer firewall to work, the rotuer NAT rules should set
nat-bypass=False.

Change-Id: Iba03db8ca67ee10d1c54b96fb41a888cb549684d
2017-06-17 05:18:15 +00:00
Roey Chen 5b0c32809c NSXv: Adding missing devstack configuration for BGP
Change-Id: I2146efe6590aef85354d3f5c639da1b2a804aabc
2017-06-12 02:06:32 -07:00
Adit Sarfaty a496493156 Fix devstack doc titles
Change-Id: I728c9516609dd1e4f3fdc365d6dd577e2edc6be2
2017-06-06 11:14:23 +00:00
shaofeng_cheng b364cfad14 Update fwaas driver in devstack.rst
Change fwaas driver to vmware_nsxv_edge.

Change-Id: I8da53f1055f20c691508ee906a8e7b567c7ec5ee
2017-05-16 09:35:09 +08:00
Gary Kotton 01d33ffa65 Integration with new neutron code
1. Use new enginefacade + l3_db breakage
Use reader and writer for db operations.
Partially-Implements blueprint: enginefacade-switch

2. Fix the callback pass for _prevent_l3_port_delete_callback
which was changed in commit Ia8ac4f510c003667cac95f76dea0e9ae55159878

3. QoS driver integration
Commit I5f747635be3fd66b70326d9f94c85a6736286bd2 removes the qos
notification driver.
Fixing the nsx-v and nsx-v3 to work only with the regular driver

4. _get_extra_routes_dict_by_router_id was removed by
Ia815d6c597730bd5cb49455e7409ca747a4cc22c

5. Floating IP association without subnet gateway IP
not supported by our plugins.
Added in commit If212c36d918ed57400a53f4b5fa1925b3d1fa6fd

Co-Authored-by: Adit Sarfaty <asarfaty@vmware.com>
Change-Id: I277ec5c38c5895337011019f71d586b254bfafde
2017-04-18 18:56:05 +03:00
Roey Chen 81f9380765 NSXv BGP support
This change implement's a new BGP plugin which allows BGP support in Openstack,
using NSXv service edges (ESG).
When a BGP speaker is associated with an external network, service edges which
accommodates tenant routers that have their GW port on this network would be
configured to enable BGP/Dynamic-routing.
The specific BGP configuration (e.g - localAS, neighbours) for the edge is
retrieved from the BGP speaker object and its peers.

This change also adds an extension to the BGP peer object, this
extension allows the cloud operator to associate a BGP peer with a specific
service edge that will serve as GW edge for the network, multiple GW
edges are supported by enabling ECMP on tenant service edges.

Co-Authored: yuyangbj <yangyu@vmware.com>
Change-Id: Ife69b97f3232bee378a48d91dc53bdc8837de7f5
2017-04-13 06:09:53 -07:00
Adit Sarfaty f10dcfe82d NSX-V FWaaS(V1) support
The nsx-v FWaaS driver will add the configured firewall rules to
the router edges.
Currently there is not support for shared routers.
The rules will be edded after the current rules (NAT, LBaaS, external traffic)
for exclusive routers edges and distributed routers PLR edged.

Change-Id: I82ba90070ef4e739a0b5c4463ef03a807e26adfb
2017-04-04 11:15:49 +03:00
Gary Kotton 3759da2874 Remove Tap-as-a-service Support
The platform support will be changing so we will remove this in the
mean time.

The patch also remove false positives for test failures.

Change-Id: I118010085d305883f521fa01a5fd341e775eea5a
2017-03-20 07:57:25 -07:00