def _get_network(self):
        data = dict()
        data['interfaces'] = salt.utils.network.interfaces()
        data['subnets'] = salt.utils.network.subnets()

        return data
Perform validation and unit conversion using metadata from
dataset/ETHPy150Open saltstack/salt/salt/modules/inspectlib/query.py/SysInfo._get_network--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/datatypes/array.py/Array._validate_with_metadata