def get_interface(self, name):
        for i in self.interfaces:
            if i.name == name:
                return i
        raise AttributeError
Return the :class:`NetworkInterface` object, given an interface name
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/utils/network.py/IfConfig.get_interface