Class NeutronLoadBalancerPoolInterface

    • Constructor Detail

      • NeutronLoadBalancerPoolInterface

        @Inject
        public NeutronLoadBalancerPoolInterface​(org.opendaylight.controller.md.sal.binding.api.DataBroker db)
    • Method Detail

      • neutronLoadBalancerPoolMemberExists

        public boolean neutronLoadBalancerPoolMemberExists​(String poolUuid,
                                                           String uuid)
                                                    throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
        Description copied from interface: INeutronLoadBalancerPoolCRUD
        Applications call this interface method to determine if a particular NeutronLoadBalancerPoolMember object exists.
        Specified by:
        neutronLoadBalancerPoolMemberExists in interface INeutronLoadBalancerPoolCRUD
        Parameters:
        poolUuid - UUID of the NeutronLoadBalancerPool object
        uuid - UUID of the NeutronLoadBalancerPoolMember object
        Returns:
        boolean
        Throws:
        org.opendaylight.controller.md.sal.common.api.data.ReadFailedException - if the read failed
      • getNeutronLoadBalancerPoolMember

        public NeutronLoadBalancerPoolMember getNeutronLoadBalancerPoolMember​(String poolUuid,
                                                                              String uuid)
                                                                       throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
        Description copied from interface: INeutronLoadBalancerPoolCRUD
        Applications call this interface method to return if a particular NeutronLoadBalancerPoolMember object exists.
        Specified by:
        getNeutronLoadBalancerPoolMember in interface INeutronLoadBalancerPoolCRUD
        Parameters:
        poolUuid - UUID of the NeutronLoadBalancerPool object
        uuid - UUID of the NeutronLoadBalancerPoolMember object
        Returns:
        NeutronLoadBalancerPoolMember OpenStackNeutronLoadBalancerPoolMember class
        Throws:
        org.opendaylight.controller.md.sal.common.api.data.ReadFailedException - if the read failed
      • getAllNeutronLoadBalancerPoolMembers

        public List<NeutronLoadBalancerPoolMember> getAllNeutronLoadBalancerPoolMembers​(String poolUuid)
                                                                                 throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
        Description copied from interface: INeutronLoadBalancerPoolCRUD
        Applications call this interface method to return all NeutronLoadBalancerPoolMember objects.
        Specified by:
        getAllNeutronLoadBalancerPoolMembers in interface INeutronLoadBalancerPoolCRUD
        Parameters:
        poolUuid - UUID of the NeutronLoadBalancerPool object
        Returns:
        List of OpenStackNetworks objects
        Throws:
        org.opendaylight.controller.md.sal.common.api.data.ReadFailedException - if the read failed
      • addNeutronLoadBalancerPoolMember

        public boolean addNeutronLoadBalancerPoolMember​(String poolUuid,
                                                        NeutronLoadBalancerPoolMember input)
                                                 throws org.opendaylight.yangtools.yang.common.OperationFailedException
        Description copied from interface: INeutronLoadBalancerPoolCRUD
        Applications call this interface method to add a NeutronLoadBalancerPoolMember object to the concurrent map.
        Specified by:
        addNeutronLoadBalancerPoolMember in interface INeutronLoadBalancerPoolCRUD
        Parameters:
        poolUuid - UUID of the NeutronLoadBalancerPool object
        input - OpenStackNetwork object
        Returns:
        boolean on whether the object was added or not
        Throws:
        org.opendaylight.yangtools.yang.common.OperationFailedException - if the read or write failed
      • removeNeutronLoadBalancerPoolMember

        public boolean removeNeutronLoadBalancerPoolMember​(String poolUuid,
                                                           String uuid)
                                                    throws org.opendaylight.yangtools.yang.common.OperationFailedException
        Description copied from interface: INeutronLoadBalancerPoolCRUD
        Applications call this interface method to remove a Neutron NeutronLoadBalancerPoolMember object to the concurrent map.
        Specified by:
        removeNeutronLoadBalancerPoolMember in interface INeutronLoadBalancerPoolCRUD
        Parameters:
        poolUuid - UUID of the NeutronLoadBalancerPool object
        uuid - identifier for the NeutronLoadBalancerPoolMember object
        Returns:
        boolean on whether the object was removed or not
        Throws:
        org.opendaylight.yangtools.yang.common.OperationFailedException - if the read or write failed
      • updateNeutronLoadBalancerPoolMember

        public boolean updateNeutronLoadBalancerPoolMember​(String poolUuid,
                                                           String uuid,
                                                           NeutronLoadBalancerPoolMember delta)
                                                    throws org.opendaylight.yangtools.yang.common.OperationFailedException
        Description copied from interface: INeutronLoadBalancerPoolCRUD
        Applications call this interface method to edit a NeutronLoadBalancerPoolMember object.
        Specified by:
        updateNeutronLoadBalancerPoolMember in interface INeutronLoadBalancerPoolCRUD
        Parameters:
        poolUuid - identifier of the NeutronLoadBalancerPool object
        uuid - identifier of the NeutronLoadBalancerPoolMember object
        delta - OpenStackNeutronLoadBalancerPoolMember object containing changes to apply
        Returns:
        boolean on whether the object was updated or not
        Throws:
        org.opendaylight.yangtools.yang.common.OperationFailedException - if the read or write operation failed
      • neutronLoadBalancerPoolMemberInUse

        public boolean neutronLoadBalancerPoolMemberInUse​(String poolUuid,
                                                          String loadBalancerPoolMemberID)
                                                   throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
        Description copied from interface: INeutronLoadBalancerPoolCRUD
        Applications call this interface method to see if a MAC address is in use.
        Specified by:
        neutronLoadBalancerPoolMemberInUse in interface INeutronLoadBalancerPoolCRUD
        Parameters:
        poolUuid - identifier of the NeutronLoadBalancerPool object
        loadBalancerPoolMemberID - identifier of the NeutronLoadBalancerPoolMember object
        Returns:
        boolean on whether the macAddress is already associated with a port or not
        Throws:
        org.opendaylight.controller.md.sal.common.api.data.ReadFailedException - if the read operation failed
      • createMemberInstanceIdentifier

        protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Member> createMemberInstanceIdentifier​(Pool pool,
                                                                                                                    Member item)
      • createMembersInstanceIdentifier

        protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Members> createMembersInstanceIdentifier​(Pool pool)