Bug 784071

Summary: RFE: Allow setting custom connection row name
Product: [Community] Virtualization Tools Reporter: leonardo
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, freznice, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-11 17:53:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description leonardo 2012-01-23 18:21:28 UTC
Description of problem:
There is no hostname for the Hosts in the virt-manager interface when connecting with IP url.

It should be shown next to the IP when the host connection is IP based instead of DNS based.

This seems to be related to #559366

And maybe, it should be an editable field... so you can name it whatever you want, in case the hostname isn't descriptive enough. That or adding a description field.


virt-manager version: 0.9.0

Comment 1 Cole Robinson 2012-01-25 21:04:36 UTC
I don't think we should auto resolve a passed IP address to a hostname, by default we should show what the user gave us.

But I do like the idea of allowing the user to set a custom connection name/string etc. Let's use this bug to track that feature.

Comment 2 leonardo 2012-01-25 21:21:07 UTC
Hello Cole,

I understand that, usually, if I choose to use an IP wouldn't want the system to replace it with a hostname, but take this case for example:

I don't have a domain name (or fqdn) for several hosts, but I would like to be able to distinguish them by their local hostname, so I don't need to remember or look for the IP in a table. As I can't use the local hostname to connect to them from virt-manager, I had to use the IP.

I'm not saying we should replace the IP for the hostname or resolve it to a fqdn, but maybe post the local hostname next to the IP. As "the machine name".

Anyway, this was just to clarify in case my (poor) English was in the middle of the idea. I would be more than happy with the custom field alone.

Regards,
Leonardo

Comment 3 Cole Robinson 2013-12-14 17:25:25 UTC
*** Bug 1040908 has been marked as a duplicate of this bug. ***

Comment 4 Cole Robinson 2015-04-11 17:53:31 UTC
Fixed upstream now:

commit 3d2afbaf6f634cca5deeec12eb704340502720ed
Author: Cole Robinson <crobinso>
Date:   Sat Apr 11 13:39:25 2015 -0400

    connection: Allow setting a custom 'pretty name' (bz 784701)
    
    We've had multiple requests over the years for something similar. People
    might have to connect to multiple IP addresses, or really large hostnames,
    that become difficult to distinguish in the UI.
    
    Add a field in the host details page that allows setting a custom name,
    and store it in gsettings.