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
changes/75/706875/2
Rodolfo Alonso Hernandez 3 years ago
parent 6709cfcdfa
commit 37fafeb678
  1. 3
      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:

Loading…
Cancel
Save