You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/module_utils/facts
Donatas Abraitis 11c1777d56
facts: List all local (scope host) IP address ranges (#79018)
After changes:
```
        "ansible_locally_reachable_ips": {
            "ipv4": [
                "127.0.0.0/8",
                "127.0.0.1",
                "192.168.0.1",
                "192.168.1.0/24"
            ],
            "ipv6": [
                "::1",
                "fe80::2eea:7fff:feca:fe68",
                ...
            ]
        },
```

192.168.1.0/24 is a local prefix, where any IP address inside this range
is reachable locally (or outside this host if this prefix is announced via
EGP/IGP).

Signed-off-by: Donatas Abraitis <donatas.abraitis@hostinger.com>
2 years ago
..
fixtures Handle Slackware OS version strings containing a plus (“+”) (#68142) 4 years ago
hardware Fix AIX processor facts and add unit test (#78223) 2 years ago
network facts: List all local (scope host) IP address ranges (#79018) 2 years ago
other Prefer unittest.mock over mock. (#77886) 3 years ago
system Add OSMC to Debian OS_FAMILY_MAP (#78778) 2 years ago
virtual check /.dockerenv and /.dockerinit to guess a dockercontainer (#74349) 3 years ago
__init__.py Facts Timeout was not settable via ansible.cfg 8 years ago
base.py Prefer unittest.mock over mock. (#77886) 3 years ago
test_ansible_collector.py Prefer unittest.mock over mock. (#77886) 3 years ago
test_collector.py Avoid deprecated TestCase functions in unit tests. (#76678) 3 years ago
test_collectors.py Prefer unittest.mock over mock. (#77886) 3 years ago
test_date_time.py Add epoch_int in date_time facts (#73822) 4 years ago
test_facts.py Prefer unittest.mock over mock. (#77886) 3 years ago
test_sysctl.py Prefer unittest.mock over mock. (#77886) 3 years ago
test_timeout.py Clean up unit test boilerplate. 5 years ago
test_utils.py Prefer unittest.mock over mock. (#77886) 3 years ago