Interface L2TunnelPolicy
-
- All Known Implementing Classes:
DefaultL2TunnelPolicy
public interface L2TunnelPolicy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.onosproject.net.ConnectPointcP1()Returns the first connect point of the policy.org.onlab.packet.VlanIdcP1InnerTag()Returns the cP1 inner vlan tag of the policy.org.onlab.packet.VlanIdcP1OuterTag()Returns the cP1 outer vlan tag of the policy.org.onosproject.net.ConnectPointcP2()Returns the second connect point of the policy.org.onlab.packet.VlanIdcP2InnerTag()Returns the cP2 inner vlan tag of the policy.org.onlab.packet.VlanIdcP2OuterTag()Returns the cP2 outer vlan tag of the policy.longtunnelId()Returns the tunnel ID of the policy.
-
-
-
Method Detail
-
cP1
org.onosproject.net.ConnectPoint cP1()
Returns the first connect point of the policy.- Returns:
- first connect point
-
cP2
org.onosproject.net.ConnectPoint cP2()
Returns the second connect point of the policy.- Returns:
- second connect point
-
cP1InnerTag
org.onlab.packet.VlanId cP1InnerTag()
Returns the cP1 inner vlan tag of the policy.- Returns:
- cP1 inner vlan tag
-
cP1OuterTag
org.onlab.packet.VlanId cP1OuterTag()
Returns the cP1 outer vlan tag of the policy.- Returns:
- cP1 outer vlan tag
-
cP2InnerTag
org.onlab.packet.VlanId cP2InnerTag()
Returns the cP2 inner vlan tag of the policy.- Returns:
- cP2 inner vlan tag
-
cP2OuterTag
org.onlab.packet.VlanId cP2OuterTag()
Returns the cP2 outer vlan tag of the policy.- Returns:
- cP2 outer vlan tag
-
tunnelId
long tunnelId()
Returns the tunnel ID of the policy.- Returns:
- Tunnel ID
-
-