Interface RouterInterface
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<RouterInterface>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<RouterInterfaces>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<RouterInterfaceKey>
public interface RouterInterface extends org.opendaylight.yangtools.yang.binding.ChildOf<RouterInterfaces>, org.opendaylight.yangtools.yang.binding.Augmentable<RouterInterface>, org.opendaylight.yangtools.yang.binding.Identifiable<RouterInterfaceKey>
This class represents the following YANG schema fragment defined in module odl-l3vpn
list router-interface { key interface-name; leaf interface-name { type string; } leaf router-name { type string; } }
The schema path to identify an instance is odl-l3vpn/router-interfaces/router-interfaceTo create instances of this class use
RouterInterfaceBuilder
.- See Also:
RouterInterfaceBuilder
,RouterInterfaceKey
-
-
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 java.lang.String
getInterfaceName()
@Nullable java.lang.String
getRouterName()
default java.lang.Class<RouterInterface>
implementedInterface()
RouterInterfaceKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<RouterInterface> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInterfaceName
@Nullable java.lang.String getInterfaceName()
- Returns:
java.lang.String
interfaceName
, ornull
if not present
-
getRouterName
@Nullable java.lang.String getRouterName()
- Returns:
java.lang.String
routerName
, ornull
if not present
-
key
RouterInterfaceKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<RouterInterfaceKey>
-
-