Interface Ipv4MatchFields
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Ipv4Match
@Generated("mdsal-binding-generator")
public interface Ipv4MatchFields
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-match-types
grouping ipv4-match-fields { leaf ipv4-source { type inet:ipv4-prefix; } leaf ipv4-destination { type inet:ipv4-prefix; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
Return ipv4Destination, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
Return ipv4Source, ornull
if it is not present.Class<? extends Ipv4MatchFields>
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
Return ipv4Destination, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
Return ipv4Source, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends Ipv4MatchFields> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getIpv4Source
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix getIpv4Source()Return ipv4Source, ornull
if it is not present.IPv4 source address.
- Returns:
Ipv4Prefix
ipv4Source, ornull
if it is not present.
-
requireIpv4Source
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix requireIpv4Source()Return ipv4Source, guaranteed to be non-null.IPv4 source address.
- Returns:
Ipv4Prefix
ipv4Source, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipv4Source is not present
-
getIpv4Destination
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix getIpv4Destination()Return ipv4Destination, ornull
if it is not present.IPv4 destination address.
- Returns:
Ipv4Prefix
ipv4Destination, ornull
if it is not present.
-
requireIpv4Destination
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix requireIpv4Destination()Return ipv4Destination, guaranteed to be non-null.IPv4 destination address.
- Returns:
Ipv4Prefix
ipv4Destination, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipv4Destination is not present
-