Example #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),
     )
Example #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)
Example #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)
Example #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)
Example #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)
Example #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))
Example #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))