Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Close the Connection to the NETCONF Server in Perl Client Applications

In NETCONF Perl client applications, you can end the NETCONF session and close the connection to the device by invoking the disconnect method.

Several of the sample scripts included in the NETCONF Perl client distribution invoke the disconnect method in standalone statements. For example:

The edit_configuration.pl sample script invokes the graceful_shutdown method, which takes the appropriate actions with regard to the configuration database and then invokes the disconnect method.