Commit Graph

97 Commits (836a9d014893f819b5fa65c1f88da1d052cba4cd)

Author SHA1 Message Date
rmadapur 836a9d0148 Fixes netconf timeout issue
Netconf sessions were timing out on VDX devices,nos_driver in the init phase closed after the required usage
Also added the db model for VDX devices which had got removed during vendor decomposition.
No DB Migration scripts are required as these are the initial models.

Change-Id: Ibff5bf70b426b6f0ba471f26ca7bb8310370247d
2016-03-09 00:50:31 -08:00
Jeremy Stanley ec53ec05a4 Update README to reflect new repo location
Change-Id: I11a84819b5c3e88c6444ff7b12290ac629306b25
2015-12-01 12:15:40 -08:00
Angela Smith 35a5e687f1 Update .gitreview to reflect new repository name
Change reference of stackforge to openstack.

Change-Id: Idd87537ddf4052dafd2ab4e349a55415ff15a02a
Closes-bug: #1519530
2015-11-24 14:53:05 -08:00
Angela Smith 4ca5348943 Updating requirements and test-requirements files.
The requirements files need to be updated to be current to
Neutron requirements in order for tox to run.

In addition, vyatta tests are failing even with the
requirements updated, so these tests are being temporarily

Change-Id: I906096ec53f68d03f2ce8995284d4155d0162d1d
Closes-Bug: #1488312
2015-08-24 21:12:01 -07:00
Harkirat Singh 17786b869b fix l3 plugin to work for 5600 router
Change-Id: Ie32b8c9dcadd8b9bf6996a211f2069c95de42f45
2015-06-17 18:48:58 +05:30
Harkirat Singh f601c00510 Add multiple IPv6 prefixes support
enable unit test for vrouter
skips unit tests due to support status
updates gateway configuration on gw ip change
removes unused parameter from driver clear_gateway
adds helper functions to router API client

Change-Id: I5df3b24beb03e0d5af7dda4ad61b687482308508
2015-05-20 10:13:36 +05:30
Harkirat Singh fa8140f680 Add generic InterfaceInfo and RouterConfig class
RouterConfig is a wrapper around raw filesystem like
Vyatta router configuration.

Change-Id: I2781d38d050146c0beaedb78c50ce23d2720f756
2015-05-20 09:47:05 +05:30
Harkirat Singh 4a3a8712a3 Add MultiDict class implementation
Change-Id: I129ed55783a57224e8ab7079e292d6ce9754e355
2015-05-20 08:55:31 +05:30
Harkirat Singh 4a95874e49 Fix _create_gw_port interface update
Change-Id: I62b395a37f1735f84b4720621f18ded9dadb68eb
2015-05-15 16:49:04 +05:30
Harkirat Singh ece20aa490 Update unit tests
Add test plugin class inheritance from SecurityGroupServerRpcMixin

Change-Id: I2b39dd0e53a1f1a1ac7b80410ff530714042bb40
2015-05-15 13:41:50 +05:30
Harkirat Singh 6f6075a2c9 Delete port security bindings on existing port
If router interface added by port it is required delete
security group bindings before update port_security
attribute on port

Change-Id: Ib949a849119b7a440fd34843a9105aff317e08ed
2015-05-15 13:37:56 +05:30
Harkirat Singh b614445c71 add_port_security_extension_support
Change-Id: Ieee93cc04c989567b4aecd70e38437a3465f5e02
2015-05-15 13:35:39 +05:30
Jenkins 6423a07023 Merge "update test code after the unittest reorg" 2015-05-15 07:19:41 +00:00
Jenkins 5454f826c5 Merge "Add extra parameter in _make_router_interface_info" 2015-05-15 07:18:50 +00:00
Jenkins 68a936b2b9 Merge "Use custom RouterInfo for L3 agent" 2015-05-15 07:18:42 +00:00
Shiv Haris 158b634d13 Add text to README.rst describing MDs and Plugins
Partial bug: #1452010

Change-Id: I4dd285c7a97bdd213a50f4fc67c60b8c62fabec7
2015-05-05 13:02:00 -07:00
Harkirat Singh 5921b3b1c6 update test code after the unittest reorg
The structure for the unit test tree in neutron has
been changed, so we need to update our unit tests

policy_file override is no longer required, as it has
been fixed in neutron upstream.

