aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-11-03 18:44:31 -0500
committerOle Trøan <otroan@employees.org>2019-11-06 16:40:11 +0000
commit6b0dd5502489c83cc4a0e6e9240b41a9bb3f0ed6 (patch)
tree2f17610529da94fa7bc171fc329093ef76293517 /src/plugins/nat
parent7f39e91fe51761aa3dda6cb33ab3bbaa3296d28d (diff)
build: add yaml file linting to make checkstyle
Type: feature fts and trex rely on yaml config files. Verify that they are valid, so comitters can catch errors early. Change-Id: Ide0bb276659119c59bdbbc8b8155e37562a648b8 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/plugins/nat')
-rw-r--r--src/plugins/nat/extras/trex_cfg.yaml13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/plugins/nat/extras/trex_cfg.yaml b/src/plugins/nat/extras/trex_cfg.yaml
index 6fd1ab007d8..0388476ea78 100644
--- a/src/plugins/nat/extras/trex_cfg.yaml
+++ b/src/plugins/nat/extras/trex_cfg.yaml
@@ -1,5 +1,5 @@
-### Config file generated by dpdk_setup_ports.py ###
-
+# Config file generated by dpdk_setup_ports.py ##
+---
- port_limit: 2
version: 2
interfaces: ['04:00.0', '04:00.1']
@@ -14,8 +14,7 @@
master_thread_id: 0
latency_thread_id: 8
dual_if:
- - socket: 0
- threads: [1,2,3,4,5,6,7]
- - socket: 1
- threads: [9,10,11,12,13,14,15]
-
+ - socket: 0
+ threads: [1, 2, 3, 4, 5, 6, 7]
+ - socket: 1
+ threads: [9, 10, 11, 12, 13, 14, 15]