Merge "Remove default role-name from merge network param script"
This commit is contained in:
commit
e8fd828d3b
@ -0,0 +1,8 @@
|
||||
---
|
||||
other:
|
||||
- |
|
||||
The utility script ``tools/merge-new-params-nic-config-script.py``
|
||||
previously used the ``Controller`` role by default if the ``--role-name``
|
||||
argument was not specified. The argument (``--role-name``) no longer have a
|
||||
default. It is now mandatory to specify the role when merging new
|
||||
parameters into existing network configuration templates.
|
@ -39,12 +39,11 @@ def parse_opts(argv):
|
||||
default=('%s/network_data.yaml') % DEFAULT_THT_DIR)
|
||||
parser.add_argument('--role-name', metavar='ROLE-NAME',
|
||||
help="Name of the role the NIC config is used for.",
|
||||
default='Controller')
|
||||
required=True)
|
||||
parser.add_argument('-t', '--template', metavar='TEMPLATE_FILE',
|
||||
help=("Existing NIC config template to merge "
|
||||
"parameter too."),
|
||||
required=True,
|
||||
)
|
||||
required=True)
|
||||
parser.add_argument('--tht-dir', metavar='THT_DIR',
|
||||
help=("Path to tripleo-heat-templates (THT) "
|
||||
"directory"),
|
||||
|
Loading…
Reference in New Issue
Block a user