mirror of https://github.com/ansible/ansible.git
ios_facts: Report space of file systems (#41850)
* ios_facts: Report file system space Parse total and free space from dir output. For this, add a hash filesystems_info containing the keys spacetotal_kb and spacefree_kb. * ios_facts: Add unit test for file system space reporting * ios_facts: Add integration test for file system space reportingpull/42514/head
parent
dbb58b34c3
commit
dfb2b3fdd5
@ -0,0 +1,23 @@
|
||||
Directory of bootflash:/
|
||||
|
||||
11 drwx 16384 Jun 1 2017 13:03:27 +00:00 lost+found
|
||||
325121 drwx 4096 Jun 1 2017 13:03:54 +00:00 .super.iso.dir
|
||||
12 -rw- 31 Jun 22 2018 15:17:06 +00:00 .CsrLxc_LastInstall
|
||||
13 -rw- 69 Jun 1 2017 13:05:53 +00:00 virtual-instance.conf
|
||||
438913 drwx 4096 Jun 1 2017 13:04:57 +00:00 core
|
||||
15 -rw- 125736960 Jun 1 2017 13:03:54 +00:00 iosxe-remote-mgmt.16.03.04.ova
|
||||
105667 -rw- 292164568 Jun 1 2017 13:04:04 +00:00 csr1000v-mono-universalk9.16.03.04.SPA.pkg
|
||||
105668 -rw- 34370768 Jun 1 2017 13:04:10 +00:00 csr1000v-rpboot.16.03.04.SPA.pkg
|
||||
105666 -rw- 5317 Jun 1 2017 13:04:10 +00:00 packages.conf
|
||||
195073 drwx 4096 Jun 1 2017 13:04:51 +00:00 .prst_sync
|
||||
414529 drwx 4096 Jun 1 2017 13:04:57 +00:00 .rollback_timer
|
||||
16 -rw- 0 Jun 1 2017 13:05:00 +00:00 tracelogs.kZn
|
||||
16257 drwx 24576 Jun 22 2018 16:03:11 +00:00 tracelogs
|
||||
349505 drwx 4096 Jun 1 2017 13:05:08 +00:00 .installer
|
||||
292609 drwx 4096 Jun 1 2017 13:05:59 +00:00 virtual-instance
|
||||
17 -rw- 30 Jun 22 2018 15:17:59 +00:00 throughput_monitor_params
|
||||
48769 drwx 4096 Jun 1 2017 13:06:04 +00:00 onep
|
||||
19 -rw- 376 Jun 22 2018 15:18:11 +00:00 csrlxc-cfg.log
|
||||
20 -rw- 0 Jun 22 2018 15:17:59 +00:00 cvac.log
|
||||
|
||||
7897796608 bytes total (6608056320 bytes free)
|
Loading…
Reference in New Issue