diff --git a/tests/conftest.py b/tests/conftest.py index 7611a62f50..3f31ee8d9d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -11,8 +11,10 @@ def CephNode(Ansible, Interface, request): # I can assume eth1 because I know all the vagrant # boxes we test with use that interface address = Interface("eth1").addresses[0] + subnet = ".".join(vars["public_network"].split(".")[0:-1]) data = dict( address=address, + subnet=subnet, vars=vars, ) return data