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.QName QNAME  
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends CommonSessionParms> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getUsername

        String getUsername()
        Return username, or null if it is not present.
             
                 Name of the user for the session.
             
         
        Returns:
        java.lang.String username, or null if it is not present.
      • getSessionId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.base._1._0.rev110601.SessionIdOrZeroType getSessionId()
        Return sessionId, or null if 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.SessionIdOrZeroType sessionId, or null if it is not present.
      • getSourceHost

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getSourceHost()
        Return sourceHost, or null if 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.IpAddress sourceHost, or null if it is not present.