コード例 #1
0
ファイル: network.py プロジェクト: krishuang0610/openuds
 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),
     )
コード例 #2
0
ファイル: Network.py プロジェクト: dkmstr/openuds
    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)
コード例 #3
0
ファイル: Network.py プロジェクト: dkmstr/openuds
    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)
コード例 #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)
コード例 #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)
コード例 #6
0
ファイル: Network.py プロジェクト: dkmstr/openuds
 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))
コード例 #7
0
ファイル: Network.py プロジェクト: aiminickwong/openuds
 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))