Junos Automation (Scripting)
Junos Automation (Scripting)

get output of "show configuration groups junos-defaults applications" via NETCONF

04.16.12   |  
‎04-16-2012 08:58 AM
Dear Community, right now I am unable to find how to retrieve the output of the CLI command show configuration groups junos-defaults applications via netconf -- means I am unable to find how to get this output via the get_config NETCONF method. Can someone point me to the right sources - how do I set up the NETCONF get_config method to retrieve that piece of information? Thank you in advance -- Joachim
--
JoB
1 REPLY
Junos Automation (Scripting)

Re: get output of "show configuration groups junos-defaults applications" via NETCONF

[ Edited ]
04.17.12   |  
‎04-17-2012 07:33 AM

Never mind -- found it -- following the example of

NETCONF Doc

 

specify the filter as

 

<filter type=\"subtree\">
<configuration>
<groups>
<name>junos-defaults</name>
<applications>
</applications>
</groups>
</configuration>
</filter>

 

My apologies if this was a silly question....

--
JoB