Merge "Do not require authentication for the validator CLI" into stable/train
This commit is contained in:
commit
3af6f58e7d
|
@ -1273,6 +1273,7 @@ def get_tripleo_ansible_inventory(inventory_file=None,
|
||||||
'--undercloud-connection', undercloud_connection,
|
'--undercloud-connection', undercloud_connection,
|
||||||
'--undercloud-key-file',
|
'--undercloud-key-file',
|
||||||
'/var/lib/mistral/.ssh/tripleo-admin-rsa',
|
'/var/lib/mistral/.ssh/tripleo-admin-rsa',
|
||||||
|
'--os-cloud', 'undercloud',
|
||||||
'--static-yaml-inventory', inventory_file)
|
'--static-yaml-inventory', inventory_file)
|
||||||
except processutils.ProcessExecutionError as e:
|
except processutils.ProcessExecutionError as e:
|
||||||
message = _("Failed to generate inventory: %s") % str(e)
|
message = _("Failed to generate inventory: %s") % str(e)
|
||||||
|
|
|
@ -65,6 +65,8 @@ class _CommaListAction(argparse.Action):
|
||||||
class TripleOValidatorGroupInfo(command.Lister):
|
class TripleOValidatorGroupInfo(command.Lister):
|
||||||
"""Display Information about Validation Groups"""
|
"""Display Information about Validation Groups"""
|
||||||
|
|
||||||
|
auth_required = False
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
parser = super(TripleOValidatorGroupInfo, self).get_parser(prog_name)
|
parser = super(TripleOValidatorGroupInfo, self).get_parser(prog_name)
|
||||||
return parser
|
return parser
|
||||||
|
@ -77,6 +79,8 @@ class TripleOValidatorGroupInfo(command.Lister):
|
||||||
class TripleOValidatorShow(command.ShowOne):
|
class TripleOValidatorShow(command.ShowOne):
|
||||||
"""Display detailed information about a Validation"""
|
"""Display detailed information about a Validation"""
|
||||||
|
|
||||||
|
auth_required = False
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
parser = super(TripleOValidatorShow, self).get_parser(prog_name)
|
parser = super(TripleOValidatorShow, self).get_parser(prog_name)
|
||||||
|
|
||||||
|
@ -101,6 +105,8 @@ class TripleOValidatorShow(command.ShowOne):
|
||||||
class TripleOValidatorShowParameter(command.Command):
|
class TripleOValidatorShowParameter(command.Command):
|
||||||
"""Display Validations Parameters"""
|
"""Display Validations Parameters"""
|
||||||
|
|
||||||
|
auth_required = False
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description=self.get_description(),
|
description=self.get_description(),
|
||||||
|
@ -175,6 +181,8 @@ class TripleOValidatorShowParameter(command.Command):
|
||||||
class TripleOValidatorList(command.Lister):
|
class TripleOValidatorList(command.Lister):
|
||||||
"""List the available validations"""
|
"""List the available validations"""
|
||||||
|
|
||||||
|
auth_required = False
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
parser = super(TripleOValidatorList, self).get_parser(prog_name)
|
parser = super(TripleOValidatorList, self).get_parser(prog_name)
|
||||||
|
|
||||||
|
@ -208,6 +216,8 @@ class TripleOValidatorList(command.Lister):
|
||||||
class TripleOValidatorRun(command.Command):
|
class TripleOValidatorRun(command.Command):
|
||||||
"""Run the available validations"""
|
"""Run the available validations"""
|
||||||
|
|
||||||
|
auth_required = False
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description=self.get_description(),
|
description=self.get_description(),
|
||||||
|
@ -391,6 +401,8 @@ class TripleOValidatorRun(command.Command):
|
||||||
class TripleOValidatorShowRun(command.Command):
|
class TripleOValidatorShowRun(command.Command):
|
||||||
"""Display details about a Validation execution"""
|
"""Display details about a Validation execution"""
|
||||||
|
|
||||||
|
auth_required = False
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description=self.get_description(),
|
description=self.get_description(),
|
||||||
|
@ -431,6 +443,8 @@ class TripleOValidatorShowRun(command.Command):
|
||||||
class TripleOValidatorShowHistory(command.Lister):
|
class TripleOValidatorShowHistory(command.Lister):
|
||||||
"""Display Validations execution history"""
|
"""Display Validations execution history"""
|
||||||
|
|
||||||
|
auth_required = False
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
parser = super(TripleOValidatorShowHistory, self).get_parser(prog_name)
|
parser = super(TripleOValidatorShowHistory, self).get_parser(prog_name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue