diff options
author | Matt Woodson <mwoodson@gmail.com> | 2016-03-01 14:03:28 -0500 |
---|---|---|
committer | Matt Woodson <mwoodson@gmail.com> | 2016-03-01 14:03:28 -0500 |
commit | 803586871bec03d203f1c95117885abe3304cdbf (patch) | |
tree | 70906dfbd7d623f9422165c3b16774ffe2e720ce /bin/ohi | |
parent | 6ff12aa4f8d3a6191e27cbf5b24d9df09b494d3a (diff) | |
parent | 5335c1660445b8128932c484f8667f966f95f34b (diff) | |
download | openshift-803586871bec03d203f1c95117885abe3304cdbf.tar.gz openshift-803586871bec03d203f1c95117885abe3304cdbf.tar.bz2 openshift-803586871bec03d203f1c95117885abe3304cdbf.tar.xz openshift-803586871bec03d203f1c95117885abe3304cdbf.zip |
Merge pull request #1527 from mwoodson/ohi_fix
ohi: added subtype searching
Diffstat (limited to 'bin/ohi')
-rwxr-xr-x | bin/ohi | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -34,6 +34,7 @@ class Ohi(object): 'openshift_ansible', \ 'openshift_ansible.conf') + self.args = None self.parse_cli_args() self.parse_config_file() @@ -57,6 +58,7 @@ class Ohi(object): hosts = self.aws.get_host_list(clusters=self.args.cluster, host_type=self.args.host_type, + sub_host_type=self.args.sub_host_type, envs=self.args.env, version=version, cached=self.args.cache_only) @@ -104,6 +106,8 @@ class Ohi(object): parser.add_argument('-t', '--host-type', action="store", help="Which host type to use") + parser.add_argument('-s', '--sub-host-type', action="store", help="Which sub host type to use") + parser.add_argument('-l', '--user', action='store', default=None, help='username') parser.add_argument('--cache-only', action='store_true', default=False, |