The patch set fixes the problem in the l2gw devstack scripts
where the l2gw_plugin.ini file neither gets copied to /etc/neutron,
nor is supplied while starting the neutron server.
Change-Id: If519e1a5394954d14673302aa8792f27017f60fa
Closes-Bug: 1511614
The patch set fixes a problem introduced by [1] where
the l2-gateway-connection-create reports a Python error.
1. https://review.openstack.org/#/c/222841
Closes-Bug: 1518856
Change-Id: Ie37a135db6a5d3cd2c097602fc15aac3025243cf
This patchset fixes the problem in HP L2GW CI where timeout
errors were reported.
Patchset also ensures that all the tests run in sequential order.
Change-Id: I977b52ba87112b3d5b7aefee408bd3d14c632fec
Closes-bug: 1517758
ovsdb server initiates the connection to l2gw agent with the entries in
manager table in ovsdb hardware vtep schema and with flag 'enable_manager'
set to True in l2gateway_agent.ini.
multiple ovsdb can connect to same l2gatway agent with the l2gw agent ip in
respective manager table.
This patchset addresses the handling of connections from multiple
ovsdb servers.
Change-Id: Iffe6a9e8599ffaed55c3f8b749c4d6f7d0e52c79
Closes-Bug:1495005
ovsdb server initiates the connection to l2gw agent with the entries in
manager table in ovsdb hardware vtep schema.
A configurable option 'enable_manager' in .ini file is provided so that
the connection can be initiated by the ovsdb server or not based on boolean
value.
By default 'enable_manager' value is False, turn on the variable to True
to initiate the connection from ovsdb server to l2gw agent.
Closes-Bug:1466302
Change-Id: Ib668ecda381367ea9f2f3cfa45e63d0e91e48f33
Giving the test more time to complete should reduce
the failure rate for networking-l2gw
Change-Id: I190e2607fbf817e0fe1d1bfe37c9e7c16230d3db
Closes-Bug: #1486156
Validating entries in the ovsdb after creating l2gateway connection
Logical Switch for network and tunnel key
UCast MAC Remote for MAC address and VTEP mapping
Physical Port Validating vni binding
Physical Locator for hosts
Test l2gateway connection
Create a network
Create a subnet
Create a server
Create an l2gateway
Create an l2gateway connection
Validate resources in ovsdb
Test l2gateway multiple connections
Create a network
Create a subnet
Create a server
Create an l2gateway
Create an l2gateway connection
Validate resources in ovsdb
Repeat for one more connection
Test boot VM after connection create
Create a network
Create a subnet
Create an l2gateway
Create an l2gateway connection
Create a server
Validate resources in ovsdb
Test create connection after deleting old
Create a network
Create a subnet
Create a server
Create an l2gateway
Create an l2gateway connection
Validate resources in ovsdb
Delete the l2gateway connection
Create a new l2gateway connection
Validate resources in ovsdb
Change-Id: Ia634336d3162cb91661ed2c6d21cb507f02a3d11
This contains l2gateway cli using neutronclient extension.
CLIs to create/update/delete/show/list l2-gateway and
create/delete/list/show l2-gateway-connection are
implemented.
Change-Id: I46f655ef1d7b645c0e582397c22c3b8c4e01d0f0
This patchset implements the UcastMacRemote deletion after
the corresponding switch is deleted or disconnected from the
OVSDB.
Change-Id: I383412b523d7c96b85735e18202450edf71fc6f1
Closes-Bug:1453736
The logical switch table has to be deleted when the
last switch from the ovsdb is deleted. This patch
implements the same.
Change-Id: I256d12437e73f213c9e33fdfd1d2482a625f8607
Closes-Bug:1453097
This allows neutron-db-manage to find the alembic migrations
automatically if this project is installed.
The config file alembic.ini is not needed in this project since it's
tables are in neutron's DB and so it depends on neutron's config.
Remove the l2gw-db-manage script since we will use
neutron-db-manage.
Update the alembic env to know about all neutron core tables when
generating diffs for --autogenerate.
Partial-Bug: #1470625
Depends-On: I9a06de64ce35675af28adf819de6f22dc832390d
Change-Id: I581932d333e378d91d5b581760018ec274330681
Hopefully this will allow the Zuul "Depends-On" thing to work better.
Adopting the solution developed by Doug Wiegley for LBaaS:
c61f920f2a54fd829ee37484b3743ab77b909847
Change-Id: Id3f716b9f151dbb99cc02ddec00a841bea7ad463
This fixes the unit tests.
To get jenkins to pass we also need to comment out the migration
check for pep8 temporarily. This check will be re-enabled with
https://review.openstack.org/205866
Change-Id: If8484812e7cd026727b920fa70182db23154df58
This method was removed from all extensions
per I3c406910991c33cf959c5345d76153eabe3ace2d
Change-Id: Idc357dedfac1d5a9376dee5629893f7db608bdac
Closes-bug: 1477794
There were calls to non-existent assert's that were silently passing;
there a number of tests that were poorly mocked and have been fixed.
Other tests were clearly just change detector and were removed altogether.
Change-Id: I66ca5140a2dfcb57bf074a7f6d33b97d34cd968b
In order to register this plugin and its extensions, it suffices
adding the extension path to the list of the ones to be loaded.
Change-Id: Ic087b36f5b7a889455d8f1b785cfb6a35fa196ae
Remove pre-version setting so we can rely on tags for library
versioning.
Change-Id: Iede8138586adf225233838070e13222a43e512c9
Signed-off-by: Kyle Mestery <mestery@mestery.com>
This patch adds positive tests for the L2Gateway.
-test_create_l2gw_conn_with_segid_when_l2gw_created_without_segid
-test_create_update_l2gw_with_multiple_devices
Change-Id: Ifdb932156cb07dc8671194d1bf0e92cbe0fe2ed1
checking mac and logical switch while creating l2-gateway-connection,
if there is entry in ucast_mac_remote for second l2-gateway-connection for
same logical switch.
taken care of deleting ucast_mac_remote and vlan_bindings
while deleting l2-gateway-connection.
Closes-Bug:1447910
Co-Authored-By: Phani Pawan <ppawan@hp.com>
Co-Authored-By: MANJUNATH PATIL <mpatil@hp.com>
Change-Id: Id9205c902210d94d7168eb95fbd6c3520fbb6239
internal server error occurs if empty l2gateway is passed in
_check_port_fault_status_and_switch_fault_status.so checking the the same.
Closes-Bug: 1454670
Change-Id: I5faba8d5e097b5ca8aeec44b7fde0a61d98486e4