Package org.onosproject.net.domain
Interface DomainService
-
public interface DomainService
Service to access domain topology elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<DeviceId>
getDeviceIds(DomainId domainId)
Returns the set of the device ids of the specified domain.DomainId
getDomain(DeviceId deviceId)
Returns a domain given a device id.Set<DomainId>
getDomainIds()
Returns the set of domains that have an associated topology.
-
-
-
Method Detail
-
getDomainIds
Set<DomainId> getDomainIds()
Returns the set of domains that have an associated topology.- Returns:
- set of domain identifiers
-
getDeviceIds
Set<DeviceId> getDeviceIds(DomainId domainId)
Returns the set of the device ids of the specified domain.- Parameters:
domainId
- domain identifier- Returns:
- set of device objects
-
-