File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ def run_nozzle_perf(config):
47
47
for case in suite ["cases" ]:
48
48
kvs = "," .join ("{}:{}" .format (k , v ) for k , v in case .iteritems ())
49
49
extra_fields = "{},{}" .format (suite ["extra-fields" ], kvs )
50
+
50
51
cmd = [
51
52
"./splunk-firehose-nozzle" ,
52
53
"--api-endpoint" , config ["api-endpoint" ],
@@ -99,13 +100,15 @@ def execute(cmd, duration):
99
100
100
101
def run_trafficcontroller (duration ):
101
102
for suite in nozzle_perf_suites :
102
- for _ in suite ["cases" ]:
103
+ for case in suite ["cases" ]:
104
+ ip = "pcf_{}" .format ("_" .join ("{}-{}" .format (k , v ) for k , v in case .iteritems ()))
103
105
cmd = [
104
106
"./trafficcontroller" ,
105
107
"--config" , "loggregator_trafficcontroller.json" ,
106
108
"--disableAccessControl" ,
107
109
"--duration" , str (duration ),
108
110
"--message-type" , suite ["message-type" ],
111
+ "--ip" , ip ,
109
112
]
110
113
111
114
execute (cmd , duration )
You can’t perform that action at this time.
0 commit comments