Exemple #1
0
 def __str__(self) -> str:
     return u'Network {} ({}) from {} to {}'.format(
         self.name,
         self.net_string,
         net.longToIp(self.net_start),
         net.longToIp(self.net_end),
     )
Exemple #2
0
    def netStart(self):
        """
        Property to access the quad dotted format of the stored network start

        Returns:
            string representing the dotted quad of this network start
        """
        return net.longToIp(self.net_start)
Exemple #3
0
    def netEnd(self):
        """
        Property to access the quad dotted format of the stored network end

        Returns:
            string representing the dotted quad of this network end
        """
        return net.longToIp(self.net_end)
Exemple #4
0
    def netStart(self) -> str:
        """
        Property to access the quad dotted format of the stored network start

        Returns:
            string representing the dotted quad of this network start
        """
        return net.longToIp(self.net_start)
Exemple #5
0
    def netEnd(self) -> str:
        """
        Property to access the quad dotted format of the stored network end

        Returns:
            string representing the dotted quad of this network end
        """
        return net.longToIp(self.net_end)
Exemple #6
0
 def __str__(self):
     return u'Network {0} ({1}) from {2} to {3}'.format(self.name, self.net_string, net.longToIp(self.net_start), net.longToIp(self.net_end))
Exemple #7
0
 def __str__(self):
     return u'Network {0} ({1}) from {2} to {3}'.format(self.name, self.net_string, net.longToIp(self.net_start), net.longToIp(self.net_end))