Interface PortMod$G
- 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
,OfHeader
- All Known Subinterfaces:
PortModCaseData
,PortModInput
@Generated("mdsal-binding-generator")
public interface PortMod$G
extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping port-mod { uses ofHeader; leaf port-no { type oft:port-number; } leaf hw-address { type yang:mac-address; } leaf config { type oft:port-config; } leaf mask { type oft:port-config; } leaf advertise { type oft:port-features; } leaf config-v10 { type oft:port-config-v10; } leaf mask-v10 { type oft:port-config-v10; } leaf advertise-v10 { type oft:port-features-v10; } }
-
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 TypeMethodDescriptionReturn advertise, ornull
if it is not present.Return advertiseV10, ornull
if it is not present.Return config, ornull
if it is not present.Return configV10, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
Return hwAddress, ornull
if it is not present.getMask()
Return mask, ornull
if it is not present.Return maskV10, ornull
if it is not present.Return portNo, ornull
if it is not present.default @NonNull PortFeatures
Return advertise, guaranteed to be non-null.default @NonNull PortFeaturesV10
Return advertiseV10, guaranteed to be non-null.default @NonNull PortConfig
Return config, guaranteed to be non-null.default @NonNull PortConfigV10
Return configV10, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
Return hwAddress, guaranteed to be non-null.default @NonNull PortConfig
Return mask, guaranteed to be non-null.default @NonNull PortConfigV10
Return maskV10, guaranteed to be non-null.default @NonNull PortNumber
Return portNo, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid, requireVersion, requireXid
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
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
- Specified by:
implementedInterface
in interfaceOfHeader
-
getPortNo
PortNumber getPortNo()Return portNo, ornull
if it is not present.- Returns:
PortNumber
portNo, ornull
if it is not present.
-
requirePortNo
Return portNo, guaranteed to be non-null.- Returns:
PortNumber
portNo, guaranteed to be non-null.- Throws:
NoSuchElementException
- if portNo is not present
-
getHwAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getHwAddress()Return hwAddress, ornull
if it is not present.- Returns:
MacAddress
hwAddress, ornull
if it is not present.
-
requireHwAddress
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress requireHwAddress()Return hwAddress, guaranteed to be non-null.- Returns:
MacAddress
hwAddress, guaranteed to be non-null.- Throws:
NoSuchElementException
- if hwAddress is not present
-
getConfig
PortConfig getConfig()Return config, ornull
if it is not present.- Returns:
PortConfig
config, ornull
if it is not present.
-
requireConfig
Return config, guaranteed to be non-null.- Returns:
PortConfig
config, guaranteed to be non-null.- Throws:
NoSuchElementException
- if config is not present
-
getMask
PortConfig getMask()Return mask, ornull
if it is not present.- Returns:
PortConfig
mask, ornull
if it is not present.
-
requireMask
Return mask, guaranteed to be non-null.- Returns:
PortConfig
mask, guaranteed to be non-null.- Throws:
NoSuchElementException
- if mask is not present
-
getAdvertise
PortFeatures getAdvertise()Return advertise, ornull
if it is not present.- Returns:
PortFeatures
advertise, ornull
if it is not present.
-
requireAdvertise
Return advertise, guaranteed to be non-null.- Returns:
PortFeatures
advertise, guaranteed to be non-null.- Throws:
NoSuchElementException
- if advertise is not present
-
getConfigV10
PortConfigV10 getConfigV10()Return configV10, ornull
if it is not present.- Returns:
PortConfigV10
configV10, ornull
if it is not present.
-
requireConfigV10
Return configV10, guaranteed to be non-null.- Returns:
PortConfigV10
configV10, guaranteed to be non-null.- Throws:
NoSuchElementException
- if configV10 is not present
-
getMaskV10
PortConfigV10 getMaskV10()Return maskV10, ornull
if it is not present.- Returns:
PortConfigV10
maskV10, ornull
if it is not present.
-
requireMaskV10
Return maskV10, guaranteed to be non-null.- Returns:
PortConfigV10
maskV10, guaranteed to be non-null.- Throws:
NoSuchElementException
- if maskV10 is not present
-
getAdvertiseV10
PortFeaturesV10 getAdvertiseV10()Return advertiseV10, ornull
if it is not present.- Returns:
PortFeaturesV10
advertiseV10, ornull
if it is not present.
-
requireAdvertiseV10
Return advertiseV10, guaranteed to be non-null.- Returns:
PortFeaturesV10
advertiseV10, guaranteed to be non-null.- Throws:
NoSuchElementException
- if advertiseV10 is not present
-