code: def _copy_interfaces_info(interfaces):
      '''
      Return a dictionary with a copy of each interface attributes in ATTRS
      '''
      ret = {}
  
      for interface in interfaces:
          _interface_attrs_cpy = set()
          for attr in ATTRS:
              if attr in interfaces[interface]:
                  attr_dict = Hashabledict()
                  attr_dict[attr] = repr(interfaces[interface][attr])
                  _interface_attrs_cpy.add(attr_dict)
          ret[interface] = _interface_attrs_cpy
  
      return ref _copy_interfaces_info(interfaces):
      '''
      Return a dictionary with a copy of each interface attributes in ATTRS
      '''
      ret = {}
  
      for interface in interfaces:
          _interface_attrs_cpy = set()
          for attr in ATTRS:
              if attr in interfaces[interface]:
                  attr_dict = Hashabledict()
                  attr_dict[attr] = repr(interfaces[interface][attr])
                  _interface_attrs_cpy.add(attr_dict)
          ret[interface] = _interface_attrs_cpy
  
      return ret
docs: Return a dictionary with a copy of each interface attributes in ATTRS