summaryrefslogtreecommitdiff
path: root/vswitchd/vswitch.ovsschema
diff options
context:
space:
mode:
authorRomain Lenglet <rlenglet@vmware.com>2013-11-20 10:57:53 -0800
committerBen Pfaff <blp@nicira.com>2013-11-20 16:31:26 -0800
commit88afd5fcc3c7b45c073966f5c6f25e04f5c6c077 (patch)
treea7ba9fd3fb73927550f4bfba501719caa074ff57 /vswitchd/vswitch.ovsschema
parent3388e51a73f6f6539f83980270a4f31592928b7e (diff)
downloadopenvswitch-88afd5fcc3c7b45c073966f5c6f25e04f5c6c077.tar.gz
ipfix: allow empty targets column in table IPFIX
The "targets" column in IPFIX had a min=1 constraints, so OVSDB implicitly adds an empty string "" into that column if no value is given. No connection can be opened to a target with address "", so the whole IPFIX exporter for that row was disabled until that "" target was removed by users. That behavior is correct but proved to be unintuitive to users. This patch removes the min=1 constraint, to avoid the trouble for users who insert IPFIX rows with no targets: it eliminates the log messages due to failed connections to target "", and eliminates the need to manually remove the "" target after row insertion. This doesn't impact the behavior for any existing row, whether it has a "" target or not. Signed-off-by: Romain Lenglet <rlenglet@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'vswitchd/vswitch.ovsschema')
-rw-r--r--vswitchd/vswitch.ovsschema4
1 files changed, 2 insertions, 2 deletions
diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema
index 78ebc8931..9392457ef 100644
--- a/vswitchd/vswitch.ovsschema
+++ b/vswitchd/vswitch.ovsschema
@@ -1,6 +1,6 @@
{"name": "Open_vSwitch",
"version": "7.3.0",
- "cksum": "2811681289 20311",
+ "cksum": "2495231516 20311",
"tables": {
"Open_vSwitch": {
"columns": {
@@ -412,7 +412,7 @@
"IPFIX": {
"columns": {
"targets": {
- "type": {"key": "string", "min": 1, "max": "unlimited"}},
+ "type": {"key": "string", "min": 0, "max": "unlimited"}},
"sampling": {
"type": {"key": {"type": "integer",
"minInteger": 1,