public interface ServiceNetworkService extends org.onosproject.event.ListenerService<ServiceNetworkEvent,ServiceNetworkListener>
ServiceNetwork and
ServicePort.| Modifier and Type | Method and Description |
|---|---|
ServiceNetwork |
serviceNetwork(NetworkId networkId)
Returns the service network with the supplied network ID.
|
Set<ServiceNetwork> |
serviceNetworks()
Returns all service networks registered in the service.
|
ServicePort |
servicePort(PortId portId)
Returns the service port with the supplied port ID.
|
Set<ServicePort> |
servicePorts()
Returns all service ports registered in the service.
|
Set<ServicePort> |
servicePorts(NetworkId networkId)
Returns all service ports associated with the supplied network.
|
ServiceNetwork serviceNetwork(NetworkId networkId)
networkId - network idSet<ServiceNetwork> serviceNetworks()
ServicePort servicePort(PortId portId)
portId - port idSet<ServicePort> servicePorts()
Set<ServicePort> servicePorts(NetworkId networkId)
networkId - network idCopyright © 2018. All rights reserved.