REmove spurious lv_conn
This commit is contained in:
parent
74ef5e5d69
commit
cf9785149b
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue