summaryrefslogtreecommitdiffstats
path: root/vstf/etc/vstf/perf
diff options
context:
space:
mode:
Diffstat (limited to 'vstf/etc/vstf/perf')
-rwxr-xr-xvstf/etc/vstf/perf/sw_perf.batch-settings90
-rwxr-xr-xvstf/etc/vstf/perf/sw_perf.cpu-settings5
-rwxr-xr-xvstf/etc/vstf/perf/sw_perf.device-settings56
-rwxr-xr-xvstf/etc/vstf/perf/sw_perf.flownodes-settings99
-rwxr-xr-xvstf/etc/vstf/perf/sw_perf.forwarding-settings51
5 files changed, 301 insertions, 0 deletions
diff --git a/vstf/etc/vstf/perf/sw_perf.batch-settings b/vstf/etc/vstf/perf/sw_perf.batch-settings
new file mode 100755
index 00000000..7926877d
--- /dev/null
+++ b/vstf/etc/vstf/perf/sw_perf.batch-settings
@@ -0,0 +1,90 @@
+{
+ "Tn":[
+ {
+ "case": "Tn-1",
+ "tool": "netperf",
+ "protocol": "udp",
+ "profile": "rdp",
+ "type": "frameloss",
+ "sizes": [64, 128, 512, 1024]
+ },
+ {
+ "case": "Tn-2",
+ "tool": "pktgen",
+ "protocol": "udp",
+ "profile": "rdp",
+ "type": "frameloss",
+ "sizes": [64, 128, 512, 1024]
+ }
+ ],
+ "Ti":[
+ {
+ "case": "Ti-1",
+ "tool": "netperf",
+ "protocol": "udp",
+ "profile": "rdp",
+ "type": "frameloss",
+ "sizes": [64, 128, 512, 1024]
+ },
+ {
+ "case": "Ti-2",
+ "tool": "pktgen",
+ "protocol": "udp",
+ "profile": "rdp",
+ "type": "frameloss",
+ "sizes": [64, 128, 512, 1024]
+ },
+ {
+ "case": "Ti-3",
+ "tool": "pktgen",
+ "protocol": "udp",
+ "profile": "rdp",
+ "type": "frameloss",
+ "sizes": [64, 128, 512, 1024]
+ }
+ ],
+ "Tnv":[
+ {
+ "case": "Tnv-1",
+ "tool": "netmap",
+ "protocol": "udp",
+ "profile": "rdp",
+ "type": "frameloss",
+ "sizes": [64, 128, 512, 1024]
+ },
+ {
+ "case": "Tnv-2",
+ "tool": "netperf",
+ "protocol": "udp",
+ "profile": "rdp",
+ "type": "frameloss",
+ "sizes": [64, 128, 512, 1024]
+ }
+ ],
+ "Tu":[
+ {
+ "case": "Tu-1",
+ "tool": "netperf",
+ "protocol": "udp",
+ "profile": "rdp",
+ "type": "frameloss",
+ "sizes": [64, 128, 512, 1024]
+ },
+ {
+ "case": "Tu-2",
+ "tool": "pktgen",
+ "protocol": "udp",
+ "profile": "rdp",
+ "type": "frameloss",
+ "sizes": [64, 128, 512, 1024]
+ },
+ {
+ "case": "Tu-3",
+ "tool": "netperf",
+ "protocol": "udp",
+ "profile": "rdp",
+ "type": "frameloss",
+ "sizes": [64, 128, 512, 1024]
+ }
+ ]
+} \ No newline at end of file
diff --git a/vstf/etc/vstf/perf/sw_perf.cpu-settings b/vstf/etc/vstf/perf/sw_perf.cpu-settings
new file mode 100755
index 00000000..77b9304c
--- /dev/null
+++ b/vstf/etc/vstf/perf/sw_perf.cpu-settings
@@ -0,0 +1,5 @@
+{
+ "affctl":{
+ "policy": 2
+ }
+} \ No newline at end of file
diff --git a/vstf/etc/vstf/perf/sw_perf.device-settings b/vstf/etc/vstf/perf/sw_perf.device-settings
new file mode 100755
index 00000000..a91340bd
--- /dev/null
+++ b/vstf/etc/vstf/perf/sw_perf.device-settings
@@ -0,0 +1,56 @@
+{
+ "tester":{
+ "agent": "192.168.188.14",
+ "devs": [
+ {
+ "bdf": "04:00.0"
+ },
+ {
+ "bdf": "04:00.1"
+ }
+ ]
+ },
+ "host":{
+ "agent": "192.168.188.16",
+ "devs": [
+ {
+ "bdf": "04:00.0"
+ },
+ {
+ "bdf": "04:00.1"
+ },
+ {
+ "iface": "tap0"
+ },
+ {
+ "iface": "tap1"
+ }
+ ]
+ },
+ "vm-200":{
+ "agent": "192.168.188.200",
+ "devs": [
+ {
+ "mac": "56:6f:44:a5:3f:a2"
+ },
+ {
+ "mac": "56:6f:44:a5:3f:a3"
+ }
+ ]
+ },
+ "vm-201":{
+ "agent": "192.168.188.201",
+ "devs": [
+ {
+ "mac": "56:6f:44:a5:3f:a4"
+ },
+ {
+ "mac": "56:6f:44:a5:3f:a5"
+ }
+ ]
+ },
+ "tables":{
+ "vm-201": "host",
+ "vm-200": "host"
+ }
+}
diff --git a/vstf/etc/vstf/perf/sw_perf.flownodes-settings b/vstf/etc/vstf/perf/sw_perf.flownodes-settings
new file mode 100755
index 00000000..c9cc75b7
--- /dev/null
+++ b/vstf/etc/vstf/perf/sw_perf.flownodes-settings
@@ -0,0 +1,99 @@
+{
+ "cpu_listens":[
+ {
+ "agent":"192.168.188.16",
+ "affctl":{
+ "policy": 2
+ }
+ }
+ ],
+ "flows":2,
+ "namespaces":[
+ {
+ "agent":"192.168.188.14",
+ "dev":{
+ "bdf":"04:00.0",
+ "iface":"eth4",
+ "ip":"192.168.1.100",
+ "mac":"90:e2:ba:20:1f:d8",
+ "namespace":"vstf-space-1"
+ }
+ },
+ {
+ "agent":"192.168.188.14",
+ "dev":{
+ "bdf":"04:00.1",
+ "iface":"p57p2",
+ "ip":"192.168.1.101",
+ "mac":"90:e2:ba:20:1f:d9",
+ "namespace":"vstf-space-2"
+ }
+ }
+ ],
+ "receivers":[
+ {
+ "agent":"192.168.188.14",
+ "dev":{
+ "bdf":"04:00.1",
+ "iface":"p57p2",
+ "ip":"192.168.1.101",
+ "mac":"90:e2:ba:20:1f:d9",
+ "namespace":"vstf-space-2"
+ }
+ },
+ {
+ "agent":"192.168.188.14",
+ "dev":{
+ "bdf":"04:00.0",
+ "iface":"eth4",
+ "ip":"192.168.1.100",
+ "mac":"90:e2:ba:20:1f:d8",
+ "namespace":"vstf-space-1"
+ }
+ }
+ ],
+ "senders":[
+ {
+ "agent":"192.168.188.14",
+ "dev":{
+ "bdf":"04:00.0",
+ "iface":"eth4",
+ "ip":"192.168.1.100",
+ "mac":"90:e2:ba:20:1f:d8",
+ "namespace":"vstf-space-1"
+ }
+ },
+ {
+ "agent":"192.168.188.14",
+ "dev":{
+ "bdf":"04:00.1",
+ "iface":"p57p2",
+ "ip":"192.168.1.101",
+ "mac":"90:e2:ba:20:1f:d9",
+ "namespace":"vstf-space-2"
+ }
+ }
+ ],
+ "watchers":[
+ {
+ "agent":"192.168.188.14",
+ "dev":{
+ "bdf":"04:00.0",
+ "iface":"eth4",
+ "ip":"192.168.1.100",
+ "mac":"90:e2:ba:20:1f:d8",
+ "namespace":"vstf-space-1"
+ }
+ },
+ {
+ "agent":"192.168.188.14",
+ "dev":{
+ "bdf":"04:00.1",
+ "iface":"p57p2",
+ "ip":"192.168.1.101",
+ "mac":"90:e2:ba:20:1f:d9",
+ "namespace":"vstf-space-2"
+ }
+ }
+ ]
+} \ No newline at end of file
diff --git a/vstf/etc/vstf/perf/sw_perf.forwarding-settings b/vstf/etc/vstf/perf/sw_perf.forwarding-settings
new file mode 100755
index 00000000..17f66434
--- /dev/null
+++ b/vstf/etc/vstf/perf/sw_perf.forwarding-settings
@@ -0,0 +1,51 @@
+{
+ "head": {
+ "ip": "192.168.1.100",
+ "namespace": "vstf-space-1"
+ },
+
+ "tail": {
+ "ip": "192.168.1.101",
+ "namespace": "vstf-space-2"
+ },
+
+ "Tnv":{
+ "flows":[
+ ["tester", 0],
+ ["host", 0],
+ ["host", 2],
+ ["host", 3],
+ ["host", 1],
+ ["tester", 1]
+ ],
+ "watchers": [1, 4]
+ },
+ "Tn":{
+ "flows":[
+ ["tester", 0],
+ ["host", 0],
+ ["host", 1],
+ ["tester", 1]
+ ],
+ "watchers": [1, 2]
+ },
+ "Tu":{
+ "flows":[
+ ["vm-200", 0],
+ ["host", 2],
+ ["host", 3],
+ ["vm-201", 0]
+
+ ],
+ "watchers": [1, 2]
+ },
+ "Ti":{
+ "flows":[
+ ["tester", 1],
+ ["host", 0],
+ ["host", 2],
+ ["vm-200", 0]
+ ],
+ "watchers": [1, 2]
+ }
+} \ No newline at end of file