Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Include Instance Alias in the output from the command line #1214

@martinarrieta

Description

@martinarrieta

Currently, when you display the topology from the command line, it only displays the Hostname and Port, however, it could be helpful (it is for us that we manage everything with IP's) to display as well the InstanceAlias if is set.

So instead of this:

10.0.0.2  [0s,ok,5.7.30-33-log,rw,MIXED,>>,P-GTID]
+ 10.0.0.3 [0s,ok,5.7.30-33-log,ro,MIXED,>>,P-GTID]
+ 10.0.0.4 [0s,ok,5.7.30-33-log,ro,MIXED,>>,P-GTID]

Display this:

10.0.0.8 (mysql1) [0s,ok,5.7.30-33-log,rw,MIXED,>>,P-GTID]
+ 10.0.0.3 (mysql2) [0s,ok,5.7.30-33-log,ro,MIXED,>>,P-GTID]
+ 10.0.0.4 (mysql3) [0s,ok,5.7.30-33-log,ro,MIXED,>>,P-GTID]

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