summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-08-28 19:33:55 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-28 19:33:55 +0000
commit4616c9c10d574fad8fffa6c827c27a44d406068c (patch)
tree9f3bc9555952559586f69857979aaa8d91eb7607
parent614d9d9b9f242a7a55fb3963395f4a5fe3edb8fe (diff)
parentf8c3e75d3ab421a0a97e07c21051d3f7c3fd1583 (diff)
Merge "Add argument types for deploy.py"
-rw-r--r--apex/deploy.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/apex/deploy.py b/apex/deploy.py
index 7900170b..6866945b 100644
--- a/apex/deploy.py
+++ b/apex/deploy.py
@@ -125,22 +125,26 @@ def create_deploy_parser():
deploy_parser.add_argument('--virtual-computes',
dest='virt_compute_nodes',
default=1,
+ type=int,
help='Number of Virtual Compute nodes to create'
' and use during deployment (defaults to 1'
' for noha and 2 for ha)')
deploy_parser.add_argument('--virtual-cpus',
dest='virt_cpus',
default=4,
+ type=int,
help='Number of CPUs to use per Overcloud VM in'
' a virtual deployment (defaults to 4)')
deploy_parser.add_argument('--virtual-default-ram',
dest='virt_default_ram',
default=8,
+ type=int,
help='Amount of default RAM to use per '
'Overcloud VM in GB (defaults to 8).')
deploy_parser.add_argument('--virtual-compute-ram',
dest='virt_compute_ram',
default=None,
+ type=int,
help='Amount of RAM to use per Overcloud '
'Compute VM in GB (defaults to 8). '
'Overrides --virtual-default-ram arg for '