Change-Id: Id5d2d6f7d97c1c68c4dfe864d4916dcf757ddf5d
2015-05-05 10:58:21 +05:30
Harkirat Singh 8af7d8f4d4 Add extra parameter in _make_router_interface_info
Change-Id: I47f6c77ec430ed329b0fcdd85719f09dd0721869
2015-05-05 10:54:05 +05:30
Harkirat Singh 4f78be5dce Use custom RouterInfo for L3 agent
Override RouterInfo.initialize
  Disable namespace creation
Override RouterInfo.process
Override RouterInfo.delete
  Disable namespace deletion
Use reference implementation of _router_added
and _router_deleted methods

Change-Id: I8f179b63cb78b0e14e3634628fb317874e1ead9a
2015-05-05 10:49:10 +05:30
Harkirat Singh 7912cf100f Remove methods override from L3AgentMiddleware
Methods that we override in L3AgentMiddleware have been removed
from parent classes. There is no need to keep them in
L3AgentMiddleware now.

Change-Id: Ib4d5278359999d9e9c3f29b69e9555fe391f15dc
2015-04-18 18:46:46 +05:30
Jenkins f10b488979 Merge "Remove testlib_plugin ref from l3 plugin" 2015-04-16 18:29:43 +00:00
Jenkins 0a296ecdf1 Merge "Handle unsupported network types" 2015-04-14 18:46:59 +00:00
Pradeep Sathasivam 20aea72cfc Removed built-in transaction support
The below statement has some issues due to which router interface
was not added for the first time.

with context.session.begin(subtransactions=True):

The above statement is removed and transaction is handled like we do
it in ML2 plugin code. We call super.remove_router_interface in case
of an exception

Also added negative unit test cases and enabled L3 tests in
test_discover module

Renamed the following modules: to to

Change-Id: Id0de71c758c3c271cc54ed00a5014e7e2fc6609d
Closes-Bug: #1439095
2015-04-13 11:54:23 +05:30
Harkirat Singh f38a57c4ed Remove testlib_plugin ref from l3 plugin
testlib_plugin file was removed from the neutron tree as
the logic has been moved to tests base file

Change-Id: I5d9b507c131e27ad19d2fc672b43411f2ae7a9b2
2015-04-12 20:57:54 +05:30
Pradeep Sathasivam 8d4b725849 Handle unsupported network types
Raise exception in case of unsupported network types such as vxlan,
gre, etc. Add negative test cases for this change

Include method name as argument while raising MechanismDriverError

Change-Id: Ief051367d83e8048e9538334c23a339b38ea9630
Closes-Bug: #1441999
2015-04-10 12:26:06 +05:30
Jenkins cead1a3507 Merge "Removed config registration" 2015-04-09 21:32:16 +00:00
Pradeep Sathasivam 80f35eea70 Removed config registration
Removed config registration as it is in shim
layer and set transport and ostype to SSH and NI
if the call is from L3 plugin. Also removed VDX
test cases as it failed py27 tests due to change
in neutron test tree

Change-Id: I3201fe7aeec21d0ecea3f41d1745d6af652abb77
Closes-Bug: #1441506
2015-04-09 13:34:28 -07:00
Shiv Haris 8b20d6f74c Adjust imports for re-organized neutron unit test tree
Change-Id: I09f73f57dbd8cd36a7381960f122a3a812e551c7
Closes-bug: #1440834
2015-04-09 13:13:36 -07:00
Vishwanath Jayaraman 1c7eea7a27 Code refactor to sync with Firewall Insertion Model implementation
The _get_router_info_list_for_tenant() method has changed in the
FWaaSL3AgentRpcCallback class, this commit makes the corresponding
change in the L3AgentMiddleware class

Partially Implements: blueprint fwaas-router-insertion

Change-Id: Ifdd6014c6d421adb406685719adf2a231aba2b5e
2015-03-30 18:09:46 -05:00
Sripriya f5ffb5dac9 Fix unit test failures for delete ipv6 and clear gateway issues
Change-Id: I1f131c9d9c4cc33143df08f3bfbad72bbd4573b9
2015-03-16 09:49:35 -07:00
Jenkins 49e2b14666 Merge "Enabling MLX ML2 unit tests." 2015-03-16 15:55:36 +00:00
Angela Smith 257b546b30 Enabling MLX ML2 unit tests.
Change-Id: Iad1ed4ef927a102fc4283ea9053d62255883e706
2015-03-15 22:23:33 -07:00
Sripriya 8195f2ff70 remove neutron.common.log imports and update to oslo.log
Partial bug: #1431916

