Interface PortMod
-
- All Superinterfaces:
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 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; } }
The schema path to identify an instance is openflow-protocol/port-mod
-
-
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 Modifier and Type Method Description PortFeatures
getAdvertise()
Return advertise, ornull
if it is not present.PortFeaturesV10
getAdvertiseV10()
Return advertiseV10, ornull
if it is not present.PortConfig
getConfig()
Return config, ornull
if it is not present.PortConfigV10
getConfigV10()
Return configV10, ornull
if it is not present.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.PortConfig
getMask()
Return mask, ornull
if it is not present.PortConfigV10
getMaskV10()
Return maskV10, ornull
if it is not present.PortNumber
getPortNo()
Return portNo, ornull
if it is not present.Class<? extends PortMod>
implementedInterface()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends PortMod> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortNumber
portNo, ornull
if it 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:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
hwAddress, ornull
if it is not present.
-
getConfig
PortConfig getConfig()
Return config, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfig
config, ornull
if it is not present.
-
getMask
PortConfig getMask()
Return mask, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfig
mask, ornull
if it is not present.
-
getAdvertise
PortFeatures getAdvertise()
Return advertise, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures
advertise, ornull
if it is not present.
-
getConfigV10
PortConfigV10 getConfigV10()
Return configV10, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfigV10
configV10, ornull
if it is not present.
-
getMaskV10
PortConfigV10 getMaskV10()
Return maskV10, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfigV10
maskV10, ornull
if it is not present.
-
getAdvertiseV10
PortFeaturesV10 getAdvertiseV10()
Return advertiseV10, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeaturesV10
advertiseV10, ornull
if it is not present.
-
-