Interface Interface
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Interface>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChoiceIn<Endpoint>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,EndpointType
public interface Interface extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<Interface>, EndpointType
This class represents the following YANG schema fragment defined in module aliveness-monitor
case interface { leaf mac-address { type yang:phys-address; } leaf interface-ip { type inet:ip-address; } leaf interface-name { type string; } }
The schema path to identify an instance is aliveness-monitor/endpoint/endpoint-type/interface
-
-
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.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
getInterfaceIp()
@Nullable java.lang.String
getInterfaceName()
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
getMacAddress()
default java.lang.Class<Interface>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<Interface> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMacAddress
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getMacAddress()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
macAddress
, ornull
if not present
-
getInterfaceIp
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getInterfaceIp()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
interfaceIp
, ornull
if not present
-
getInterfaceName
@Nullable java.lang.String getInterfaceName()
- Returns:
java.lang.String
interfaceName
, ornull
if not present
-
-