diff options
author | Zach Koopmans <zkoopmans@google.com> | 2020-03-30 10:43:31 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-30 10:44:55 -0700 |
commit | 4aee3706406d6b102540ad5bea272b7c893da827 (patch) | |
tree | 3fb159987149d9daf153a8f7af03f5b6a6757817 /benchmarks/runner/commands.py | |
parent | 1876f10e150a89b871e0d9a15d627f88aba1ddd2 (diff) |
Internal change.
PiperOrigin-RevId: 303773475
Diffstat (limited to 'benchmarks/runner/commands.py')
-rw-r--r-- | benchmarks/runner/commands.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmarks/runner/commands.py b/benchmarks/runner/commands.py index 0fccb2fad..194804527 100644 --- a/benchmarks/runner/commands.py +++ b/benchmarks/runner/commands.py @@ -111,6 +111,12 @@ class GCPCommand(RunCommand): default=os.path.join( os.path.dirname(__file__), "../../tools/images/zone.txt"), ) + internal = click.core.Option( + ("--internal/--no-internal",), + help="""Use instance internal IPs. Used if bm-tools runner is running on + GCP instance with firewall rules blocking external IPs.""", + default=False, + ) installers = click.core.Option( ("--installers",), help="The set of installers to use.", @@ -124,6 +130,7 @@ class GCPCommand(RunCommand): self.params.extend([ image_file, zone_file, + internal, machine_type, installers, ]) |