code: def ip4_address(self):
          
          if self._ip4_address is None and self.network is not None:
              self._ip4_address = self._get_ip_address(
                  libvirt.VIR_IP_ADDR_TYPE_IPV4)
  
          return self._ip4_address
docs: Returns the IPv4 address of the network interface.
  
          If multiple interfaces are provided,
          the address of the first found is returned.