Interface VplsStore

  • All Superinterfaces:
    org.onosproject.store.Store<VplsStoreEvent,​org.onosproject.store.StoreDelegate<VplsStoreEvent>>
    All Known Implementing Classes:
    DistributedVplsStore

    public interface VplsStore
    extends org.onosproject.store.Store<VplsStoreEvent,​org.onosproject.store.StoreDelegate<VplsStoreEvent>>
    Definition of the operations regarding the management of the VPLS elements.
    • Method Detail

      • addVpls

        void addVpls​(VplsData vplsData)
        Adds a VPLS to the configuration.
        Parameters:
        vplsData - the VPLS to add
      • removeVpls

        void removeVpls​(VplsData vplsData)
        Removes a VPLS from the configuration.
        Parameters:
        vplsData - the VPLS to remove
      • updateVpls

        void updateVpls​(VplsData vplsData)
        Updates a VPLS.
        Parameters:
        vplsData - the VPLS to update
      • getVpls

        VplsData getVpls​(String vplsName)
        Gets a VPLS by name.
        Parameters:
        vplsName - the VPLS name
        Returns:
        the VPLS instance if it exists; null otherwise
      • getAllVpls

        Collection<VplsData> getAllVpls()
        Gets all the VPLSs.
        Returns:
        all the VPLSs