Skip to main content

vicmiko

    Python library  to interact with Junos devices. Based on jnpr-pyez and jsnapy.
    
    ## Install
    ```
    pip install vicmiko
    ```
    
    ## Feature supported
    1.  junos_get: get from junos box, support pipe
    2.  junos_compare: show diffs of config
    3.  junos_commit: commit config to box
    4.  jsnapy_pre
    5.  jsnapy_post
    6.  jsnapy_check
    7.  junos_rpc
    8.  junos_view
    9.  junos_ping
    10. junos_traceroute
    11. junos_commit_file
    12. junos_compare_file
    13. junos_install
    
    ## Example
    ```
    from vicmiko.junos import JunOSDriver
    from vicmiko import junos
    
    jnpr = JunOSDriver(hostname='192.168.0.1',username="admin",password="admin")
    jnpr.open()
    
    jnpr.junos_get(['show version'])
    jnpr.junos_rpc('get-software-information')
    jnpr.junos_rpc('get-software-information',to_str=0)
    jnpr.junos_compare(['set interfaces ge-0/0/0 description "to SRX300 port 01"'])
    jnpr.load_junos_view('view.yml')
    mem = junos.junos_routing_engine_table(jnpr.device) 
    jnpr.jsnapy_pre(['test_memory.yml'])
    jnpr.junos_commit(mode='exclusive', commands=['set interfaces ge-0/0/0 description "to SRX300 port 00"'], commit_comments='vicmiko test')
    jnpr.junos_ping(host= '111.69.2.29')
    jnpr.junos_traceroute(host= '111.69.2.29')
    jnpr.junos_scp(mode='put',local = 'test.txt', remote = '/var/tmp/')
    jnpr.junos_scp(mode='get',local = '.', remote = '/var/tmp/test.txt')
    ```

Metadata

Release files for vicmiko 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vicmiko 0.1.0
File Size Uploaded
vicmiko-0.1.0.tar.gz 7.2 kB Details

Release files / vicmiko-0.1.0.tar.gz

Download URL vicmiko-0.1.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8c86d244b93768b7a8e8e27ce1abba38d999e02dd2449201a39b8e7cd6a38049
BLAKE2b-256 checksum
How to use checksums
248fab8efee0092fdffacbfb7112bc47a898a4e4bc9458f6a026edf60318cb1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page