public interface VtnRscService extends org.onosproject.event.ListenerService<VtnRscEvent,VtnRscListener>
| Modifier and Type | Method and Description |
|---|---|
void |
addDeviceIdOfOvsMap(VirtualPortId virtualPortId,
TenantId tenantId,
org.onosproject.net.DeviceId deviceId)
Adds specify Device identifier to Service Function Forward OvsMap
or Classifier OvsMap.
|
Iterator<org.onosproject.net.Device> |
getClassifierOfTenant(TenantId tenantId)
Returns Classifier Ovs list of the specific tenant.
|
org.onlab.packet.MacAddress |
getGatewayMac(org.onosproject.net.HostId hostId)
Returns gateway mac address of the specific host.
|
SegmentationId |
getL3vni(TenantId tenantId)
Returns the SegmentationId of tenant.
|
SegmentationId |
getL3vni(TenantRouter tenantRouter)
Returns the SegmentationId of tenantRouter.
|
Iterator<org.onosproject.net.Device> |
getSffOfTenant(TenantId tenantId)
Returns Service function forwarders Ovs list of the specific tenant.
|
org.onosproject.net.DeviceId |
getSfToSffMaping(VirtualPortId portId)
Returns device identifier mapping to the specific port.
|
boolean |
isServiceFunction(VirtualPortId portId)
Checks if a specific port is a service function.
|
void |
removeDeviceIdOfOvsMap(org.onosproject.net.Host host,
TenantId tenantId,
org.onosproject.net.DeviceId deviceId)
Removes specify Device identifier from Service Function Forward OvsMap
or Classifier OvsMap.
|
SegmentationId getL3vni(TenantId tenantId)
tenantId - tenant identifierSegmentationId getL3vni(TenantRouter tenantRouter)
tenantRouter - TenantRouterIterator<org.onosproject.net.Device> getClassifierOfTenant(TenantId tenantId)
tenantId - tenant identifierIterator<org.onosproject.net.Device> getSffOfTenant(TenantId tenantId)
tenantId - tenant identifierorg.onlab.packet.MacAddress getGatewayMac(org.onosproject.net.HostId hostId)
hostId - host identifierboolean isServiceFunction(VirtualPortId portId)
portId - port identifierorg.onosproject.net.DeviceId getSfToSffMaping(VirtualPortId portId)
portId - port identifiervoid addDeviceIdOfOvsMap(VirtualPortId virtualPortId, TenantId tenantId, org.onosproject.net.DeviceId deviceId)
virtualPortId - the VirtualPort identifiertenantId - the tenant identifierdeviceId - the device identifiervoid removeDeviceIdOfOvsMap(org.onosproject.net.Host host,
TenantId tenantId,
org.onosproject.net.DeviceId deviceId)
host - HosttenantId - the tenant identifierdeviceId - the device identifier