summaryrefslogtreecommitdiffstats
path: root/src/vnet
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/vnet
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/vnet')
-rw-r--r--src/vnet/devices/af_packet/FEATURE.yaml10
-rw-r--r--src/vnet/devices/netmap/FEATURE.yaml7
-rw-r--r--src/vnet/devices/pipe/FEATURE.yaml6
-rw-r--r--src/vnet/devices/tap/FEATURE.yaml4
-rw-r--r--src/vnet/devices/virtio/FEATURE.yaml4
-rw-r--r--src/vnet/ipip/FEATURE.yaml20
6 files changed, 35 insertions, 16 deletions
diff --git a/src/vnet/devices/af_packet/FEATURE.yaml b/src/vnet/devices/af_packet/FEATURE.yaml
index 00630140910..4a057c4ac96 100644
--- a/src/vnet/devices/af_packet/FEATURE.yaml
+++ b/src/vnet/devices/af_packet/FEATURE.yaml
@@ -1,9 +1,15 @@
+---
name: host-interface Device (AF_PACKET)
maintainer: Damjan Marion <damarion@cisco.com>
features:
- L4 checksum offload
-description: "Create a host interface that will attach to a linux AF_PACKET interface, one side of a veth pair. The veth pair must already exist. Once created, a new host interface will exist in VPP with the name 'host-<ifname>', where '<ifname>' is the name of the specified veth pair. Use the 'show interface' command to display host interface details."
+description: "Create a host interface that will attach to a linux AF_PACKET
+ interface, one side of a veth pair. The veth pair must
+ already exist. Once created, a new host interface will
+ exist in VPP with the name 'host-<ifname>', where '<ifname>'
+ is the name of the specified veth pair. Use the 'show interface'
+ command to display host interface details."
missing:
- - API dump details beyond sw_if_index and name
+ - API dump details beyond sw_if_index and name
state: production
properties: [API, CLI, STATS, MULTITHREAD]
diff --git a/src/vnet/devices/netmap/FEATURE.yaml b/src/vnet/devices/netmap/FEATURE.yaml
index dfc32bb0c68..e23e5c243e7 100644
--- a/src/vnet/devices/netmap/FEATURE.yaml
+++ b/src/vnet/devices/netmap/FEATURE.yaml
@@ -1,9 +1,12 @@
+---
name: Netmap Device
maintainer: Damjan Marion <damarion@cisco.com>
features:
- L4 checksum offload
-description: "Create a netmap interface, which is a high speed user-space interface that allows VPP to patch into a linux namespace, a linux container, or a physical NIC without the use of DPDK."
+description: "Create a netmap interface, which is a high speed user-space
+ interface that allows VPP to patch into a linux namespace,
+ a linux container, or a physical NIC without the use of DPDK."
missing:
- - API dump
+ - API dump
state: production
properties: [API, CLI, STATS, MULTITHREAD]
diff --git a/src/vnet/devices/pipe/FEATURE.yaml b/src/vnet/devices/pipe/FEATURE.yaml
index 0886ec5d896..dbe3b3b7153 100644
--- a/src/vnet/devices/pipe/FEATURE.yaml
+++ b/src/vnet/devices/pipe/FEATURE.yaml
@@ -1,8 +1,12 @@
+---
name: Pipe Device
maintainer: Damjan Marion <damarion@cisco.com>
features:
- L4 checksum offload
-description: "Create a pipe device interface, which can pass packets bidirectionally in one side of the pipe to the other side of the pipe. While similar in behavior to a unix pipe, it is not a host-based pipe."
+description: "Create a pipe device interface, which can pass packets
+ bidirectionally in one side of the pipe to the other side of
+ the pipe. While similar in behavior to a unix pipe, it is
+ not a host-based pipe."
missing:
- does not use hw-address
- does not support tagged traffic
diff --git a/src/vnet/devices/tap/FEATURE.yaml b/src/vnet/devices/tap/FEATURE.yaml
index 2ca6057b118..ce2c510cc9b 100644
--- a/src/vnet/devices/tap/FEATURE.yaml
+++ b/src/vnet/devices/tap/FEATURE.yaml
@@ -1,8 +1,10 @@
+---
name: Tap Device
maintainer: damarion@cisco.com sluong@cisco.com sykazmi@cisco.com
features:
- Virtio
-description: "Create a tap v2 device interface, which connects to a tap interface on the host system."
+description: "Create a tap v2 device interface, which connects to a
+ tap interface on the host system."
missing:
- API dump filtering by sw_if_index
diff --git a/src/vnet/devices/virtio/FEATURE.yaml b/src/vnet/devices/virtio/FEATURE.yaml
index 69f4739265b..c98689e2fb9 100644
--- a/src/vnet/devices/virtio/FEATURE.yaml
+++ b/src/vnet/devices/virtio/FEATURE.yaml
@@ -1,7 +1,9 @@
+---
name: Virtio PCI Device
maintainer: Mohsin Kazmi <sykazmi@cisco.com>
features:
- - connection to the emulated pci interface presented to vpp from the host interface.
+ - connection to the emulated pci interface presented to vpp from
+ the host interface.
description: "Create a virtio-backed PCI device interface"
missing:
- API dump filtering by sw_if_index
diff --git a/src/vnet/ipip/FEATURE.yaml b/src/vnet/ipip/FEATURE.yaml
index 6e670fc3e74..010fa1ec527 100644
--- a/src/vnet/ipip/FEATURE.yaml
+++ b/src/vnet/ipip/FEATURE.yaml
@@ -1,22 +1,24 @@
+---
name: IP in IP tunnelling
maintainer: Ole Troan <ot@cisco.com>
features:
- IPv4/IPv6 over IPv4/IPv6 encapsulation:
- - Fragmentation and Reassembly
- - Configurable MTU
- - Inner to outer Traffic Class / TOS copy
- - Configurable Traffic Class / TOS
+ - Fragmentation and Reassembly
+ - Configurable MTU
+ - Inner to outer Traffic Class / TOS copy
+ - Configurable Traffic Class / TOS
- ICMPv4 / ICMPv6 proxying
- 6RD (RFC5969):
- - Border Relay
+ - Border Relay
-description: "Implements IP{v4,v6} over IP{v4,v6} tunnelling as
- described in RFC2473. This module also implement the border relay of
- 6RD (RFC5969)."
+description: |-
+ Implements IP{v4,v6} over IP{v4,v6} tunnelling as
+ described in RFC2473. This module also implements the
+ border relay of 6RD (RFC5969).
state: production
properties: [API, CLI, STATS, MULTITHREAD]
missing:
- Tunnel PMTUD
- Tracking of FIB state for tunnel state
- - IPv6 extension headers (Tunnel encapsulation limit option) \ No newline at end of file
+ - IPv6 extension headers (Tunnel encapsulation limit option)