You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you please share sample complete php code like,
Establishes a connection to the NETCONF server on the routing platform.
Opens a NETCONF session, as described in Starting the NETCONF Session.
Locks the candidate configuration
Requests operational or configuration information, or changes configuration information.
Verifies the syntactic correctness of a configuration before attempting to commit it.
Commits changes made to the configuration, as described in Committing a Configuration.
Unlocks the candidate configuration.
Ends the NETCONF session and closes the connection to the device.
I do not found any example source code how call your netconf-php api and how pass argument. I will be very glad to you for sharing a complete demo. My email address [email protected]
The text was updated successfully, but these errors were encountered:
The following code is the recommended way to send a request to the NETCONF server and shows how to handle error conditions. The $jnx variable is defined to be a NET::Netconf::Manager object.
my $res; # Netconf server response
connect to the Netconf server
my $jnx = new Net::Netconf::Manager(%deviceinfo);
unless (ref $jnx) {
croak "ERROR: $deviceinfo{hostname}: failed to connect.\n";
}
Lock the configuration database before making any changes
Hi ankitjain093,
Thank you very much for your great contribution. Your junOS " NETCONF PHP API" (https://github.com/ankitjain093/netconf-php) great help me.
Would you please share sample complete php code like,
I do not found any example source code how call your netconf-php api and how pass argument. I will be very glad to you for sharing a complete demo. My email address [email protected]
The text was updated successfully, but these errors were encountered: