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

This commit is contained in:
Zuul
2021-02-03 19:54:15 +00:00
committed by Gerrit Code Review

View File

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