185 Commits

Author SHA1 Message Date
Shih-Hao Li
453994f57e Divide vmware_nsx/services into plugin-specific subdirectories
This patch will create:
vmware_nsx/services/common for common plugin files
vmware_nsx/services/nsx_v3 for nsx_v3 specific plugin files

This is part of new vmware_nsx directory structure proposed in
https://goo.gl/GdWXyH.

Change-Id: I30753aef1c06e2a1b15d336e1d661f3b44ea669e
2015-09-15 15:53:58 -07:00
Shih-Hao Li
d8eeda9baf Move vmware_nsx/neutron/plugins/vmware to vmware_nsx
This is part of new vmware_nsx directory structure proposed in
https://goo.gl/GdWXyH.

Change-Id: I60d6ef62eb724df71dfda90137e00f107e220971
2015-09-14 18:51:57 -07:00
Shih-Hao Li
128996f3f9 Move vmware_nsx/neutron/services to vmware_nsx/services
This is part of new vmware_nsx directory structure proposed in
https://goo.gl/GdWXyH.

Change-Id: I9207851bd1db3c005efa6880ca717058fde7707d
2015-09-14 16:59:23 -07:00
Shih-Hao Li
7203f2c671 Move vmware_nsx/neutron/db to vmware_nsx/db
This is part of new vmware_nsx directory structure proposed in
https://goo.gl/GdWXyH.

Change-Id: I50468e8ecf81a636ac6a0f195c75b4bef25423b4
2015-09-14 16:45:18 -07:00
Jenkins
c198990c86 Merge "Update references for vmware plugin config (etc part)" 2015-09-11 10:48:29 +00:00
Shih-Hao Li
9641d4987e Update references for vmware plugin config (etc part)
Because vmware plugin config nsx.ini is now moved
from neutron:/etc/neutron/plugins/vmware/ to vmware-nsx:/etc/,
we need to update associated references in setup.cfg.

The new path to nsx.ini is defined in Q_PLUGIN_SRC_CONF_PATH.

This is the first part of vmware plugin decomposition
(etc, extensions, and database).

Partial-bug: #1483453
Depends-On: I3caf25ce91ff425d815f35ed3efd599a572d595b
Change-Id: I326dc1eaf549ac631caf71e9adc3c7a218a7723f
2015-09-10 11:35:15 -07:00
Salvatore Orlando
d9ec9ab7d1 Remove version attribute from setup.cfg
According to the new release process, it's the git tag now
that determines the release.

Change-Id: I126c0e4fabce4407fa1543623a3fb7d79ddf6758
2015-09-09 15:48:10 -07: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
Amey Bhide
abd9b627ff Adds CRD operations for NSX Qos Service Plugin
This is an initial patch; only adds support for:
neutron qos-policy-create
neutron qos-policy-show
neutron qos-policy-list
neutron qos-policy-delete

Change-Id: I01572452bd72834b73b6e4b542d70400540d1b7c
2015-08-21 00:03:09 +00:00
Abhishek Raut
865fccf9ab NSX: Move DB models as part of core vendor decomposition
As part of core vendor decomposition, this patch moves the models
from neutron repository to vmware-nsx repository.

Change-Id: I99f358af73fd80246aea0c40ecbeb8ce84f5453d
Depends-On: I5d5b0acf34417889c2a449f22b92fd105697d90d
Partial-bug: #1483453
2015-08-18 04:34:42 -07:00
Abhishek Raut
10fa4d2869 Initialize alembic branches for vmware-nsx repo
Add alembic migration branch for vmware-nsx repo. Scripts for new
tables owned by vmware-nsx must now be added here.

Partially-Implements: blueprint online-schema-migrations

Change-Id: Ia3b805bb7a4583c96c61f322a45a91db0d67cc9c
2015-08-13 07:55:46 -07:00
Abhishek Raut
e760c30a6f Add support for L2 gateway service plugin
This patch adds the service plugin module which integrates the
networking-l2gw APIs with NSX. This module is the common framework
for the Layer 2 gateway support for NSX-T and NSX-V backends.
The corresponding backend drivers will be controlled via the config
parameter introduced here. This parameter will be configured with the
class path to the backend driver. Backend drivers will be responsible
for adding backend-specific logic. The corresponding backend drivers
for NSX-T and NSX-V will be addressed in separate follow up patches.

