private void VM_Parse(Element vms)
    {
        vect_vms = new ArrayList();
        ArrayList<String> atts = new ArrayList<>(Arrays.asList("mips","cpu","ram", "bw", "size", "vmm"));
        List liste_vm = vms.getChildren();
        int nb_vm = liste_vm.size();
        System.out.println("There is"+ nb_vm + " VM(s)" );
        
        for(int i = 0 ; i < nb_vm ; i++)
        {
            VmDatas tmp_vm_datas = new VmDatas();
            Element One_vm = (Element)liste_vm.get(i);
            Iterator iterator = One_vm.getChildren().iterator();
            
            while(iterator.hasNext())
            {
                Element tmp_e = (Element)iterator.next();
               
                String tmp_name =tmp_e.getName();
                String tmp_value = tmp_e.getValue();
                int ind = atts.indexOf(tmp_name);
                System.out.println(tmp_name + " "+  tmp_value + " // " + ind);
                switch(ind)
                {
                     case 0: tmp_vm_datas.setMips(Integer.valueOf(tmp_value));break;
                     case 1: tmp_vm_datas.setCpu(Integer.valueOf(tmp_value));break;
                     case 2: tmp_vm_datas.setRam(Integer.valueOf(tmp_value));break;
                     case 3: tmp_vm_datas.setBw(Integer.valueOf(tmp_value));break;
                     case 4: tmp_vm_datas.setSize(Integer.valueOf(tmp_value));break;
                     case 5: tmp_vm_datas.setVmm(tmp_value);break;
                }
            }
            vect_vms.add(tmp_vm_datas);
        }
    
    }