Class NeutronTapFlowInterface

    • Constructor Detail

      • NeutronTapFlowInterface

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

      • createTapFlowInstanceIdentifier

        protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TapFlow> createTapFlowInstanceIdentifier​(String tapServiceUUID,
                                                                                                                      TapFlow item)
      • tapFlowExists

        public boolean tapFlowExists​(String tapServiceUUID,
                                     String tapFlowUUID)
                              throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
        Description copied from interface: INeutronTapFlowCRUD
        Applications call this interface method to check if a NeutronTapFlow object exists.
        Specified by:
        tapFlowExists in interface INeutronTapFlowCRUD
        Parameters:
        tapServiceUUID - UUID of Tap Service
        tapFlowUUID - UUID of Tap Flow
        Returns:
        boolean on whether the object was added or not
        Throws:
        org.opendaylight.controller.md.sal.common.api.data.ReadFailedException - if the read failed
      • updateTapFlow

        public void updateTapFlow​(NeutronTapFlow tapFlow)
                           throws org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
        Description copied from interface: INeutronTapFlowCRUD
        Applications call this interface method to update a NeutronTapFlow object to the concurrent map.
        Specified by:
        updateTapFlow in interface INeutronTapFlowCRUD
        Parameters:
        tapFlow - OpenStackNetwork object
        Throws:
        org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException - if the write failed
      • addTapFlow

        public boolean addTapFlow​(NeutronTapFlow tapFlow)
                           throws org.opendaylight.yangtools.yang.common.OperationFailedException
        Description copied from interface: INeutronTapFlowCRUD
        Applications call this interface method to add a NeutronTapFlow object to the concurrent map.
        Specified by:
        addTapFlow in interface INeutronTapFlowCRUD
        Parameters:
        tapFlow - 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
      • getTapFlow

        public NeutronTapFlow getTapFlow​(String tapServiceUUID,
                                         String tapFlowUUID)
                                  throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
        Description copied from interface: INeutronTapFlowCRUD
        Applications call this interface method to get a NeutronTapFlow object.
        Specified by:
        getTapFlow in interface INeutronTapFlowCRUD
        Parameters:
        tapServiceUUID - UUID of Tap Service
        tapFlowUUID - UUID of Tap Flow
        Returns:
        NeutronTapFlow object
        Throws:
        org.opendaylight.controller.md.sal.common.api.data.ReadFailedException - if the read failed
      • deleteTapFlow

        public void deleteTapFlow​(String tapServiceUUID,
                                  String tapFlowUUID)
                           throws org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
        Description copied from interface: INeutronTapFlowCRUD
        Applications call this interface method to delete a NeutronTapFlow object.
        Specified by:
        deleteTapFlow in interface INeutronTapFlowCRUD
        Parameters:
        tapServiceUUID - UUID of Tap Service
        tapFlowUUID - UUID of Tap Flow
        Throws:
        org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException - if the write failed