Change-Id: If997df17a1379a3775d29c1377f0f4e1ce9be328
Partial-bug: #1481087
2015-08-06 12:15:48 -07:00
Ihar Hrachyshka
f1e5826ecb stop using namespace packages
There is no reason to do it for the plugin since it does not split
namespace into pieces. By doing it, we avoid the need to generate and
ship .pth file with the package.

Change-Id: Ia6e676e4b0817678c289dda8d021a27d9875027a
2015-07-22 14:27:32 +02:00
Salvatore Orlando
c6e1736603 Add check-nsx-config to console scripts
This script is moving from openstack/neutron to stackforge/vmware-nsx,
and should therefore be installed with the latter package.

Change-Id: If1f1a3b55d5e68658f63a759dbad7e616ed14eca
2015-03-03 12:56:45 -08:00
linb
2eb68aa2c3 Exclusive Router Support
Exclusive router is the router who exclusivly occupies one edge.
You can create an exclusive router with "--router_type exclusive"
For distributed router, it would always be exclusive router.

Change-Id: Ice8cbc20912bc9becc5a82a646c76b9153418189
DocImapct:
2015-02-26 13:46:02 +08:00
Gary Kotton
3a96a43c53 VMware: fix gitreview
Fix the correct repo

Change-Id: I1deed42fb003f06bc97634e3908c6d82c8620e85
2014-12-21 23:24:18 -08:00
Moshe Levi
6099eb6970 Remove mlnx plugin
Mellanox plugin was marked deprecated in Juno.
This commit actually removes the code for Kilo.

Mellanox recommends users to use mlnx or SR-IOV MD

DocImpact
Closes-Bug: #1386539

Change-Id: I7d109bf62f71b2996aef4e0002f447ca3439a5cf
Signed-off-by: Moshe Levi <moshele@mellanox.com>
2014-12-15 16:04:23 +02:00
Carl Baldwin
b0cdbc84ab Move classes out of l3_agent.py
The file l3_agent.py has become too large.  This patch is a simple
pure refactor to move some of the functionality in to other files
where things aren't too tangled up.  There is no functional change
with this patch and I avoided gratuitous other fixups in this patch in
order to make it easier to review.

I plan to follow up on the new l3_dvr and l3_agent_router modules with
more restructuring in the near future.

Partially-Implements: bp restructure-l3-agent

Change-Id: I3529fe4146c50c940f41eb26d0b5efc5870b3af9
2014-12-10 15:19:28 -07:00
Jenkins
dfed086b35 Merge "Remove Python 2.6 classifier" 2014-11-27 03:42:12 +00:00
Julien Danjou
c2b41870ee Remove Python 2.6 classifier
Neutron does not support Python 2.6 anymore starting with Kilo and might
not work correctly with it, so remove the classifier.

Change-Id: Ib7cddecdbec2c5152fe526bada6587129cf63ffd
2014-11-25 16:59:34 +01:00
YAMAMOTO Takashi
7f0bcb3af0 Remove ryu plugin
Ryu plugin was marked deprecated in Juno.
This commit actually removes the code for Kilo.

We (Ryu team) recommend users to migrate to ofagent, on which
we aim to concentrate our development resources by this deprecation.

DocImpact
Partial-Bug: #1391714
Change-Id: I4916ce3c246730dc00516404471f8a1a008e27b6
2014-11-25 06:16:14 +00:00
Jenkins
d2fe95c872 Merge "Add rootwrap filters for ofagent" 2014-11-21 00:13:44 +00:00
YAMAMOTO Takashi
752af596ac Add rootwrap filters for ofagent
neutron-ofagent-agent currently relies on the fact the rootwrap
filters for neutron-openvswitch-agent covers what it needs.
as they are independent agents and their requirements are
getting more different, introduce a dedicated rootwrap filters
for ofagent.

Closes-Bug: #1392560
Change-Id: Iba205260a238431432caf8d9697268ceeef85eca
2014-11-14 02:20:59 +00:00
Cedric Brandily
ec5e49e61a Remove openvswitch core plugin entry point
The openvswitch core plugin has been removed but not its associated
"neutron.core_plugins" entry point. This change removes it from
setup.cfg.

Change-Id: I79f7c334cdeb0f4d0d68743734f69c0ec8523467
Related-Bug: #1323729
Closes-Bug: #1391326
2014-11-10 23:05:04 +01:00
Jenkins
161aa37bca Merge "Open Kilo development" 2014-10-02 17:19:42 +00:00
Jenkins
2e934ec19a Merge "remove linuxbridge plugin" 2014-10-02 03:26:22 +00:00
Mark McClain
eb321d9173 remove linuxbridge plugin
This changeset removes the linuxbridge plugin, but retains the agent for ML2.
The database models were not removed since operators will need to migrate the
data.

