Interface IetfNetconfNotificationsListener

  • All Superinterfaces:
    EventListener, org.opendaylight.yangtools.yang.binding.NotificationListener

    @Generated("mdsal-binding-generator")
    public interface IetfNetconfNotificationsListener
    extends org.opendaylight.yangtools.yang.binding.NotificationListener
    Interface for implementing the following YANG notifications defined in module ietf-netconf-notifications
     notification netconf-config-change {
       uses changed-by-parms;
       leaf datastore {
         type enumeration {
           enum running {
           }
           enum startup {
           }
         }
         default running;
       }
       list edit {
         leaf target {
           type instance-identifier;
         }
         leaf operation {
           type nc:edit-operation-type;
         }
       }
     }
     notification netconf-capability-change {
       uses changed-by-parms;
       leaf-list added-capability {
         type inet:uri;
       }
       leaf-list deleted-capability {
         type inet:uri;
       }
       leaf-list modified-capability {
         type inet:uri;
       }
     }
     notification netconf-session-start {
       uses common-session-parms;
     }
     notification netconf-session-end {
       uses common-session-parms;
       leaf killed-by {
         when "../termination-reason = 'killed'";
         type nc:session-id-type;
       }
       leaf termination-reason {
         type enumeration {
           enum closed {
           }
           enum killed {
           }
           enum dropped {
           }
           enum timeout {
           }
           enum bad-hello {
           }
           enum other {
           }
         }
       }
     }
     notification netconf-confirmed-commit {
       uses common-session-parms {
         when "confirm-event != 'timeout'";
       }
       leaf confirm-event {
         type enumeration {
           enum start {
           }
           enum cancel {
           }
           enum timeout {
           }
           enum extend {
           }
           enum complete {
           }
         }
       }
       leaf timeout {
         when "../confirm-event = 'start' or ../confirm-event = 'extend'";
         type uint32;
         units seconds;
       }
     }
     
    • Method Detail

      • onNetconfConfigChange

        void onNetconfConfigChange​(NetconfConfigChange notification)
             
                 Generated when the NETCONF server detects that the <running> or
                 <startup> configuration datastore has been changed by a management
                 session. The notification summarizes the edits that have been detected. The
                 server MAY choose to also generate this notification while loading a datastore
                 during the boot process for the device.
             
         
      • onNetconfCapabilityChange

        void onNetconfCapabilityChange​(NetconfCapabilityChange notification)
             
                 Generated when the NETCONF server detects that the server capabilities have
                 changed. Indicates which capabilities have been added, deleted, and/or modified.
                 The manner in which a server capability is changed is outside the scope of this
                 document.
             
         
      • onNetconfSessionStart

        void onNetconfSessionStart​(NetconfSessionStart notification)
             
                 Generated when a NETCONF server detects that a NETCONF session has started. A
                 server MAY generate this event for non-NETCONF management sessions. Indicates
                 the identity of the user that started the session.
             
         
      • onNetconfSessionEnd

        void onNetconfSessionEnd​(NetconfSessionEnd notification)
             
                 Generated when a NETCONF server detects that a NETCONF session has terminated. A
                 server MAY optionally generate this event for non-NETCONF management sessions.
                 Indicates the identity of the user that owned the session, and why the session
                 was terminated.
             
         
      • onNetconfConfirmedCommit

        void onNetconfConfirmedCommit​(NetconfConfirmedCommit notification)
             
                 Generated when a NETCONF server detects that a confirmed-commit event has
                 occurred. Indicates the event and the current state of the confirmed-commit
                 procedure in progress.