public interface ServiceNetworkStore extends org.onosproject.store.Store<ServiceNetworkEvent,ServiceNetworkStoreDelegate>
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Purges the service network store.
|
void |
createServiceNetwork(ServiceNetwork serviceNetwork)
Creates new service network.
|
void |
createServicePort(ServicePort servicePort)
Creates service port.
|
ServiceNetwork |
removeServiceNetwork(NetworkId networkId)
Removes the service network with the given network id.
|
ServicePort |
removeServicePort(PortId portId)
Removes service port.
|
ServiceNetwork |
serviceNetwork(NetworkId networkId)
Returns the service network with the given network id.
|
Set<ServiceNetwork> |
serviceNetworks()
Returns all service networks.
|
ServicePort |
servicePort(PortId portId)
Returns the service port with the given port id.
|
Set<ServicePort> |
servicePorts()
Returns all service ports.
|
void |
updateServiceNetwork(ServiceNetwork serviceNetwork)
Updates the service network.
|
void |
updateServicePort(ServicePort servicePort)
Updates the service port.
|
void clear()
void createServiceNetwork(ServiceNetwork serviceNetwork)
serviceNetwork - service networkvoid updateServiceNetwork(ServiceNetwork serviceNetwork)
serviceNetwork - service networkServiceNetwork serviceNetwork(NetworkId networkId)
networkId - network idSet<ServiceNetwork> serviceNetworks()
ServiceNetwork removeServiceNetwork(NetworkId networkId)
networkId - network idvoid createServicePort(ServicePort servicePort)
servicePort - the new service portvoid updateServicePort(ServicePort servicePort)
servicePort - service portServicePort servicePort(PortId portId)
portId - port idSet<ServicePort> servicePorts()
ServicePort removeServicePort(PortId portId)
portId - port idCopyright © 2018. All rights reserved.