Example #1
0
 def get_parser(self, prog_name):
     parser = super(CreateUserCertCommand, self).get_parser(prog_name)
     parser.add_argument('pub_key', help="Public Key")
     common.add_all_common_options(parser)
     return parser
Example #2
0
 def get_parser(self, prog_name):
     parser = super(RevokeUserCertCommand, self).get_parser(prog_name)
     parser.add_argument('auth_id', help="Project/CA ID")
     parser.add_argument('serial', help="Serial Number")
     common.add_all_common_options(parser)
     return parser
Example #3
0
 def get_parser(self, prog_name):
     parser = super(ShowUserCertCommand, self).get_parser(prog_name)
     parser.add_argument('serial', help="Serial Number")
     common.add_all_common_options(parser)
     return parser
Example #4
0
 def get_parser(self, prog_name):
     parser = super(ListUserCertCommand, self).get_parser(prog_name)
     common.add_all_common_options(parser)
     return parser
Example #5
0
 def get_parser(self, prog_name):
     parser = super(CreateCACommand, self).get_parser(prog_name)
     parser.add_argument('auth_id', help="Project/CA ID")
     common.add_all_common_options(parser)
     return parser
Example #6
0
 def get_parser(self, prog_name):
     parser = super(ShowHostCertCommand, self).get_parser(prog_name)
     parser.add_argument('host_id', help="Instance ID")
     parser.add_argument('fingerprint', help="Public Key Fingerprint")
     common.add_all_common_options(parser)
     return parser
Example #7
0
 def get_parser(self, prog_name):
     parser = super(ShowHostCommand, self).get_parser(prog_name)
     parser.add_argument('id', help="Instance ID")
     common.add_all_common_options(parser)
     return parser