kuryr-libnetwork/kuryr_libnetwork/tests/unit
Hongbin Lu dc3cf2cc93 Tag resource if it was not tagged
On adding a tag to a resource (port/subnet/subnetpool/network),
if the resource already has the tag, skip the neutron API call to
add_tag because the tags will be unchanged.
This will avoid one or two Neutron API calls and optimize the
performance a bit.

Partial-Bug: #1809306
Change-Id: I8a181d6af5228007d36fa8b217fec7f766dd37fd
2018-12-23 17:14:46 +00:00
..
port_driver Remove unnecessary port update 2018-12-23 16:12:08 +00:00
__init__.py Drop common code and add kuryr_lib as requirement 2016-07-05 16:02:44 +05:30
base.py Tag resource if it was not tagged 2018-12-23 17:14:46 +00:00
test_config.py add python 3.6 unit test job 2018-08-24 19:44:09 +08:00
test_external_connectivity.py Allow skip processing exposed ports 2018-04-22 17:11:24 +00:00
test_ipam_pool.py Support shared kuryr subnetpool 2017-11-14 11:18:04 +07:00
test_join.py Move interface creation and deletion 2016-12-02 10:30:23 +01:00
test_kuryr.py Tag resource if it was not tagged 2018-12-23 17:14:46 +00:00
test_kuryr_endpoint.py Introduce sriov port driver 2018-01-03 07:51:05 +00:00
test_kuryr_existing_network.py Tag resource if it was not tagged 2018-12-23 17:14:46 +00:00
test_kuryr_ipam.py Remove unnecessary port update 2018-12-23 16:12:08 +00:00
test_kuryr_network.py Support shared kuryr subnetpool 2017-11-14 11:18:04 +07:00
test_leave.py Move interface creation and deletion 2016-12-02 10:30:23 +01:00
test_schema.py Allow new network ID pattern 2017-07-31 08:05:55 +00:00
test_utils.py Duplicate utils code in kuryr-lib and kuryr-libnetwork 2016-09-01 02:43:44 +08:00