def GetSlice(self,slicename,authority):

		name = slicename # or uuid...
		servers = self.GetNodes()
		slices = dict()
		List = list()
		for server in servers:
			child_server = server.getChildObject()
			vms = child_server.getVMs(sliceName=name, projectName = authority)
			for vm in vms:
                                ip = self.get_ip_from_vm(vm)
                                state = vm.state
                                if str(vm.state) == "unknown":
                                    state = "ongoing"
				List.append({'vm-name':vm.name,'vm-state':state,'vm-id':vm.id, 'vm-ip':ip, 'node-id':server.uuid, 'node-name':server.name})
			        	
		slices['vms'] = List
		return slices
dataset/ETHPy150Open fp7-ofelia/ocf/vt_manager/src/python/vt_manager/communication/sfa/drivers/VTShell.py/VTShell.GetSlice/original