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 java.util.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.java.util.Set<DomainId>
getDomainIds()
Returns the set of domains that have an associated topology.
-
-
-
Method Detail
-
getDomainIds
java.util.Set<DomainId> getDomainIds()
Returns the set of domains that have an associated topology.- Returns:
- set of domain identifiers
-
getDeviceIds
java.util.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
-
-