Details

    • New Feature
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      The command lctl nodemap_info only presents information about which property names exist for a given nodemap. It does not show the values for each property, and the command's usefulness is therefore limited. It would be beneficial if lctl nodemap_info would present the user with in-depth information, including the global nodemap state (active/inactive), property availability and descriptions, all defined nodemaps, and the values for all nodemap properties.

      This task aims to significantly improve the usability for querying nodemap information rather than relying on the lctl get_param-type interface (which is used today). This will further make the user API more consistent with lctl nodemap_* commands since lctl set_param is discouraged since the changes via the latter interface are not persistent and only local to the MGS.

      The proposed API is as follows:
      (extended) lctl nodemap_info [-l/--list] [-n/--name <nodemap_name>] [-p/--property <value>]

      Use the command without any parameters lists all nodemaps and their properties. The previous positional parameters list|all|nodemap_name are retained for compatibility and should be deprecated in the future.

      Attachments

        Issue Links

          Activity

            People

              mvef Marc Vef
              mvef Marc Vef
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: