introduce slp_discover_attrs()