예제 #1
0
 def do_get(self, args):
     ## here args includes everyting after the invokation command
     ## split the args starting using shlex into tokens
     line = shlex.split(args)
     ## parse the tokens using the previously defined #global parser
     tokens = get_parser.parse_args(line)
     if tokens.v == True:
         module_EdgeClientCLI_get.get(tokens.start, tokens.end,
                                      tokens.edgeId, tokens.edgeIp,
                                      tokens.edgePort, tokens.edgeReli,
                                      tokens.fogIp, tokens.fogPort, True)
         #del jsonResponse
     else:
         module_EdgeClientCLI_get.get(tokens.start, tokens.end,
                                      tokens.edgeId, tokens.edgeIp,
                                      tokens.edgePort, tokens.edgeReli,
                                      tokens.fogIp, tokens.fogPort)
예제 #2
0
def do_get(start, end, edgeId, edgeIp, edgePort, edgeReli, fogIp, fogPort,
           erausureCode):
    module_EdgeClientCLI_get.get(start, end, edgeId, edgeIp, edgePort,
                                 edgeReli, fogIp, fogPort, erasureCode, True)