Package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206
Interface CommonSessionParms
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
ByUser,NetconfConfirmedCommit,NetconfSessionEnd,NetconfSessionStart
@Generated("mdsal-binding-generator") public interface CommonSessionParms extends org.opendaylight.yangtools.yang.binding.DataObject
Common session parameters to identify a management session.This class represents the following YANG schema fragment defined in module ietf-netconf-notifications
grouping common-session-parms { leaf username { type string; } leaf session-id { type nc:session-id-or-zero-type; } leaf source-host { type inet:ip-address; } }The schema path to identify an instance is ietf-netconf-notifications/common-session-parms
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.base._1._0.rev110601.SessionIdOrZeroTypegetSessionId()Return sessionId, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressgetSourceHost()Return sourceHost, ornullif it is not present.StringgetUsername()Return username, ornullif it is not present.Class<? extends CommonSessionParms>implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends CommonSessionParms> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getUsername
String getUsername()
Return username, ornullif it is not present.Name of the user for the session.- Returns:
java.lang.Stringusername, ornullif it is not present.
-
getSessionId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.base._1._0.rev110601.SessionIdOrZeroType getSessionId()
Return sessionId, ornullif it is not present.Identifier of the session. A NETCONF session MUST be identified by a non-zero value. A non-NETCONF session MAY be identified by the value zero.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.base._1._0.rev110601.SessionIdOrZeroTypesessionId, ornullif it is not present.
-
getSourceHost
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getSourceHost()
Return sourceHost, ornullif it is not present.Address of the remote host for the session.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddresssourceHost, ornullif it is not present.
-
-