REmove spurious lv_conn

This commit is contained in:
Joshua Boniface 2018-09-24 01:30:23 -04:00
parent 74ef5e5d69
commit cf9785149b
1 changed files with 0 additions and 3 deletions

View File

@ -131,9 +131,6 @@ class RouterInstance():
ansiiprint.echo('Failed to set keepalive data', '', 'e') ansiiprint.echo('Failed to set keepalive data', '', 'e')
return return
# Close the Libvirt connection
lv_conn.close()
# Display router information to the terminal # Display router information to the terminal
ansiiprint.echo('{}{} keepalive{}'.format(ansiiprint.purple(), self.name, ansiiprint.end()), '', 't') ansiiprint.echo('{}{} keepalive{}'.format(ansiiprint.purple(), self.name, ansiiprint.end()), '', 't')
ansiiprint.echo('{0}Active networks:{1} {2} {0}Free memory [MiB]:{1} {3} {0}Used memory [MiB]:{1} {4} {0}Load:{1} {5}'.format(ansiiprint.bold(), ansiiprint.end(), self.networks_count, self.memfree, self.memused, self.cpuload), '', 'c') ansiiprint.echo('{0}Active networks:{1} {2} {0}Free memory [MiB]:{1} {3} {0}Used memory [MiB]:{1} {4} {0}Load:{1} {5}'.format(ansiiprint.bold(), ansiiprint.end(), self.networks_count, self.memfree, self.memused, self.cpuload), '', 'c')