public class DnatServiceImpl extends Object implements DnatService
| Constructor and Description |
|---|
DnatServiceImpl(org.onosproject.core.ApplicationId appId)
Construct a DnatServiceImpl object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
programRules(org.onosproject.net.DeviceId deviceId,
org.onlab.packet.IpAddress dstIp,
org.onlab.packet.MacAddress ethSrc,
org.onlab.packet.IpAddress ipDst,
org.onosproject.vtnrsc.SegmentationId actionVni,
org.onosproject.net.flowobjective.Objective.Operation type)
Assemble the DNAT table rules.
|
public DnatServiceImpl(org.onosproject.core.ApplicationId appId)
appId - the application id of vtnpublic void programRules(org.onosproject.net.DeviceId deviceId,
org.onlab.packet.IpAddress dstIp,
org.onlab.packet.MacAddress ethSrc,
org.onlab.packet.IpAddress ipDst,
org.onosproject.vtnrsc.SegmentationId actionVni,
org.onosproject.net.flowobjective.Objective.Operation type)
DnatServiceprogramRules in interface DnatServicedeviceId - Device IddstIp - floating ipethSrc - floating ip gateway macipDst - destination vm ipactionVni - the vni of L3 networktype - the operation type of the flow rulesCopyright © 2015. All rights reserved.