Merge "Do not require authentication for the validator CLI"
This commit is contained in:
commit
70c6d4e0b9
|
@ -1604,8 +1604,8 @@ def get_tripleo_ansible_inventory(inventory_file=None,
|
|||
'--stack', stack,
|
||||
'--ansible_ssh_user', ssh_user,
|
||||
'--undercloud-connection', undercloud_connection,
|
||||
'--undercloud-key-file',
|
||||
get_key(stack=stack),
|
||||
'--undercloud-key-file', get_key(stack=stack),
|
||||
'--os-cloud', 'undercloud',
|
||||
'--static-yaml-inventory', inventory_file)
|
||||
except processutils.ProcessExecutionError as e:
|
||||
message = _("Failed to generate inventory: %s") % str(e)
|
||||
|
|
|
@ -65,6 +65,8 @@ class _CommaListAction(argparse.Action):
|
|||
class TripleOValidatorGroupInfo(command.Lister):
|
||||
"""Display Information about Validation Groups"""
|
||||
|
||||
auth_required = False
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(TripleOValidatorGroupInfo, self).get_parser(prog_name)
|
||||
return parser
|
||||
|
@ -77,6 +79,8 @@ class TripleOValidatorGroupInfo(command.Lister):
|
|||
class TripleOValidatorShow(command.ShowOne):
|
||||
"""Display detailed information about a Validation"""
|
||||
|
||||
auth_required = False
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(TripleOValidatorShow, self).get_parser(prog_name)
|
||||
|
||||
|
@ -103,6 +107,8 @@ class TripleOValidatorShow(command.ShowOne):
|
|||
class TripleOValidatorShowParameter(command.Command):
|
||||
"""Display Validations Parameters"""
|
||||
|
||||
auth_required = False
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = argparse.ArgumentParser(
|
||||
description=self.get_description(),
|
||||
|
@ -177,6 +183,8 @@ class TripleOValidatorShowParameter(command.Command):
|
|||
class TripleOValidatorList(command.Lister):
|
||||
"""List the available validations"""
|
||||
|
||||
auth_required = False
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(TripleOValidatorList, self).get_parser(prog_name)
|
||||
|
||||
|
@ -210,6 +218,8 @@ class TripleOValidatorList(command.Lister):
|
|||
class TripleOValidatorRun(command.Command):
|
||||
"""Run the available validations"""
|
||||
|
||||
auth_required = False
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = argparse.ArgumentParser(
|
||||
description=self.get_description(),
|
||||
|
@ -396,6 +406,8 @@ class TripleOValidatorRun(command.Command):
|
|||
class TripleOValidatorShowRun(command.Command):
|
||||
"""Display details about a Validation execution"""
|
||||
|
||||
auth_required = False
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = argparse.ArgumentParser(
|
||||
description=self.get_description(),
|
||||
|
@ -436,6 +448,8 @@ class TripleOValidatorShowRun(command.Command):
|
|||
class TripleOValidatorShowHistory(command.Lister):
|
||||
"""Display Validations execution history"""
|
||||
|
||||
auth_required = False
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(TripleOValidatorShowHistory, self).get_parser(prog_name)
|
||||
|
||||
|
|
Loading…
Reference in New Issue