Commit Graph

101 Commits (8bfc8971a47ecde1e0bf2d06e75728c446286fd2)
 

Author SHA1 Message Date
Ritesh Madapurath 8bfc8971a4 Adding Non-ampp support for VDX
Add support for NON-AMPP(VLAN) based networking on VDX switches.
NON-AMPP based networking can be accessed through a seperate mechanism driver.

Change-Id: I4e67ff816af71ebbed1be29023c8b3c652ab3f73
7 years ago
Pradeep Sathasivam e2c8ecd218 Support for enable password configuration
When enable password is configured in device, ML2 plugin
will not be able to configure the device via SSH or TELNET.

Now this is supported by reading the response of each command
and identifying the prompt.

Change-Id: I3344f63b2f076809046fdbe92b9c9227bc0f1e1c
Closes-Bug: 1481161
7 years ago
Jenkins 9d3c974cbb Merge "Update Brocade MLX plugin from Neutron decomposition" 7 years ago
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.

Closes-Bug:#1553868
Change-Id: Ibff5bf70b426b6f0ba471f26ca7bb8310370247d
7 years ago
Angela Smith 6453b84e10 Update Brocade MLX plugin from Neutron decomposition
Add ini files to repository and list ini files and entry
points in setup.cfg for MLX plugins.

Update requirements.txt, tox.ini files for Neutron repo
dependencies.

Add config registrations to mech driver as these were
removed when decomposed from Neutron.  Update mech driver
to return in cases of unsupported type or physnet
instead of throwing exception.

Update requirements.txt to be same as current Neutron
requirements.

Add devstack plugin shell script.

Change-Id: Id32efe9ea3580b559d86c1b8a1db7aeb4aa690d7
7 years ago
Jeremy Stanley ec53ec05a4 Update README to reflect new repo location
Change-Id: I11a84819b5c3e88c6444ff7b12290ac629306b25
8 years ago
Angela Smith 35a5e687f1 Update .gitreview to reflect new repository name
Change reference of stackforge to openstack.

Change-Id: Idd87537ddf4052dafd2ab4e349a55415ff15a02a
Closes-bug: #1519530
8 years ago
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
disabled.

Change-Id: I906096ec53f68d03f2ce8995284d4155d0162d1d
Closes-Bug: #1488312
8 years ago
Harkirat Singh 17786b869b fix l3 plugin to work for 5600 router
Change-Id: Ie32b8c9dcadd8b9bf6996a211f2069c95de42f45
8 years ago
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
8 years ago
Harkirat Singh fa8140f680 Add generic InterfaceInfo and RouterConfig class
RouterConfig is a wrapper around raw filesystem like
Vyatta router configuration.

Change-Id: I2781d38d050146c0beaedb78c50ce23d2720f756
8 years ago
Harkirat Singh 4a3a8712a3 Add MultiDict class implementation
Change-Id: I129ed55783a57224e8ab7079e292d6ce9754e355
8 years ago
Harkirat Singh 4a95874e49 Fix _create_gw_port interface update
Change-Id: I62b395a37f1735f84b4720621f18ded9dadb68eb
8 years ago
Harkirat Singh ece20aa490 Update unit tests
Add test plugin class inheritance from SecurityGroupServerRpcMixin

Change-Id: I2b39dd0e53a1f1a1ac7b80410ff530714042bb40
8 years ago
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
8 years ago
Harkirat Singh b614445c71 add_port_security_extension_support
Change-Id: Ieee93cc04c989567b4aecd70e38437a3465f5e02
8 years ago
Jenkins 6423a07023 Merge "update test code after the unittest reorg" 8 years ago
Jenkins 5454f826c5 Merge "Add extra parameter in _make_router_interface_info" 8 years ago
Jenkins 68a936b2b9 Merge "Use custom RouterInfo for L3 agent" 8 years ago
Shiv Haris 158b634d13 Add text to README.rst describing MDs and Plugins
Partial bug: #1452010

Change-Id: I4dd285c7a97bdd213a50f4fc67c60b8c62fabec7
8 years ago
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
accordingly.

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

