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