The hostname should be fullyQualifiedDomainName instead of hostname#280
The hostname should be fullyQualifiedDomainName instead of hostname#280RoelVanNyen wants to merge 2 commits intoapache:trunkfrom RoelVanNyen:trunk
Conversation
…otherwise you dont know the full name.
|
@RoelVanNyen Can you please update the failing tests? Thanks |
|
Should be fixed now. Thanks |
|
@RoelVanNyen Actually, sorry. I just quickly glanced over this the first time. I think a better approach would be to store this value in the |
|
If you go to the softlayer panel and check the hosts you will see the names are equal to the fullyQualifiedDomainName and not the hostname, so it would be logical for me to use host['fullyQualifiedDomainName'] instead. Howhever if you really don`t want to do this then I would suggest putting the field into extra['fullyQualifiedDomainName'] instead of extra['hostname']. What do you think? |
|
@RoelVanNyen Ah, if the Softlayer control panel uses |
|
Commits squashed and merged into trunk. Thanks. |
|
Cool. However I don`t see your commit anywhere. Cheers, |
|
Hi @RoelVanNyen, I find this fix quite problematic. Imagine the following scenario: You create a node by: Then, later you want to find this node by name: Doesn't it break the generic purpose of libcloud where you will certainly have to "if conn is the SoftLayer" then check node.name == id + "example.com". I suggest that the name is still the original created name while you will add extra attribute fullyQualifiedDomainName instead. |
Otherwise we don`t know which machine this really is, you only see a part of the hostname.