Interface ServicePath
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ServicePath>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<LispAddress>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface ServicePath extends org.opendaylight.yangtools.yang.binding.ChildOf<LispAddress>, org.opendaylight.yangtools.yang.binding.Augmentable<ServicePath>
Service Path LCAF type.This class represents the following YANG schema fragment defined in module ietf-lisp-address-types
container service-path { when "../address-type = 'laddr:service-path-lcaf'" { } leaf service-path-id { type service-path-id-type; } leaf service-index { type uint8; } }
The schema path to identify an instance is ietf-lisp-address-types/lisp-address/address/service-path/service-pathTo create instances of this class use
ServicePathBuilder
.- See Also:
ServicePathBuilder
-
-
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 org.opendaylight.yangtools.yang.common.Uint8
getServiceIndex()
Service path index for NSH headerServicePathIdType
getServicePathId()
Service path identifier for the path for NSH headerdefault java.lang.Class<ServicePath>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<ServicePath> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getServicePathId
ServicePathIdType getServicePathId()
Service path identifier for the path for NSH header- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.ServicePathIdType
servicePathId
, ornull
if not present
-
getServiceIndex
org.opendaylight.yangtools.yang.common.Uint8 getServiceIndex()
Service path index for NSH header- Returns:
org.opendaylight.yangtools.yang.common.Uint8
serviceIndex
, ornull
if not present
-
-