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

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

Return the IP version of this Object.

>>> IP('10.0.0.0/8').version()
4
>>> IP('::1').version()
6

Definition at line 319 of file IPy.py.

00319                      :
        """Return the IP version of this Object.

        >>> IP('10.0.0.0/8').version()
        4
        >>> IP('::1').version()
        6
        """
        return self._ipversion

    def prefixlen(self):


Generated by  Doxygen 1.6.0   Back to index