Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/configs/nuage/scripts/pps-simulator/README
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ Eg: For def_conf: 4C2 = 6
number of sla records generated = nsg_cnt/2 * appgrp_cnt
Eg: For def_conf: 4/2 * 2 = 4

duration:
Duration of past to cover in stats, specified in hours(h) or minutes(h)
Eg: 5h => 5 hours, 30m => 30 minutes

NATT based settings:
natt_ip_prefix:
IP prefix used alongside real host address

natt_port:
Default used natt port

natt_conn_failure_probability:
The probability with which an IP of NATT(applies to all 4 IP addresses Probe learnt * 2, VSC learnt * 2) is found to be ZERO at each timestep by the NSG.
This boils down to the amount of "YELLOW/RED" to increase in the NATT summary heatmap.


2 changes: 2 additions & 0 deletions src/configs/nuage/scripts/pps-simulator/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ duc_count: 2
es_server: http://localhost:9200
es_chunk_size: 500
out_sla_apps: 2
duration: 30m
natt_conn_failure_probability: 0.0
6 changes: 3 additions & 3 deletions src/configs/nuage/scripts/pps-simulator/init_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ curl -XPUT 'http://localhost:9200/_template/nuage_dpi_slastats_alias_template' -
}
}
'
curl -XPUT 'http://localhost:9200/_template/nuage_nat-t_alias_template' -d '
curl -XPUT 'http://localhost:9200/_template/nuage_natt_alias_template' -d '
{
"order" : 0,
"template" : "nuage_nat-t*",
"template" : "nuage_natt*",
"settings" : { },
"mappings" : { },
"aliases" : {
"nuage_nat-t" : { }
"nuage_natt" : { }
}
}
'
Loading