Revision d04c9d45 lib/cli.py

b/lib/cli.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Google Inc.
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
172 172
  "SPECS_DISK_SIZE_OPT",
173 173
  "SPECS_MEM_SIZE_OPT",
174 174
  "SPECS_NIC_COUNT_OPT",
175
  "SPECS_DISK_TEMPLATES",
175
  "IPOLICY_DISK_TEMPLATES",
176 176
  "SPICE_CACERT_OPT",
177 177
  "SPICE_CERT_OPT",
178 178
  "SRC_DIR_OPT",
......
805 805
                                 type="keyval", default={},
806 806
                                 help="NIC count specs: min, max, std")
807 807

  
808
SPECS_DISK_TEMPLATES = cli_option("--specs-disk-templates",
809
                                  dest="ispecs_disk_templates",
810
                                  type="list", default=None,
811
                                  help="Comma-separated list of"
812
                                  " enabled disk templates")
808
IPOLICY_DISK_TEMPLATES = cli_option("--ipolicy-disk-templates",
809
                                 dest="ipolicy_disk_templates",
810
                                 type="list", default=None,
811
                                 help="Comma-separated list of"
812
                                 " enabled disk templates")
813 813

  
814 814
HYPERVISOR_OPT = cli_option("-H", "--hypervisor-parameters", dest="hypervisor",
815 815
                            help="Hypervisor and hypervisor options, in the"
......
1401 1401
  SPECS_DISK_SIZE_OPT,
1402 1402
  SPECS_MEM_SIZE_OPT,
1403 1403
  SPECS_NIC_COUNT_OPT,
1404
  SPECS_DISK_TEMPLATES,
1404
  IPOLICY_DISK_TEMPLATES,
1405 1405
  ]
1406 1406

  
1407 1407

  

Also available in: Unified diff