Exemplo n.º 1
0
 def init_parser(self, parser):
     Detect.init_parser(self, parser)
     parser.add_argument('--detect_node_id', default=0, type=int,
             help = """ specify the node id you want to monitor,
             default value is 0""")
     parser.add_argument('--no_sim', default=False, action='store_true',
             help = """turn on this switch to disable the fs simulaiton""")
Exemplo n.º 2
0
 def init_parser(self, parser):
     Detect.init_parser(self, parser)
     parser.add_argument('--detect_node_id',
                         default=0,
                         type=int,
                         help=""" specify the node id you want to monitor,
             default value is 0""")
     parser.add_argument(
         '--no_sim',
         default=False,
         action='store_true',
         help="""turn on this switch to disable the fs simulaiton""")