public interface SnatService
| Modifier and Type | Method and Description |
|---|---|
void |
programRules(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId matchVni,
org.onlab.packet.IpAddress srcIP,
org.onlab.packet.MacAddress ethDst,
org.onlab.packet.MacAddress ethSrc,
org.onlab.packet.IpAddress ipSrc,
org.onosproject.vtnrsc.SegmentationId actionVni,
org.onosproject.net.flowobjective.Objective.Operation type)
Assemble the SNAT table rules.
|
void programRules(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId matchVni,
org.onlab.packet.IpAddress srcIP,
org.onlab.packet.MacAddress ethDst,
org.onlab.packet.MacAddress ethSrc,
org.onlab.packet.IpAddress ipSrc,
org.onosproject.vtnrsc.SegmentationId actionVni,
org.onosproject.net.flowobjective.Objective.Operation type)
deviceId - Device IdmatchVni - the vni of L3 networksrcIP - source ipethDst - external gateway macethSrc - external port macipSrc - floating ipactionVni - external network VNItype - the operation type of the flow rulesCopyright © 2015. All rights reserved.