Interface MorpheusSynchronousVirtualSwitchSegmentService
- All Superinterfaces:
MorpheusSynchronousDataService<VirtualSwitchSegment,VirtualSwitchSegment>
public interface MorpheusSynchronousVirtualSwitchSegmentService
extends MorpheusSynchronousDataService<VirtualSwitchSegment,VirtualSwitchSegment>
Synchronous service interface for interacting with
VirtualSwitchSegment objects in a blocking fashion.
Provides standard CRUD operations for traffic segments within a VirtualSwitch.
Access via:
morpheusContext.getServices().getNetwork().getVirtualSwitch().getSegment()
- Since:
- 1.5.0
-
Method Summary
Modifier and TypeMethodDescriptionlistByVirtualSwitchId(Long virtualSwitchId) List all segments belonging to a specific VirtualSwitch.Methods inherited from interface com.morpheusdata.core.MorpheusSynchronousDataService
bulkCreate, bulkRemove, bulkSave, count, create, create, find, get, getDataService, list, listById, listOptions, remove, remove, save, save, search
-
Method Details
-
listByVirtualSwitchId
List all segments belonging to a specific VirtualSwitch.- Parameters:
virtualSwitchId- the ID of the parent VirtualSwitch- Returns:
- List of VirtualSwitchSegment
-