summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/yardstick/nodes/compass_sclab_physical/pod.yaml22
-rw-r--r--etc/yardstick/nodes/pod.yaml.collectd.sample25
-rw-r--r--etc/yardstick/nodes/standalone/baremetal_trex.yaml37
-rw-r--r--etc/yardstick/nodes/standalone/host_ovs.yaml21
-rw-r--r--etc/yardstick/nodes/standalone/host_sriov.yaml21
-rw-r--r--etc/yardstick/nodes/standalone/ixia_correlated_template.yaml77
-rw-r--r--etc/yardstick/nodes/standalone/ixia_template.yaml54
-rw-r--r--etc/yardstick/nodes/standalone/pod_bm_trex_template.yaml42
-rw-r--r--etc/yardstick/nodes/standalone/pod_ovs.yaml22
-rw-r--r--etc/yardstick/nodes/standalone/pod_ovs_template.yaml22
-rw-r--r--etc/yardstick/nodes/standalone/pod_sriov.yaml22
-rw-r--r--etc/yardstick/nodes/standalone/pod_sriov_template.yaml22
12 files changed, 387 insertions, 0 deletions
diff --git a/etc/yardstick/nodes/compass_sclab_physical/pod.yaml b/etc/yardstick/nodes/compass_sclab_physical/pod.yaml
index 88501820e..218e00271 100644
--- a/etc/yardstick/nodes/compass_sclab_physical/pod.yaml
+++ b/etc/yardstick/nodes/compass_sclab_physical/pod.yaml
@@ -24,27 +24,49 @@ nodes:
ip: 192.168.10.10
user: root
password: root
+ ipmi_ip: 172.16.130.26
+ ipmi_user: root
+ ipmi_pwd: Opnfv@pod1
-
name: node2
role: Controller
ip: 192.168.10.11
user: root
password: root
+ ipmi_ip: 172.16.130.27
+ ipmi_user: root
+ ipmi_pwd: Opnfv@pod1
-
name: node3
role: Controller
ip: 192.168.10.12
user: root
password: root
+ ipmi_ip: 172.16.130.29
+ ipmi_user: root
+ ipmi_pwd: Opnfv@pod1
-
name: node4
role: Compute
ip: 192.168.10.13
user: root
password: root
+ ipmi_ip: 172.16.130.30
+ ipmi_user: root
+ ipmi_pwd: Opnfv@pod1
-
name: node5
role: Compute
ip: 192.168.10.14
user: root
password: root
+ ipmi_ip: 172.16.130.31
+ ipmi_user: root
+ ipmi_pwd: Opnfv@pod1
+-
+ name: node0
+ ip: 192.168.10.6
+ role: Baremetal
+ user: root
+ password: root
+
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: {}
diff --git a/etc/yardstick/nodes/standalone/baremetal_trex.yaml b/etc/yardstick/nodes/standalone/baremetal_trex.yaml
new file mode 100644
index 000000000..508fb88d3
--- /dev/null
+++ b/etc/yardstick/nodes/standalone/baremetal_trex.yaml
@@ -0,0 +1,37 @@
+# Copyright (c) 2016-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: tg__0
+ role: tg__0
+ ip: {{gen.ip.mgmt[0]| ipaddr('address')}}
+ user: {{gen.user}}
+ password: {{gen.password}}
+ key_filename: {{gen.key_filename}}
+ interfaces:
+{% for num in range(item.num_vnfs|int) %}
+ xe{{num * 2}}: # logical name from topology.yaml and vnfd.yaml
+ vpci: "{{gen.pcis.private[num]}}"
+ dpdk_port_num: {{num * 2}}
+ local_ip: "{{gen.ip.private[num] | ipaddr('address')}}"
+ netmask: "{{gen.ip.private[num] | ipaddr('netmask')}}"
+ local_mac: "{{gen.mac.private[num]}}"
+ xe{{(num * 2) + 1}}: # logical name from topology.yaml and vnfd.yaml
+ vpci: "{{gen.pcis.public[num]}}"
+ dpdk_port_num: {{(num * 2) + 1}}
+ local_ip: "{{gen.ip.public[num] | ipaddr('address') }}"
+ netmask: "{{gen.ip.private[num] | ipaddr('netmask')}}"
+ local_mac: "{{gen.mac.public[num]}}"
+{% endfor %}
diff --git a/etc/yardstick/nodes/standalone/host_ovs.yaml b/etc/yardstick/nodes/standalone/host_ovs.yaml
new file mode 100644
index 000000000..889021ac7
--- /dev/null
+++ b/etc/yardstick/nodes/standalone/host_ovs.yaml
@@ -0,0 +1,21 @@
+# Copyright (c) 2016-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: ovs_dpdk
+ role: OvsDpdk
+ ip: 192.168.100.101
+ user: ""
+ password: ""
diff --git a/etc/yardstick/nodes/standalone/host_sriov.yaml b/etc/yardstick/nodes/standalone/host_sriov.yaml
new file mode 100644
index 000000000..c766d0f17
--- /dev/null
+++ b/etc/yardstick/nodes/standalone/host_sriov.yaml
@@ -0,0 +1,21 @@
+# Copyright (c) 2016-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: sriov
+ role: Sriov
+ ip: 192.168.100.101
+ user: ""
+ password: ""
diff --git a/etc/yardstick/nodes/standalone/ixia_correlated_template.yaml b/etc/yardstick/nodes/standalone/ixia_correlated_template.yaml
new file mode 100644
index 000000000..7250c4ce3
--- /dev/null
+++ b/etc/yardstick/nodes/standalone/ixia_correlated_template.yaml
@@ -0,0 +1,77 @@
+##############################################################################
+# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+# Sample config file about the POD information, including the
+# name/IP/user/ssh key of Bare Metal and Controllers/Computes
+#
+# The options of this config file include:
+# name: the name of this node
+# role: node's role, support role: Master/Controller/Comupte/BareMetal
+# ip: the node's IP address
+# user: the username for login
+# key_filename:the path of the uplink key file for login
+
+
+nodes:
+-
+ name: tg__0
+ role: IxNet
+ ip: {{gen.ip.mgmt[0]| ipaddr('address')}}
+ user: {{gen.user}}
+ password: {{gen.password}}
+ key_filename: {{gen.key_filename}}
+ tg_config:
+ ixchassis: "{{gen.tg_config.ixchassis}}" #ixia chassis ip
+ tcl_port: "{{gen.tg_config.tcl_port}}" # tcl server port
+ lib_path: "{{gen.tg_config.lib_path}}"
+ root_dir: "{{gen.tg_config.root_dir}}"
+ py_bin_path: "{{gen.tg_config.py_bin_path}}"
+ py_lib_path: "{{gen.tg_config.py_lib_path}}"
+ dut_result_dir: "{{gen.tg_config.dut_result_dir}}"
+ version: "{{gen.tg_config.version}}"
+ interfaces:
+{% for num in range(num_vnfs|int) %}
+ xe{{num * 2}}: # logical name from topology.yaml and vnfd.yaml
+ vpci: "{{gen.pcis.uplink[num]}}"
+ dpdk_port_num: {{num * 2}}
+ driver: none
+ local_ip: "{{gen.ip.uplink[num] | ipaddr('address')}}"
+ netmask: "{{gen.ip.uplink[num] | ipaddr('netmask')}}"
+ local_mac: "{{gen.mac.uplink[num]}}"
+ xe{{(num * 2) + 1}}: # logical name from topology.yaml and vnfd.yaml
+ vpci: "{{gen.pcis.downlink[num]}}"
+ dpdk_port_num: {{(num * 2) + 1}}
+ driver: none
+ local_ip: "{{gen.ip.downlink[num] | ipaddr('address') }}"
+ netmask: "{{gen.ip.uplink[num] | ipaddr('netmask')}}"
+ local_mac: "{{gen.mac.downlink[num]}}"
+{% endfor %}
+
+-
+ name: tg__1
+ role: tg__1
+ ip: {{gen_1.ip.mgmt[0]| ipaddr('address')}}
+ user: {{gen_1.user}}
+ password: {{gen_1.password}}
+ key_filename: {{gen_1.key_filename}}
+ interfaces:
+{% for num in range(num_vnfs|int) %}
+ xe{{num * 2}}: # logical name from topology.yaml and vnfd.yaml
+ vpci: "{{gen_1.pcis.uplink[num]}}"
+ dpdk_port_num: {{num * 2}}
+ local_ip: "{{gen_1.ip.uplink[num] | ipaddr('address')}}"
+ netmask: "{{gen_1.ip.uplink[num] | ipaddr('netmask')}}"
+ local_mac: "{{gen_1.mac.uplink[num]}}"
+ xe{{(num * 2) + 1}}: # logical name from topology.yaml and vnfd.yaml
+ vpci: "{{gen_1.pcis.downlink[num]}}"
+ dpdk_port_num: {{(num * 2) + 1}}
+ local_ip: "{{gen_1.ip.downlink[num] | ipaddr('address') }}"
+ netmask: "{{gen_1.ip.uplink[num] | ipaddr('netmask')}}"
+ local_mac: "{{gen_1.mac.downlink[num]}}"
+{% endfor %}
diff --git a/etc/yardstick/nodes/standalone/ixia_template.yaml b/etc/yardstick/nodes/standalone/ixia_template.yaml
new file mode 100644
index 000000000..617a65162
--- /dev/null
+++ b/etc/yardstick/nodes/standalone/ixia_template.yaml
@@ -0,0 +1,54 @@
+##############################################################################
+# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+# Sample config file about the POD information, including the
+# name/IP/user/ssh key of Bare Metal and Controllers/Computes
+#
+# The options of this config file include:
+# name: the name of this node
+# role: node's role, support role: Master/Controller/Comupte/BareMetal
+# ip: the node's IP address
+# user: the username for login
+# key_filename:the path of the uplink key file for login
+
+
+nodes:
+-
+ name: tg__0
+ role: IxNet
+ ip: {{gen.ip.mgmt[0]| ipaddr('address')}}
+ user: {{gen.user}}
+ password: {{gen.password}}
+ key_filename: {{gen.key_filename}}
+ tg_config:
+ ixchassis: "{{gen.tg_config.ixchassis}}" #ixia chassis ip
+ tcl_port: "{{gen.tg_config.tcl_port}}" # tcl server port
+ lib_path: "{{gen.tg_config.lib_path}}"
+ root_dir: "{{gen.tg_config.root_dir}}"
+ py_bin_path: "{{gen.tg_config.py_bin_path}}"
+ py_lib_path: "{{gen.tg_config.py_lib_path}}"
+ dut_result_dir: "{{gen.tg_config.dut_result_dir}}"
+ version: "{{gen.tg_config.version}}"
+ interfaces:
+{% for num in range(num_vnfs|int) %}
+ xe{{num * 2}}: # logical name from topology.yaml and vnfd.yaml
+ vpci: "{{gen.pcis.uplink[num]}}"
+ dpdk_port_num: {{num * 2}}
+ driver: none
+ local_ip: "{{gen.ip.uplink[num] | ipaddr('address')}}"
+ netmask: "{{gen.ip.uplink[num] | ipaddr('netmask')}}"
+ local_mac: "{{gen.mac.uplink[num]}}"
+ xe{{(num * 2) + 1}}: # logical name from topology.yaml and vnfd.yaml
+ vpci: "{{gen.pcis.downlink[num]}}"
+ dpdk_port_num: {{(num * 2) + 1}}
+ driver: none
+ local_ip: "{{gen.ip.downlink[num] | ipaddr('address') }}"
+ netmask: "{{gen.ip.uplink[num] | ipaddr('netmask')}}"
+ local_mac: "{{gen.mac.downlink[num]}}"
+{% endfor %}
diff --git a/etc/yardstick/nodes/standalone/pod_bm_trex_template.yaml b/etc/yardstick/nodes/standalone/pod_bm_trex_template.yaml
new file mode 100644
index 000000000..31c94efef
--- /dev/null
+++ b/etc/yardstick/nodes/standalone/pod_bm_trex_template.yaml
@@ -0,0 +1,42 @@
+##############################################################################
+# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+# Sample config file about the POD information, including the
+# name/IP/user/ssh key of Bare Metal and Controllers/Computes
+#
+# The options of this config file include:
+# name: the name of this node
+# role: node's role, support role: Master/Controller/Comupte/BareMetal
+# ip: the node's IP address
+# user: the username for login
+# key_filename:the path of the private key file for login
+
+nodes:
+-
+ name: trafficgen_1
+ role: tg__1
+ ip: {{gen.ip.mgmt[0]| ipaddr('address')}}
+ user: {{gen.user}}
+ password: {{gen.password}}
+ key_filename: {{gen.key_filename}}
+ interfaces:
+{% for num in range(item.num_vnfs|int) %}
+ xe{{num * 2}}: # logical name from topology.yaml and vnfd.yaml
+ vpci: "{{gen.pcis.private[num]}}"
+ dpdk_port_num: {{num * 2}}
+ local_ip: "{{gen.ip.private[num] | ipaddr('address')}}"
+ netmask: "{{gen.ip.private[num] | ipaddr('netmask')}}"
+ local_mac: "{{gen.mac.private[num]}}"
+ xe{{(num * 2) + 1}}: # logical name from topology.yaml and vnfd.yaml
+ vpci: "{{gen.pcis.public[num]}}"
+ dpdk_port_num: {{(num * 2) + 1}}
+ local_ip: "{{gen.ip.public[num] | ipaddr('address') }}"
+ netmask: "{{gen.ip.private[num] | ipaddr('netmask')}}"
+ local_mac: "{{gen.mac.public[num]}}"
+{% endfor %}
diff --git a/etc/yardstick/nodes/standalone/pod_ovs.yaml b/etc/yardstick/nodes/standalone/pod_ovs.yaml
new file mode 100644
index 000000000..c1a9f8a85
--- /dev/null
+++ b/etc/yardstick/nodes/standalone/pod_ovs.yaml
@@ -0,0 +1,22 @@
+# Copyright (c) 2016 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: ovs_dpdk
+ role: OvsDpdk
+ ip: {{host.ip}}
+ user: {{host.user}}
+ password: {{host.password}}
+ key_filename: {{host.key_filename}}
diff --git a/etc/yardstick/nodes/standalone/pod_ovs_template.yaml b/etc/yardstick/nodes/standalone/pod_ovs_template.yaml
new file mode 100644
index 000000000..95880d51d
--- /dev/null
+++ b/etc/yardstick/nodes/standalone/pod_ovs_template.yaml
@@ -0,0 +1,22 @@
+# Copyright (c) 2016-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: ovs
+ role: OvsDpdk
+ ip: {{host.ip}}
+ user: {{host.user}}
+ password: {{host.password}}
+ key_filename: {{host.key_filename}}
diff --git a/etc/yardstick/nodes/standalone/pod_sriov.yaml b/etc/yardstick/nodes/standalone/pod_sriov.yaml
new file mode 100644
index 000000000..ca818facf
--- /dev/null
+++ b/etc/yardstick/nodes/standalone/pod_sriov.yaml
@@ -0,0 +1,22 @@
+# Copyright (c) 2016-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: sriov
+ role: Sriov
+ ip: {{host.ip}}
+ user: {{host.user}}
+ password: {{host.password}}
+ key_filename: {{host.key_filename}}
diff --git a/etc/yardstick/nodes/standalone/pod_sriov_template.yaml b/etc/yardstick/nodes/standalone/pod_sriov_template.yaml
new file mode 100644
index 000000000..ca818facf
--- /dev/null
+++ b/etc/yardstick/nodes/standalone/pod_sriov_template.yaml
@@ -0,0 +1,22 @@
+# Copyright (c) 2016-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: sriov
+ role: Sriov
+ ip: {{host.ip}}
+ user: {{host.user}}
+ password: {{host.password}}
+ key_filename: {{host.key_filename}}