<s> '''<STR_LIT>''' <EOL> from netmiko import ConnectHandler , SCPConn <EOL> from SECRET_DEVICE_CREDS import cisco_881 <EOL> def main ( ) : <EOL> '''<STR_LIT>''' <EOL> ssh_conn = ConnectHandler ( ** cisco_881 ) <EOL> scp_conn = SCPConn ( ssh_conn ) <EOL> s_file = '<STR_LIT>' <EOL> d_file = '<STR_LIT>' <EOL> print "<STR_LIT>" <EOL> scp_conn . scp_transfer_file ( s_file , d_file ) <EOL> scp_conn . close ( ) <EOL> output = ssh_conn . send_command ( "<STR_LIT>" ) <EOL> print "<STR_LIT>" + output + '<STR_LIT:\n>' <EOL> output = ssh_conn . send_config_set ( [ "<STR_LIT>" ] ) <EOL> print "<STR_LIT>" <EOL> output = ssh_conn . send_command ( "<STR_LIT>" ) <EOL> print "<STR_LIT>" <EOL> output = ssh_conn . send_command ( "<STR_LIT>" ) <EOL> print "<STR_LIT>" + output + '<STR_LIT:\n>' <EOL> output = ssh_conn . send_config_set ( [ "<STR_LIT>" ] ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> main ( ) </s>
