Esempio n. 1
0
 def Args(parser):
     Create.HOST_ARG = hosts_flags.MakeHostArg(plural=True)
     Create.HOST_ARG.AddArgument(parser, operation_type='create')
     parser.add_argument(
         '--description',
         help='Specifies a textual description of the hosts.')
     parser.add_argument(
         '--host-type',
         help=('Specifies a type of the hosts. Type of a host determines '
               'resources available to instances running on it.'))
Esempio n. 2
0
 def Args(parser):
   Delete.HOST_ARG = flags.MakeHostArg(plural=True)
   Delete.HOST_ARG.AddArgument(parser, operation_type='delete')
Esempio n. 3
0
 def Args(parser):
     Describe.HOST_ARG = flags.MakeHostArg()
     Describe.HOST_ARG.AddArgument(parser, operation_type='describe')