Interface Ipv4MatchFields
-
- All Superinterfaces:
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
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description 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.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.Class<? extends Ipv4MatchFields>
implementedInterface()
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.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.
-
-
-
Method Detail
-
implementedInterface
Class<? extends Ipv4MatchFields> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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
-
-