No keyword with name 'router.Rpc.Cli' found.
Entering in python console I do the following :
>>> from jnpr.junos import Device
>>> jdev=Device(host='10.0.0.1',user='xxxx',password='xxxxx')
>>> jdev.open()
Device(10.0.0.1)
>>> dir(jdev)
['ON_JUNOS', 'Template', '__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_auth_password', '_auth_user', '_auto_probe', '_conf_auth_user', '_conn', '_facts', '_gather_facts', '_hostname', '_j2ldr', '_manages', '_nc_transform', '_norm_transform', '_normalize', '_port', '_ssh_config', '_ssh_private_key_file', '_sshconf_lkup', '_sshconf_path', 'auto_probe', 'bind', 'cli', 'close', 'connected', 'display_xml_rpc', 'execute', 'facts', 'facts_refresh', 'hostname', 'logfile', 'manages', 'open', 'password', 'probe', 'rpc', 'timeout', 'transform', 'user']
>>> jdev.rpc.cli
<bound method _RpcMetaExec.cli of <jnpr.junos.rpcmeta._RpcMetaExec object at 0x24708d0>>
>>> jdev.rpc.cli('show route summary')
<Element output at 0x7fca7c009a00>
Are bound methods supported in RF ? If so, What am I doing wrong ?
PD: Creating a custom Library that contains PyEz Library is working :)
Regards
Pablo