trove/trove/tests/unittests
wuchunyang 2f755b64b3 Add network isolation for trove
this PR adds a network_isolation config option for trove,
with network_isolation enabled, trove guest agent will
plug the user-defined port to database container by
docker host_nic network driver which is implemented in this PR.

docker host_nic network driver is a simple driver to plug host
nic to a container. this driver supports ipv4,ipv6 and dual-stack.

for more details please see the story.

story: 2010733
task: 47957

Change-Id: I35d6f8b81a2c5e847cbed3f5bc6095dc1d387165
2023-08-03 11:35:04 +00:00
..
api Don't ignore H306 pep8 check 2023-05-30 17:51:16 +08:00
backup Don't ignore H306 pep8 check 2023-05-30 17:51:16 +08:00
cluster Don't ignore H306 pep8 check 2023-05-30 17:51:16 +08:00
cmd Don't ignore H306 pep8 check 2023-05-30 17:51:16 +08:00
common Don't ignore H306 pep8 check 2023-05-30 17:51:16 +08:00
conductor Don't ignore H306 pep8 check 2023-05-30 17:51:16 +08:00
configuration Allow admin user to get instances attached with any configuration 2021-07-13 16:04:14 +12:00
datastore Support datastore version number for creating instance 2020-11-18 22:33:32 +13:00
db Don't ignore H306 pep8 check 2023-05-30 17:51:16 +08:00
domain-name-service Remove six.PY3 2020-09-03 18:30:24 +08:00
extensions Don't ignore H306 pep8 check 2023-05-30 17:51:16 +08:00
flavor Use unittest.mock instead of mock 2020-06-11 17:06:19 +02:00
guestagent Add network isolation for trove 2023-08-03 11:35:04 +00:00
hacking Remove six usage and basestring check 2020-10-16 10:40:22 +08:00
instance Don't ignore H306 pep8 check 2023-05-30 17:51:16 +08:00
module Use unittest.mock instead of mock 2020-06-11 17:06:19 +02:00
mysql Use more specific asserts in tests 2016-09-29 10:16:56 +02:00
quota Use unittest.mock instead of mock 2020-06-11 17:06:19 +02:00
router fix a typo 2018-03-27 13:40:07 +00:00
taskmanager Don't ignore E125 check 2023-06-14 14:35:07 +08:00
upgrade Don't ignore H306 pep8 check 2023-05-30 17:51:16 +08:00
util Support database version image tags for creating instance 2020-10-09 13:44:38 +13:00
volume_type Use unittest.mock instead of third party mock 2020-04-26 19:36:09 +12:00
__init__.py Remove copyright from empty files 2014-01-16 13:13:23 +04:00
trove_testtools.py Support datastore version number for configuration 2020-11-22 09:38:51 +13:00