search for: nicwrapp

Displaying 8 results from an estimated 8 matches for "nicwrapp".

Did you mean: nicwrapper
2010 Mar 15
0
[PATCH] Updated the list of ignored files and fixed whitespace issues.
...Inc. * Written by Arjun Roy <arroy at redhat.com> * * This program is free software; you can redistribute it and/or modify @@ -49,17 +49,17 @@ ostream& operator<<(ostream &output, const HostWrapper& host) vector<CPUWrapper*> cpus = host.cpus; vector<NICWrapper*> nics = host.nics; - for (vector<CPUWrapper*>::iterator iter = cpus.begin(); - iter!= cpus.end(); - iter++) { + for (vector<CPUWrapper*>::iterator iter = cpus.begin(); + iter!= cpus.end(); + iter++) { output << **iter << endl; }...
2010 Apr 15
1
[PATCH matahari] Refactored the Host agent.
...evious HostWrapper class with the new HostAgent class, which more closely resembles the style of the ProcessorsAgent class. Deleted the HostWrapper class entirely. Refactored the daemon entry point to reduce the number of methods invoked in order to start or stop the HostAgent instance. Moved the NICWrapper's setupQMFObject method from private to public so that it can be invoked by the HostAgent. This is a temporary measure since the NICWrapper will be replaced by a future patch. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- src/host.cpp | 263 +++++++++++++----------...
2010 Apr 26
0
[PATCH matahari] Created the NetworkDevice agent.
...t, this); + } struct utsname details; string uuid = "Unknown"; @@ -94,20 +103,17 @@ HostAgent::setup(ManagementAgent* agent) management_object->set_arch(architecture); management_object->set_memory(memory); management_object->set_beeping(beeping); - - NICWrapper::fillNICInfo(this->nics, agent); - - // setup the nic objects - for(vector<NICWrapper*>::iterator iter = nics.begin(); - iter != nics.end(); - iter++) - { - (*iter)->setupQMFObject(agent, this); - } } void HostAgent::update(void) { processors.update();...
2010 Apr 26
2
Patch supercedes previous patch...
In looking at the code I realized that the last of the HAL depenencies were removed with this patch. So, I'm pushing an updated patch that contains none of the HAL code in it.
2010 Apr 19
1
[PATCH matahari] Removes all code for the previous CPUWrapper class.
...r<<(ostream &output, const HostWrapper& host) output << "Hypervisor: " << host.hypervisor << endl; output << "Arch: " << host.arch << endl << endl; - vector<CPUWrapper*> cpus = host.cpus; vector<NICWrapper*> nics = host.nics; - for (vector<CPUWrapper*>::iterator iter = cpus.begin(); - iter!= cpus.end(); - iter++) { - output << **iter << endl; - } for (vector<NICWrapper*>::iterator iter = nics.begin(); iter!= nics.end();...
2010 Mar 16
0
[PATCH] Added the new Processors agent.
...st.h +++ b/src/host.h @@ -25,6 +25,7 @@ #include "cpu.h" #include "nic.h" +#include "processors.h" using namespace qpid::management; using namespace std; @@ -49,6 +50,8 @@ class HostWrapper : public Manageable vector<CPUWrapper*> cpus; vector<NICWrapper*> nics; + ProcessorsAgent processors; + // QMF related fields ManagementAgent *agent; qmf::com::redhat::matahari::Host *mgmt_object; diff --git a/src/processors.cpp b/src/processors.cpp new file mode 100644 index 0000000..d1b1f44 --- /dev/null +++ b/src/processors.cpp @@ -0...
2010 Mar 22
1
Small change and resend...
This patch includes one small change: the Processors::get_load_average() method is now const since it does not change the object's state.
2010 Mar 22
1
Resend with loadavg as a statistic...
After some feedback from Slow, mainly about the load_average API being a method rather than an ongoing statistic. So I've converted the code over to instead update the load average statistic on a regular basis.