├── .gitignore ├── Chapter01 ├── helloworld.py └── myfirstprog.ps1 ├── Chapter02 ├── checkargs.py ├── checkfunction.py ├── checkfunction1.py ├── checkfunction2.py ├── checkfunction3.py ├── checknetmiko.py ├── checknetmiko1.py ├── checknetmiko2.py ├── checkparallel.py ├── checkvowel.py ├── nestedcondition (2).py ├── nestedcondition.py ├── sample1.ps1 ├── sample2.ps1 ├── sample3.ps1 ├── sample4.ps1 ├── sample5.ps1 ├── sample6.ps1 └── sample7.ps1 ├── Chapter03 ├── apvlanpush.py ├── apvlanpush1.py ├── bgpconfigpush.py ├── bgpipaddressiter.py ├── bgpipconfig.py ├── bgpwhois.py ├── checks.py ├── checksolarwindsipam.py ├── comparefiles.aspx ├── comparefiles.aspx.vb ├── ipphonepush.py ├── prepostcheck.html ├── selectfiles.aspx └── selectfiles.aspx.vb ├── Chapter04 ├── acisdk.py ├── checkarista.py ├── checkaws.py ├── checkaws1.py ├── checkaws2.py ├── checksolarwinds.py ├── getmeshvalues.py └── pingmesh.py ├── Chapter05 ├── chapter5_1.py ├── chapter5_2.py ├── chapter5_3.py ├── chapter5_4.py ├── commands.txt ├── devices.json ├── hosts.json ├── iosv-1_output.txt └── iosv-2_output.txt ├── Chapter06 ├── Arista │ ├── eapi_1.py │ ├── eapi_2.py │ ├── eapi_2_acl.py │ └── pyeapi_1.py ├── Cisco │ ├── cisco_apic_em_1.py │ ├── cisco_nxapi_1.py │ ├── cisco_nxapi_2.py │ ├── cisco_nxapi_3.py │ ├── cisco_nxapi_4.py │ ├── cisco_yang_1.py │ └── cisco_yang_1_interfaces.xml └── Juniper │ ├── junos_netconf_1.py │ ├── junos_netconf_2.py │ ├── junos_netconf_3.py │ ├── junos_pyez_1.py │ └── junos_pyez_2.py ├── Chapter07 ├── ansible_2-5_example │ ├── backup │ │ ├── iosv-1_config.2018-07-11@19_01_55 │ │ └── iosv-2_config.2018-07-11@19_01_55 │ ├── host_vars │ │ ├── iosv-1 │ │ └── iosv-2 │ ├── hosts │ └── my_playbook.yml ├── arista_1.yml ├── cisco_1.yml ├── cisco_2.yml ├── cisco_3.yml ├── cisco_4.yml ├── cisco_5.yml ├── df_playbook.json ├── df_playbook.yml ├── hosts └── juniper_1.yml ├── Chapter08 ├── Custom_Modules │ ├── chapter8_14.yml │ ├── chapter8_15.yml │ └── library │ │ ├── custom_module_1.py │ │ └── custom_module_2.py ├── Group_Host_Vars │ ├── chapter8_9.yml │ ├── group_vars │ │ └── all │ ├── host_vars │ │ └── localhost │ ├── nx-osv-1.conf │ ├── nx-osv-2.conf │ └── nxos.j2 ├── Includes │ ├── chapter8_11_1.yml │ ├── chapter8_11_2.yml │ ├── group_vars │ │ └── all │ ├── host_vars │ │ └── localhost │ ├── nx-osv-1.conf │ ├── nx-osv-2.conf │ ├── nxos.j2 │ └── show_output.yml ├── Roles │ ├── chapter8_12.yml │ ├── chapter8_13.yml │ ├── hosts │ └── roles │ │ ├── cisco_nexus │ │ ├── tasks │ │ │ └── main.yml │ │ └── vars │ │ │ └── main.yml │ │ └── spines │ │ ├── tasks │ │ └── main.yml │ │ └── vars │ │ └── main.yml ├── Templates │ ├── chapter8_7.yml │ ├── chapter8_8.yml │ ├── file1 │ ├── file2 │ ├── nx-osv-1.conf │ ├── nx-osv-2.conf │ └── nxos.j2 ├── Vaults │ ├── chapter8_10.yml │ ├── group_vars │ │ └── all │ ├── host_vars │ │ └── localhost │ ├── nx-osv-1.conf │ ├── nx-osv-2.conf │ ├── nxos.j2 │ └── secret.yml ├── ansible_2-5_example │ ├── host_vars │ │ ├── iosv-1 │ │ └── iosv-2 │ ├── hosts │ └── my_playbook.yml ├── chapter8_1.yml ├── chapter8_2.yml ├── chapter8_3.yml ├── chapter8_4.yml ├── chapter8_5.yml ├── chapter8_6.yml └── hosts ├── Chapter09 ├── Chapter9_1_query_vpc.py ├── Chapter9_2_query_route_tables.py ├── Chapter9_3_cloud_formation.yml ├── Chapter9_4_cloud_formation_full.yml └── Chapter9_5_security_group.py ├── Chapter10 ├── Chapter10_1.py └── configs │ ├── iosv-1 │ └── iosv-2 ├── Chapter11 ├── 11_10_reuse_socket_address.py ├── 11_11_print_machine_time.py ├── 11_12_sntp_client.py ├── 11_13a_echo_server.py ├── 11_13b_echo_client.py ├── 11_14a_echo_server_udp.py ├── 11_14b_echo_client_udp.py ├── 11_1_local_machine_info.py ├── 11_2_remote_machine_info.py ├── 11_3_ip4_address_conversion.py ├── 11_4_finding_service_name.py ├── 11_5_integer_conversion.py ├── 11_6_socket_timeout.py ├── 11_7_socket_errors.py ├── 11_8_modify_buff_size.py ├── 11_9_socket_modes.py └── __init__.py ├── Chapter12 ├── 12_1_forking_mixin_socket_server.py ├── 12_1_forking_mixin_socket_server2.py ├── 12_2_threading_mixin_socket_server.py ├── 12_3_chat_server_with_select.py ├── 12_4_simple_web_server_with_epoll.py ├── 12_5_echo_server_with_diesel.py └── __init__.py ├── Chapter13 ├── 13_10_check_ipv6_support.py ├── 13_11_extract_ipv6_prefix.py ├── 13_12a_ipv6_echo_server.py ├── 13_12b_ipv6_echo_client.py ├── 13_1_port_forwarding.py ├── 13_2_ping_remote_host.py ├── 13_3_wait_for_remote_service.py ├── 13_4_list_network_interfaces.py ├── 13_5_get_interface_ip_address.py ├── 13_6_find_network_interface_status.py ├── 13_7_detect_inactive_machines.py ├── 13_8_ipc_using_socketpairs.py ├── 13_9a_unix_domain_socket_server.py ├── 13_9b_unix_domain_socket_client.py └── __init__.py ├── Chapter14 ├── 14_10_https_server.py ├── 14_11_twisted_async_server.py ├── 14_12_tornado_async_server.py ├── 14_13_tornado_conc_future.py ├── 14_1_download_data.py ├── 14_2_simple_http_server.py ├── 14_3_extract_cookie_information.py ├── 14_4_submit_web_form.py ├── 14_5_proxy_web_request.py ├── 14_6_checking_webpage_with_HEAD_request.py ├── 14_7_spoof_mozilla_firefox_in_client_code.py ├── 14_8_http_compression.py ├── 14_9_http_fail_over_client.py └── __init__.py ├── Chapter15 ├── 15_10_secure_mail_client.py ├── 15_11_pop3_mail_client.py ├── 15_1_list_files_on_ftp_server.py ├── 15_2_upload_file_to_ftp_server.py ├── 15_3_email_current_dir_zipped.py ├── 15_4_download_google_email_via_pop3.py ├── 15_5_check_remote_email_via_imap.py ├── 15_6_send_email_from_gmail.py ├── 15_7_cgi_server.py ├── 15_7_send_feedback.html ├── 15_8_verify_email.py ├── 15_9a_mail_server.py ├── 15_9b_mail_client.py ├── __init__.py ├── cgi-bin │ └── 15_7_get_feedback.py ├── python-logo.gif └── readme.txt ├── Chapter16 ├── 16_1_execute_remote_telnet_cmd.py ├── 16_2_copy_remote_file_over_sftp.py ├── 16_3_print_remote_cpu_info.py ├── 16_4_install_python_package_remotely.py ├── 16_5_run_mysql_command_remotely.py ├── 16_6_transfer_file_over_ssh.py ├── __init__.py ├── fabfile.py ├── index.html ├── op.txt ├── test.txt └── vhost.conf ├── Chapter17 ├── 17_1_query_supervisord_xmlrpc_server.py ├── 17_2_multithreaded_multicall_xmlrpc_server.py ├── 17_3a_xmlrpc_server_with_http_auth.py ├── 17_3b_xmprpc_client.py ├── 17_4_get_flickr_photo_info.py ├── 17_5_search_amazonaws_with_soap.py ├── 17_6_search_amazon_for_books.py ├── 17_7_create_restful_webservice.py ├── __init__.py └── supervisord.conf ├── Chapter18 ├── 18_1_packet_sniffer.py ├── 18_2_save_packets_in_pcap_format.py ├── 18_3_add_an_extra_header_in_http_packet.py ├── 18_4_scan_port_of_a_remote_host.py ├── 18_5_modify_ip_in_a_packet.py ├── 18_6_replay_traffic.py ├── 18_7_broadcast_scanning.py └── __init__.py ├── Chapter19 ├── 19_1_ns3_simulation.py ├── 19_2_mininet_emulation.py ├── 19_3_maxinet_emulation.py ├── 19_4_mininet_wifi_emulation.py ├── 19_5_containernet_emulation.py └── __init__.py ├── Chapter20 ├── 20_10_requests_throttling.py ├── 20_10_requests_throttling.sh ├── 20_1_dns_names_with_dnspython.py ├── 20_2_dns_host_with_dnspython.py ├── 20_3_find_dns_rr_details.py ├── 20_4_dns_zone_transfer.py ├── 20_5_query_ntp_server.py ├── 20_6_connect_ldap_server.py ├── 20_6_output_with_ipa.demo1.freeipa.org.txt ├── 20_6_output_with_ldap.forumsys.com.txt ├── 20_7_query_ldap_server.py ├── 20_7_query_ldap_server_b.py ├── 20_8_read_ldap_server.py ├── 20_9_eve_basic_auth.py └── settings.py ├── Chapter21 ├── 21_1_configure_red_pnda_output ├── 21_4_open_contrail_control_node.sh ├── 21_5_open_contrail_analytics_node.sh ├── 21_5_open_contrail_compute_node.sh ├── 21_5_open_contrail_configuration_node.sh ├── 21_7_cisco_spark_api.py ├── etc │ ├── contrail │ │ ├── contrail-analytics-api.conf │ │ ├── contrail-collector.conf │ │ ├── contrail-query-engine.conf │ │ ├── contrail-vrouter-agent.conf │ │ └── control-node.conf │ └── network │ │ └── interfaces └── nsx.ini ├── Chapter22 ├── 22_1_quickstart.sh ├── 22_2_quickstart.sh ├── 22_3_install.sh ├── 22_3_quickstart.sh ├── 22_3_snas_log_consumer.py ├── 22_4_dronekit_sitl_simulation.py ├── 22_5_pnda_aws_setup.sh ├── config.yaml └── pnda_env.yaml ├── Chapter23 ├── 23_1_healthcheck.py ├── 23_2_benchmark_with_bgperf │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── base.py │ ├── bgperf.py │ ├── bird.py │ ├── docs │ │ ├── bgperf.jpg │ │ ├── bgperf_remote.jpg │ │ └── mrt.md │ ├── exabgp.py │ ├── gobgp.py │ ├── monitor.py │ ├── mrt_tester.py │ ├── pip-requirements.txt │ ├── quagga.py │ ├── settings.py │ └── tester.py └── __init__.py ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/.gitignore -------------------------------------------------------------------------------- /Chapter01/helloworld.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter01/helloworld.py -------------------------------------------------------------------------------- /Chapter01/myfirstprog.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter01/myfirstprog.ps1 -------------------------------------------------------------------------------- /Chapter02/checkargs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/checkargs.py -------------------------------------------------------------------------------- /Chapter02/checkfunction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/checkfunction.py -------------------------------------------------------------------------------- /Chapter02/checkfunction1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/checkfunction1.py -------------------------------------------------------------------------------- /Chapter02/checkfunction2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/checkfunction2.py -------------------------------------------------------------------------------- /Chapter02/checkfunction3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/checkfunction3.py -------------------------------------------------------------------------------- /Chapter02/checknetmiko.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/checknetmiko.py -------------------------------------------------------------------------------- /Chapter02/checknetmiko1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/checknetmiko1.py -------------------------------------------------------------------------------- /Chapter02/checknetmiko2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/checknetmiko2.py -------------------------------------------------------------------------------- /Chapter02/checkparallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/checkparallel.py -------------------------------------------------------------------------------- /Chapter02/checkvowel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/checkvowel.py -------------------------------------------------------------------------------- /Chapter02/nestedcondition (2).py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/nestedcondition (2).py -------------------------------------------------------------------------------- /Chapter02/nestedcondition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/nestedcondition.py -------------------------------------------------------------------------------- /Chapter02/sample1.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/sample1.ps1 -------------------------------------------------------------------------------- /Chapter02/sample2.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/sample2.ps1 -------------------------------------------------------------------------------- /Chapter02/sample3.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/sample3.ps1 -------------------------------------------------------------------------------- /Chapter02/sample4.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/sample4.ps1 -------------------------------------------------------------------------------- /Chapter02/sample5.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/sample5.ps1 -------------------------------------------------------------------------------- /Chapter02/sample6.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/sample6.ps1 -------------------------------------------------------------------------------- /Chapter02/sample7.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter02/sample7.ps1 -------------------------------------------------------------------------------- /Chapter03/apvlanpush.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/apvlanpush.py -------------------------------------------------------------------------------- /Chapter03/apvlanpush1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/apvlanpush1.py -------------------------------------------------------------------------------- /Chapter03/bgpconfigpush.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/bgpconfigpush.py -------------------------------------------------------------------------------- /Chapter03/bgpipaddressiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/bgpipaddressiter.py -------------------------------------------------------------------------------- /Chapter03/bgpipconfig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/bgpipconfig.py -------------------------------------------------------------------------------- /Chapter03/bgpwhois.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/bgpwhois.py -------------------------------------------------------------------------------- /Chapter03/checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/checks.py -------------------------------------------------------------------------------- /Chapter03/checksolarwindsipam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/checksolarwindsipam.py -------------------------------------------------------------------------------- /Chapter03/comparefiles.aspx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/comparefiles.aspx -------------------------------------------------------------------------------- /Chapter03/comparefiles.aspx.vb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/comparefiles.aspx.vb -------------------------------------------------------------------------------- /Chapter03/ipphonepush.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/ipphonepush.py -------------------------------------------------------------------------------- /Chapter03/prepostcheck.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/prepostcheck.html -------------------------------------------------------------------------------- /Chapter03/selectfiles.aspx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/selectfiles.aspx -------------------------------------------------------------------------------- /Chapter03/selectfiles.aspx.vb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter03/selectfiles.aspx.vb -------------------------------------------------------------------------------- /Chapter04/acisdk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter04/acisdk.py -------------------------------------------------------------------------------- /Chapter04/checkarista.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter04/checkarista.py -------------------------------------------------------------------------------- /Chapter04/checkaws.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter04/checkaws.py -------------------------------------------------------------------------------- /Chapter04/checkaws1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter04/checkaws1.py -------------------------------------------------------------------------------- /Chapter04/checkaws2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter04/checkaws2.py -------------------------------------------------------------------------------- /Chapter04/checksolarwinds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter04/checksolarwinds.py -------------------------------------------------------------------------------- /Chapter04/getmeshvalues.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter04/getmeshvalues.py -------------------------------------------------------------------------------- /Chapter04/pingmesh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter04/pingmesh.py -------------------------------------------------------------------------------- /Chapter05/chapter5_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter05/chapter5_1.py -------------------------------------------------------------------------------- /Chapter05/chapter5_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter05/chapter5_2.py -------------------------------------------------------------------------------- /Chapter05/chapter5_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter05/chapter5_3.py -------------------------------------------------------------------------------- /Chapter05/chapter5_4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter05/chapter5_4.py -------------------------------------------------------------------------------- /Chapter05/commands.txt: -------------------------------------------------------------------------------- 1 | config t 2 | logging buffered 30000 3 | end 4 | copy run start 5 | -------------------------------------------------------------------------------- /Chapter05/devices.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter05/devices.json -------------------------------------------------------------------------------- /Chapter05/hosts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter05/hosts.json -------------------------------------------------------------------------------- /Chapter05/iosv-1_output.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter05/iosv-1_output.txt -------------------------------------------------------------------------------- /Chapter05/iosv-2_output.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter05/iosv-2_output.txt -------------------------------------------------------------------------------- /Chapter06/Arista/eapi_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Arista/eapi_1.py -------------------------------------------------------------------------------- /Chapter06/Arista/eapi_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Arista/eapi_2.py -------------------------------------------------------------------------------- /Chapter06/Arista/eapi_2_acl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Arista/eapi_2_acl.py -------------------------------------------------------------------------------- /Chapter06/Arista/pyeapi_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Arista/pyeapi_1.py -------------------------------------------------------------------------------- /Chapter06/Cisco/cisco_apic_em_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Cisco/cisco_apic_em_1.py -------------------------------------------------------------------------------- /Chapter06/Cisco/cisco_nxapi_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Cisco/cisco_nxapi_1.py -------------------------------------------------------------------------------- /Chapter06/Cisco/cisco_nxapi_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Cisco/cisco_nxapi_2.py -------------------------------------------------------------------------------- /Chapter06/Cisco/cisco_nxapi_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Cisco/cisco_nxapi_3.py -------------------------------------------------------------------------------- /Chapter06/Cisco/cisco_nxapi_4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Cisco/cisco_nxapi_4.py -------------------------------------------------------------------------------- /Chapter06/Cisco/cisco_yang_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Cisco/cisco_yang_1.py -------------------------------------------------------------------------------- /Chapter06/Cisco/cisco_yang_1_interfaces.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Cisco/cisco_yang_1_interfaces.xml -------------------------------------------------------------------------------- /Chapter06/Juniper/junos_netconf_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Juniper/junos_netconf_1.py -------------------------------------------------------------------------------- /Chapter06/Juniper/junos_netconf_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Juniper/junos_netconf_2.py -------------------------------------------------------------------------------- /Chapter06/Juniper/junos_netconf_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Juniper/junos_netconf_3.py -------------------------------------------------------------------------------- /Chapter06/Juniper/junos_pyez_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Juniper/junos_pyez_1.py -------------------------------------------------------------------------------- /Chapter06/Juniper/junos_pyez_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter06/Juniper/junos_pyez_2.py -------------------------------------------------------------------------------- /Chapter07/ansible_2-5_example/backup/iosv-1_config.2018-07-11@19_01_55: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/ansible_2-5_example/backup/iosv-1_config.2018-07-11@19_01_55 -------------------------------------------------------------------------------- /Chapter07/ansible_2-5_example/backup/iosv-2_config.2018-07-11@19_01_55: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/ansible_2-5_example/backup/iosv-2_config.2018-07-11@19_01_55 -------------------------------------------------------------------------------- /Chapter07/ansible_2-5_example/host_vars/iosv-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/ansible_2-5_example/host_vars/iosv-1 -------------------------------------------------------------------------------- /Chapter07/ansible_2-5_example/host_vars/iosv-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/ansible_2-5_example/host_vars/iosv-2 -------------------------------------------------------------------------------- /Chapter07/ansible_2-5_example/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/ansible_2-5_example/hosts -------------------------------------------------------------------------------- /Chapter07/ansible_2-5_example/my_playbook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/ansible_2-5_example/my_playbook.yml -------------------------------------------------------------------------------- /Chapter07/arista_1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/arista_1.yml -------------------------------------------------------------------------------- /Chapter07/cisco_1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/cisco_1.yml -------------------------------------------------------------------------------- /Chapter07/cisco_2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/cisco_2.yml -------------------------------------------------------------------------------- /Chapter07/cisco_3.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/cisco_3.yml -------------------------------------------------------------------------------- /Chapter07/cisco_4.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/cisco_4.yml -------------------------------------------------------------------------------- /Chapter07/cisco_5.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/cisco_5.yml -------------------------------------------------------------------------------- /Chapter07/df_playbook.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/df_playbook.json -------------------------------------------------------------------------------- /Chapter07/df_playbook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/df_playbook.yml -------------------------------------------------------------------------------- /Chapter07/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/hosts -------------------------------------------------------------------------------- /Chapter07/juniper_1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter07/juniper_1.yml -------------------------------------------------------------------------------- /Chapter08/Custom_Modules/chapter8_14.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Custom_Modules/chapter8_14.yml -------------------------------------------------------------------------------- /Chapter08/Custom_Modules/chapter8_15.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Custom_Modules/chapter8_15.yml -------------------------------------------------------------------------------- /Chapter08/Custom_Modules/library/custom_module_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Custom_Modules/library/custom_module_1.py -------------------------------------------------------------------------------- /Chapter08/Custom_Modules/library/custom_module_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Custom_Modules/library/custom_module_2.py -------------------------------------------------------------------------------- /Chapter08/Group_Host_Vars/chapter8_9.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Group_Host_Vars/chapter8_9.yml -------------------------------------------------------------------------------- /Chapter08/Group_Host_Vars/group_vars/all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Group_Host_Vars/group_vars/all -------------------------------------------------------------------------------- /Chapter08/Group_Host_Vars/host_vars/localhost: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Group_Host_Vars/host_vars/localhost -------------------------------------------------------------------------------- /Chapter08/Group_Host_Vars/nx-osv-1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Group_Host_Vars/nx-osv-1.conf -------------------------------------------------------------------------------- /Chapter08/Group_Host_Vars/nx-osv-2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Group_Host_Vars/nx-osv-2.conf -------------------------------------------------------------------------------- /Chapter08/Group_Host_Vars/nxos.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Group_Host_Vars/nxos.j2 -------------------------------------------------------------------------------- /Chapter08/Includes/chapter8_11_1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Includes/chapter8_11_1.yml -------------------------------------------------------------------------------- /Chapter08/Includes/chapter8_11_2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Includes/chapter8_11_2.yml -------------------------------------------------------------------------------- /Chapter08/Includes/group_vars/all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Includes/group_vars/all -------------------------------------------------------------------------------- /Chapter08/Includes/host_vars/localhost: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Includes/host_vars/localhost -------------------------------------------------------------------------------- /Chapter08/Includes/nx-osv-1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Includes/nx-osv-1.conf -------------------------------------------------------------------------------- /Chapter08/Includes/nx-osv-2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Includes/nx-osv-2.conf -------------------------------------------------------------------------------- /Chapter08/Includes/nxos.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Includes/nxos.j2 -------------------------------------------------------------------------------- /Chapter08/Includes/show_output.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Includes/show_output.yml -------------------------------------------------------------------------------- /Chapter08/Roles/chapter8_12.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Roles/chapter8_12.yml -------------------------------------------------------------------------------- /Chapter08/Roles/chapter8_13.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Roles/chapter8_13.yml -------------------------------------------------------------------------------- /Chapter08/Roles/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Roles/hosts -------------------------------------------------------------------------------- /Chapter08/Roles/roles/cisco_nexus/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Roles/roles/cisco_nexus/tasks/main.yml -------------------------------------------------------------------------------- /Chapter08/Roles/roles/cisco_nexus/vars/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Roles/roles/cisco_nexus/vars/main.yml -------------------------------------------------------------------------------- /Chapter08/Roles/roles/spines/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Roles/roles/spines/tasks/main.yml -------------------------------------------------------------------------------- /Chapter08/Roles/roles/spines/vars/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Roles/roles/spines/vars/main.yml -------------------------------------------------------------------------------- /Chapter08/Templates/chapter8_7.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Templates/chapter8_7.yml -------------------------------------------------------------------------------- /Chapter08/Templates/chapter8_8.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Templates/chapter8_8.yml -------------------------------------------------------------------------------- /Chapter08/Templates/file1: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter08/Templates/file2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter08/Templates/nx-osv-1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Templates/nx-osv-1.conf -------------------------------------------------------------------------------- /Chapter08/Templates/nx-osv-2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Templates/nx-osv-2.conf -------------------------------------------------------------------------------- /Chapter08/Templates/nxos.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Templates/nxos.j2 -------------------------------------------------------------------------------- /Chapter08/Vaults/chapter8_10.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Vaults/chapter8_10.yml -------------------------------------------------------------------------------- /Chapter08/Vaults/group_vars/all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Vaults/group_vars/all -------------------------------------------------------------------------------- /Chapter08/Vaults/host_vars/localhost: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Vaults/host_vars/localhost -------------------------------------------------------------------------------- /Chapter08/Vaults/nx-osv-1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Vaults/nx-osv-1.conf -------------------------------------------------------------------------------- /Chapter08/Vaults/nx-osv-2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Vaults/nx-osv-2.conf -------------------------------------------------------------------------------- /Chapter08/Vaults/nxos.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Vaults/nxos.j2 -------------------------------------------------------------------------------- /Chapter08/Vaults/secret.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/Vaults/secret.yml -------------------------------------------------------------------------------- /Chapter08/ansible_2-5_example/host_vars/iosv-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/ansible_2-5_example/host_vars/iosv-1 -------------------------------------------------------------------------------- /Chapter08/ansible_2-5_example/host_vars/iosv-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/ansible_2-5_example/host_vars/iosv-2 -------------------------------------------------------------------------------- /Chapter08/ansible_2-5_example/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/ansible_2-5_example/hosts -------------------------------------------------------------------------------- /Chapter08/ansible_2-5_example/my_playbook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/ansible_2-5_example/my_playbook.yml -------------------------------------------------------------------------------- /Chapter08/chapter8_1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/chapter8_1.yml -------------------------------------------------------------------------------- /Chapter08/chapter8_2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/chapter8_2.yml -------------------------------------------------------------------------------- /Chapter08/chapter8_3.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/chapter8_3.yml -------------------------------------------------------------------------------- /Chapter08/chapter8_4.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/chapter8_4.yml -------------------------------------------------------------------------------- /Chapter08/chapter8_5.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/chapter8_5.yml -------------------------------------------------------------------------------- /Chapter08/chapter8_6.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/chapter8_6.yml -------------------------------------------------------------------------------- /Chapter08/hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter08/hosts -------------------------------------------------------------------------------- /Chapter09/Chapter9_1_query_vpc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter09/Chapter9_1_query_vpc.py -------------------------------------------------------------------------------- /Chapter09/Chapter9_2_query_route_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter09/Chapter9_2_query_route_tables.py -------------------------------------------------------------------------------- /Chapter09/Chapter9_3_cloud_formation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter09/Chapter9_3_cloud_formation.yml -------------------------------------------------------------------------------- /Chapter09/Chapter9_4_cloud_formation_full.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter09/Chapter9_4_cloud_formation_full.yml -------------------------------------------------------------------------------- /Chapter09/Chapter9_5_security_group.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter09/Chapter9_5_security_group.py -------------------------------------------------------------------------------- /Chapter10/Chapter10_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter10/Chapter10_1.py -------------------------------------------------------------------------------- /Chapter10/configs/iosv-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter10/configs/iosv-1 -------------------------------------------------------------------------------- /Chapter10/configs/iosv-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter10/configs/iosv-2 -------------------------------------------------------------------------------- /Chapter11/11_10_reuse_socket_address.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_10_reuse_socket_address.py -------------------------------------------------------------------------------- /Chapter11/11_11_print_machine_time.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_11_print_machine_time.py -------------------------------------------------------------------------------- /Chapter11/11_12_sntp_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_12_sntp_client.py -------------------------------------------------------------------------------- /Chapter11/11_13a_echo_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_13a_echo_server.py -------------------------------------------------------------------------------- /Chapter11/11_13b_echo_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_13b_echo_client.py -------------------------------------------------------------------------------- /Chapter11/11_14a_echo_server_udp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_14a_echo_server_udp.py -------------------------------------------------------------------------------- /Chapter11/11_14b_echo_client_udp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_14b_echo_client_udp.py -------------------------------------------------------------------------------- /Chapter11/11_1_local_machine_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_1_local_machine_info.py -------------------------------------------------------------------------------- /Chapter11/11_2_remote_machine_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_2_remote_machine_info.py -------------------------------------------------------------------------------- /Chapter11/11_3_ip4_address_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_3_ip4_address_conversion.py -------------------------------------------------------------------------------- /Chapter11/11_4_finding_service_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_4_finding_service_name.py -------------------------------------------------------------------------------- /Chapter11/11_5_integer_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_5_integer_conversion.py -------------------------------------------------------------------------------- /Chapter11/11_6_socket_timeout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_6_socket_timeout.py -------------------------------------------------------------------------------- /Chapter11/11_7_socket_errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_7_socket_errors.py -------------------------------------------------------------------------------- /Chapter11/11_8_modify_buff_size.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_8_modify_buff_size.py -------------------------------------------------------------------------------- /Chapter11/11_9_socket_modes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter11/11_9_socket_modes.py -------------------------------------------------------------------------------- /Chapter11/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter12/12_1_forking_mixin_socket_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter12/12_1_forking_mixin_socket_server.py -------------------------------------------------------------------------------- /Chapter12/12_1_forking_mixin_socket_server2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter12/12_1_forking_mixin_socket_server2.py -------------------------------------------------------------------------------- /Chapter12/12_2_threading_mixin_socket_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter12/12_2_threading_mixin_socket_server.py -------------------------------------------------------------------------------- /Chapter12/12_3_chat_server_with_select.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter12/12_3_chat_server_with_select.py -------------------------------------------------------------------------------- /Chapter12/12_4_simple_web_server_with_epoll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter12/12_4_simple_web_server_with_epoll.py -------------------------------------------------------------------------------- /Chapter12/12_5_echo_server_with_diesel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter12/12_5_echo_server_with_diesel.py -------------------------------------------------------------------------------- /Chapter12/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13/13_10_check_ipv6_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_10_check_ipv6_support.py -------------------------------------------------------------------------------- /Chapter13/13_11_extract_ipv6_prefix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_11_extract_ipv6_prefix.py -------------------------------------------------------------------------------- /Chapter13/13_12a_ipv6_echo_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_12a_ipv6_echo_server.py -------------------------------------------------------------------------------- /Chapter13/13_12b_ipv6_echo_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_12b_ipv6_echo_client.py -------------------------------------------------------------------------------- /Chapter13/13_1_port_forwarding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_1_port_forwarding.py -------------------------------------------------------------------------------- /Chapter13/13_2_ping_remote_host.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_2_ping_remote_host.py -------------------------------------------------------------------------------- /Chapter13/13_3_wait_for_remote_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_3_wait_for_remote_service.py -------------------------------------------------------------------------------- /Chapter13/13_4_list_network_interfaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_4_list_network_interfaces.py -------------------------------------------------------------------------------- /Chapter13/13_5_get_interface_ip_address.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_5_get_interface_ip_address.py -------------------------------------------------------------------------------- /Chapter13/13_6_find_network_interface_status.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_6_find_network_interface_status.py -------------------------------------------------------------------------------- /Chapter13/13_7_detect_inactive_machines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_7_detect_inactive_machines.py -------------------------------------------------------------------------------- /Chapter13/13_8_ipc_using_socketpairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_8_ipc_using_socketpairs.py -------------------------------------------------------------------------------- /Chapter13/13_9a_unix_domain_socket_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_9a_unix_domain_socket_server.py -------------------------------------------------------------------------------- /Chapter13/13_9b_unix_domain_socket_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter13/13_9b_unix_domain_socket_client.py -------------------------------------------------------------------------------- /Chapter13/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter14/14_10_https_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_10_https_server.py -------------------------------------------------------------------------------- /Chapter14/14_11_twisted_async_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_11_twisted_async_server.py -------------------------------------------------------------------------------- /Chapter14/14_12_tornado_async_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_12_tornado_async_server.py -------------------------------------------------------------------------------- /Chapter14/14_13_tornado_conc_future.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_13_tornado_conc_future.py -------------------------------------------------------------------------------- /Chapter14/14_1_download_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_1_download_data.py -------------------------------------------------------------------------------- /Chapter14/14_2_simple_http_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_2_simple_http_server.py -------------------------------------------------------------------------------- /Chapter14/14_3_extract_cookie_information.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_3_extract_cookie_information.py -------------------------------------------------------------------------------- /Chapter14/14_4_submit_web_form.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_4_submit_web_form.py -------------------------------------------------------------------------------- /Chapter14/14_5_proxy_web_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_5_proxy_web_request.py -------------------------------------------------------------------------------- /Chapter14/14_6_checking_webpage_with_HEAD_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_6_checking_webpage_with_HEAD_request.py -------------------------------------------------------------------------------- /Chapter14/14_7_spoof_mozilla_firefox_in_client_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_7_spoof_mozilla_firefox_in_client_code.py -------------------------------------------------------------------------------- /Chapter14/14_8_http_compression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_8_http_compression.py -------------------------------------------------------------------------------- /Chapter14/14_9_http_fail_over_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter14/14_9_http_fail_over_client.py -------------------------------------------------------------------------------- /Chapter14/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter15/15_10_secure_mail_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_10_secure_mail_client.py -------------------------------------------------------------------------------- /Chapter15/15_11_pop3_mail_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_11_pop3_mail_client.py -------------------------------------------------------------------------------- /Chapter15/15_1_list_files_on_ftp_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_1_list_files_on_ftp_server.py -------------------------------------------------------------------------------- /Chapter15/15_2_upload_file_to_ftp_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_2_upload_file_to_ftp_server.py -------------------------------------------------------------------------------- /Chapter15/15_3_email_current_dir_zipped.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_3_email_current_dir_zipped.py -------------------------------------------------------------------------------- /Chapter15/15_4_download_google_email_via_pop3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_4_download_google_email_via_pop3.py -------------------------------------------------------------------------------- /Chapter15/15_5_check_remote_email_via_imap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_5_check_remote_email_via_imap.py -------------------------------------------------------------------------------- /Chapter15/15_6_send_email_from_gmail.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_6_send_email_from_gmail.py -------------------------------------------------------------------------------- /Chapter15/15_7_cgi_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_7_cgi_server.py -------------------------------------------------------------------------------- /Chapter15/15_7_send_feedback.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_7_send_feedback.html -------------------------------------------------------------------------------- /Chapter15/15_8_verify_email.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_8_verify_email.py -------------------------------------------------------------------------------- /Chapter15/15_9a_mail_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_9a_mail_server.py -------------------------------------------------------------------------------- /Chapter15/15_9b_mail_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/15_9b_mail_client.py -------------------------------------------------------------------------------- /Chapter15/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter15/cgi-bin/15_7_get_feedback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/cgi-bin/15_7_get_feedback.py -------------------------------------------------------------------------------- /Chapter15/python-logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter15/python-logo.gif -------------------------------------------------------------------------------- /Chapter15/readme.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter16/16_1_execute_remote_telnet_cmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter16/16_1_execute_remote_telnet_cmd.py -------------------------------------------------------------------------------- /Chapter16/16_2_copy_remote_file_over_sftp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter16/16_2_copy_remote_file_over_sftp.py -------------------------------------------------------------------------------- /Chapter16/16_3_print_remote_cpu_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter16/16_3_print_remote_cpu_info.py -------------------------------------------------------------------------------- /Chapter16/16_4_install_python_package_remotely.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter16/16_4_install_python_package_remotely.py -------------------------------------------------------------------------------- /Chapter16/16_5_run_mysql_command_remotely.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter16/16_5_run_mysql_command_remotely.py -------------------------------------------------------------------------------- /Chapter16/16_6_transfer_file_over_ssh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter16/16_6_transfer_file_over_ssh.py -------------------------------------------------------------------------------- /Chapter16/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter16/fabfile.py: -------------------------------------------------------------------------------- 1 | 6_7_configure_Apache_for_hosting_website_remotely.py -------------------------------------------------------------------------------- /Chapter16/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter16/index.html -------------------------------------------------------------------------------- /Chapter16/op.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter16/op.txt -------------------------------------------------------------------------------- /Chapter16/test.txt: -------------------------------------------------------------------------------- 1 | This is test.txt 2 | -------------------------------------------------------------------------------- /Chapter16/vhost.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter16/vhost.conf -------------------------------------------------------------------------------- /Chapter17/17_1_query_supervisord_xmlrpc_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter17/17_1_query_supervisord_xmlrpc_server.py -------------------------------------------------------------------------------- /Chapter17/17_2_multithreaded_multicall_xmlrpc_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter17/17_2_multithreaded_multicall_xmlrpc_server.py -------------------------------------------------------------------------------- /Chapter17/17_3a_xmlrpc_server_with_http_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter17/17_3a_xmlrpc_server_with_http_auth.py -------------------------------------------------------------------------------- /Chapter17/17_3b_xmprpc_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter17/17_3b_xmprpc_client.py -------------------------------------------------------------------------------- /Chapter17/17_4_get_flickr_photo_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter17/17_4_get_flickr_photo_info.py -------------------------------------------------------------------------------- /Chapter17/17_5_search_amazonaws_with_soap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter17/17_5_search_amazonaws_with_soap.py -------------------------------------------------------------------------------- /Chapter17/17_6_search_amazon_for_books.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter17/17_6_search_amazon_for_books.py -------------------------------------------------------------------------------- /Chapter17/17_7_create_restful_webservice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter17/17_7_create_restful_webservice.py -------------------------------------------------------------------------------- /Chapter17/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter17/supervisord.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter17/supervisord.conf -------------------------------------------------------------------------------- /Chapter18/18_1_packet_sniffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter18/18_1_packet_sniffer.py -------------------------------------------------------------------------------- /Chapter18/18_2_save_packets_in_pcap_format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter18/18_2_save_packets_in_pcap_format.py -------------------------------------------------------------------------------- /Chapter18/18_3_add_an_extra_header_in_http_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter18/18_3_add_an_extra_header_in_http_packet.py -------------------------------------------------------------------------------- /Chapter18/18_4_scan_port_of_a_remote_host.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter18/18_4_scan_port_of_a_remote_host.py -------------------------------------------------------------------------------- /Chapter18/18_5_modify_ip_in_a_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter18/18_5_modify_ip_in_a_packet.py -------------------------------------------------------------------------------- /Chapter18/18_6_replay_traffic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter18/18_6_replay_traffic.py -------------------------------------------------------------------------------- /Chapter18/18_7_broadcast_scanning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter18/18_7_broadcast_scanning.py -------------------------------------------------------------------------------- /Chapter18/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter19/19_1_ns3_simulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter19/19_1_ns3_simulation.py -------------------------------------------------------------------------------- /Chapter19/19_2_mininet_emulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter19/19_2_mininet_emulation.py -------------------------------------------------------------------------------- /Chapter19/19_3_maxinet_emulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter19/19_3_maxinet_emulation.py -------------------------------------------------------------------------------- /Chapter19/19_4_mininet_wifi_emulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter19/19_4_mininet_wifi_emulation.py -------------------------------------------------------------------------------- /Chapter19/19_5_containernet_emulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter19/19_5_containernet_emulation.py -------------------------------------------------------------------------------- /Chapter19/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Recipes for Network Modelling 3 | """ 4 | -------------------------------------------------------------------------------- /Chapter20/20_10_requests_throttling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_10_requests_throttling.py -------------------------------------------------------------------------------- /Chapter20/20_10_requests_throttling.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_10_requests_throttling.sh -------------------------------------------------------------------------------- /Chapter20/20_1_dns_names_with_dnspython.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_1_dns_names_with_dnspython.py -------------------------------------------------------------------------------- /Chapter20/20_2_dns_host_with_dnspython.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_2_dns_host_with_dnspython.py -------------------------------------------------------------------------------- /Chapter20/20_3_find_dns_rr_details.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_3_find_dns_rr_details.py -------------------------------------------------------------------------------- /Chapter20/20_4_dns_zone_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_4_dns_zone_transfer.py -------------------------------------------------------------------------------- /Chapter20/20_5_query_ntp_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_5_query_ntp_server.py -------------------------------------------------------------------------------- /Chapter20/20_6_connect_ldap_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_6_connect_ldap_server.py -------------------------------------------------------------------------------- /Chapter20/20_6_output_with_ipa.demo1.freeipa.org.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_6_output_with_ipa.demo1.freeipa.org.txt -------------------------------------------------------------------------------- /Chapter20/20_6_output_with_ldap.forumsys.com.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_6_output_with_ldap.forumsys.com.txt -------------------------------------------------------------------------------- /Chapter20/20_7_query_ldap_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_7_query_ldap_server.py -------------------------------------------------------------------------------- /Chapter20/20_7_query_ldap_server_b.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_7_query_ldap_server_b.py -------------------------------------------------------------------------------- /Chapter20/20_8_read_ldap_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_8_read_ldap_server.py -------------------------------------------------------------------------------- /Chapter20/20_9_eve_basic_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter20/20_9_eve_basic_auth.py -------------------------------------------------------------------------------- /Chapter20/settings.py: -------------------------------------------------------------------------------- 1 | DOMAIN = {'people': {}} 2 | -------------------------------------------------------------------------------- /Chapter21/21_1_configure_red_pnda_output: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/21_1_configure_red_pnda_output -------------------------------------------------------------------------------- /Chapter21/21_4_open_contrail_control_node.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/21_4_open_contrail_control_node.sh -------------------------------------------------------------------------------- /Chapter21/21_5_open_contrail_analytics_node.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/21_5_open_contrail_analytics_node.sh -------------------------------------------------------------------------------- /Chapter21/21_5_open_contrail_compute_node.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/21_5_open_contrail_compute_node.sh -------------------------------------------------------------------------------- /Chapter21/21_5_open_contrail_configuration_node.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/21_5_open_contrail_configuration_node.sh -------------------------------------------------------------------------------- /Chapter21/21_7_cisco_spark_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/21_7_cisco_spark_api.py -------------------------------------------------------------------------------- /Chapter21/etc/contrail/contrail-analytics-api.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/etc/contrail/contrail-analytics-api.conf -------------------------------------------------------------------------------- /Chapter21/etc/contrail/contrail-collector.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/etc/contrail/contrail-collector.conf -------------------------------------------------------------------------------- /Chapter21/etc/contrail/contrail-query-engine.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/etc/contrail/contrail-query-engine.conf -------------------------------------------------------------------------------- /Chapter21/etc/contrail/contrail-vrouter-agent.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/etc/contrail/contrail-vrouter-agent.conf -------------------------------------------------------------------------------- /Chapter21/etc/contrail/control-node.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/etc/contrail/control-node.conf -------------------------------------------------------------------------------- /Chapter21/etc/network/interfaces: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/etc/network/interfaces -------------------------------------------------------------------------------- /Chapter21/nsx.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter21/nsx.ini -------------------------------------------------------------------------------- /Chapter22/22_1_quickstart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter22/22_1_quickstart.sh -------------------------------------------------------------------------------- /Chapter22/22_2_quickstart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter22/22_2_quickstart.sh -------------------------------------------------------------------------------- /Chapter22/22_3_install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter22/22_3_install.sh -------------------------------------------------------------------------------- /Chapter22/22_3_quickstart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter22/22_3_quickstart.sh -------------------------------------------------------------------------------- /Chapter22/22_3_snas_log_consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter22/22_3_snas_log_consumer.py -------------------------------------------------------------------------------- /Chapter22/22_4_dronekit_sitl_simulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter22/22_4_dronekit_sitl_simulation.py -------------------------------------------------------------------------------- /Chapter22/22_5_pnda_aws_setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter22/22_5_pnda_aws_setup.sh -------------------------------------------------------------------------------- /Chapter22/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter22/config.yaml -------------------------------------------------------------------------------- /Chapter22/pnda_env.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter22/pnda_env.yaml -------------------------------------------------------------------------------- /Chapter23/23_1_healthcheck.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_1_healthcheck.py -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/.gitignore -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/LICENSE -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/README.md -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/base.py -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/bgperf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/bgperf.py -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/bird.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/bird.py -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/docs/bgperf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/docs/bgperf.jpg -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/docs/bgperf_remote.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/docs/bgperf_remote.jpg -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/docs/mrt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/docs/mrt.md -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/exabgp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/exabgp.py -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/gobgp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/gobgp.py -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/monitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/monitor.py -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/mrt_tester.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/mrt_tester.py -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/pip-requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/pip-requirements.txt -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/quagga.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/quagga.py -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/settings.py -------------------------------------------------------------------------------- /Chapter23/23_2_benchmark_with_bgperf/tester.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/Chapter23/23_2_benchmark_with_bgperf/tester.py -------------------------------------------------------------------------------- /Chapter23/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Recipes for BGP 3 | """ 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Python-Network-Programming/HEAD/README.md --------------------------------------------------------------------------------