<div dir="ltr">Hello <span class="" id=":2ih.1" tabindex="-1">Fuelers</span>,<div>I've figured out that there is a blueprint regarding node naming (<a href="https://blueprints.launchpad.net/fuel/+spec/node-naming">https://blueprints.launchpad.net/fuel/+spec/node-naming</a>). It looks like this this feature really has not been started. That being said all necessary preparations in <span class="" id=":2ih.2" tabindex="-1">Nailgun</span> code have been already done. The only thing that is needed to be done is to enable this feature (in fact 4 lines of code).</div><div><div>--- a/<span class="" id=":2ih.3" tabindex="-1">nailgun</span>/<span class="" id=":2ih.4" tabindex="-1">nailgun</span>/objects/node.<span class="" id=":2ih.5" tabindex="-1">py</span></div><div>+++ b/<span class="" id=":2ih.6" tabindex="-1">nailgun</span>/<span class="" id=":2ih.7" tabindex="-1">nailgun</span>/objects/node.<span class="" id=":2ih.8" tabindex="-1">py</span></div><div>@@ -654,7 +654,10 @@ class Node(<span class="" id=":2ih.9" tabindex="-1">NailgunObject</span>):</div><div> </div><div> @<span class="" id=":2ih.10" tabindex="-1">classmethod</span></div><div> def make_slave_name(<span class="" id=":2ih.11" tabindex="-1">cls</span>, instance):</div><div>- return u"node-{node_id}".format(node_id=<a href="http://instance.id">instance.id</a>)</div><div>+ if <a href="http://instance.name">instance.name</a>.<span class="" id=":2ih.12" tabindex="-1">startswith</span>("Untitled"):</div><div>+ return u"node-{node_id}".format(node_id=<a href="http://instance.id">instance.id</a>)</div><div>+ else:</div><div>+ return u"{node_id}".format(node_id=instance.name.lower())</div><div> </div><div> @<span class="" id=":2ih.13" tabindex="-1">classmethod</span></div><div> def make_slave_<span class="" id=":2ih.14" tabindex="-1">fqdn</span>(<span class="" id=":2ih.15" tabindex="-1">cls</span>, instance):</div></div><div><br></div><div>Should I consider this as a bug or this blueprint will be implemented in the nearest future?</div><div><br></div><div><div><br></div>-- <br>Kind regards<div><span class="" id=":2ih.16" tabindex="-1">Dmitry</span> <span class="" id=":2ih.17" tabindex="-1">Ukov</span></div><div>IT Engineer</div><div><div><span class="" id=":2ih.18" tabindex="-1">Mirantis</span>, Inc.</div></div><div><br></div>
</div></div>