public class ContainerFlowConfig extends org.opendaylight.controller.configuration.ConfigurationObject implements Serializable
| Constructor and Description |
|---|
ContainerFlowConfig()
Instantiates a new container flow config.
|
ContainerFlowConfig(ContainerFlowConfig containerFlowConfig) |
ContainerFlowConfig(String name,
String srcIP,
String dstIP,
String proto,
String srcPort,
String dstPort)
Instantiates a new container flow config.
|
ContainerFlowConfig(String name,
String dlVlan,
String srcIP,
String dstIP,
String proto,
String srcPort,
String dstPort) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
equalsByMatch(ContainerFlowConfig that)
equalsByMatch
|
boolean |
equalsByName(String name)
Equals by Flow Spec name.
|
String |
getDstIP()
Returns the Destination IP Address.
|
Short |
getDstIPMaskLen()
Returns the Destination IP Address mask length.
|
InetAddress |
getDstIPNum()
Returns the Destination IP Address.
|
String |
getDstPort()
Returns Destination Layer4 Port.
|
Short |
getDstPortNum()
Returns Destination Layer4 Port number.
|
List<org.opendaylight.controller.sal.match.Match> |
getMatches()
Returns the matches.
|
String |
getName()
Returns the name of this Flow Specification
|
String |
getProtocol()
Returns the protocol.
|
Short |
getProtoNum()
Get the IP protocol value
|
String |
getSrcIP()
Returns the Source IP Address.
|
Short |
getSrcIPMaskLen()
Returns the Source IP Address mask length.
|
InetAddress |
getSrcIPNum()
Returns the Source IP Address.
|
String |
getSrcPort()
Returns Source Layer4 Port.
|
Short |
getSrcPortNum()
Returns Source Layer4 Port number.
|
String |
getVlan()
Returns the vlan id.
|
Set<Short> |
getVlanList()
Returns the vlan id number for all vlans specified
|
int |
hashCode() |
boolean |
isUnidirectional() |
boolean |
overlap(ContainerFlowConfig other)
Returns whether this container flow overlap with the passed one This is
true when any two of the resulting matches for the two container flow
configurations intersect.
|
String |
toString() |
org.opendaylight.controller.sal.utils.Status |
validate()
Checks if this flow specification configuration is valid.
|
public ContainerFlowConfig()
public ContainerFlowConfig(String name, String srcIP, String dstIP, String proto, String srcPort, String dstPort)
name - Flow Spec configuration namecontainer - Container NamesrcIP - Source IP AddressdstIP - Destination IP Addressproto - ProtocolsrcPort - Source Layer4 PortdstPort - Destination Layer4 Portpublic ContainerFlowConfig(String name, String dlVlan, String srcIP, String dstIP, String proto, String srcPort, String dstPort)
public ContainerFlowConfig(ContainerFlowConfig containerFlowConfig)
public String getName()
public String getVlan()
public String getSrcIP()
public String getDstIP()
public String getProtocol()
public String getSrcPort()
public String getDstPort()
public boolean isUnidirectional()
public boolean equalsByName(String name)
name - flow spec name for comparisonpublic boolean equalsByMatch(ContainerFlowConfig that)
that - ContainerFlowConfig for comparisonpublic Set<Short> getVlanList()
public Short getSrcIPMaskLen()
public Short getDstIPMaskLen()
public InetAddress getSrcIPNum()
public InetAddress getDstIPNum()
public Short getSrcPortNum()
public Short getDstPortNum()
public Short getProtoNum()
public boolean overlap(ContainerFlowConfig other)
other - the other container flow config with which checking the
overlappublic org.opendaylight.controller.sal.utils.Status validate()
public List<org.opendaylight.controller.sal.match.Match> getMatches()
Copyright © 2016. All Rights Reserved.