Exemplo n.º 1
0
 def do_share(self, args):
     input_share = args.split()
     if (len(input_share) > 0):
         si_console = ShareIscsiConsole(input_share[0])
         if (len(input_share) > 1):
             si_console.onecmd(' '.join(input_share[1:]))
         else:
             si_console.cmdloop()
 def do_iscsi(self, args):
     """
     iscsi operations on the share
     """
     i_console = ShareIscsiConsole(self.greeting, self.share)
     i_console.cmdloop()
 def do_iscsi(self, args):
     """
     iscsi operations on the share
     """
     i_console = ShareIscsiConsole(self.greeting, self.share)
     i_console.cmdloop()