From 37fafeb6781504b506e6e399354d808ec8c0e31d Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Mon, 10 Feb 2020 15:06:50 +0000 Subject: [PATCH] Add SR-IOV agent resource provider information When the SR-IOV agent starts, print information about the Placement resource providers: bandwidth, inventory default configuration and hypervisor names. Change-Id: Ib34f7a4f850301b2a8bf739c9d8d5e73bcc1bc48 Related-Bug: #1578989 --- .../plugins/ml2/drivers/mech_sriov/agent/sriov_nic_agent.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neutron/plugins/ml2/drivers/mech_sriov/agent/sriov_nic_agent.py b/neutron/plugins/ml2/drivers/mech_sriov/agent/sriov_nic_agent.py index 5537d69baf0..16681b66f06 100644 --- a/neutron/plugins/ml2/drivers/mech_sriov/agent/sriov_nic_agent.py +++ b/neutron/plugins/ml2/drivers/mech_sriov/agent/sriov_nic_agent.py @@ -561,6 +561,9 @@ def main(): raise SystemExit(1) LOG.info("Physical Devices mappings: %s", device_mappings) LOG.info("Exclude Devices: %s", exclude_devices) + LOG.info("Resource provider bandwidths: %s", rp_bandwidths) + LOG.info("Resource provider inventory defaults: %s", rp_inventory_defaults) + LOG.info("Resource provider hypervisors: %s", rp_hypervisors) polling_interval = cfg.CONF.AGENT.polling_interval try: