lib.sqlalchemy.get_endpoint_information_for_org_network_service - python examples

Here are the examples of the python api lib.sqlalchemy.get_endpoint_information_for_org_network_service taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

3 View Complete Implementation : base.py
Copyright GNU General Public License v3.0
Author : lavalamp-
    def get_endpoint_information(self, service_uuid):
        """
        Get a tuple containing the IP address, port, and protocol astociated with the remote service.
        :param service_uuid: The UUID of the service to retrieve information about.
        :return: A tuple containing (1) the IP address, (2) the port, and (3) the protocol astociated
        with the given service.
        """
        return get_endpoint_information_for_org_network_service(
            service_uuid=service_uuid,
            db_session=self.db_session,
        )

3 View Complete Implementation : base.py
Copyright GNU General Public License v3.0
Author : lavalamp-
    def get_endpoint_information(self):
        """
        Get a tuple containing the IP address, port, and protocol astociated with the remote service.
        :return: A tuple containing (1) the IP address, (2) the port, and (3) the protocol astociated
        with the given service.
        """
        return get_endpoint_information_for_org_network_service(
            service_uuid=self.network_service_uuid,
            db_session=self.db_session,
        )