From 6b0dd5502489c83cc4a0e6e9240b41a9bb3f0ed6 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Sun, 3 Nov 2019 18:44:31 -0500 Subject: 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 --- src/plugins/flowprobe/FEATURE.yaml | 7 ++++--- src/plugins/mactime/FEATURE.yaml | 1 + src/plugins/map/FEATURE.yaml | 3 ++- src/plugins/mdata/FEATURE.yaml | 4 +++- src/plugins/nat/extras/trex_cfg.yaml | 13 ++++++------- 5 files changed, 16 insertions(+), 12 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/flowprobe/FEATURE.yaml b/src/plugins/flowprobe/FEATURE.yaml index f3388fc2c25..66382433d03 100644 --- a/src/plugins/flowprobe/FEATURE.yaml +++ b/src/plugins/flowprobe/FEATURE.yaml @@ -1,3 +1,4 @@ +--- name: IPFIX probe maintainer: Ole Troan features: @@ -6,8 +7,8 @@ features: - Recording of L2, L3 and L4 information description: "IPFIX flow probe. Works in the L2, or IP input feature path." missing: - - Output path - - Export over IPv6 - - Export over TCP/SCTP + - Output path + - Export over IPv6 + - Export over TCP/SCTP state: production properties: [API, CLI, STATS, MULTITHREAD] diff --git a/src/plugins/mactime/FEATURE.yaml b/src/plugins/mactime/FEATURE.yaml index fbc0a6cccdd..f24450e8375 100644 --- a/src/plugins/mactime/FEATURE.yaml +++ b/src/plugins/mactime/FEATURE.yaml @@ -1,3 +1,4 @@ +--- name: Time-range-based MAC-address filter (mactime) maintainer: Dave Barach features: diff --git a/src/plugins/map/FEATURE.yaml b/src/plugins/map/FEATURE.yaml index 0d156354b4c..b5055914480 100644 --- a/src/plugins/map/FEATURE.yaml +++ b/src/plugins/map/FEATURE.yaml @@ -1,8 +1,9 @@ +--- name: Mapping of Address and Port (MAP) maintainer: Ole Troan features: - LW46 BR (RFC7596): - - Fragmentation and Reassembly + - Fragmentation and Reassembly - MAP-E BR (RFC7597) - MAP-T BR (RFC7599) description: "IPv4 as a service mechanisms. Tunnel or translate diff --git a/src/plugins/mdata/FEATURE.yaml b/src/plugins/mdata/FEATURE.yaml index 404739ee54a..9bd11e415a2 100644 --- a/src/plugins/mdata/FEATURE.yaml +++ b/src/plugins/mdata/FEATURE.yaml @@ -1,8 +1,10 @@ +--- name: Buffer Metadata Change Tracker (mdata) maintainer: Dave Barach features: - Buffer Metadata Change Tracker -description: Buffer Metadata Change Tracker + |- + Buffer Metadata Change Tracker Uses the before / after graph node main loop performance callback hooks to snapshoot buffer metadata, then compare and summarize results per-node. 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] -- cgit 1.2.3-korg