[j-nsp] NETCONF <get-config> vs. <get-configuration>

Phil Shafer phil at juniper.net
Thu Sep 22 12:46:52 EDT 2016


Phil Shafer writes:
>    my ($method, %args) = @_;

One typo: s/$method/$fn/ on this line.  Then you can:

----
use Net::Netconf::Device;

my %args = (
    "change" => "attribute",
    "commit-scripts" => "attribute",
    "compare" => "attribute",
    "database" => "attribute",
    "database-path" => "attribute",
    "format" => "attribute",
    "inherit" => "attribute",
    "key" => "attribute",
    "configuration" => "dom",
);

Net::Netconf::Device::add_method("get_configuration", %args);
----

We'll get this fix (and defs for the *configuration RPCs) in asap.

Thanks,
 Phil


More information about the juniper-nsp mailing list