Assert.assertEquals(vipvo.getIp(), to.getVipIp());
long count = dbf.count(VirtualRouterEipRefVO.class);
Assert.assertEquals(0, count);</BUG>
EipVO evo = dbf.findByUuid(eip.getUuid(), EipVO.class);
Assert.assertNull(evo.getVmNicUuid());
<BUG>Assert.assertNull(evo.getGuestIp());
vm = api.recoverVm(vm.getUuid(), null);</BUG>
VmNicInventory vmnic = vm.getVmNics().get(0);
List<VmNicInventory> nics = api.getEipAttachableVmNicsByEipUuid(eip.getUuid());
Assert.assertFalse(nics.stream().anyMatch(n -> n.getUuid().equals(vmnic.getUuid())));

Assert.assertEquals(vipvo.getIp(), to.getVipIp());
VirtualRouterVmVO vr = Q.New(VirtualRouterVmVO.class).find();
api.stopVmInstance(vr.getUuid());
VmInstanceInventory vm = deployer.vms.get("TestVm");
api.destroyVmInstance(vm.getUuid());
EipVO evo = dbf.findByUuid(eip.getUuid(), EipVO.class);
Assert.assertNull(evo.getVmNicUuid());
Assert.assertNull(evo.getGuestIp());
long count = dbf.count(VirtualRouterEipRefVO.class);
Assert.assertEquals(0, count);
vm = api.recoverVm(vm.getUuid(), null);
VmNicInventory vmnic = vm.getVmNics().get(0);
List<VmNicInventory> nics = api.getEipAttachableVmNicsByEipUuid(eip.getUuid());
Assert.assertFalse(nics.stream().anyMatch(n -> n.getUuid().equals(vmnic.getUuid())));
