public interface SourcePortRange extends ChildOf<AclTransportHeaderFields>, Augmentable<SourcePortRange>
This class represents the following YANG schema fragment defined in module ietf-packet-fields
container source-port-range { presence "Enables setting source port range"; leaf lower-port { type inet:port-number; } leaf upper-port { type inet:port-number; must ". >= ../lower-port" { error-message "The upper-port must be greater than or equal to lower-port"; } } }The schema path to identify an instance is ietf-packet-fields/acl-transport-header-fields/source-port-range
To create instances of this class use SourcePortRangeBuilder
.
SourcePortRangeBuilder
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable PortNumber |
getLowerPort()
Lower boundary for port.
|
@Nullable PortNumber |
getUpperPort()
Upper boundary for port .
|
getImplementedInterface
augmentation
@Nullable PortNumber getLowerPort()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
lowerPort
, or null
if not present@Nullable PortNumber getUpperPort()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
upperPort
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.