Change-Id: Id5d2d6f7d97c1c68c4dfe864d4916dcf757ddf5d
8 years ago
Harkirat Singh 8af7d8f4d4 Add extra parameter in _make_router_interface_info
Change-Id: I47f6c77ec430ed329b0fcdd85719f09dd0721869
8 years ago
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
8 years ago
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
8 years ago
Jenkins f10b488979 Merge "Remove testlib_plugin ref from l3 plugin" 8 years ago
Jenkins 0a296ecdf1 Merge "Handle unsupported network types" 8 years ago
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:
l3_router_fi_ni_plugin.py to l3_router_plugin.py
test_brocade_l3_router_fi_ni_plugin.py to test_l3_router_plugin.py

Change-Id: Id0de71c758c3c271cc54ed00a5014e7e2fc6609d
Closes-Bug: #1439095
8 years ago
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
8 years ago
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
8 years ago
Jenkins cead1a3507 Merge "Removed config registration" 8 years ago
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
8 years ago
Shiv Haris 8b20d6f74c Adjust imports for re-organized neutron unit test tree
Change-Id: I09f73f57dbd8cd36a7381960f122a3a812e551c7
Closes-bug: #1440834
8 years ago
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
8 years ago
Sripriya f5ffb5dac9 Fix unit test failures for delete ipv6 and clear gateway issues
Change-Id: I1f131c9d9c4cc33143df08f3bfbad72bbd4573b9
8 years ago
Jenkins 49e2b14666 Merge "Enabling MLX ML2 unit tests." 8 years ago
Angela Smith 257b546b30 Enabling MLX ML2 unit tests.
Change-Id: Iad1ed4ef927a102fc4283ea9053d62255883e706
8 years ago
Sripriya 8195f2ff70 remove neutron.common.log imports and update to oslo.log
Partial bug: #1431916

Change-Id: I7cbcde1a1e6c4db1b8880e3728ce4020299cb7fa
8 years ago
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
8 years ago
Angela Smith 2fdcdb17e4 Fix logging imports to oslo log
Partial-Bug: #1431916
Change-Id: I885a8430e51d82b82a79bd2e85f95e892ea4eb08
8 years ago
Shiv Haris c3bd5274a2 Oslo logging changes requires import change for logging
Partial bug: #1431916

Change-Id: Ia8c623282d21f11792fd338f805b1f71e19de478
8 years ago
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
8 years ago
Shiv Haris e38b37973f Fixing import of the decomposed nos driver
Importing from networking-brocade

Fixes Bug: #1429977

Change-Id: I9854a9df23fc57d7ce294e402355b743a7f23e91
8 years ago
Shiv Haris b8d50daaa3 Enable unit test on vdx platform
Fixes bug: #1427908

Change-Id: I7433e3201cbb75989c232571ed2acb6db923a4e5
8 years ago
Shiv Haris 5c728cb4fe Remove model completely from stackforge leave in neutron.
Fixes bug: #1427919

Change-Id: I105aeeaa5b5023097e4b2eb1abccf0cd499cb806
8 years ago
Sripriya b8f67c7810 Move the extension alias from neutron_plugin to shim plugin in neutron tree
Change-Id: I7ec53cdb79bd5fc75d2fd82e2c214f3ff5c455aa
8 years ago
Jenkins f9b18a231f Merge "Fix MySQL deadlock issue" 8 years ago
Shiv Haris 1cb23b4247 Fix typo in import pathname
Fixes bug: #1427470

Change-Id: Id583cec08bb08b21494e195e3c64719951ab3bbf
8 years ago
Shiv Haris 02136cf6d7 Import pathname must be from repo specific locations.
Fixes bug: #1427453

Change-Id: Ide5c8cc92ce8917962fe76000d938653433ecc38
8 years ago
Sripriya ced5709879 Fix MySQL deadlock issue
Change-Id: Ie0c07efa97d2e85e1322cc22227f9ebeaeb10ebd
8 years ago
Sripriya 29e639816e Remove neutron root_helper reference
Change-Id: I19aedbc85a8ea8569eb8cc7a6720e279b4a5076c
8 years ago