* OSSTest-- Leases::check_ip() ignore guest free IP
@ 2015-08-10 8:29 Hu, Robert
0 siblings, 0 replies; only message in thread
From: Hu, Robert @ 2015-08-10 8:29 UTC (permalink / raw)
To: Ian Campbell, ian.jackson, wei.liu2; +Cc: xen-devel
Hi,
Say such a leases file:
lease 192.168.199.124 {
starts 4 2015/08/06 08:46:50;
ends 4 2015/08/06 08:58:50;
cltt 4 2015/08/06 08:46:50;
binding state active;
next binding state free;
hardware ethernet 5e:36:0e:f5:00:02;
uid "\001^6\016\365\000\002";
}
lease 192.168.199.242 {
starts 4 2015/08/06 08:46:55;
ends 4 2015/08/06 08:58:55;
cltt 4 2015/08/06 08:46:55;
binding state active;
next binding state free;
hardware ethernet 00:04:23:e8:dd:5a;
uid "\001\000\004#\350\335Z";
}
...
lease 192.168.199.124 {
starts 4 2015/08/06 08:46:50;
ends 4 2015/08/06 08:58:50;
tstp 4 2015/08/06 08:58:50;
cltt 4 2015/08/06 08:46:50;
binding state free;
hardware ethernet 5e:36:0e:f5:00:02;
uid "\001^6\016\365\000\002";
}
In Leases::check_ip(), it will ignore the last entry of guest freeing IP
and return last active IP lease entry. Then OSSTest will try to ping that IP and fails.
Best Regards,
Robert Ho
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-10 8:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-10 8:29 OSSTest-- Leases::check_ip() ignore guest free IP Hu, Robert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).