Package org.onosproject.vpls.api
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddVpls(VplsData vplsData)Adds a VPLS to the configuration.Collection<VplsData>getAllVpls()Gets all the VPLSs.VplsDatagetVpls(String vplsName)Gets a VPLS by name.voidremoveVpls(VplsData vplsData)Removes a VPLS from the configuration.voidupdateVpls(VplsData vplsData)Updates a VPLS.
-
-
-
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
-
-