From 60362d87aa53c6a81b7aad9e4a3a04396d91df16 Mon Sep 17 00:00:00 2001 From: Andy Ladjadj Date: Thu, 1 Oct 2020 10:27:07 +0200 Subject: [PATCH] [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 --- nodepool/driver/static/provider.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nodepool/driver/static/provider.py b/nodepool/driver/static/provider.py index faca1c77e..a313741e3 100644 --- a/nodepool/driver/static/provider.py +++ b/nodepool/driver/static/provider.py @@ -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"]