LibvirtGObject.NetworkDHCPLease
- Subclasses:
None
Properties
Name |
Type |
Flags |
Short Description |
handle
|
int
|
r/w/co |
The lease handle |
Class Details
-
class LibvirtGObject.NetworkDHCPLease(**kwargs)
- Bases:
GObject.Object
- Abstract:
No
- Structure:
LibvirtGObject.NetworkDHCPLeaseClass
-
get_client_id()
- Returns:
The client ID or DUID.
- Return type:
str
-
get_expiry_time()
- Returns:
The expiry time of this lease, as seconds since epoch.
- Return type:
int
-
get_hostname()
- Returns:
The hostname.
- Return type:
str
-
get_iaid()
- Returns:
The IAID.
- Return type:
str
-
get_iface()
- Returns:
The network interface name.
- Return type:
str
-
get_ip()
- Returns:
The IP address.
- Return type:
str
-
get_ip_type()
- Returns:
The type of IP, see LibvirtGObject.IPAddrType
for possible values.
- Return type:
int
-
get_mac()
- Returns:
The MAC address.
- Return type:
str
-
get_prefix()
- Returns:
The number of network address bits in the IP address.
- Return type:
int