https://bugzilla.redhat.com/show_bug.cgi?id=1270176
--- Comment #1 from Nathan Scott <nathans@xxxxxxxxxx> ---
There's a bit of a conceptual disconnect here, I think Marko...
| self.context = pmapi.pmContext.fromOptions(self.opts, sys.argv)
The pmContext fromOptions helper interface is intended for simpler tools (the
vast majority of PCP tools fall into this catgeory though), where there is only
one source of metrics - a live host, or a single archive.
We'll need a higher level python API (i.e. pcp.pmcc rather than pcp.pmapi) to
be able to construct multiple pmContext objects from a list of hosts.
So, the pmOptions class supports this notion of multiple sources (from the
command line and via the pmSetOptionHost/ArchiveList pmOption interfaces), but
there's nothing so far to turn that into a class that managed multiple contexts
- pcp.pmContext is not that class.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=yLcVuIerKe&a=cc_unsubscribe
|