'Eats a vgc-cluster space-create command line to a dict.'

def _parse_space_create(self, *cmd):

    self.created = {'storageserver': ''}
    cmd = list(*cmd)
    while cmd:
        param = cmd.pop(0)
        if (param == '-n'):
            self.created['name'] = cmd.pop(0)
        elif (param == '-N'):
            self.created['net'] = cmd.pop(0)
        elif (param == '-s'):
            self.created['size'] = cmd.pop(0)
        elif (param == '--redundancy'):
            self.created['redundancy'] = cmd.pop(0)
        elif (param == '--user'):
            self.created['user'] = cmd.pop(0)
        elif (param == '--user'):
            self.created['user'] = cmd.pop(0)
        elif (param == '--group'):
            self.created['group'] = cmd.pop(0)
        elif (param == '--mode'):
            self.created['mode'] = cmd.pop(0)
        elif (param == '-S'):
            self.created['storageserver'] += (cmd.pop(0) + ',')
        else:
            pass