Change-Id: I7cbcde1a1e6c4db1b8880e3728ce4020299cb7fa
2015-03-15 20:08:49 -07:00
Angela Smith 5281dd5ba7 Update cfg registrations based on changes made to shims.
Added choices to transport and ostype as these were
updated in the shims.

Change-Id: I438e7ee682b6ad21af382d98586af059f4255e3c
2015-03-14 18:37:00 -07:00
Angela Smith 2fdcdb17e4 Fix logging imports to oslo log
Partial-Bug: #1431916
Change-Id: I885a8430e51d82b82a79bd2e85f95e892ea4eb08
2015-03-14 13:51:04 -07:00
Shiv Haris c3bd5274a2 Oslo logging changes requires import change for logging
Partial bug: #1431916

Change-Id: Ia8c623282d21f11792fd338f805b1f71e19de478
2015-03-13 15:46:30 -07:00
Shiv Haris cc97a515a1 Add ML2 VLAN mechanism driver for Brocade MLX and ICX switches
This introduces support for ML2 VLAN operations on Brocade MLX
and ICX switches.  Also including L3 router plugin for MLX.
Partial-Bug: #1420045
Change-Id: I53e9af67001f4c372f687f79c823542ad965a8c3
2015-03-10 14:38:20 -07:00
Shiv Haris e38b37973f Fixing import of the decomposed nos driver
Importing from networking-brocade

Fixes Bug: #1429977

Change-Id: I9854a9df23fc57d7ce294e402355b743a7f23e91
2015-03-09 15:49:44 -07:00
Shiv Haris b8d50daaa3 Enable unit test on vdx platform
Fixes bug: #1427908

Change-Id: I7433e3201cbb75989c232571ed2acb6db923a4e5
2015-03-04 15:58:53 -08:00
Shiv Haris 5c728cb4fe Remove model completely from stackforge leave in neutron.
Fixes bug: #1427919

Change-Id: I105aeeaa5b5023097e4b2eb1abccf0cd499cb806
2015-03-03 16:40:27 -08:00
Sripriya b8f67c7810 Move the extension alias from neutron_plugin to shim plugin in neutron tree
Change-Id: I7ec53cdb79bd5fc75d2fd82e2c214f3ff5c455aa
2015-03-03 15:02:02 -08:00
Jenkins f9b18a231f Merge "Fix MySQL deadlock issue" 2015-03-03 02:47:45 +00:00
Shiv Haris 1cb23b4247 Fix typo in import pathname
Fixes bug: #1427470

Change-Id: Id583cec08bb08b21494e195e3c64719951ab3bbf
2015-03-02 17:55:48 -08:00
Shiv Haris 02136cf6d7 Import pathname must be from repo specific locations.
Fixes bug: #1427453

Change-Id: Ide5c8cc92ce8917962fe76000d938653433ecc38
2015-03-02 17:04:07 -08:00
Sripriya ced5709879 Fix MySQL deadlock issue
Change-Id: Ie0c07efa97d2e85e1322cc22227f9ebeaeb10ebd
2015-03-02 10:45:05 -08:00
Sripriya 29e639816e Remove neutron root_helper reference
Change-Id: I19aedbc85a8ea8569eb8cc7a6720e279b4a5076c
2015-02-26 10:39:44 -08:00
Sripriya e28f985a89 Fix networking-brocade unit tests changes and vyatta imports
Change-Id: Idb888fafdb14730d8a9cfaec124e1e8207d115a2
2015-02-26 01:20:26 -08:00
Shiv Haris 208d2b40b2 Fix import pathnames, based on new path at networking_brocade
Fixes bug: #1423387

Change-Id: Id92afeb2032efa33401955992ac41cc3ffe80457
2015-02-25 08:41:30 -08:00
Sripriya b361a94ddb Merge Brocade Vyatta L3 Plugin Code
Change-Id: I8d7d93d906f275782ef33c37c4ce9b202b72a4c6
2015-02-22 01:37:16 -08:00
Shiv Haris 382050e73c Change import pathnames based now off networking_brocade
Fixes bug: #1422998

Change-Id: I9b108221827e0972a57f0a0aa95da4d46c777576
2015-02-17 16:03:52 -08:00