Logo Search packages:      
Sourcecode: virt-manager version File versions  Download package

def virtManager::IPy::IPint::int (   self  ) 

Return the first / base / network addess as an (long) integer.

The same as IP[0].

>>> hex(IP('10.0.0.0/8').int())
'0xA000000L'

Definition at line 309 of file IPy.py.

00309                  :
        """Return the first / base / network addess as an (long) integer.

        The same as IP[0].

        >>> hex(IP('10.0.0.0/8').int())
        '0xA000000L'
        """
        return self.ip

    def version(self):


Generated by  Doxygen 1.6.0   Back to index