Additionally, the ml2 migration script was altered to support Juno.  For
testing, a user must either run the migration against the icehouse
scheme or run the update, manually change alembic_version to juno and
then run the migration script.  Once the juno migration is added, this
manually step will not be required.

Change-Id: I70689b4247947e6dc08e80fd9b31da9dc691d259
Partial-Bug: 1323729
2014-10-01 18:08:25 +00:00
Thierry Carrez
a698df121d Open Kilo development
Bump pre-version to 2015.1 to formally open master branch to Kilo
development.

Change-Id: Ia48ad29dc1b31b1fbcb14dfffad571659ec66700
2014-09-30 16:47:21 +02:00
Jenkins
457061efe3 Merge "Fix entrypoint of OneConvergencePlugin plugin" 2014-09-25 20:04:10 +00:00
Jenkins
bf98f967d7 Merge "Supply missing cisco_cfg_agent.ini file" 2014-09-24 16:07:23 +00:00
Ann Kamyshnikova
09136ac3cf Fix entrypoint of OneConvergencePlugin plugin
In setup.cfg entrypoint of OneConvergencePlugin is set incorrectly.
Used '.' instead of ':'.

Closes-bug: #1372810

Change-Id: Ic1e154cfcf8b13f021b0635238e07a0459a25a9e
2014-09-23 12:37:58 +00:00
Trinath Somanchi
9ffe224123 Separate Configuration from Freescale SDN ML2 mechanism Driver
- In the current implementation, CRD configuration is existing
  within the code of ML2 mechanism driver.

- When any other plugin/driver (like, Freescale FWaaS Plugin) need
  to use this configuration, it needs to duplicate the complete configuration.

- So the CRD configuration is moved to a separate file for use
  in other plugin/drivers.

- Unit testing of this MD is also updated.

Closes-Bug: #1368033

Change-Id: I488fee47803a494aae9df42f9c59fffa9843e727
2014-09-17 12:56:21 +05:30
shihanzhang
35d3ee2ac3 Adds ipset support for Security Groups
Iptables chain is linear storage and filtering, when iptables rules are
large, the load of l2 agent is heavy, this patch introduces ipset to
security group for improving the security group performance.

Change-Id: I6ff0ac519d0b9034d3bb5270885ed3cc1805674d
Implements: blueprint add-ipset-to-security
DocImpact
2014-09-12 10:18:51 +08:00
Hareesh Puthalath
dfd394cd6b Supply missing cisco_cfg_agent.ini file
cisco_cfg_agent.ini file was missed in the initial commit and
caused neutron startup issues. This patch supplies the proper
ini file and adds it back to neutron setup.cfg.
Also the introduced config options are put in a specific group
instead of default as was in the initial commit.

Change-Id: I74b3b77fe6e196524809580f522f91f3b62f5ba7
Closes-bug: #1351466
2014-09-05 16:38:04 +02:00
Jenkins
e7abf2195c Merge "Revert "Cisco DFA ML2 Mechanism Driver"" 2014-09-04 12:36:29 +00:00
Jenkins
206c09dd2c Merge "Big Switch: Separate L3 functions into L3 service" 2014-09-03 16:27:08 +00:00
mark mcclain
3eb16dbc2e Revert "Cisco DFA ML2 Mechanism Driver"
This reverts commit 3680fd61c9a1cceaa011b4d0d37d235abf490c50.

The reverted patch incorrectly ties with Keystone and should have never been
approved since the approved version only partially addressed review concerns.

This revert also ensure migration timeline integrity.

Change-Id: If5fbdade72c762b21a477676ded816ce5be97ca5
2014-09-02 18:05:06 -04:00
Kevin Benton
c9443e5662 Big Switch: Separate L3 functions into L3 service
Separate the L3 functions from the core Big Switch
plugin into an L3 service plugin. This is will allow
the L3 functions to be used in ML2 deployments that
use the Big Switch ML2 driver.

DocImpact

Implements: blueprint bsn-l3-service-plugin
Change-Id: I889db0047fb9a85f02d1fb95b9c099e9243a5bb5
2014-09-01 12:50:32 -07:00
Motohiro OTSUKA
1319406334 Remove reference to cisco_cfg_agent.ini from setup.cfg again
No sample .ini file is included, causing install to fail.
Remove the reference again.

