[provider][static] add external_id field like other provider

add name of node in external_id field to hydrate UI
 in "Server" column

Change-Id: Iad37220232d3a44ec65c9be54bfdc50707441264
This commit is contained in:
Andy Ladjadj 2020-10-01 10:27:07 +02:00
parent ee2bc79ae2
commit 60362d87aa

View File

@ -187,6 +187,7 @@ class StaticNodeProvider(Provider):
node.pool = pool_name
node.launcher = "static driver"
node.type = static_node["labels"]
node.external_id = static_node["name"]
node.hostname = static_node["name"]
node.username = static_node["username"]
node.interface_ip = static_node["name"]