Displaying 3 results from an estimated 3 matches for "host_qmf".
Did you mean:
host_cmd
2010 Aug 18
2
[PATCH] Don't show vlan interfaces in NIC host management
...,18 @@ class HostRegister < Qmf::ConsoleHandler
# if we have a match, then update the database and remove
# the received data to avoid creating a dupe later
@logger.info "Searching for existing record for: #{detail.macaddr.upcase} in host #{host_qmf.hostname}"
- if detail.macaddr.upcase == nic.mac
+ # if detail.interface ~ /eth.*\..*/ || detail.interface ~ /vnet.*/
+ if detail.interface =~ /eth\d+\.\d+/ || detail.interface =~ /vnet\d+/
+ @logger.info "Don't manage #{detail.interface.inspect}"
+ else
+...
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.inf...
2010 Sep 14
1
[PATCH] Fix bad declaration in host-register
...,13 @@ class HostRegister < Qmf::ConsoleHandler
# if we have a match, then update the database and remove
# the received data to avoid creating a dupe later
@logger.info "Searching for existing record for: #{detail.macaddr.upcase} in host #{host_qmf.hostname}"
- # if detail.interface ~ /eth.*\..*/ || detail.interface ~ /vnet.*/
- if detail.interface =~ /eth\d+\.\d+/ || detail.interface =~ /vnet\d+/
- @logger.info "Don't manage #{detail.interface.inspect}"
+ if detail.interface_name =~ /eth\d+\.\d+/ || detail.interfac...