Interface SetTpSrcAction
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<SetTpSrcAction>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<Action>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface SetTpSrcAction extends org.opendaylight.yangtools.yang.binding.ChildOf<Action>, org.opendaylight.yangtools.yang.binding.Augmentable<SetTpSrcAction>
This class represents the following YANG schema fragment defined in module opendaylight-action-types
container set-tp-src-action { leaf port { type inet:port-number; } leaf ip-protocol { type uint8; default 0; } }
The schema path to identify an instance is opendaylight-action-types/action/action/set-tp-src-action-case/set-tp-src-actionTo create instances of this class use
SetTpSrcActionBuilder
.- See Also:
SetTpSrcActionBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint8
getIpProtocol()
IP protocol.@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
getPort()
default Class<SetTpSrcAction>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<SetTpSrcAction> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPort
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getPort()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
port
, ornull
if not present
-
getIpProtocol
@Nullable org.opendaylight.yangtools.yang.common.Uint8 getIpProtocol()
IP protocol.- Returns:
org.opendaylight.yangtools.yang.common.Uint8
ipProtocol
, ornull
if not present
-
-