From 573c1db99dbfd655d20e0fdf27ff4d460d6529c1 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Tue, 3 Aug 2010 22:21:43 -0700 Subject: [PATCH] vswitch: Add port status column to Port table Add "status" map to provide optional status of ports to Port table. --- vswitchd/vswitch.ovsschema | 3 +++ vswitchd/vswitch.xml | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index 7f5863fa..c8a4963a 100644 --- a/vswitchd/vswitch.ovsschema +++ b/vswitchd/vswitch.ovsschema @@ -137,6 +137,9 @@ "statistics": { "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"}, "ephemeral": true}, + "status": { + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}, + "ephemeral": true}, "external_ids": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}}, diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 32d1ee41..5789964a 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -609,6 +609,20 @@ Configuration options whose interpretation varies based on . + + +

+ Key-value pairs that report port status. Supported status + values are type-dependent. +

+

The only currently defined key-value pair is:

+
+
source_ip
+
The source IP address used for an IPv4 tunnel end-point, + such as gre or capwap. Not + supported by all implementations.
+
+
-- 2.30.2