Displaying 3 results from an estimated 3 matches for "host_db".
Did you mean:
host_b
2010 Aug 18
2
[PATCH] Don't show vlan interfaces in NIC host management
...true
nic_info.delete(detail)
+ end
end
end
@@ -425,9 +430,12 @@ class HostRegister < Qmf::ConsoleHandler
'interface_name' => nic.interface,
'usage_type' => 1)
- host_db.nics << detail
-
- @logger.info "Added NIC #{nic.interface} with MAC #{nic.macaddr} to host #{host_qmf.hostname}"
+ if detail.interface =~ /eth\d+\.\d+/ || detail.interface =~ /vnet\d+/
+ @logger.info "Don't Add #{detail.interface.inspect}"...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...@cached_hosts[objkey][:agent_bank] == agent_bank
cached_host = @cached_hosts[objkey]
cached_host[:active] = true
@@ -154,123 +214,10 @@ class HostRegister < Qpid::Qmf::Console
end # synchronize do
end
- def update_cpus(host_qmf, host_db, cpu_info)
-
- @logger.info "Updating CPU info for host #{host_qmf.hostname}"
- debugputs "Broker reports #{cpu_info.length} cpus for host #{host_qmf.hostname}"
-
- # delete an existing CPUs and create new ones based on the data
- @logger.info "D...
2010 Sep 14
1
[PATCH] Fix bad declaration in host-register
...net\d+/
- @logger.info "Don't Add #{detail.interface.inspect}"
+ if detail.interface_name =~ /eth\d+\.\d+/ || detail.interface_name =~ /vnet\d+/
+ @logger.info "Don't Add #{detail.interface_name.inspect}"
else
host_db.nics << detail
@logger.info "Added NIC #{nic.interface} with MAC #{nic.macaddr} to host #{host_qmf.hostname}"
--
1.7.2.2