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

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

Return the broadcast (last) address of a network as an IP object.

The same as IP[-1].

>>> IP('10.0.0.0/8').broadcast()
IP('10.255.255.255')

Reimplemented from virtManager::IPy::IPint.

Definition at line 806 of file IPy.py.

00806                        :
        """Return the broadcast (last) address of a network as an IP object.

        The same as IP[-1].

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

    def netmask(self):


Generated by  Doxygen 1.6.0   Back to index