Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


https://junos-ansible-modules.readthedocs.io/en/2.3.0/juniper_junos_rpc.html




rpc command


Code Block
titlerpc command
root@SRX300-1-RL102> show chassis hardware detail | display xml rpc
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/19.4R0/junos">
    <rpc>
        <get-chassis-inventory>
                <detail/>
        </get-chassis-inventory>
    </rpc>
    <cli>
        <banner></banner>
    </cli>
</rpc-reply>



ansible hosts file
ansible playbook










...