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

def virtManager::IPy::IP::net (   self  ) 

Return the base (first) address of a network as an IP object.

The same as IP[0].

>>> IP('10.0.0.0/8').net()
IP('10.0.0.0')

Reimplemented from virtManager::IPy::IPint.

Definition at line 796 of file IPy.py.

00796                  :
        """Return the base (first) address of a network as an IP object.

        The same as IP[0].

        >>> IP('10.0.0.0/8').net()
        IP('10.0.0.0')
        """
        return IP(IPint.net(self))

    def broadcast(self):


Generated by  Doxygen 1.6.0   Back to index