You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -13,20 +14,20 @@ It's main purpose is to simplify the execution of common tasks including:
13
14
14
15
# Supported Platforms
15
16
17
+
* Cisco AireOS - uses netmiko (SSH)
18
+
* Cisco ASA - uses netmiko (SSH)
16
19
* Cisco IOS platforms - uses netmiko (SSH)
17
20
* Cisco NX-OS - uses pynxos (NX-API)
18
21
* Arista EOS - uses pyeapi (eAPI)
19
22
* Juniper Junos - uses PyEz (NETCONF)
20
23
* F5 Networks - uses f5-sdk (ReST)
21
24
22
-
It is a multi-vendor AND multi-API library.
23
-
24
25
# Installing pyntc
25
26
26
27
Option 1:
27
28
28
29
```
29
-
"sudo pip install pyntc" or "sudo pip install pyntc --upgrade"
30
+
"pip install pyntc" or "pip install pyntc --upgrade"
30
31
```
31
32
32
33
Option 2:
@@ -43,7 +44,7 @@ poetry install
43
44
44
45
There are two ways to get started with pyntc.
45
46
46
-
The first way is to use the `ntc_device` object. Just pass in all required parameters to the object to initialize your device. Here we are showing the import, but renaming the object to `NTC`.
47
+
The first way is to use the `ntc_device` object. Just pass in all required parameters to the object to initialize your device. Here we are showing the import, but renaming the object to `NTC`.
47
48
48
49
```
49
50
>>> from pyntc import ntc_device as NTC
@@ -53,10 +54,13 @@ The first way is to use the `ntc_device` object. Just pass in all required para
53
54
Like many libraries, we need to pass in the host/IP and credentials. Because this is a multi-vendor/API library, we also use the `device_type` parameter to identify which device we are building an instance of.
54
55
55
56
pyntc currently supports four device types:
57
+
* cisco_aireos_ssh
58
+
* cisco_asa_ssh
56
59
* cisco_ios_ssh
57
60
* cisco_nxos_nxapi
58
61
* arista_eos_eapi
59
62
* juniper_junos_netconf
63
+
* f5_tmos_icontrol
60
64
61
65
The example below shows how to build a device object when working with a Cisco IOS router.
0 commit comments