community.general/lib/ansible/module_utils/facts/network
Anatoly Pugachev 6e73150244 refactor iscsi network facts module, remove external grep call, add unit test (#55643)
* remove external grep call and parse with python
* use function for repeated code
* use module.get_bin_path() for iscsiutil on HPUX
* some code opt for HPUX
* clean up non-module code, module being defined is a requirement for this code
* import get_bin_path() directly and use without module prefix
* Add integration tests for AIX and HP-UX
* add changelog fragment
* Apply suggestions from code review
Co-Authored-By: mator <matorola@gmail.com>
* Apply suggestions from code review #2
Co-Authored-By: Sam Doran <sdoran@redhat.com>
* Remove strict requirement on executable to exist for get_bin_path() as
it will allow facts gathering to continue without an error. Almost all
other files under facts do not have "required=True" (except 2 files,
which should be probably fixed). And check return value for
get_bin_path() , before run attempt.

* add check for AIX lsattr run_command return code
2019-05-07 12:26:20 -04:00
..
__init__.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
aix.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
base.py Fixed typos (#52426) 2019-02-17 22:49:40 +01:00
darwin.py change OS X to macOS (#41294) 2018-06-26 14:09:23 -04:00
dragonfly.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
fc_wwn.py [cosmetic] solaris wwn fix (#55154) 2019-04-18 16:31:40 -04:00
freebsd.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
generic_bsd.py change OS X to macOS (#41294) 2018-06-26 14:09:23 -04:00
hpux.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
hurd.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
iscsi.py refactor iscsi network facts module, remove external grep call, add unit test (#55643) 2019-05-07 12:26:20 -04:00
linux.py Fixed typo from adress to address (#52143) 2019-02-13 13:57:13 +05:30
netbsd.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
nvme.py Add default fact for NVMe support (#50164) 2019-01-31 16:05:45 +00:00
openbsd.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
sunos.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00