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
Copy file name to clipboardExpand all lines: README.md
+12-9Lines changed: 12 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,9 @@ Many Cisco switches and routers provide an on-box Python Interpreter that can be
10
10
11
11
| Code Sample | Description |
12
12
| --- | --- |
13
-
|[Execute CLI via Python](/eem_configdiff_to_spark)| This example is about as simple as it gets. By leveraging the CLI library, we execute the “show version” command on the box. |
14
-
|[TDR Test Every Interface](/Py-sho-ver-onbox)| This example once again leverages the CLI library, but to do something a bit more interesting. A TDR test is run on every interface in “up” status. |
15
-
| EEM Config Changes to Spark | In this example, the EEM library is used to monitor for configuration changes. When one occurs a message is sent to a Cisco Spark Room. |
13
+
|[Execute CLI via Python](/Py-sho-ver-onbox)| This example is about as simple as it gets. By leveraging the CLI library, we execute the “show version” command on the box. |
14
+
|[TDR Test Every Interface](/tdr-test)| This example once again leverages the CLI library, but to do something a bit more interesting. A TDR test is run on every interface in “up” status. |
15
+
|[EEM Config Changes to Spark](/eem_configdiff_to_spark)| In this example, the EEM library is used to monitor for configuration changes. When one occurs a message is sent to a Cisco Spark Room. |
16
16
17
17
18
18
## Off-Box Examples
@@ -21,9 +21,12 @@ Here are few Python scripts that can interact with network elements using one of
21
21
22
22
| Code Sample | Description |
23
23
| --- | --- |
24
-
| MIB Walk with Python | In this example, we perform a MIB walk against a device leveraging the “netsnmp” library for Python. |
25
-
| NETCONF Connection with Python | This example shows the basics of connecting to a device with NETCONF using the “ncclient” library for Python. |
26
-
| Configure Interface IP Address with RESTCONF | In this example the newly ratified RESTCONF standard is used to configure the IP Address on an interface. |
27
-
| Get Inventory from APIC-EM | APIC-EM maintains an inventory database of the entire network. In this example Python is used to retrieve that information using the REST API. |
28
-
| Get Host List from APIC-EM | APIC-EM maintains a list of all clients connected to the network devices discovered by APIC-EM. This example queries the APIC-EM for the list, and display’s it in a simple table. |
29
-
| Retrieve Tenants from ACI APIC | This example leverages the ACI Toolkit to connect to an APIC controller and retrieve the list of Tenants configured. |
24
+
|[MIB Walk with Python](/snmp_entity)| In this example, we perform a MIB walk against a device leveraging the “netsnmp” library for Python. |
25
+
|[NETCONF Connection with Python](/netconf_entity)| This example shows the basics of connecting to a device with NETCONF using the “ncclient” library for Python. |
26
+
|[Configure Interface IP Address with RESTCONF](/restconf_update_ipaddress)| In this example the newly ratified RESTCONF standard is used to configure the IP Address on an interface. |
27
+
|[Get Inventory from APIC-EM](/apic-em_get_inventory_stats)| APIC-EM maintains an inventory database of the entire network. In this example Python is used to retrieve that information using the REST API. |
28
+
|[Get Host List from APIC-EM](/apic-em_get_hosts)| APIC-EM maintains a list of all clients connected to the network devices discovered by APIC-EM. This example queries the APIC-EM for the list, and display’s it in a simple table. |
29
+
|[Retrieve Tenants from ACI APIC](/acitoolkit_show_tenants)| This example leverages the ACI Toolkit to connect to an APIC controller and retrieve the list of Tenants configured. |
30
+
|[Basic NETCONF Get](/NC-get-config)| A basic ncclient example to `<get>` NETCONF Data |
31
+
|[Basic NETCONF Edit](/NC-edit-config)| A basic ncclient example to `<edit-config>` NETCONF Data |
32
+
|[NETCONF XPATH Example](/NC-get-config-xpath)| Use the XPATH feature when making a NETCONF Requests |
0 commit comments