code: def _get_interface_ip(self, interface_name):
          
          ios_cfg = self._get_running_config()
          parse = HTParser(ios_cfg)
          children = parse.find_children("^interface %s" % interface_name)
          for line in children:
              if 'ip address' in line:
                  ip_address = line.strip().split(' ')[2]
                  LOG.debug("IP Address:%s", ip_address)
                  return ip_address
          LOG.warning("Cannot find interface: %s", interface_name)
          return None
docs: Get the ip address for an interface.
  
          :param interface_name: interface_name as a string
          :return: ip address of interface as a string