History log of /external/autotest/site_utils/sync_cloudsql_access.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fd793bd8fc21d89e0d25042b90cb5003d979e469 13-Feb-2018 Aviv Keshet <akeshet@chromium.org> autotest: use cidr notation from sync_cloudsql_access

BUG=chromium:811401
TEST=Local run of script

Change-Id: Id13482f0674f99c383780273de46e1a09a68b6ba
Reviewed-on: https://chromium-review.googlesource.com/915030
Commit-Ready: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
/external/autotest/site_utils/sync_cloudsql_access.py
4eb2a899db3d337adc1388d403620ea0dee441ba 07-Feb-2018 Aviv Keshet <akeshet@chromium.org> autotest: better logging when sync_cloudsql_access fails to resolve host

BUG=chromium:809799
TEST=Local run of script

Change-Id: Iaaec1fca8b9a80782d775e42470647a43c86db9c
Reviewed-on: https://chromium-review.googlesource.com/905882
Commit-Ready: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
/external/autotest/site_utils/sync_cloudsql_access.py
aaa558645f3873f6224b443e42f3587ea36e7057 31-Jan-2018 Prathmesh Prabhu <pprabhu@chromium.org> utils: Include sentinel role in servers whitelisted with TKO.

sentinel now has some services that access TKO.

BUG=None
TEST=None

Change-Id: I0b89082bc9f74b8af0d756c2d819b028eadcf1bc
Reviewed-on: https://chromium-review.googlesource.com/895048
Commit-Ready: Shuhei Takahashi <nya@google.com>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Shuhei Takahashi <nya@chromium.org>
/external/autotest/site_utils/sync_cloudsql_access.py
0495e152500609825797b44e23a25c77e14b5462 02-May-2017 Aviv Keshet <akeshet@chromium.org> autotest: run gcloud in non-interactive mode in sync_cloudsql_access

BUG=chromium:717341
TEST=None

Change-Id: I2126a9729cf5246f7263ef7a0df1b881e4ce33ce
Reviewed-on: https://chromium-review.googlesource.com/492787
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Trybot-Ready: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
/external/autotest/site_utils/sync_cloudsql_access.py
2eea6b30eaca4b81b7fe090f64e111f28b835d12 02-May-2017 Aviv Keshet <akeshet@chromium.org> autotest: add logging to sync_cloudsql_access

BUG=chromium:717341
TEST=None

Change-Id: Id4d419f5d2cc3b47fc2b93a7fb5a1ea282528e4d
Reviewed-on: https://chromium-review.googlesource.com/492667
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
/external/autotest/site_utils/sync_cloudsql_access.py
f7232d9b3ff1ce9da1664595fd580292ef7106d5 27-Aug-2015 Dan Shi <dshi@chromium.org> [autotest] Add role AFE to the list of roles require access to TKO database.

BUG=None
TEST=local run

Change-Id: I0d1caa2b5c78deb733dc55eaed8a6084b1a8abb9
Reviewed-on: https://chromium-review.googlesource.com/295765
Commit-Ready: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Mungyung Ryu <mkryu@google.com>
/external/autotest/site_utils/sync_cloudsql_access.py
a2fa8d191a5fde887e5c996d7e98a303479b95cc 22-Jul-2015 Dan Shi <dshi@chromium.org> [autotest] Add a script to sync lab servers to CloudSql access control

For a lab server to access CloudSql database, the server's IP must be added to
the "Allowed Networks" list of the CloudSql database.

This tool is added to sync the servers in the list of "Allowed Networks".

BUG=chromium:507929
TEST=test run against a test CloudSQL instance
./site_utils/sync_cloudsql_access.py --project [name] --instance tko-test \
--extra_server 'server1,server2' --afe [prod autotest]

Change-Id: I9bf0ea1ccb7ee0e48ae7f55fc98368e2192917d5
Reviewed-on: https://chromium-review.googlesource.com/287620
Trybot-Ready: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Fang Deng <fdeng@chromium.org>
Reviewed-by: Mungyung Ryu <mkryu@google.com>
Commit-Queue: Dan Shi <dshi@chromium.org>
/external/autotest/site_utils/sync_cloudsql_access.py