[j-nsp] Ansible juniper_junos -add license module?

Nitzan Tzelniker nitzan.tzelniker at gmail.com
Tue Mar 27 19:56:48 EDT 2018


I dont think rpc will be good option as the command "request system license
add " dose not have rpc
May be junos_command will do it but I am not sure

user at switch> request system license add  jj | display xml rpc
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/17.3R2/junos">
    <message>
        xml rpc equivalent of this command is not available.
    </message>
    <cli>
        <banner>{master:0}</banner>
    </cli>
</rpc-reply>

Nitzan


On Mon, Mar 26, 2018 at 2:51 PM Jean Benoit <jean at unistra.fr> wrote:

> On Sun, Mar 25, 2018 at 03:59:14PM +0100, adamv0025 at netconsultings.com
> wrote:
> > [...]
> > If not how can I send ^D (ctrl+D a.k.a end of file) in expect script
> please?
>
>
>         # ASCII 4: EOT (end of transmission)
>         set ctrlD \004
>
>         send $ctrlD
>
> --
> Jean
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>


More information about the juniper-nsp mailing list