def AddValidationHook(self, method):
    self._validation_hooks.append(method)
Returns the 1 or 2 possible subnets for a nova network.
dataset/ETHPy150Open google/simian/src/simian/mac/munki/plist.py/ApplePlist.AddValidationHook--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/network/manager.py/NetworkManager._get_subnets_from_network