diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-09-28 00:10:43 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-10-03 11:02:09 -0700 |
commit | 6801867b535eacb87197acee026b6c243c86e94e (patch) | |
tree | 414cc01fd70b933628cbe31b1e9ae5bcd8fb897d /etc | |
parent | ed22407293b92ca3e51e0230b5c3bf7bc4bb168b (diff) |
add collectd resource node capability
allow manually adding collectd nodes using Node context.
if a node is present with a collectd config dict then
we can create a ResourceProfile object for it
and connect to collectd.
example
nodes:
-
name: compute_0
role: Compute
ip: 1.1.1.1
user: root
password: r00t
collectd:
interval: 5
plugins:
ovs_stats: {}
Change-Id: Ie0c00fdb58373206071daa1fb13faf175c4313e0
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/yardstick/nodes/pod.yaml.collectd.sample | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/etc/yardstick/nodes/pod.yaml.collectd.sample b/etc/yardstick/nodes/pod.yaml.collectd.sample new file mode 100644 index 000000000..6ebf9e295 --- /dev/null +++ b/etc/yardstick/nodes/pod.yaml.collectd.sample @@ -0,0 +1,25 @@ +# Copyright (c) 2017 Intel Corporation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +nodes: +- + name: compute_0 + role: Compute + ip: 1.1.1.1 + user: root + password: r00t + collectd: + interval: 5 + plugins: + ovs_stats: {} |