@staticmethod
def _get_port(from_port, to_port):
    """
        will build a string that is a port range or a port number
        depending upon the from_port and to_port value
        """
    if from_port == to_port:
        return str(from_port)
    return '{0}-{1}'.format(str(from_port), str(to_port))
