Skip to content

Proposal: Add Human-Readable Names for Objects #2

@Alexandr-GoRust

Description

@Alexandr-GoRust

Currently, when displaying routes, many objects are represented only by their UUIDs, making it difficult to identify and review the desired objects.

Example of current behavior:

./foliage-cli gwalk to domain/hw-disk && ./foliage-cli gwalk routes -v 2
hub/scala_hlm_hw-disk
└── [depth=1]  OUT
    ├── [hub/30ba92bcf151dec18f0f3a98d31a32c8: __object]  hub/30ba92bcf151dec18f0f3a98d31a32c8
    ├── [hub/96b74c3264f1064e7dbb4394568858e2: __object]  hub/96b74c3264f1064e7dbb4394568858e2
    ├── [hub/27a783eaf01cfc551ab87c8f76c04cd1: __object]  hub/27a783eaf01cfc551ab87c8f76c04cd1
    ├── [hub/4bab74ba6df439858ee9ddd4cd8b2118: __object]  hub/4bab74ba6df439858ee9ddd4cd8b2118

This representation lacks human-readable information, such as object names or locations, which complicates usage.

Desired Behavior:
Include human-readable names or addresses in the output to improve clarity.
For example:

  • Instead of just UUIDs, the output could include object names and their respective locations.

Proposed example:

./foliage-cli gwalk to domain/hw-disk && ./foliage-cli gwalk routes -v 2
hub/scala_hlm_hw-disk
└── [depth=1]  OUT
    ├── [hub/30ba92bcf151dec18f0f3a98d31a32c8: __object]  hub/30ba92bcfb9sn8nd6fg89sdad31a32c8  disk-shelf1-mpathaa
    ├── [hub/96b74c3264f1064e7dbb4394568858e2: __object]  hub/96b74c326n98sad7fgf89sdg568858e2  disk-shelf1-mpathad
    ├── [hub/27a783eaf01cfc551ab87c8f76c04cd1: __object]  hub/27a783n98sad7f897sdafc8f76c04cd1  disk-shelf1-mpathac
    ├── [hub/4bab74ba6df439858ee9ddd4cd8b2118: __object]  hub/4bab7nd9sf7g89sdf7898gs4cd8b2118  disk-shelf1-mpathae

Benefits:
• Easier identification and navigation of objects.
• Reduced time and effort required to locate specific objects.
• Improved overall usability of the CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions