Exemple #1
0
    def update_l7rule(self, l7rule_id, l7rule_updates):
        """Updates an L7 rule.

        :param l7rule_id: ID of the l7rule to update
        :param l7rule_updates: Dict containing updated l7rule attributes
        :returns: None
        :raises L7RuleNotFound: The referenced l7rule was not found
        """

        raise exceptions.NotImplementedError(
            user_fault_string='This provider does not support L7 yet',
            operator_fault_string='This provider does not support L7 yet')
Exemple #2
0
    def update_pool(self, pool_id, pool_updates):
        """Updates a node pool.

        :param pool_id: ID of the pool to update
        :param pool_updates: Dict containing updated pool attributes
        :returns: None
        :raises PoolNotFound: The referenced pool was not found
        """

        raise exceptions.NotImplementedError(
            user_fault_string='This provider does not support pools yet',
            operator_fault_string='This provider does not support pools yet')
Exemple #3
0
    def update_member(self, member_id, member_updates):
        """Updates a pool member.

        :param member_id: ID of the member to update
        :param member_updates: Dict containing updated member attributes
        :returns: None
        :raises MemberNotFound: The referenced member was not found
        """

        raise exceptions.NotImplementedError(
            user_fault_string='This provider does not support members yet',
            operator_fault_string='This provider does not support members yet')
Exemple #4
0
    def failover_loadbalancer(self, load_balancer_id):
        """Perform failover operations for a load balancer.

        :param load_balancer_id: ID for load balancer to failover
        :returns: None
        :raises LBNotFound: The referenced load balancer was not found
        """

        raise exceptions.NotImplementedError(
            user_fault_string='This provider does not support loadbalancer '
            'failover yet.',
            operator_fault_string='This provider does not support loadbalancer '
            'failover yet.')
Exemple #5
0
    def delete_amphora(self, amphora_id):
        """Deletes an existing Amphora.

        :param amphora_id: ID of the amphora to delete
        :returns: None
        :raises AmphoraNotFound: The referenced Amphora was not found
        """
        raise exceptions.NotImplementedError(
            user_fault_string='This provider does not support deleting Amphora'
            'yet.',
            operator_fault_string='This provider does not support deleting '
            'Amphora. We will use preconfigured '
            'devices.')
Exemple #6
0
    def create_amphora(self):
        """Creates an Amphora.

        This is used to create spare amphora.

        :returns: amphora_id
        """
        raise exceptions.NotImplementedError(
            user_fault_string='This provider does not support creating Amphora'
            'yet.',
            operator_fault_string='This provider does not support creating '
            'Amphora. We will use preconfigured '
            'devices.')
Exemple #7
0
    def failover_amphora(self, amphora_id):
        """Perform failover operations for an amphora.

        :param amphora_id: ID for amphora to failover
        :returns: None
        :raises AmphoraNotFound: The referenced amphora was not found
        """

        raise exceptions.NotImplementedError(
            user_fault_string='This provider does not support Amphora '
            'failover.',
            operator_fault_string='This provider does not support Amphora '
            'failover.')
Exemple #8
0
    def amphora_cert_rotation(self, amphora_id):
        """Perform cert rotation for an amphora.

        :param amphora_id: ID for amphora to rotate
        :returns: None
        :raises AmphoraNotFound: The referenced amphora was not found
        """

        raise exceptions.NotImplementedError(
            user_fault_string='This provider does not support rotating Amphora '
            'certs.',
            operator_fault_string='This provider does not support rotating '
            'Amphora certs. We will use preconfigured '
            'devices.')
Exemple #9
0
    def batch_update_members(self, old_member_ids, new_member_ids,
                             updated_members):

        raise exceptions.NotImplementedError(
            user_fault_string='This provider does not support members yet',
            operator_fault_string='This provider does not support members yet')