python_code_samples_network
A collection of Python Code Samples for Network Management. Includes samples to run on-box and off-box.
File Explorer
Download Latest Version (.zip)- aci-show-tenants.py
- README.md
- gethosts.py
- README.md
- requirements.txt
- apic-em_get_inventory_stats.py
- README.md
- EEM-interface-move-routes.py
- README.md
- README.md
- sl_config_diff_to_spark.py
- spark_notice1.png
- .DS_Store
- delete-config_user.py
- edit-config-permit-native.py
- edit-config-permit-netconf-native.py
- edit-config-permit-netconf.py
- edit-config-user-groups.py
- get-config-nacm.py
- README.md
- update-config-hostname.py
- NC-edit-config-hostname.py
- README.md
- NC-get-config.py
- README.md
- NC-get-config-xpath.py
- README.md
- nc_entity.py
- README.md
- device_info.py
- netmiko-create-interface.py
- netmiko-delete-interface.py
- netmiko-get-interface.py
- README.md
- requirements.txt
- EEM_configuration.txt
- port_flap_email_alert.py
- README.md
- sample_log_file.txt
- README.md
- sho-ver.py
- RC-get-config.py
- README.md
- RC-get-sns.py
- README.md
- delete-Ip-address.py
- get-interface-config.py
- patch-Ip-address-config.py
- post-ipdomain.py
- put-hostname-config.py
- README.md
- README.md
- requirements.txt
- updateip.py
- README.md
- snmp_entity.py
- README.md
- requirements.txt
- spark_checkin.py
- Spark_Message.png
- README.md
- tdr-test.py
- .gitignore
- AGENTS.md
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/CiscoDevNet/python_code_samples_network
Downloads the entire project code from GitHub to your computer.
cd python_code_samples_network
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r apic-em_get_hosts/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
