From e8bd1bf2c469697acaf969fc64f8045fb01fcd31 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 21 Jun 2021 01:25:38 -0400 Subject: [PATCH] Ensure used/used_by are set on creation --- node-daemon/pvcnoded/Daemon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/node-daemon/pvcnoded/Daemon.py b/node-daemon/pvcnoded/Daemon.py index 697a449a..a52cce01 100644 --- a/node-daemon/pvcnoded/Daemon.py +++ b/node-daemon/pvcnoded/Daemon.py @@ -1137,6 +1137,8 @@ if enable_networking: (('node.sriov.vf', myhostname, 'sriov_vf.config.link_state', vfphy), vf['link_state']), (('node.sriov.vf', myhostname, 'sriov_vf.config.trust', vfphy), vf['trust']), (('node.sriov.vf', myhostname, 'sriov_vf.config.query_rss', vfphy), vf['query_rss_en']), + (('node.sriov.vf', myhostname, 'sriov_vf.used', vfphy), False), + (('node.sriov.vf', myhostname, 'sriov_vf.used_by', vfphy), ''), ]) # Append the device to the list of VFs sriov_vf_list.append(vfphy)