Change-Id: I97ffe464e4eb9689ee290c3c95ac19d4e09029e2
Closes-bug: #1351466
2014-09-01 13:50:34 +00:00
Bob Melander
1f745f82a5 Adds router service plugin for CSR1kv
Implements: blueprint cisco-routing-service-vm

Change-Id: Ifd021fa06ce34d622e61734aab94b4da32649c4a
2014-08-31 19:10:14 +02:00
Jenkins
603cda9696 Merge "Support for extensions in ML2" 2014-08-31 16:23:18 +00:00
Nader Lahouti
0be7251b93 Support for extensions in ML2
The current ML2 plugin supports only extensions defined in the plugin and it
does not support any extensions in the mechanism drivers. The changes in this
commit allows mechanism drivers to define new extensions.

Change-Id: I28da19fabf6de2e9f0d687f875aaaa24c8bbc4f0
Implements: blueprint extensions-in-ml2
2014-08-31 05:43:01 -07:00
Nader Lahouti
55b4952387 Cisco DFA ML2 Mechanism Driver
Part 1:
This commit contains changes to support ML2 mechanism driver for Cisco
DFA. For more details please see the blueprint which has more description and
link to document with requirements.

Part 2: Changes in OVS neutron agent.
(http://review.openstack.org/110065)

Part 3: DFA extension driver.
(http://review.openstack.org/111761)

Part 4: DFA config profile service plugin.
(http://review.openstack.org/111863)

Change-Id: Ib53b6705948e1ed75059b85d8809562d9bb63f65
Partially Implements: blueprint ml2-mechanism-driver-for-cisco-dfa
2014-08-31 05:28:00 -07:00
Jenkins
fee7335e86 Merge "Adding mechanism driver in ML2 plugin for Nuage Networks" 2014-08-31 10:21:34 +00:00
Jenkins
f40cc394e6 Merge "Remove ovs dependency in embrane plugin" 2014-08-31 00:02:03 +00:00
ronak
e0242d25bc Adding mechanism driver in ML2 plugin for Nuage Networks
This patchset introduces basic ml2 driver for nuage.
In Juno release, mechanism driver will support basic
L2 functionality as a stepping stone to enhance
it in later releases.

Implements blueprint: ml2-mech-driver-nuage
Change-Id: Idae4f88f3d21526f377ec0f81377cb90b9fc14e4
2014-08-29 10:42:17 -07:00
Ignacio Scopetta
43eab852f4 Remove ovs dependency in embrane plugin
This patch changes the dependency of the embrane plugin from ovs to ml2.
Existing users of the old entry point will be upgraded on a case-by-case
base as needed, therefore no generic upgrade procedure is required.

Change-Id: Id192fc32bd6ba7a8926eff1190070b8df5327129
Closes-Bug: #1343024
2014-08-28 21:19:51 -07:00
Kris Lindgren
7a344d3a03 Fix bigswitch setup.cfg lines
Bigswitch was not correctly creating the bigswitch/ssl/ca_certs and
host_certs directories when running the setup.py install step.  This
makes it difficult to correctly package the plugin because it has
missing files/directories.

Fixes bug 1358982

Change-Id: I78c6e96887340ea90494ed9e109b3b7fda6653c9
2014-08-19 19:40:13 -06:00
Praneet Bachheti
5f47367d30 Opencontrail plug-in implementation for core resources
Adds Opencontrail plug-in implementation with unit tests
This patch has no dependency on any other blueprints
The link below describes how to install VIF driver for opencontrail
https://github.com/Juniper/contrail-controller/wiki/
OpenContrail-bring-up-and-provisioning

- The contrail_plugin_core.py is the main interface for neutron common
  infrastructure. It relays API requests to the opencontrail controller

DocImpact
Change-Id: I501bf669b2a999a171f9a3ee3e9893d4ead50e3b
Implements: blueprint juniper-plugin-with-extensions
2014-08-12 07:53:19 -07:00
Henry Gessau
a6d15e1802 Remove reference to cisco_cfg_agent.ini from setup.cfg
No sample .ini file is included, causing install to fail.
Remove the reference for now.

Change-Id: I6dc88062cfd47ecee7ca9fc4e6ba64ce65d8ef07
Closes-bug: #1351466
2014-08-01 17:07:07 -04:00